/* ==========================================================
   Aatasam Farooq portfolio
   Dark premium theme, single rose gold accent
   ========================================================== */

:root {
  --bg: #0c0a0b;
  --bg-alt: #121012;
  --card: #181517;
  --card-hover: #1e1a1d;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4efec;
  --muted: #a89f9b;
  --faint: #6f6764;
  --accent: #e4ae96;
  --accent-strong: #d8927a;
  --accent-soft: rgba(228, 174, 150, 0.12);
  --accent-ink: #1a1011;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --nav-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
p { margin: 0; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: linear-gradient(135deg, #f0c3ad, var(--accent-strong));
  color: var(--accent-ink);
  box-shadow: 0 8px 30px rgba(228, 174, 150, 0.25);
}
.btn--primary:hover { box-shadow: 0 10px 36px rgba(228, 174, 150, 0.4); }
.btn--ghost { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }

.linklike {
  background: none; border: 0; padding: 0; color: var(--muted);
  text-decoration: none; font-size: 15px;
}
.linklike:hover { color: var(--accent); }

.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: rgba(12, 10, 11, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.is-scrolled { border-bottom-color: var(--border); background: rgba(12, 10, 11, 0.88); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.nav__logo {
  font-family: var(--font-display); font-size: 21px; font-weight: 600;
  text-decoration: none; letter-spacing: .01em; margin-right: auto;
}
.nav__logo span { color: var(--accent); }
.nav__links { display: flex; gap: 28px; }
.nav__links a { text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 500; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__toggle {
  display: none; width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--border-strong); background: transparent;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.nav__toggle span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s ease; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 36px 0 40px; text-align: center; overflow: hidden; }
.hero__glow {
  position: absolute; inset: -20% -10% auto; height: 560px; pointer-events: none;
  background:
    radial-gradient(40% 50% at 50% 30%, rgba(228, 174, 150, 0.18), transparent 70%),
    radial-gradient(30% 40% at 20% 10%, rgba(200, 120, 140, 0.10), transparent 70%);
}
.hero__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero__photo {
  width: 112px; height: 112px; border-radius: 50%; object-fit: cover; object-position: center 30%;
  border: 2px solid var(--accent); box-shadow: 0 0 0 6px var(--accent-soft), var(--shadow);
  margin-bottom: 18px;
}
.hero .eyebrow { margin-bottom: 10px; }
.hero__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(30px, 4.6vw, 52px); letter-spacing: -0.01em; max-width: 820px;
}
.hero__title em { font-style: italic; color: var(--accent); }
.hero__sub { margin-top: 14px; max-width: 560px; color: var(--muted); font-size: clamp(16px, 1.8vw, 18px); }
.hero__ctas { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero__chips {
  list-style: none; padding: 0; margin: 18px 0 0;
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}
.hero__chips li {
  font-size: 12.5px; color: var(--muted); padding: 5px 12px;
  border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,0.02);
}

/* ---------- Stats ---------- */
.stats {
  width: 100%; margin-top: 30px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.stat { background: var(--bg-alt); padding: 20px 16px; text-align: center; }
.stat strong {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(20px, 2.4vw, 28px); color: var(--accent); line-height: 1.2; white-space: nowrap;
}
.stat span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section--tight-top { padding-top: 48px; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.section__head h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 4vw, 44px); }
.section__head p:not(.eyebrow) { margin-top: 10px; color: var(--muted); font-size: 16px; }

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.card:hover { border-color: var(--border-strong); background: var(--card-hover); }

/* ---------- Problem (compact) ---------- */
.problem-block {
  padding: 36px; border-radius: var(--radius); text-align: center;
  border: 1px solid rgba(228,174,150,0.3);
  background: linear-gradient(160deg, rgba(228,174,150,0.10), rgba(228,174,150,0.02));
}
.problem-block h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 3.2vw, 34px); max-width: 720px; margin: 0 auto 26px; }
.pains { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: left; }
.pains li {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; font-size: 15px;
  border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg);
}
.pains span {
  flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  font-weight: 700; font-size: 14px; color: var(--accent); background: var(--accent-soft);
}

/* ---------- Services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service { padding: 24px 22px; display: flex; flex-direction: column; }
.service__num { font-family: var(--font-display); color: var(--accent); font-size: 15px; margin-bottom: 10px; }
.service h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.service p { color: var(--muted); font-size: 15px; }
.tags { list-style: none; padding: 0; margin: auto 0 0; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 12px; padding: 4px 10px; border-radius: 999px; color: var(--accent); background: var(--accent-soft); }
.journey {
  list-style: none; padding: 0; margin: auto 0 0; padding-top: 8px;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.journey li {
  font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px;
  border: 1px solid rgba(228,174,150,0.4); color: var(--text); position: relative;
}
.journey li:not(:last-child)::after { content: "›"; margin-left: 8px; color: var(--accent); }
.journey li:last-child { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ---------- Intro video ---------- */
.intro { padding: 40px 0 0; }
.intro__inner { max-width: 820px; }
.intro .section__head { margin-bottom: 24px; }
.video-frame {
  position: relative; aspect-ratio: 16 / 9; width: 100%; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--border);
  /* Poster doubles as the background, so the frame still looks right if the video never loads */
  background: var(--card) url("assets/intro-poster.jpg") center / cover no-repeat;
  box-shadow: var(--shadow);
}
.video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: transparent; display: block; }
.video-frame__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%; border: 0; display: grid; place-items: center;
  padding-left: 4px; color: var(--accent-ink);
  background: linear-gradient(135deg, #f0c3ad, var(--accent-strong));
  box-shadow: 0 0 0 10px rgba(228, 174, 150, 0.22), 0 12px 34px rgba(0, 0, 0, 0.5);
  transition: transform .2s ease, box-shadow .2s ease;
}
.video-frame__play:hover { transform: translate(-50%, -50%) scale(1.06); box-shadow: 0 0 0 14px rgba(228, 174, 150, 0.25), 0 12px 34px rgba(0, 0, 0, 0.5); }
.video-frame.is-playing .video-frame__play { display: none; }
.video-frame__error {
  display: none; position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px;
  background: rgba(12, 10, 11, 0.85); color: var(--text); font-size: 14px; text-align: center;
}
.video-frame.is-error video, .video-frame.is-error .video-frame__play { display: none; }
.video-frame.is-error .video-frame__error { display: block; }
.intro__cta { display: flex; justify-content: center; margin-top: 22px; }

/* ---------- Results ---------- */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cases > .case { transition-delay: 0s !important; }
.case { padding: 30px; display: flex; flex-direction: column; }
/* Each card shares 4 row tracks (header, stats, bullets, screenshots) with the card beside it,
   so both main screenshots start at the same height and cards with fewer thumbnails keep empty space below */
@supports (grid-template-rows: subgrid) {
  .case { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
  .case > * { align-self: start; }
  .case .proof { margin-top: 0; }
}
.case__head { margin-bottom: 22px; }
.case__tag {
  display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
  color: var(--accent); background: var(--accent-soft); margin-bottom: 12px;
}
.case__head h3 { font-family: var(--font-display); font-weight: 500; font-size: 26px; }
.case__meta { color: var(--faint); font-size: 14px; margin-top: 4px; }
.case__metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 22px;
}
.case__metrics div { background: var(--bg); padding: 16px 12px; }
.case__metrics strong { display: block; font-size: clamp(18px, 2.2vw, 24px); font-weight: 700; color: var(--text); line-height: 1.2; }
.case__metrics span { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.35; }
.case__list { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.case__list li { margin-bottom: 8px; }
.case__list li::marker { color: var(--accent); }
.est {
  font-size: 10px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--accent); margin-left: 4px; vertical-align: super;
}
.case__note { font-size: 12.5px; color: var(--faint); margin-top: 14px; font-style: italic; text-align: center; }
.proof { margin-top: auto; padding-top: 20px; width: 100%; }
.proof button {
  padding: 0; border: 1px solid var(--border); border-radius: 10px;
  background: #fff; overflow: hidden; position: relative; display: block; width: 100%;
}
/* Every case study screenshot uses the same 16:10 frame; --focus picks which part of a wide screenshot stays in view */
.proof img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: var(--focus, 50% 50%);
  display: block; transition: filter .25s ease;
}
.proof__strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.proof__main span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 12px;
  background: rgba(12, 10, 11, 0.82);
  font-size: 13px; font-weight: 600; color: #fff; text-align: left;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.proof button:hover img { filter: brightness(0.9); }
.gallery__item span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 9px;
  font-size: 13px; font-weight: 600; color: #fff; text-align: left;
  background: linear-gradient(transparent, rgba(12,10,11,0.92));
}
.gallery__item:hover img { transform: scale(1.04); }

.more { margin-top: 48px; }
.more h3 { font-family: var(--font-display); font-weight: 500; font-size: 28px; text-align: center; }
.more > p { text-align: center; color: var(--muted); margin: 10px auto 28px; max-width: 600px; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.gallery__item {
  padding: 0; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: #fff; overflow: hidden; position: relative;
}
.gallery__item img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: 70% 60%; transition: transform .4s ease; }
.gallery__item span { font-size: 12px; font-weight: 500; }

.inline-cta {
  margin-top: 48px; padding: 34px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  border: 1px solid rgba(228,174,150,0.3);
  background: linear-gradient(120deg, rgba(228,174,150,0.12), rgba(228,174,150,0.03));
}
.inline-cta p { font-family: var(--font-display); font-size: 22px; max-width: 560px; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testimonial { margin: 0; padding: 28px; position: relative; display: flex; flex-direction: column; }
.testimonial blockquote { margin: 0 0 22px; }
.testimonial__headline {
  font-family: var(--font-display); font-size: 20px; line-height: 1.3; color: var(--text); margin-bottom: 12px;
}
.testimonial blockquote p:not(.testimonial__headline) { color: var(--muted); font-size: 15px; }
.testimonial figcaption { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
.testimonial figcaption strong { display: block; font-size: 15px; }
.testimonial figcaption span { display: block; font-size: 13px; color: var(--faint); }
.testimonial figcaption span:first-of-type { color: var(--accent); }

/* ---------- Process ---------- */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; }
.process::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(228,174,150,0.5), transparent);
}
.step { position: relative; text-align: center; padding: 0 6px; }
.step__num {
  width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-display); font-size: 19px;
  color: var(--accent); background: var(--bg-alt); border: 1px solid rgba(228,174,150,0.45);
}
.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--card); transition: border-color .2s; }
.faq__item[open] { border-color: rgba(228,174,150,0.35); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font-weight: 600; font-size: 16.5px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--accent); transition: transform .25s ease;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__body { padding: 0 22px 22px; color: var(--muted); }

/* ---------- Audit form ---------- */
.audit { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.audit__intro h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.audit__intro p:not(.eyebrow) { color: var(--muted); margin-bottom: 14px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn--whatsapp { background: #25d366; color: #0b2414; }
.btn--whatsapp:hover { box-shadow: 0 8px 26px rgba(37, 211, 102, 0.3); }
.contact-links { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.contact-links li { display: flex; gap: 14px; align-items: baseline; }
.contact-links span { width: 84px; flex: none; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.contact-links a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border-strong); }
.contact-links a:hover { color: var(--accent); border-color: var(--accent); }

.form { padding: 30px; display: grid; gap: 18px; }
.form:hover { background: var(--card); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 7px; }
.form label span { font-size: 13px; font-weight: 500; color: var(--muted); }
.form input, .form select {
  width: 100%; font: inherit; font-size: 15px; color: var(--text);
  background: var(--bg); border: 1px solid var(--border-strong); border-radius: 10px;
  padding: 13px 14px; transition: border-color .2s, box-shadow .2s;
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.form input::placeholder { color: var(--faint); }
.form input:focus, .form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form .is-invalid { border-color: #e07a7a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status { font-size: 14px; min-height: 1.4em; text-align: center; }
.form__status.is-success { color: #9fd8b5; }
.form__status.is-error { color: #f0a0a0; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 44px 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer__inner p { color: var(--faint); font-size: 14px; margin-top: 4px; }
.footer__links { list-style: none; padding: 0; margin: 0; display: flex; gap: 24px; }
.footer__links a { color: var(--muted); text-decoration: none; font-size: 15px; }
.footer__links a:hover { color: var(--accent); }
.footer__copy { width: 100%; text-align: center; padding-top: 24px; border-top: 1px solid var(--border); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: flex; align-items: center; gap: 8px; height: 56px; min-width: 56px; padding: 0 14px;
  border-radius: 999px; background: #25d366; color: #fff; text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45); transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(37, 211, 102, 0.35); }
.wa-float__label { font-weight: 600; font-size: 14px; padding-right: 4px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(6, 5, 6, 0.92);
  display: flex; align-items: center; justify-content: center; padding: 60px 70px;
  opacity: 0; transition: opacity .25s ease;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox figure { margin: 0; max-width: 1200px; width: 100%; }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 10px; box-shadow: var(--shadow); }
.lightbox figcaption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 14px; }
.lightbox__count { text-align: center; color: var(--faint); font-size: 12px; margin-top: 4px; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,0.06); border: 1px solid var(--border-strong);
  color: var(--text); border-radius: 50%; width: 46px; height: 46px; font-size: 26px; line-height: 1;
  display: grid; place-items: center;
}
.lightbox__close:hover, .lightbox__nav:hover { border-color: var(--accent); color: var(--accent); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav--prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox.is-single .lightbox__nav { display: none; }
body.no-scroll { overflow: hidden; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s 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, .card, .proof img, .gallery__item img, .wa-float, .video-frame__play { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .services__grid, .testimonials { grid-template-columns: repeat(2, 1fr); }
  .pains { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .process::before { display: none; }
  .cases { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .audit { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 860px) {
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 16px 18px;
    background: rgba(12, 10, 11, 0.97); border-bottom: 1px solid var(--border);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav__links.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__links a { padding: 14px 8px; font-size: 16px; border-bottom: 1px solid var(--border); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 76px 0; }
  .hero { padding: 24px 0 32px; }
  .hero__photo { width: 92px; height: 92px; margin-bottom: 14px; }
  .stats { margin-top: 24px; }
  .stat { padding: 16px 10px; }
  .section--tight-top { padding-top: 36px; }
  .intro { padding: 28px 0 0; }
  .video-frame__play { width: 62px; height: 62px; }
  .wa-float { right: 14px; bottom: 14px; padding: 0; width: 54px; height: 54px; min-width: 0; justify-content: center; }
  .wa-float__label { display: none; }
  .footer { padding-bottom: 84px; }
  .hero__ctas { flex-direction: column; width: 100%; }
  .hero__ctas .btn { width: 100%; }
  .services__grid, .testimonials { grid-template-columns: 1fr; }
  .problem-block { padding: 24px 16px; }
  .pains { grid-template-columns: 1fr 1fr; gap: 8px; }
  .pains li { font-size: 13.5px; padding: 10px; gap: 8px; align-items: flex-start; }
  .pains span { width: 24px; height: 24px; font-size: 12px; }
  .process { grid-template-columns: 1fr; row-gap: 12px; }
  .step { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; text-align: left; padding: 0; }
  .step__num { width: 44px; height: 44px; font-size: 16px; margin: 0; grid-row: span 2; }
  .step h3 { margin: 2px 0 2px; }
  .proof__strip { gap: 6px; }
  .case { padding: 22px; }
  .case__metrics { grid-template-columns: 1fr 1fr 1fr; }
  .case__metrics div { padding: 12px 8px; }
  .gallery { grid-template-columns: 1fr; gap: 10px; }
  .gallery__item span { font-size: 11px; padding: 20px 8px 8px; }
  .inline-cta { padding: 24px; flex-direction: column; align-items: stretch; text-align: center; }
  .inline-cta p { font-size: 19px; }
  .form { padding: 22px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
  .lightbox { padding: 64px 12px; }
  .lightbox__nav { top: auto; bottom: 14px; transform: none; }
}
