/* =========================================================
   Masterly Pro Services — styles
   Brand: navy #001830 / #183054 · steel #30486c / #54789c
          periwinkle #6c84b4 · silver #c0c0c0
   ========================================================= */

:root {
  --navy-950: #0a1322;
  --navy-900: #0e1a30;
  --navy-800: #183054;
  --steel-700: #30486c;
  --steel-500: #54789c;
  --peri-400: #6c84b4;
  --peri-300: #9fb3dc;
  --peri-100: #e4eaf6;
  --silver: #c0c4cc;
  --paper: #f5f6f9;
  --white: #ffffff;
  --ink: #111a2c;
  --muted: #56617a;
  --line: #dfe3eb;

  --accent: #3e63a8;
  --accent-hover: #2f5193;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 50px -24px rgba(10, 19, 34, .35);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
h1, h2, h3 {
  font-family: var(--font-display);
  font-stretch: 112%;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  color: inherit;
  text-wrap: balance;
}
h2 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); color: var(--ink); padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--peri-300); outline-offset: 3px; border-radius: 4px; }

/* ---------- Eyebrow / heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-stretch: 118%;
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--steel-700); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; opacity: .7; }
.eyebrow--light { color: var(--peri-300); }

.section__head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 64px); }
.section__head--split {
  max-width: none; display: grid; gap: 24px 64px; align-items: end;
  grid-template-columns: 1.5fr 1fr;
}
.section__head--split h2 { margin: 0; }
.section__intro { color: var(--muted); font-size: 18px; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-stretch: 110%; font-weight: 700; font-size: 15.5px;
  letter-spacing: .01em; text-decoration: none; line-height: 1;
  padding: 16px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--lg { padding: 19px 32px; font-size: 16.5px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: var(--white); box-shadow: 0 10px 24px -12px rgba(62, 99, 168, .9); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, .35); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }
.btn--dark { background: var(--navy-900); color: var(--white); }
.btn--dark:hover { background: var(--navy-800); }
.btn--light { background: var(--white); color: var(--navy-900); }
.btn--light:hover { background: var(--peri-100); }

/* ---------- Pending placeholders (remove once real info is in) ---------- */
.todo { background: rgba(255, 196, 0, .22); outline: 1px dashed rgba(255, 196, 0, .8); border-radius: 4px; padding: 0 4px; }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
  padding: 18px 0;
}
.header.is-scrolled { background: rgba(10, 19, 34, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); padding: 10px 0; }
.header__inner { display: flex; align-items: center; gap: 28px; }
.header__logo { position: relative; z-index: 60; }
.header__logo img { width: 168px; height: auto; transition: width .3s var(--ease); }
.header.is-scrolled .header__logo img { width: 148px; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a:not(.btn) {
  color: rgba(255, 255, 255, .82); text-decoration: none; font-size: 15px; font-weight: 500;
  position: relative; padding: 6px 0; transition: color .2s;
}
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--peri-300); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover { color: var(--white); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.header__phone { color: var(--white); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.header__call { display: none; }
.nav-toggle { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  background: var(--navy-950); color: var(--white); overflow: hidden;
  padding: 140px 0 72px;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 19, 34, .97) 0%, rgba(10, 19, 34, .9) 36%, rgba(14, 26, 48, .55) 62%, rgba(14, 26, 48, .25) 100%),
    linear-gradient(0deg, rgba(10, 19, 34, .85) 0%, rgba(10, 19, 34, 0) 40%);
}
/* angled shapes echo the brand deck */
.hero__shapes { position: absolute; inset: 0; pointer-events: none; }
.hero__shapes i { position: absolute; display: block; border-radius: 28px; transform: rotate(45deg); }
.hero__shapes i:nth-child(1) { width: 520px; height: 520px; right: -260px; bottom: -300px; background: linear-gradient(135deg, rgba(108, 132, 180, .55), rgba(48, 72, 108, .2)); }
.hero__shapes i:nth-child(2) { width: 380px; height: 380px; right: -60px; bottom: -330px; border: 1.5px solid rgba(159, 179, 220, .35); }
.hero__shapes i:nth-child(3) { width: 220px; height: 220px; right: 180px; bottom: -170px; background: rgba(159, 179, 220, .18); }

.hero__content { position: relative; z-index: 2; }
.hero__title {
  font-size: clamp(40px, 6vw, 78px); font-weight: 800; letter-spacing: -0.025em;
  line-height: 1; margin-bottom: 26px; max-width: 17ch;
}
.hero__title span {
  background: linear-gradient(100deg, #ffffff 0%, var(--peri-300) 55%, var(--silver) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: clamp(18px, 1.6vw, 21px); color: rgba(255, 255, 255, .82); max-width: 560px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; }
.hero__micro { font-size: 14.5px; color: rgba(255, 255, 255, .7); margin-bottom: 0; }

/* =========================================================
   TRUST STRIP (authority right under the hero)
   ========================================================= */
.trust { background: var(--navy-900); color: var(--white); border-top: 1px solid rgba(255, 255, 255, .08); padding: 26px 0; }
.trust__list { display: grid; grid-template-columns: .8fr 1fr 1.6fr 1.3fr 1.1fr; gap: 18px 28px; align-items: center; }
.trust__list li { display: flex; align-items: center; gap: 12px; min-width: 0; }
.trust__list strong { flex: none; font-family: var(--font-display); font-stretch: 115%; font-size: 26px; font-weight: 800; line-height: 1; color: var(--white); min-width: 36px; }
.trust__list span { font-size: 13.5px; line-height: 1.35; color: rgba(255, 255, 255, .78); }
.trust__list a { color: var(--white); font-weight: 600; text-underline-offset: 3px; }
.trust__list .trust__stars { color: #f5b942; }

/* ---------- Section CTA row (button + call link) ---------- */
.cta-row { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 22px; }
.cta-row--left { justify-content: flex-start; }
.cta-row--tight { margin-top: 0; justify-content: flex-end; }
.cta-row__call { color: var(--navy-900); font-weight: 600; text-decoration: none; font-size: 15.5px; display: inline-flex; align-items: center; min-height: 44px; }
.cta-row__call:hover { text-decoration: underline; }
.cta-row--light .cta-row__call { color: var(--white); }

/* =========================================================
   SERVICES
   ========================================================= */
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service {
  background: var(--white); padding: 34px 28px 32px; position: relative;
  transition: background .3s var(--ease);
  color: inherit; text-decoration: none; display: flex; flex-direction: column;
}
.service__link { margin-top: auto; padding-top: 18px; font-family: var(--font-display); font-stretch: 108%; font-weight: 700; font-size: 14.5px; color: var(--accent); }
.service__link span { display: inline-block; transition: transform .3s var(--ease); }
.service:hover .service__link span { transform: translateX(4px); }
.service:hover { background: #fafbfd; }
.service__icon { width: 42px; height: 42px; margin-bottom: 22px; fill: none; stroke: var(--steel-700); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s, transform .4s var(--ease); }
.service:hover .service__icon { stroke: var(--accent); transform: translateY(-3px); }
.service h3 { margin-bottom: 10px; }
.service p { margin: 0; color: var(--muted); font-size: 15.5px; }
.service--cta { background: var(--navy-900); color: var(--white); justify-content: flex-end; }
.service--cta:hover { background: var(--navy-800); }
.service--cta p { color: rgba(255, 255, 255, .72); }
.service__arrow { position: absolute; top: 28px; right: 28px; font-size: 26px; color: var(--peri-300); transition: transform .3s var(--ease); }
.service--cta:hover .service__arrow { transform: translateX(5px); }

/* =========================================================
   PROOF: recent work + reviews
   ========================================================= */
.proof { background: var(--navy-900); color: var(--white); overflow: hidden; }
.proof__bg { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 400px at 85% 0%, rgba(108, 132, 180, .25), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(48, 72, 108, .45), transparent 60%);
}
.proof .container { position: relative; }
.proof .section__intro { color: rgba(255, 255, 255, .76); }
.proof__rating { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; color: rgba(255, 255, 255, .85); font-weight: 600; }
.proof__stars { color: #f5b942; font-size: 20px; letter-spacing: 2px; }

.work__grid, .reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.reviews__grid { margin-top: 22px; }
.project__media { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; color: rgba(255, 255, 255, .7); font-size: 14px; }
.project__media img { width: 100%; height: 100%; object-fit: cover; }
.project__title { font-family: var(--font-display); font-stretch: 108%; font-weight: 700; font-size: 17px; color: var(--white); margin: 0 0 2px; }
.project__meta { margin: 0; color: rgba(255, 255, 255, .66); font-size: 14px; }
.review {
  padding: 24px 24px 22px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-direction: column;
}
.review::before { content: "★★★★★"; color: #f5b942; letter-spacing: 2px; margin-bottom: 10px; font-size: 15px; }
.review__text { font-size: 16px; color: rgba(255, 255, 255, .88); flex: 1; margin-bottom: 12px; }
.review__who { margin: 0; font-size: 13.5px; color: var(--peri-300); font-weight: 600; }

/* =========================================================
   STANDARD (steps)
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; counter-reset: step; }
.step { counter-increment: step; padding: 26px 0 28px; border-top: 1px solid var(--line); position: relative; }
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--font-display); font-stretch: 120%; font-weight: 800;
  font-size: 15px; letter-spacing: .1em; color: var(--accent); margin-bottom: 10px;
}
.step::after { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--accent); }
.step__pain { display: block; font-size: 14px; font-style: italic; color: var(--steel-500); margin-bottom: 6px; }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* closing quote + CTA (inside How we work) */
.craft {
  margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px 40px;
  padding: 30px 36px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line);
}
.craft__quote {
  margin: 0; flex: 1 1 380px; font-family: var(--font-display); font-stretch: 110%; font-weight: 700;
  font-size: clamp(20px, 2vw, 25px); line-height: 1.25; color: var(--navy-900);
}

/* =========================================================
   B2B (short strip)
   ========================================================= */
.b2b { background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-950) 75%); color: var(--white); padding: clamp(44px, 6vw, 72px) 0; }
.b2b__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.b2b__content { flex: 1 1 560px; }
.b2b .eyebrow { margin-bottom: 12px; }
.b2b h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 16px; }
.b2b__checks { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.b2b__checks li { position: relative; padding-left: 26px; font-size: 15px; color: rgba(255, 255, 255, .88); }
.b2b__checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(159, 179, 220, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239fb3dc' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.about__media { position: relative; }
.about__media picture { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.about__media picture img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.about__badge {
  position: absolute; right: -24px; bottom: 32px; display: flex; align-items: center; gap: 14px;
  background: var(--navy-900); color: var(--white); padding: 18px 22px; border-radius: 12px; box-shadow: var(--shadow); max-width: 280px;
  font-size: 14px; line-height: 1.35;
}
.about__badge img { width: 38px; height: auto; flex: none; }
.about__badge strong { display: block; font-family: var(--font-display); font-stretch: 112%; font-size: 18px; }
.about__content > p:not(.eyebrow) { color: var(--muted); }
.facts { display: grid; gap: 16px; margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: baseline; }
.facts strong { font-family: var(--font-display); font-stretch: 110%; font-size: 16.5px; color: var(--navy-900); }
.facts span { color: var(--muted); font-size: 15.5px; line-height: 1.45; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: var(--paper); }
.faq__inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.faq__head > p:not(.eyebrow) { color: var(--muted); }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative;
  font-family: var(--font-display); font-stretch: 106%; font-weight: 700; font-size: 18.5px; color: var(--navy-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -9px;
  border-right: 2px solid var(--steel-700); border-bottom: 2px solid var(--steel-700); transform: rotate(45deg); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { margin: 0 0 26px; color: var(--muted); max-width: 680px; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { background: var(--navy-950); color: var(--white); overflow: hidden; }
.contact__bg { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(800px 500px at 100% 100%, rgba(108, 132, 180, .28), transparent 60%),
              radial-gradient(600px 400px at 0% 0%, rgba(48, 72, 108, .4), transparent 60%);
}
.contact__inner { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }
.contact__lead { color: rgba(255, 255, 255, .76); font-size: 18px; margin-bottom: 40px; }
.contact__list { display: grid; gap: 22px; }
.contact__list li { display: grid; gap: 2px; }
.contact__label { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--peri-300); font-weight: 600; }
.contact__trust { margin: 28px 0 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .72); }
.contact__list a, .contact__list span:not(.contact__label) { color: var(--white); text-decoration: none; font-family: var(--font-display); font-stretch: 108%; font-size: 21px; font-weight: 600; }

.form { background: var(--white); color: var(--ink); border-radius: 18px; padding: clamp(24px, 3.4vw, 40px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 13.5px; font-weight: 600; color: var(--navy-900); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fbfcfe;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 38px;
  background: #fbfcfe url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2330486c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center / 16px no-repeat; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--white); box-shadow: 0 0 0 4px rgba(62, 99, 168, .14); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #c2413b; }
.field > span b, .form__legend span { color: #c2413b; font-weight: 700; }
.field > span em { font-style: normal; font-weight: 500; color: var(--muted); }
.form__legend { margin: 0; font-size: 13px; color: var(--muted); }
.field--choice { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.field--choice legend { font-size: 13.5px; font-weight: 600; color: var(--navy-900); padding: 0; margin-bottom: 8px; width: 100%; }
.field--choice label { display: inline-flex; align-items: center; gap: 8px; font-size: 15.5px; cursor: pointer; min-height: 32px; }
.field--choice input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.field.is-invalid select { border-color: #c2413b; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { margin-top: 6px; }
.form__consent { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.form__note { margin: 0; font-size: 14.5px; color: var(--muted); min-height: 1.4em; }
.form-success { background: var(--white); color: var(--ink); border-radius: 18px; padding: clamp(28px, 3.6vw, 44px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.form-success h3 { font-size: 26px; color: var(--navy-900); }
.form-success p:last-child { margin: 0; }
.form-success:focus { outline: none; }
.form__note.is-success { color: #1d7a4a; font-weight: 600; }
.form__note.is-error { color: #c2413b; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: #070e1a; color: rgba(255, 255, 255, .66); padding: 64px 0 28px; font-size: 15px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer__brand img { width: 170px; margin-bottom: 18px; }
.footer__brand p { max-width: 340px; margin: 0; }
.footer__brand .footer__license { margin-top: 14px; font-size: 13.5px; color: rgba(255, 255, 255, .55); }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; align-content: start; }
.footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.footer__nav a, .footer__contact a { display: inline-flex; align-items: center; min-height: 44px; }
.footer a:hover { color: var(--white); }
.footer__contact { display: grid; gap: 0; align-content: start; }
.footer__contact > span { padding-top: 10px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 13.5px; }
.footer__slogan { font-family: var(--font-display); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; color: var(--peri-300); }

.mobile-bar { display: none; }

/* =========================================================
   REVEAL
   ========================================================= */
/* only hidden when JS is running, so content never disappears if the script fails */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .service__icon { transition: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .header__phone { display: none; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .about__badge { right: 16px; }
  .trust__list { grid-template-columns: repeat(2, 1fr); }
  .trust__wide { grid-column: 1 / -1; order: -1; }
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  body { font-size: 16.5px; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; margin-left: auto; padding: 10px; background: none; border: 0; cursor: pointer; z-index: 60;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 0; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px;
    padding: 90px var(--gutter) 40px; background: var(--navy-950);
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav a:not(.btn) { font-family: var(--font-display); font-stretch: 110%; font-size: 28px; font-weight: 700; color: var(--white); padding: 8px 0; }
  .nav__cta { margin-top: 24px; }
  body.nav-open { overflow: hidden; }
  body.nav-open .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--navy-950); }

  .header__call {
    display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: auto;
    border-radius: 50%; background: var(--accent); position: relative; z-index: 60;
  }
  .header__call svg { width: 20px; height: 20px; fill: var(--white); }
  .nav-toggle { margin-left: 4px; }

  .section__head--split { grid-template-columns: 1fr; }
  .faq__inner, .about__inner, .contact__inner { grid-template-columns: 1fr; gap: 36px; }
  .about__media picture { aspect-ratio: 16 / 12; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }

  /* proof: swipeable rows instead of stacked cards */
  .scroller {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 44%); grid-template-columns: none;
    gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 6px; scroll-padding: 0 var(--gutter); scrollbar-width: none;
  }
  .scroller::-webkit-scrollbar { display: none; }
  .scroller > li { scroll-snap-align: start; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(10, 19, 34, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, .08);
    transform: translateY(110%); transition: transform .35s var(--ease);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; height: 48px; border-radius: 999px; text-decoration: none; font-family: var(--font-display); font-stretch: 110%; font-weight: 700; font-size: 15px; }
  .mobile-bar__call { color: var(--white); border: 1.5px solid rgba(255, 255, 255, .3); }
  .mobile-bar__cta { background: var(--accent); color: var(--white); }
  .footer { padding-bottom: 96px; }
}

@media (max-width: 600px) {
  :root { --section: 52px; }
  body { font-size: 16px; }
  h2 { font-size: 28px; }
  h2 br { display: none; }
  .section__head { margin-bottom: 24px; }
  .section__head--split { gap: 12px; }
  .section__intro { font-size: 16px; }
  .eyebrow { margin-bottom: 12px; }
  .header__logo img { width: 140px; }
  .header.is-scrolled .header__logo img { width: 128px; }

  /* hero: content-height, so the trust strip starts above the fold */
  .hero { min-height: 0; padding: 100px 0 24px; align-items: flex-end; }
  .hero__media img { object-position: 62% 30%; }
  .hero__media::after { background: linear-gradient(0deg, rgba(10, 19, 34, .98) 0%, rgba(10, 19, 34, .88) 50%, rgba(10, 19, 34, .55) 100%); }
  .hero__title { font-size: 38px; margin-bottom: 18px; }
  .hero__lead { font-size: 17px; margin-bottom: 24px; }
  .hero__actions { margin-bottom: 12px; gap: 10px; }
  .hero__actions .btn { width: 100%; }
  .hero .eyebrow { font-size: 11px; letter-spacing: .12em; line-height: 1.6; }
  .hero .eyebrow::before { display: none; }
  .hero__micro { margin-bottom: 0; font-size: 14px; }
  .hero__shapes i:nth-child(1) { width: 300px; height: 300px; right: -170px; bottom: auto; top: 80px; opacity: .6; }
  .hero__shapes i:nth-child(2), .hero__shapes i:nth-child(3) { display: none; }

  .trust { padding: 18px 0 20px; }
  .trust__list { gap: 14px 16px; }
  .trust__list li { gap: 10px; }
  .trust__list strong { font-size: 22px; min-width: 30px; }
  .trust__list span { font-size: 13px; }

  /* services: 2 columns, short text */
  .services__grid { grid-template-columns: 1fr 1fr; }
  .service { padding: 18px 14px 16px; }
  .service__icon { width: 30px; height: 30px; margin-bottom: 10px; }
  .service h3 { font-size: 16px; margin-bottom: 4px; }
  .service p { font-size: 13.5px; line-height: 1.45; }
  .service__link { display: none; }
  .service--cta { justify-content: flex-start; }
  .service--cta h3 { padding-right: 24px; }
  .service__arrow { top: 16px; right: 14px; font-size: 22px; }

  .cta-row { margin-top: 24px; gap: 4px; flex-direction: column; align-items: stretch; text-align: center; }
  .cta-row .btn { width: 100%; }
  .cta-row__call { justify-content: center; }

  .scroller { grid-auto-columns: 82%; }
  .review { padding: 20px 20px 18px; }
  .review__text { font-size: 15.5px; }

  .steps { grid-template-columns: 1fr; }
  .step { padding: 18px 0 20px; }
  .step::before { display: inline-block; margin: 0 10px 0 0; }
  .step__pain { display: inline; }
  .step h3 { font-size: 18px; margin-top: 6px; }
  .step p { font-size: 15px; }
  .craft { padding: 22px 18px; margin-top: 16px; }
  .craft__quote { flex-basis: 100%; font-size: 19px; }
  .craft .cta-row { width: 100%; margin-top: 0; }

  .about__media { display: none; }
  .facts { margin-top: 20px; padding-top: 18px; gap: 10px; }
  .facts li { grid-template-columns: 84px 1fr; gap: 10px; }
  .facts strong { font-size: 15px; }
  .facts span { font-size: 14.5px; }

  .b2b { padding: 40px 0; }
  .b2b h2 { font-size: 24px; }
  .b2b__checks { display: grid; gap: 6px; }
  .b2b__inner .btn { width: 100%; }

  .faq__inner { gap: 20px; }
  .faq__head > p:not(.eyebrow) { margin: 0; }
  .faq summary { font-size: 16.5px; padding: 18px 40px 18px 0; }
  .faq details p { margin-bottom: 18px; }

  .contact__lead { font-size: 16.5px; margin-bottom: 22px; }
  .contact__list { gap: 12px; }
  .contact__list a, .contact__list span:not(.contact__label) { font-size: 19px; }
  .contact__trust { margin-top: 18px; }
  .form__row { grid-template-columns: 1fr; }

  .footer { padding-top: 40px; }
  .footer__inner { grid-template-columns: 1fr; gap: 20px; padding-bottom: 24px; }
  .footer__brand img { width: 150px; margin-bottom: 12px; }
  .footer__nav { grid-template-columns: 1fr 1fr 1fr; gap: 0 12px; font-size: 14px; }
  .footer__bottom { padding-top: 18px; }
}
.nowrap { white-space: nowrap; }
