/* =========================================================
   BJAC TV — D.A. calquée sur Cutflow
   Geist (titres) · Inter (texte) · #F7F5F2 · #000 · #FF3030
   ========================================================= */

:root {
  --bg: #F7F5F2;
  --white: #FFFFFF;
  --soft: #F5F5F5;
  --black: #000000;
  --gray: #666666;
  --red: #FF3030;
  --line: rgba(0, 0, 0, 0.1);
  --radius: 20px;
  --shadow-btn: 0 1px 32px 0 rgba(0, 0, 0, 0.1);
  --shadow-card: 0 1px 15px 0 rgba(0, 0, 0, 0.1);
  --font-head: "Geist", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--black);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; letter-spacing: inherit; }
svg { display: block; }
img { display: block; max-width: 100%; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }

/* ---------- Typography ---------- */
.h1 {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 60px;
  line-height: 1.15;
  letter-spacing: -0.055em;
}
.h2 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 50px;
  line-height: 1.2;
  letter-spacing: -0.04em;
  text-align: center;
}
.h4 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.05em;
}
.lead {
  font-size: 20px;
  line-height: 1.55;
  letter-spacing: -0.045em;
  color: var(--gray);
  max-width: 470px;
}
.body-gray { color: var(--gray); font-size: 16px; line-height: 1.55; letter-spacing: -0.04em; }
.center { text-align: center; }
.left { text-align: left; }
.narrow { max-width: 420px; margin-left: auto; margin-right: auto; }
.narrow-l { max-width: 420px; }

/* Section tag: point rouge + libellé */
.tag {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 16px; line-height: 1.55; letter-spacing: -0.04em;
}
.tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex: none; }

.section-head {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 16px; margin-bottom: 64px;
}
.section-head .body-gray { max-width: 450px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 41px; padding: 8px 18px; border-radius: 999px;
  font-size: 16px; line-height: 1.55; letter-spacing: -0.04em;
  box-shadow: var(--shadow-btn);
  transition: transform .4s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-black { background: var(--black); color: var(--white); }
.btn-red { background: var(--red); color: var(--white); }
.btn.full { width: 100%; height: 48px; }
.btn-roll { position: relative; display: inline-block; overflow: hidden; height: 1.55em; }
.btn-roll > span { display: block; transition: transform .5s var(--ease); }
.btn-roll > span + span { position: absolute; top: 100%; left: 0; width: 100%; }
.btn:hover .btn-roll > span { transform: translateY(-100%); }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; }
.text-link svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

.btn-row { display: flex; align-items: center; gap: 24px; margin-top: 12px; }
.center-row { justify-content: center; }

/* ---------- Avatars ---------- */
.avatar {
  --c: #111;
  display: inline-grid; place-items: center; flex: none;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--img, none) center/cover, var(--c);
  color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: -0.02em;
  position: relative;
}
.avatar.sm { width: 36px; height: 36px; border: 1.5px solid rgba(255,255,255,.85); }
.avatar.xs { width: 28px; height: 28px; font-size: 10px; border: 2px solid var(--bg); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: var(--bg);
  padding: 11px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-img { height: 54px; width: auto; transition: transform .5s var(--ease); }
.logo:hover .logo-img { transform: rotate(-4deg) scale(1.04); }
.logo-icon {
  width: 32px; height: 32px; border-radius: 7px; background: var(--black); color: #fff;
  display: grid; place-items: center;
}
.logo-icon svg { width: 18px; height: 18px; }
.logo-text { font-family: var(--font-head); font-weight: 600; font-size: 26px; line-height: 1.25; letter-spacing: -0.03em; }
.nav-menu { display: flex; align-items: center; gap: 24px; }
.nav-link { font-size: 16px; position: relative; }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { margin-left: 0; }
.burger { display: none; width: 41px; height: 41px; border-radius: 50%; background: var(--black); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; transition: transform .4s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 23px; }
.nav.open .burger span:first-child { transform: translateY(3px) rotate(45deg); }
.nav.open .burger span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ---------- Dots pattern ---------- */
.dots-bg {
  position: absolute; pointer-events: none;
  background-image: radial-gradient(rgba(0,0,0,.16) 1px, transparent 1.2px);
  background-size: 10px 10px;
}
.dots-hero {
  width: 585px; height: 584px; left: 90px; top: 230px;
  -webkit-mask-image: radial-gradient(50% 50% at 78.9% 57.6%, #000 0%, rgba(0,0,0,.35) 70%, transparent 100%);
          mask-image: radial-gradient(50% 50% at 78.9% 57.6%, #000 0%, rgba(0,0,0,.35) 70%, transparent 100%);
}

/* ---------- Hero ---------- */
.hero { padding: 100px 0 42px; }
.hero-grid { display: grid; grid-template-columns: 1fr 470px; gap: 24px; }
.hero-main {
  position: relative; overflow: hidden;
  background: var(--white); border-radius: var(--radius);
  height: 700px; padding: 38px 32px 32px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.hero-wrapper { position: relative; display: flex; flex-direction: column; gap: 20px; max-width: 594px; }
.hero-review {
  position: relative; width: 400px; max-width: 100%;
  background: var(--soft); border-radius: 18px;
  padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 28px;
}
.hero-quote { color: var(--gray); font-size: 16px; line-height: 1.55; }
.hero-review-foot { display: flex; align-items: center; gap: 10px; }
.review-name { font-size: 20px; line-height: 1.55; letter-spacing: -0.045em; }
.review-tag { color: var(--red); font-size: 14px; letter-spacing: -0.035em; }
.sep-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(0,0,0,.3); display: inline-block; }
.sep-dot.red { background: var(--red); }
.review-avatar { position: absolute; right: -14px; bottom: -14px; width: 46px; height: 46px; border: 3px solid var(--white); }
.quote-badge {
  position: absolute; right: -6px; bottom: -4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--white); color: var(--black); font-size: 14px; line-height: 22px; text-align: center;
  font-family: Georgia, serif;
}

/* ---------- Stories (cards façon reels) ---------- */
.story {
  --img: none;
  position: relative; display: block; overflow: hidden;
  border-radius: 16px; color: #fff; isolation: isolate;
  background: var(--fallback, #111);
}
.story::before { /* image de fond */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: var(--img) var(--pos, center 25%)/cover no-repeat;
  transition: transform 1.2s var(--ease);
}
.story-video {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2;
  object-fit: cover; transition: transform 1.2s var(--ease);
}
a.story:hover .story-video { transform: scale(1.04); }
/* Visuel déjà titré (ex. annonce DAZN) : pas de légende, overlay léger */
.story--raw .story-caption, .story--raw .story-top { display: none; }
.story--raw::after { background: none; }
.story--raw::before { background-size: cover; }
.story::after { /* overlay identique à Cutflow : noir en haut */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, #000 0%, rgba(0,0,0,.5) 14.4%, rgba(0,0,0,0) 42%),
    linear-gradient(0deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 40%);
}
a.story:hover::before { transform: scale(1.04); }

/* Visuels de secours tant que les photos ne sont pas fournies */
.story[data-theme], .media[data-theme] { --fallback: #111; }
[data-theme="red"]    { --fallback: radial-gradient(120% 80% at 70% 80%, #ff3030 0%, #7a0d0d 35%, #120202 75%); }
[data-theme="field"]  { --fallback: repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 2px, transparent 2px 60px), radial-gradient(110% 70% at 50% 100%, #1f6b3a 0%, #0c2a17 55%, #050d08 100%); }
[data-theme="purple"] { --fallback: radial-gradient(120% 80% at 30% 85%, #6b3fd1 0%, #2a1260 40%, #08041a 80%); }
[data-theme="night"]  { --fallback: radial-gradient(90% 60% at 50% 30%, #3a3a3a 0%, #151515 50%, #050505 100%); }
[data-theme="blue"]   { --fallback: radial-gradient(120% 80% at 70% 80%, #2c5bd6 0%, #0e2462 40%, #030918 80%); }
[data-theme="steel"]  { --fallback: radial-gradient(120% 90% at 20% 90%, #4b4b4b 0%, #1d1d1d 45%, #070707 85%); }

.story-top {
  position: absolute; top: 14px; left: 14px; right: 14px;
  display: flex; align-items: center; gap: 8px; height: 36px;
}
.uname { font-size: 16px; letter-spacing: -0.04em; }
.verified { width: 16px; height: 16px; color: #fff; }
.time { font-size: 14px; color: rgba(255,255,255,.65); }
.story-caption {
  position: absolute; left: 20px; right: 20px; bottom: 36px;
  display: flex; flex-direction: column; gap: 6px;
}
.kicker {
  align-self: flex-start;
  font-size: 12px; letter-spacing: -0.02em; padding: 3px 10px; border-radius: 999px;
  background: rgba(255,255,255,.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.story-caption strong {
  font-family: var(--font-head); font-weight: 500; font-size: 30px; line-height: 1.05; letter-spacing: -0.05em;
  text-wrap: balance;
}
.story-caption.big strong { font-size: 54px; font-weight: 600; line-height: .95; letter-spacing: -0.06em; }

/* Slider hero */
.hero-gallery { height: 700px; }
.story-slider { position: relative; height: 100%; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-card); background: #000; }
.story-slider .story {
  position: absolute; inset: 0; border-radius: 16px;
  opacity: 0; transform: scale(1.04); transition: opacity .8s var(--ease), transform 1.4s var(--ease);
}
.story-slider .story.is-active { opacity: 1; transform: scale(1); }
.story-slider .story-caption { bottom: 64px; }
.story-slider .story-caption strong { font-size: 40px; }
.story-dots {
  position: absolute; left: 0; right: 0; bottom: 24px; z-index: 3;
  display: flex; justify-content: center; gap: 7px;
}
.story-dots button {
  width: 6px; height: 6px; border-radius: 1000px; background: rgba(255,255,255,.55);
  position: relative; overflow: hidden; transition: width .6s var(--ease), background .3s;
}
.story-dots button.is-active { width: 58px; background: rgba(255,255,255,.35); }
.story-dots button.is-active::after {
  content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left;
  animation: fill var(--dur, 4.5s) linear forwards;
}
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Partners ---------- */
.partners { padding: 100px 0; }
.partners-inner {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
}
.laurel { position: absolute; top: -18px; width: 150px; height: 210px; color: #e4e2de; }
.laurel-left { left: calc(50% - 400px); }
.laurel-right { right: calc(50% - 400px); transform: scaleX(-1); }
.proof { display: flex; align-items: center; gap: 12px; }
.proof.left { justify-content: flex-start; }
.center-proof { justify-content: center; margin-top: 48px; }
.avatars { display: flex; }
.avatars .avatar + .avatar { margin-left: -8px; }
.proof-text { color: var(--gray); font-size: 14px; letter-spacing: -0.035em; }
.proof-sep { width: 1px; height: 16px; background: var(--line); }
.star { width: 18px; height: 18px; color: var(--red); }
.h3-partners {
  font-family: var(--font-head); font-weight: 500; font-size: 28px; line-height: 1.1; letter-spacing: -0.05em; margin-top: 14px;
}
.partner-logos {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px;
  margin: 18px 0 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 20px; letter-spacing: -0.04em; color: #b9b6b1;
}
.partner-logos span { transition: color .3s; }
.partner-logos span:hover { color: var(--black); }

/* ---------- About ---------- */
.counters { display: grid; grid-template-columns: repeat(3, 239px); justify-content: center; gap: 0; margin: -16px 0 100px; }
.counter { text-align: center; padding: 0 20px; position: relative; }
.counter + .counter::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.counter-num { font-family: var(--font-head); font-size: 42px; line-height: 1; letter-spacing: -0.04em; font-weight: 500; }
.counter p { color: var(--gray); margin-top: 8px; }

.media { position: relative; overflow: hidden; background: var(--img, none) var(--pos, center)/cover no-repeat, var(--fallback, #111); }
.about-media {
  height: 700px; border-radius: var(--radius); padding: 24px;
  display: flex; align-items: flex-end;
}
.about-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 35%);
}
.about-caption { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; color: #fff; }
.about-caption svg { width: 32px; height: 32px; }
.caption-small { font-size: 12px; letter-spacing: -0.035em; opacity: .85; }
.caption-big { font-size: 16px; }
.media-watermark {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: var(--font-head); font-weight: 600; font-size: clamp(80px, 16vw, 220px); letter-spacing: -0.07em;
  color: rgba(255,255,255,.06); white-space: nowrap; pointer-events: none;
}

/* ---------- Work ---------- */
.work-wrap { position: relative; height: 1000px; overflow: hidden; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card-work { height: 560px; box-shadow: var(--shadow-card); }
.work-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 320px;
  background: linear-gradient(180deg, rgba(247,245,242,0) 0%, rgba(247,245,242,.85) 55%, var(--bg) 100%);
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 80px;
}
.stats-row { display: flex; justify-content: center; gap: 40px; margin-top: 60px; flex-wrap: wrap; }
.stat { display: flex; align-items: center; gap: 8px; }
.stat svg { width: 20px; height: 20px; }
.stat strong { font-size: 20px; font-weight: 500; letter-spacing: -0.045em; }
.stat span { color: var(--gray); font-size: 14px; }

/* ---------- Features ---------- */
.features-grid { display: grid; grid-template-columns: 550px 550px; justify-content: space-between; gap: 40px; }
.stack { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.stack .tag { margin-bottom: 16px; }
.stack .h2 { margin-bottom: 16px; }
.feature-card { background: var(--white); border-radius: var(--radius); padding: 32px; }
.feature { display: flex; align-items: center; gap: 25px; font-size: 20px; letter-spacing: -0.045em; }
.f-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--black); color: #fff; display: grid; place-items: center; flex: none; transition: transform .5s var(--ease); }
.f-icon svg { width: 20px; height: 20px; }
.feature:hover .f-icon { transform: rotate(-12deg) scale(1.06); }
.f-line { height: 1px; background: var(--line); margin: 20px 0; }

/* ---------- Services ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 365px; gap: 18px;
}
.service-card {
  position: relative; overflow: hidden;
  background: var(--white); border-radius: var(--radius); padding: 30px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.service-card.tall { grid-column: 3; grid-row: 1 / span 2; }
.s-num { color: var(--red); font-size: 18px; letter-spacing: -0.045em; position: relative; }
.s-deco {
  position: absolute; top: -26px; right: 22px; width: 150px; height: 150px;
  color: #efefef; stroke-width: 2; transition: transform .8s var(--ease), color .4s;
}
.service-card:hover .s-deco { transform: translateY(8px) rotate(-6deg); color: #e6e6e6; }
.s-bottom { display: flex; flex-direction: column; gap: 14px; position: relative; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.price-card {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 30px;
  display: flex; flex-direction: column; gap: 18px;
}
.price-card.outline { background: rgba(0,0,0,.015); box-shadow: inset 0 0 0 1px var(--line); }
.price-card.filled { background: var(--white); }
.price-card > * { position: relative; }
.dots-price {
  width: 585px; height: 584px; right: -150px; bottom: -150px;
  -webkit-mask-image: radial-gradient(50% 50% at 60% 60%, #000 0%, rgba(0,0,0,.3) 70%, transparent 100%);
          mask-image: radial-gradient(50% 50% at 60% 60%, #000 0%, rgba(0,0,0,.3) 70%, transparent 100%);
  position: absolute !important;
}
.price-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.slots { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: -0.035em; }
.bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.bars i { width: 2px; background: var(--black); border-radius: 2px; animation: bar 1s ease-in-out infinite; }
.bars i:nth-child(1) { height: 6px; animation-delay: -.3s; }
.bars i:nth-child(2) { height: 12px; animation-delay: -.6s; }
.bars i:nth-child(3) { height: 8px; }
@keyframes bar { 0%,100% { transform: scaleY(.4); } 50% { transform: scaleY(1); } }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 8px; }
.price-big { font-family: var(--font-head); font-weight: 500; font-size: 42px; line-height: 1; letter-spacing: -0.04em; }
.price-unit { color: var(--gray); font-size: 14px; }
.price-line { height: 1px; background: var(--line); margin: 6px 0; }
.bullets { list-style: none; display: flex; flex-direction: column; gap: 22px; margin-bottom: 18px; }
.bullets li { display: flex; align-items: center; gap: 20px; color: var(--gray); font-size: 16px; }
.bullets svg { width: 16px; height: 16px; color: var(--black); flex: none; }

/* ---------- How it works ---------- */
.how-grid { display: grid; grid-template-columns: 1fr 550px; gap: 40px; align-items: start; }
.how-left { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 16px; }
.steps { display: flex; flex-direction: column; }
.step { border-bottom: 1px solid var(--line); padding: 30px 0; }
.step:first-child { padding-top: 0; }
.step-head { display: flex; align-items: flex-start; gap: 18px; width: 100%; text-align: left; }
.step-head svg { width: 20px; height: 20px; margin-top: 8px; flex: none; transition: transform .5s var(--ease); }
.step-title { font-family: var(--font-head); font-size: 24px; line-height: 1.55; letter-spacing: -0.025em; }
.step-head sup { color: var(--red); font-size: 12px; letter-spacing: -0.035em; margin-left: -8px; margin-top: 4px; }
.step-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); padding-left: 38px; }
.step-body > p { overflow: hidden; }
.step.is-open .step-body { grid-template-rows: 1fr; }
.step.is-open .step-body > p { padding-top: 8px; }
.step:not(.is-open):hover .step-head svg { transform: translateX(4px); }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi {
  height: 365px; border-radius: var(--radius); padding: 30px;
  display: flex; flex-direction: column;
  transition: transform .6s var(--ease);
}
.testi:hover { transform: translateY(-4px); }
.testi.filled { background: var(--white); }
.testi.outline { box-shadow: inset 0 0 0 1px var(--line); }
.testi-top { display: flex; align-items: baseline; gap: 8px; }
.testi-top strong { font-size: 20px; font-weight: 500; letter-spacing: -0.045em; }
.testi-top span { color: var(--gray); font-size: 14px; }
.testi-marks { display: flex; gap: 4px; margin-top: auto; margin-bottom: 18px; }
.testi-marks i { width: 14px; height: 14px; background: var(--red); clip-path: polygon(50% 0, 62% 35%, 100% 38%, 70% 61%, 80% 100%, 50% 78%, 20% 100%, 30% 61%, 0 38%, 38% 35%); }
.testi .body-gray { min-height: 50px; }
.testi-author { display: flex; align-items: center; gap: 12px; margin-top: 24px; font-size: 16px; }
.testi-author .avatar { border: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; font-size: 18px; letter-spacing: -0.045em; }
.faq-icon { width: 20px; height: 20px; border-radius: 50%; background: var(--black); position: relative; flex: none; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 1.5px; background: #fff;
  transform: translate(-50%, -50%); transition: transform .4s var(--ease);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .faq-icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq-a > p { overflow: hidden; max-width: 680px; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-item.is-open .faq-a > p { padding-top: 8px; }

.email-card {
  max-width: 800px; margin: 56px auto 0;
  background: var(--white); border-radius: var(--radius); padding: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.email-left { display: flex; align-items: center; gap: 18px; }
.email-icon { width: 58px; height: 58px; border-radius: 100px; background: var(--black); color: #fff; display: grid; place-items: center; flex: none; }
.email-icon svg { width: 22px; height: 22px; }
.email-title { font-size: 20px; letter-spacing: -0.045em; }

/* ---------- CTA ---------- */
.cta-section { padding: 24px; }
.cta-box {
  position: relative; overflow: hidden;
  max-width: 1150px; margin: 0 auto;
  background: var(--white); border-radius: var(--radius);
  height: 1037px; padding: 72px 18px 0;
  display: flex; flex-direction: column; align-items: center;
}
.dots-cta {
  width: 585px; height: 584px; right: -60px; bottom: -40px;
  -webkit-mask-image: radial-gradient(50% 50% at 78.9% 57.6%, #000 0%, rgba(0,0,0,.35) 70%, transparent 100%);
          mask-image: radial-gradient(50% 50% at 78.9% 57.6%, #000 0%, rgba(0,0,0,.35) 70%, transparent 100%);
}
.cta-content { position: relative; display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 750px; text-align: center; }
.follow { display: flex; align-items: center; gap: 11px; margin-top: 8px; font-size: 16px; }
.social { width: 32px; height: 32px; border-radius: 100px; display: grid; place-items: center; transition: background .3s; }
.social svg { width: 16px; height: 16px; }
.social:hover { background: var(--soft); }
.cta-phone-wrap { position: relative; width: 450px; height: 700px; margin-top: 64px; }
.shape { position: absolute; width: 518px; height: 731px; border-radius: 22px; background: var(--soft); box-shadow: 0 0 20px rgba(0,0,0,.02), inset 0 0 0 1px rgba(0,0,0,.03); }
.shape.s1 { left: -320px; top: 70px; transform: scale(.82); }
.shape.s2 { right: -320px; top: 70px; transform: scale(.82); }
.shape.s3 { left: -34px; top: 40px; transform: scale(.94); opacity: .9; }
.cta-phone { position: absolute; inset: 0; border-radius: 20px; box-shadow: 0 0 20px rgba(0,0,0,.02); }

.footer { max-width: 1150px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 24px 0 0; gap: 16px; }
.footer-text { font-size: 14px; color: var(--gray); display: flex; align-items: center; gap: 10px; }

/* ---------- Reveal (animations Framer-like) ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(28px); filter: blur(6px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal].in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
  .story-dots button.is-active::after { animation: none; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1199px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr 400px; }
  .h1 { font-size: 52px; }
}

@media (max-width: 991px) {
  .section { padding: 80px 0; }
  .nav-menu {
    position: absolute; top: 100%; left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-radius: var(--radius); padding: 12px 20px 20px;
    box-shadow: var(--shadow-card);
    opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity .35s var(--ease), transform .35s var(--ease);
  }
  .nav.open .nav-menu { opacity: 1; transform: none; pointer-events: auto; }
  .nav-link { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-link::after { display: none; }
  .nav-cta { margin-top: 16px; }
  .burger { display: block; }

  .hero { padding-top: 92px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-main { height: auto; gap: 48px; }
  .hero-gallery { height: 620px; }
  .h2 { font-size: 40px; }
  .counters { grid-template-columns: repeat(3, 1fr); }
  .about-media { height: 520px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .card-work { height: 480px; }
  .features-grid, .how-grid { grid-template-columns: 1fr; }
  .how-left { position: static; }
  .services-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 320px; }
  .service-card.tall { grid-column: 1 / -1; grid-row: auto; order: 5; }
  .pricing-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .laurel { display: none; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .logo-text { font-size: 22px; }
  .logo-img { height: 46px; }
  .h1 { font-size: 40px; letter-spacing: -0.05em; }
  .h1 br { display: none; }
  .h2 { font-size: 32px; }
  .h4 { font-size: 24px; }
  .lead { font-size: 17px; }
  .hero-main { padding: 28px 20px 24px; }
  .hero-review { width: calc(100% - 14px); }
  .hero-gallery { height: 560px; }
  .story-slider .story-caption strong { font-size: 32px; }
  .btn-row { gap: 18px; flex-wrap: wrap; }
  .partners { padding: 64px 0; }
  .partner-logos { font-size: 16px; gap: 8px 20px; }
  .counters { grid-template-columns: 1fr; gap: 28px; margin-bottom: 56px; }
  .counter + .counter::before { left: 30%; right: 30%; top: -14px; bottom: auto; width: auto; height: 1px; }
  .about-media { height: 420px; }
  .work-wrap { height: 1100px; }
  .work-grid { grid-template-columns: 1fr; }
  .card-work { height: 520px; }
  .stats-row { gap: 20px 28px; }
  .feature-card { padding: 24px; }
  .feature { font-size: 18px; gap: 18px; }
  .services-grid { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .testi-grid { grid-template-columns: 1fr; }
  .testi { height: auto; min-height: 300px; }
  .step-title { font-size: 20px; }
  .email-card { flex-direction: column; align-items: flex-start; }
  .cta-section { padding: 16px; }
  .cta-box { padding: 56px 16px 0; height: 940px; }
  .cta-phone-wrap { width: 300px; height: 520px; margin-top: 48px; }
  .shape { width: 340px; height: 500px; }
  .shape.s1 { left: -230px; } .shape.s2 { right: -230px; }
  .story-caption.big strong { font-size: 40px; }
  .follow { flex-wrap: wrap; justify-content: center; }
  .footer { flex-direction: column; align-items: flex-start; }
}
