/* FireOps Solutions — site styles
   Ember #D63B1A · Deep ember #A82C10 · Glow #F7A531 · Ink #17171A
   Graphite #45454D · Paper #FBFAF7 · Stone #E8E5DD · Ember tint #FFE9DF */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #FBFAF7;
  color: #17171A;
  font-family: 'Readex Pro', 'Segoe UI', Tahoma, sans-serif;
  font-size: 17px;
  line-height: 1.85;
}

main { overflow: hidden; }

a { color: #17171A; }
a:hover { color: #A82C10; }
a:focus-visible { outline: 2px solid #D63B1A; outline-offset: 3px; border-radius: 6px; }

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3, p { margin: 0; }

.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 32px; }
.ltr { direction: ltr; }

/* Header */
.bar {
  padding-block: 22px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 32px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 600; direction: ltr; min-height: 44px;
}
.logo svg { flex: 0 0 auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1; gap: 3px; }
.logo-name { font-size: 22px; letter-spacing: -0.01em; }
.logo-sub { font-size: 8px; font-weight: 400; letter-spacing: 0.3em; }
.logo:hover { color: #17171A; }

nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 30px; font-size: 16px; }
nav a { text-decoration: none; padding: 10px 0; }

/* Buttons and pills */
.btn {
  display: inline-block; text-decoration: none;
  font-size: 17px; font-weight: 500;
  padding: 14px 30px; border-radius: 999px;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-ember { background: #D63B1A; color: #FFFFFF; }
.btn-ember:hover { background: #A82C10; color: #FFFFFF; }
.btn-ink { background: #17171A; color: #FFFFFF; }
.btn-ink:hover { background: #2B2B31; color: #FFFFFF; }
.btn-light { background: #FFFFFF; border: 1px solid #E8E5DD; font-weight: 400; padding: 13px 28px; }
nav .btn-sm { font-size: 16px; font-weight: 400; padding: 10px 22px; }

.pill {
  font-size: 15px; background: #FFFFFF; border: 1px solid #E8E5DD;
  padding: 6px 18px; border-radius: 999px; text-decoration: none;
}

/* Hero */
.glow-host { position: relative; }
.glow {
  position: absolute; left: 50%; transform: translateX(-50%);
  filter: blur(70px); pointer-events: none;
}
.glow-contact {
  bottom: -160px; width: 1300px; max-width: 150%; height: 460px;
  background:
    radial-gradient(closest-side at 30% 55%, rgba(214,208,196,0.85), transparent),
    radial-gradient(closest-side at 55% 50%, rgba(196,190,178,0.7), transparent),
    radial-gradient(closest-side at 78% 58%, rgba(222,216,205,0.8), transparent);
}

.hero {
  position: relative; padding-top: 88px; padding-bottom: 24px;
  display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center;
}
h1 { font-size: clamp(42px, 6.4vw, 88px); font-weight: 500; line-height: 1.25; text-wrap: balance; }
.lead { max-width: 640px; font-size: 20px; font-weight: 300; line-height: 1.9; color: #45454D; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 16px; padding-top: 6px; }

/* Screenshot windows */
.window {
  width: 100%; background: #FFFFFF; border-radius: 16px 16px 0 0;
  box-shadow: 0 24px 60px -20px rgba(23,23,26,0.35); overflow: hidden;
}
.window img { width: 100%; }
.window-hero {
  align-self: stretch; margin-top: 44px; border-radius: 22px 22px 0 0;
  box-shadow: 0 30px 80px -20px rgba(23,23,26,0.35);
}
.dots { display: flex; gap: 7px; padding: 12px 16px; border-bottom: 1px solid #EFEDE7; direction: ltr; }
.dots span { width: 10px; height: 10px; border-radius: 50%; background: #E3E0D8; }
.window-hero .dots { gap: 8px; padding: 14px 18px; }
.window-hero .dots span { width: 11px; height: 11px; }

/* Sections */
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 500; line-height: 1.3; }
.section-head p { font-size: 19px; font-weight: 300; color: #45454D; text-wrap: pretty; }

.section-systems { position: relative; padding-top: 110px; padding-bottom: 40px; }
.section-systems .section-head { padding-bottom: 16px; }

.work { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 72px; padding: 56px 0; }
.work-flip { flex-direction: row-reverse; }
.work-text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.work-name { font-size: 40px; font-weight: 600; line-height: 1.2; direction: ltr; text-align: right; }
.work-for { font-size: 21px; font-weight: 500; }
.work-desc { max-width: 470px; font-weight: 300; color: #45454D; text-wrap: pretty; }
.tags { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; max-width: 470px; }
.tags li { font-size: 14px; line-height: 1.6; background: #FFFFFF; border: 1px solid #E8E5DD; padding: 4px 12px; border-radius: 999px; }
.work-shot {
  flex: 1.4 1 520px; min-width: 0; border-radius: 32px; padding: 48px 48px 0;
  display: flex; justify-content: center; overflow: hidden;
  aspect-ratio: 3 / 2;
}
.work-shot .window { height: 100%; display: flex; flex-direction: column; }
.work-shot .window img { flex: 1 1 0; min-height: 0; height: 100%; object-fit: cover; object-position: right top; }
/* Screenshot slider: slides move to the left */
.work-shot { position: relative; }
.slides {
  flex: 1 1 0; min-height: 0; display: flex; direction: ltr;
  transition: transform .7s cubic-bezier(.4,0,.2,1);
}
.work-shot .window .slides img { flex: 0 0 100%; width: 100%; }
.work-shot .window .slides img.pos-top { object-position: center top; }
.work-shot .window .slides img.fit { object-fit: contain; object-position: center; background: #0B1F3F; }
.slide-dots {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 4px; direction: ltr;
  background: rgba(23,23,26,0.72); padding: 4px 8px; border-radius: 999px;
}
.slide-dots button {
  width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center;
}
.slide-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.45); }
.slide-dots button[aria-current="true"]::before { background: #FFFFFF; }
.phone {
  width: 100%; max-width: 340px; height: 100%; object-fit: cover; object-position: top;
  border-radius: 22px 22px 0 0; box-shadow: 0 24px 60px -20px rgba(14,30,70,0.5);
}

.section-trust { padding-top: 90px; padding-bottom: 40px; }
.section-trust .section-head { padding-bottom: 44px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 20px; }
.card { background: #F3F1EB; border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { margin-top: 6px; font-size: 20px; font-weight: 600; }
.card p { font-size: 16px; font-weight: 300; color: #45454D; }

.section-services { padding-top: 90px; padding-bottom: 110px; }
.section-services h2 { margin-bottom: 44px; }
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 28px; }
.offer { border-radius: 28px; padding: 44px; display: flex; flex-direction: column; gap: 16px; }
.offer h3 { font-size: 28px; font-weight: 600; }
.offer p { font-weight: 300; text-wrap: pretty; }
.offer ul { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.offer li { display: flex; gap: 12px; align-items: baseline; }
.offer li::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 50%; }
.glow-dots li::before { background: #F7A531; }
.ember-dots li::before { background: #D63B1A; }
.offer-dark { background: #17171A; color: #FFFFFF; }
.offer-dark p { color: #D6D4CE; }
.offer-light { background: #FFFFFF; border: 1px solid #ECE9E1; }
.offer-light p { color: #45454D; }

/* Contact */
.contact {
  position: relative; padding-top: 40px; padding-bottom: 130px;
  display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center;
}
.contact h2 { font-size: clamp(34px, 4.8vw, 64px); text-wrap: balance; }
.lead-sm { max-width: 560px; font-size: 19px; font-weight: 300; color: #45454D; text-wrap: pretty; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding-top: 10px; }
.chips .pill { padding: 8px 18px; }

/* Footer */
footer { position: relative; background: #17171A; color: #D6D4CE; }
.foot { padding-block: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; font-size: 14px; }

.foot { align-items: center; }
.cr { display: inline-flex; align-items: center; gap: 10px; color: #FFFFFF; }
.cr-text { display: flex; flex-direction: column; line-height: 1.5; }
.cr-label { font-size: 13px; color: #D6D4CE; }
.cr-num { font-size: 16px; font-weight: 600; direction: ltr; letter-spacing: 0.02em; }

/* Small screens */
@media (max-width: 640px) {
  .wrap { padding-inline: 20px; }
  .bar { justify-content: center; }
  nav { justify-content: center; gap: 4px 20px; }
  .hero { padding-top: 40px; }
  .lead { font-size: 18px; }
  .section-systems { padding-top: 72px; }
  .work { padding: 36px 0; }
  .work-name { font-size: 32px; }
  .work-shot { padding: 14px 14px 0; border-radius: 22px; flex-basis: 100%; aspect-ratio: 4 / 3; }
  .work-shot .window { border-radius: 12px 12px 0 0; }
  .dots { padding: 9px 12px; gap: 5px; }
  .dots span { width: 8px; height: 8px; }
  .tags { max-width: none; }
  .foot { flex-direction: column; align-items: center; text-align: center; gap: 14px; padding-block: 30px; }
  .cr { flex-direction: column; }
  .cr-text { align-items: center; }
  .offer { padding: 30px 26px; }
  .contact { padding-bottom: 100px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .slides { transition: none; }
}
