/* =========================================================
   CartePro – site public
   Breakpoints: tablette ≤ 1024px · menu mobile ≤ 900px · mobile ≤ 640px
   ========================================================= */

:root {
  --gold: #FFBD59;
  --gold-hover: #FFD594;
  --bg: #0B0B0C;
  --bg-alt: #0F0E0C;
  --surface: #111010;
  --surface-2: #15130F;
  --line: #25221C;
  --line-soft: #1E1B16;
  --line-strong: #4A4234;
  --text: #EDE8DD;
  --text-strong: #F5F1E8;
  --text-muted: #B9B2A4;
  --text-dim: #9E978A;
  --font-title: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --radius: 20px;
  --container: 1200px;
  --header-h: 72px;
}

html[lang="ar"] {
  --font-title: 'Cairo', system-ui, sans-serif;
  --font-body: 'Cairo', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="ar"] body { line-height: 1.8; }
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hover); }
h1, h2, h3 { font-family: var(--font-title); font-weight: 700; letter-spacing: -0.5px; margin: 0; color: var(--text-strong); }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; }
p { margin: 0; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section--line { border-top: 1px solid var(--line-soft); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 680px; margin-bottom: 48px; }
.section-head--center { align-items: center; text-align: center; margin-left: auto; margin-right: auto; }
.eyebrow { color: var(--gold); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; }
html[lang="ar"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: 15px; }
.h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.15; }
.lead { color: var(--text-muted); font-size: 17px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn--gold { background: var(--gold); color: var(--bg); }
.btn--gold:hover { background: var(--gold-hover); color: var(--bg); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); font-weight: 600; }
.btn--ghost:hover { border-color: var(--gold); color: var(--text-strong); }
.btn--lg { min-height: 56px; padding: 16px 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn svg { flex: none; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(11, 11, 12, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header__logo img { height: 30px; width: auto; }
.nav { display: flex; gap: 28px; font-size: 15px; }
.nav a { color: #CFC8BA; }
.nav a:hover { color: var(--text-strong); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.lang-link { color: #CFC8BA; font-size: 15px; padding: 10px 8px; }
.lang-link--ar { font-family: 'Cairo', sans-serif; font-weight: 600; }
.lang-switch { display: flex; align-items: center; }
.lang-switch .lang-link + .lang-link { border-inline-start: 1px solid var(--line-strong); padding-inline-start: 10px; margin-inline-start: 2px; }
.mobile-menu .lang-switch { gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.mobile-menu .lang-switch .lang-link { padding: 0; border: 0 !important; margin: 0; }
.header .btn { min-height: 42px; padding: 8px 18px; font-size: 14px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 12px; background: transparent; color: var(--text); align-items: center; justify-content: center; cursor: pointer; }
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 72px; }
.hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.hero__text { display: flex; flex-direction: column; gap: 24px; }
.hero__tagline { font-family: var(--font-title); font-weight: 700; font-size: 22px; color: var(--gold); }
.hero__kicker { font-size: 13px; color: var(--text-dim); letter-spacing: 1.5px; text-transform: uppercase; margin-top: 6px; }
html[lang="ar"] .hero__kicker { letter-spacing: 0; text-transform: none; font-size: 15px; }
.hero h1 { font-size: clamp(36px, 5.2vw, 58px); line-height: 1.1; }
.hero h1 span { color: var(--gold); }
.hero__lead { font-size: 19px; color: var(--text-muted); max-width: 540px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero__checks { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 8px; font-size: 14px; color: var(--text-dim); list-style: none; padding: 0; }
.hero__visual { position: relative; height: 470px; }
.hero__card { position: absolute; left: 0; top: 80px; width: 340px; max-width: 70%; aspect-ratio: 85.6 / 54; border-radius: 18px; border: 1px solid #3A3328; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; transform: rotate(-8deg); box-shadow: 0 30px 60px rgba(0,0,0,.6); }
.hero__phone { position: absolute; right: 0; top: 0; width: 230px; height: 470px; border-radius: 38px; border: 6px solid #26231E; background: #050505; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.hero__phone img { width: 100%; height: 100%; object-fit: cover; }
html[dir="rtl"] .hero__card { left: auto; right: 0; transform: rotate(8deg); }
html[dir="rtl"] .hero__phone { right: auto; left: 0; }

/* Card faces */
.tex-noir { background: #141414 url(../img/texture-noir.webp) center / cover; }
.tex-bois { background: #E6CBA8 url(../img/texture-bois.webp) center / cover; }
.card-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.card-row--end { align-items: flex-end; }
.card-name { font-family: var(--font-title); font-weight: 700; font-size: 17px; color: var(--gold); }
.card-role { font-size: 11px; color: #A39C8E; letter-spacing: 1.2px; text-transform: uppercase; }
html[lang="ar"] .card-role { letter-spacing: 0; text-transform: none; font-size: 13px; }
.card-qr { width: 44px; height: 44px; border-radius: 6px; border: 1px solid rgba(255,189,89,.5); display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 5px; flex: none; }
.card-qr i { background: var(--gold); opacity: .85; }
.card-qr i.o { opacity: 0; }

/* ---------- Strip ---------- */
.strip { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--bg-alt); }
.strip__inner { padding: 26px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 28px; color: var(--text-dim); font-size: 15px; }
.strip strong { color: var(--gold); font-family: var(--font-title); font-size: 24px; font-weight: 700; margin-inline-end: 6px; }

/* ---------- Clients marquee ---------- */
.clients { padding: 72px 0 24px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 56px; width: max-content; padding: 8px 0; animation: marquee 75s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { width: 170px; height: 88px; flex: none; display: flex; align-items: center; justify-content: center; padding: 6px 10px; opacity: .72; transition: opacity .2s; }
.marquee__item:hover { opacity: 1; }
.marquee__item img { max-width: 100%; max-height: 100%; object-fit: contain; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Grids & cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.box { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; gap: 14px; }
.box h3 { font-size: 21px; }
.box p { color: var(--text-muted); }
.step-num { font-family: var(--font-title); font-weight: 700; font-size: 40px; color: var(--gold); line-height: 1; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { background: var(--bg-alt); padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.feature h3 { font-size: 20px; }
.feature p { color: var(--text-muted); }

/* Card finishes */
.finish { display: flex; flex-direction: column; gap: 16px; }
.finish h3 { font-size: 20px; }
.finish p { color: var(--text-dim); font-size: 15px; }
.finish__card { aspect-ratio: 85.6 / 54; border-radius: 16px; padding: 22px 24px; box-shadow: 0 24px 48px rgba(0,0,0,.55); }
.finish__card--noir { display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 24px 48px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,189,89,.18); }
.finish__card--bois { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; box-shadow: 0 24px 48px rgba(0,0,0,.55), inset 0 0 0 1px rgba(90,60,25,.3), inset 0 0 36px rgba(140,95,50,.18); direction: ltr; }
.bois-logo { display: flex; align-items: flex-start; gap: 2px; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: clamp(24px, 2.6vw, 32px); line-height: 1; letter-spacing: -.5px; text-shadow: 0 1px 0 rgba(255,236,205,.45); }
.bois-logo b { color: #17120C; } .bois-logo em { color: #F2A93B; font-style: normal; margin-left: 6px; }
.bois-tagline { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 10.5px; letter-spacing: .8px; color: #2A1F14; text-shadow: 0 1px 0 rgba(255,236,205,.4); }
.finish__stack { aspect-ratio: 85.6 / 54; position: relative; }
.finish__stack > div { position: absolute; border-radius: 16px; box-shadow: 0 16px 32px rgba(0,0,0,.5); }
.stack-back { inset: 6% 4% 0 8%; background: #0F5A4A; transform: rotate(-9deg); }
.stack-mid { inset: 3% 6% 3% 6%; background: #7A1E2E; transform: rotate(-4deg); }
.stack-front { inset: 0; background: #F7F3EC; padding: 20px 22px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 24px 48px rgba(0,0,0,.55) !important; }
.logo-slot { width: 54px; height: 54px; border-radius: 50%; border: 1.5px dashed #14233F; display: flex; align-items: center; justify-content: center; text-align: center; font-family: var(--font-title); font-size: 9px; line-height: 1.2; font-weight: 700; color: #14233F; }
html[lang="ar"] .logo-slot { font-size: 12px; }
.stack-name { font-family: var(--font-title); font-weight: 800; font-size: 17px; color: #14233F; display: block; }
.stack-role { font-size: 11px; color: #5B6475; }
.swatches { display: flex; gap: 6px; }
.swatches span { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 2px #F7F3EC, 0 0 0 3px rgba(20,35,63,.15); }

/* Other products */
.product { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; gap: 14px; }
.product__visual { height: 220px; border-radius: 14px; background: var(--bg); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; margin-bottom: 4px; }
.product h3 { font-size: 22px; }
.product p { color: var(--text-muted); }
.product .fit { color: var(--text-dim); font-size: 14px; }
.product .btn { align-self: flex-start; margin-top: auto; }
.price { font-family: var(--font-title); font-weight: 700; font-size: 28px; line-height: 1; color: var(--gold); }
.price small { font-family: var(--font-body); font-weight: 500; font-size: 15px; color: var(--text-dim); }

.review-card { width: 250px; height: 158px; border-radius: 14px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-align: center; box-shadow: 0 20px 40px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,189,89,.2); }
.review-card .row { display: flex; justify-content: space-between; width: 100%; align-items: center; }
.review-card .lbl { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: #A39C8E; }
html[lang="ar"] .review-card .lbl { letter-spacing: 0; font-size: 12px; }
.stars { display: flex; gap: 4px; direction: ltr; }
.review-card strong { font-family: var(--font-title); font-size: 15px; color: var(--text-strong); }
.review-card small { font-size: 10px; color: #A39C8E; }
html[lang="ar"] .review-card small { font-size: 12px; }

.bracelet { position: relative; width: 230px; height: 120px; direction: ltr; }
.bracelet__band { position: absolute; inset: 0; border-radius: 50%; border: 18px solid #1E1D1B; box-shadow: 0 18px 36px rgba(0,0,0,.6), inset 0 0 0 1px #33302A; }
.bracelet__tag { position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%); width: 92px; height: 46px; border-radius: 12px; background: linear-gradient(180deg, #2A2722, #191816); box-shadow: inset 0 0 0 1.5px var(--gold), 0 8px 16px rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; gap: 6px; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 11px; color: var(--text-strong); }
.bracelet__tag em { color: var(--gold); font-style: normal; }

.phone-tag { position: relative; width: 250px; height: 200px; direction: ltr; }
.phone-tag__phone { position: absolute; left: 20px; top: 0; width: 124px; height: 200px; border-radius: 26px; background: #1C1B19; box-shadow: 0 18px 36px rgba(0,0,0,.6), inset 0 0 0 1px #34312B; }
.phone-tag__cam { position: absolute; top: 12px; left: 12px; width: 42px; height: 42px; border-radius: 12px; background: #141312; box-shadow: inset 0 0 0 1px #34312B; }
.phone-tag__phone img { position: absolute; left: 20px; top: 92px; width: 84px; height: 84px; border-radius: 50%; filter: drop-shadow(0 4px 8px rgba(0,0,0,.5)); }
.phone-tag > img { position: absolute; left: 150px; top: 96px; width: 84px; height: 84px; border-radius: 50%; transform: rotate(-12deg); box-shadow: 0 0 0 1.5px #2E2B26, 0 8px 14px rgba(0,0,0,.7); }

/* Pricing */
.pricing { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.plan { width: 100%; max-width: 560px; padding: 40px; border: 1.5px solid var(--gold); border-radius: 24px; background: var(--surface-2); display: flex; flex-direction: column; gap: 22px; }
.plan__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.plan__head h3 { font-size: 26px; }
.badge { padding: 4px 12px; border-radius: 999px; background: var(--gold); color: var(--bg); font-size: 12px; font-weight: 700; }
.plan__price { font-family: var(--font-title); font-weight: 700; font-size: 52px; line-height: 1; color: var(--gold); }
.plan__price small { font-family: var(--font-body); font-size: 18px; font-weight: 500; color: var(--text-dim); }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; color: #CFC8BA; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { flex: none; margin-top: 4px; }
.pricing__note { color: var(--text-dim); font-size: 15px; text-align: center; }
.pricing__note a { font-weight: 600; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-title); font-weight: 700; font-size: 18px; color: var(--text-strong); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 20px; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-muted); padding: 0 0 22px; max-width: 720px; }

/* Contact */
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.contact__info { display: flex; flex-direction: column; gap: 20px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 20px; border: 1px solid #3A3328; border-radius: 16px; color: var(--text); transition: border-color .2s; }
.contact-card:hover { border-color: var(--gold); color: var(--text); }
.contact-card__icon { width: 48px; height: 48px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.contact-card__icon--fill { background: var(--gold); color: var(--bg); }
.contact-card__icon--line { border: 1px solid var(--gold); color: var(--gold); }
.contact-card strong { display: block; font-size: 17px; }
.contact-card span span { color: var(--text-dim); }
.contact__place { display: flex; align-items: center; gap: 10px; color: var(--text-muted); }
.contact__place svg { color: var(--gold); flex: none; }

.form { padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: #121110; display: flex; flex-direction: column; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: #CFC8BA; }
.field input, .field select, .field textarea { width: 100%; padding: 14px; border-radius: 12px; border: 1px solid #3A3328; background: var(--bg); color: var(--text); font-size: 16px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.hp { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.form__status { font-size: 15px; min-height: 1.6em; }
.form__status.is-ok { color: #8FD9A8; }
.form__status.is-error { color: #FF9C8A; }
.form button[disabled] { opacity: .6; cursor: wait; }

/* Footer */
.footer { border-top: 1px solid var(--line-soft); }
.footer__inner { padding: 40px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; font-size: 14px; color: #8E877A; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { height: 24px; width: auto; }
.footer__brand strong { display: block; color: #CFC8BA; font-weight: 600; }
.footer__links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer__links a { color: var(--text-muted); }
.footer__links a:hover { color: var(--text-strong); }

.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--gold); color: var(--bg); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.5); }
.wa-float:hover { color: var(--bg); background: var(--gold-hover); }
html[dir="rtl"] .wa-float { right: auto; left: 24px; }

/* Legal pages */
.legal { max-width: 820px; margin: 0 auto; padding: 72px 24px 96px; display: flex; flex-direction: column; gap: 28px; color: #CFC8BA; line-height: 1.7; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); line-height: 1.1; }
.legal section { display: flex; flex-direction: column; gap: 10px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal h2 { font-size: 22px; }
.legal ul { padding-inline-start: 20px; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.legal .meta { color: var(--text-dim); font-size: 15px; }

/* =========================================================
   Tablette (≤ 1024px)
   ========================================================= */
@media (max-width: 1024px) {
  .section { padding: 80px 0; }
  .hero { padding: 64px 0 56px; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__text { align-items: center; text-align: center; }
  .hero__lead { margin: 0 auto; }
  .hero__ctas, .hero__checks { justify-content: center; }
  .hero__visual { max-width: 560px; width: 100%; margin: 0 auto; }
  .grid-3, .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; max-width: calc(50% - 12px); width: 100%; justify-self: center; }
  .features > :last-child:nth-child(odd) { grid-column: auto; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* =========================================================
   Menu mobile (≤ 900px)
   ========================================================= */
@media (max-width: 900px) {
  .nav, .header__actions .btn--ghost, .header__actions .lang-switch { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--bg); padding: 24px; flex-direction: column; gap: 4px; overflow-y: auto; border-top: 1px solid var(--line); }
  .mobile-menu.is-open { display: flex; }
  .mobile-menu a:not(.btn) { color: var(--text); font-size: 20px; font-family: var(--font-title); font-weight: 700; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .mobile-menu .btn { margin-top: 16px; }
  .mobile-menu .lang-link { font-size: 17px !important; font-weight: 600 !important; }
  body.menu-open { overflow: hidden; }
  body.menu-open .wa-float { display: none; }
  .menu-toggle .i-close, .menu-toggle[aria-expanded="true"] .i-open { display: none; }
  .menu-toggle[aria-expanded="true"] .i-close { display: block; }
  .menu-toggle[aria-expanded="true"] { border-color: var(--gold); color: var(--gold); }
}

/* =========================================================
   Mobile (≤ 640px)
   ========================================================= */
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .header__logo img { height: 24px; }
  .header__actions .btn--gold { padding: 8px 14px; }
  .hero { padding: 44px 0 40px; }
  .hero__tagline { font-size: 19px; }
  .hero__lead { font-size: 17px; }
  .hero__ctas { flex-direction: column; width: 100%; }
  .hero__ctas .btn { width: 100%; }
  .hero__checks { gap: 8px 18px; font-size: 13px; }
  .hero__visual { height: 380px; max-width: 340px; }
  .hero__phone { width: 186px; height: 380px; border-radius: 32px; border-width: 5px; }
  .hero__card { top: 150px; width: 230px; max-width: 72%; padding: 16px; border-radius: 14px; z-index: 2; }
  .hero__card .card-name { font-size: 14px; }
  .strip__inner { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
  .clients { padding: 56px 0 8px; }
  .marquee__item { width: 130px; height: 70px; }
  .marquee__track { gap: 36px; }
  .grid-3, .features { grid-template-columns: 1fr; }
  .grid-3 > :last-child:nth-child(odd) { max-width: none; }
  .box, .feature { padding: 24px; }
  .finish__card, .stack-front { padding: 16px 18px; }
  .product { padding: 22px; }
  .product .btn { align-self: stretch; }
  .plan { padding: 28px 22px; }
  .plan__price { font-size: 44px; }
  .faq summary { font-size: 16px; padding: 18px 0; }
  .form { padding: 24px 18px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__brand { flex-direction: column; }
  .footer__links { justify-content: center; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  html[dir="rtl"] .wa-float { left: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
}
