/* ====================================================================
   مستر چیر — CREATIVE 3D edition
   Dark, immersive, scroll-driven. A CSS-3D chair rotates & comes apart.
   ==================================================================== */

:root {
  --bg:        #0a0e1a;
  --bg-2:      #0e1424;
  --panel:     #131b2e;
  --panel-2:   #18223a;
  --line:      rgba(255,255,255,.08);
  --line-2:    rgba(255,255,255,.14);
  --red:       #e11d48;
  --red-2:     #ff3b63;
  --red-glow:  rgba(225,29,72,.45);
  --steel:     #aab4c8;
  --ink:       #eef1f9;
  --muted:     #8f99b0;
  --muted-2:   #5e6883;
  --maxw:      1240px;
  --mono:      ui-monospace, "SFMono-Regular", "Menlo", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--bg); }

body {
  font-family: "Vazirmatn", system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 32px; }

/* faint global grid + vignette */
.bg-fx {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 100%);
}
.bg-fx::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% -10%, rgba(225,29,72,.10), transparent 55%);
}

main { position: relative; z-index: 1; }

/* mono technical label */
.tag {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: .22em;
  color: var(--red-2); text-transform: uppercase; direction: ltr;
  display: inline-flex; align-items: center; gap: 9px;
}
.tag::before { content: ""; width: 26px; height: 1px; background: var(--red); display: inline-block; }
.red { color: var(--red-2); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  font-family: inherit; font-weight: 800; font-size: 16px;
  border: none; cursor: pointer; border-radius: 999px; padding: 15px 30px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap; position: relative;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn .ic { width: 20px; height: 20px; flex: none; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 40px -8px var(--red-glow), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-red:hover { background: var(--red-2); transform: translateY(-3px); box-shadow: 0 20px 50px -10px var(--red-glow); }
.btn-ghost { background: rgba(255,255,255,.04); color: var(--ink); border: 1px solid var(--line-2); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--red); color: #fff; transform: translateY(-3px); }
.btn-block { width: 100%; }

/* ===== section heading ===== */
.section { padding: 130px 0; position: relative; }
.head { max-width: 720px; margin-bottom: 64px; }
.head.center { margin-inline: auto; text-align: center; }
.head h2 { font-size: clamp(30px, 5vw, 56px); font-weight: 900; line-height: 1.15; margin: 16px 0 0; letter-spacing: -.01em; }
.head p { color: var(--muted); font-size: 18px; margin: 18px 0 0; }

/* ============================================================
   NAV
   ============================================================ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(10,14,26,.82); backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: var(--line); }
.nav .wrap { height: 82px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 900; font-size: 24px; letter-spacing: -.02em; }
.brand .mk { width: 38px; height: 38px; border-radius: 11px; flex: none; background: linear-gradient(150deg, var(--red-2), var(--red)); display: grid; place-items: center; color: #fff; font-size: 17px; box-shadow: 0 8px 24px -6px var(--red-glow); transform: rotate(-6deg); }
.brand .mk span { transform: rotate(6deg); display: block; }
.brand b { color: #fff; }
.nav-links { display: flex; gap: 30px; margin-inline: auto; font-weight: 600; font-size: 15px; }
.nav-links a { color: var(--muted); position: relative; padding: 8px 0; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; bottom: 2px; right: 0; width: 0; height: 2px; background: var(--red); transition: width .25s; }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.burger { display: none; background: none; border: none; color: #fff; cursor: pointer; padding: 8px; }
.burger svg { width: 28px; height: 28px; }

/* ============================================================
   3D CHAIR ENGINE  (CSS cuboids)
   ============================================================ */
.scene { perspective: 1300px; perspective-origin: 50% 44%; width: 100%; height: 100%; display: grid; place-items: center; pointer-events: none; }
.rig { position: relative; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(var(--rx,-8deg)) rotateY(var(--ry,28deg)) scale(var(--sc,1)); will-change: transform; }
.part { position: absolute; left: 0; top: 0; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.5,0,.2,1); }
.box3d { position: absolute; left: 0; top: 0; transform-style: preserve-3d; }
.fc { position: absolute; left: 50%; top: 50%; background: var(--col,#1b2a4a); border: 1px solid rgba(0,0,0,.18); backface-visibility: hidden; background-image: var(--grad, none); background-size: cover; }
.fc.ft { width: var(--w); height: var(--h); transform: translate(-50%,-50%) translateZ(calc(var(--d)/2)); }
.fc.bk { width: var(--w); height: var(--h); transform: translate(-50%,-50%) rotateY(180deg) translateZ(calc(var(--d)/2)); filter: brightness(.66); }
.fc.rt { width: var(--d); height: var(--h); transform: translate(-50%,-50%) rotateY(90deg)  translateZ(calc(var(--w)/2)); filter: brightness(.84); }
.fc.lt { width: var(--d); height: var(--h); transform: translate(-50%,-50%) rotateY(-90deg) translateZ(calc(var(--w)/2)); filter: brightness(.92); }
.fc.tp { width: var(--w); height: var(--d); transform: translate(-50%,-50%) rotateX(90deg)  translateZ(calc(var(--h)/2)); filter: brightness(1.18); }
.fc.bm { width: var(--w); height: var(--d); transform: translate(-50%,-50%) rotateX(-90deg) translateZ(calc(var(--h)/2)); filter: brightness(.5); }
.box3d.soft .fc { border-radius: 10px; }
.box3d.pill .fc { border-radius: 999px; }
.box3d.round .fc { border-radius: 50%; }

/* materials — gradients give sheen / curvature illusion */
.m-leather   { --col: #d51f48; --grad: radial-gradient(120% 90% at 30% 22%, #ff5c7e 0%, #e11d48 38%, #b3173a 100%); }
.m-leather-d { --col: #a01334; --grad: radial-gradient(120% 90% at 30% 22%, #c52049 0%, #98112f 100%); }
.m-cushion   { --col: #e11d48; --grad: radial-gradient(130% 120% at 50% 0%, #ff5c7e, #cc1840 70%); }
.m-foam      { --col: #1c2436; --grad: linear-gradient(180deg, #28324d, #161d2e); }
.m-plastic   { --col: #1a2132; --grad: linear-gradient(160deg, #2b3650, #141a29); }
.m-chrome    { --col: #aab4c8; --grad: linear-gradient(180deg, #eef2f9 0%, #c6cee0 20%, #868fa8 50%, #b6bfd2 72%, #5f6883 100%); }
.m-chrome-v  { --col: #aab4c8; --grad: linear-gradient(90deg, #f1f4fa 0%, #c6cee0 22%, #828ca6 50%, #b6bfd2 72%, #5f6883 100%); }
.m-caster    { --col: #11161f; --grad: linear-gradient(180deg, #283041, #0c1018); }

/* highlight when part is active */
.part.lit .fc { box-shadow: 0 0 0 1px var(--red-2), 0 0 26px var(--red-glow); filter: brightness(1.4) saturate(1.2); }
.part.lit .fc.tp { filter: brightness(1.6); }

/* seam / stitch line on cushions */
.seam { position: absolute; background: rgba(0,0,0,.22); border-radius: 4px; box-shadow: 0 1px 0 rgba(255,255,255,.12); }
/* mesh texture for backrest front */
.mesh::after { content: ""; position: absolute; inset: 4px; border-radius: 8px; background-image: radial-gradient(rgba(0,0,0,.28) 1px, transparent 1.4px); background-size: 7px 7px; opacity: .5; pointer-events: none; }

/* floor contact shadow */
.chair-shadow { position: absolute; left: 50%; top: 50%; width: 360px; height: 90px; transform: translate(-50%, 250px) rotateX(78deg); background: radial-gradient(ellipse at center, rgba(0,0,0,.65), transparent 68%); filter: blur(8px); }

/* floating callout chips */
.chip { position: absolute; z-index: 5; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--ink); direction: ltr; background: rgba(18,26,46,.8); border: 1px solid var(--line-2); padding: 6px 11px; border-radius: 8px; backdrop-filter: blur(6px); display: flex; align-items: center; gap: 8px; white-space: nowrap; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; }
.chip.show { opacity: 1; transform: translateY(0); }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--red-2); box-shadow: 0 0 10px var(--red-2); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: 82px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: center; width: 100%; }
.hero-copy { position: relative; z-index: 3; }
.hero h1 { font-size: clamp(40px, 7vw, 84px); font-weight: 900; line-height: 1.06; margin: 22px 0 0; letter-spacing: -.02em; }
.hero h1 .blk { display: block; }
.hero h1 .out { color: transparent; -webkit-text-stroke: 1.5px var(--steel); }
.hero-sub { color: var(--muted); font-size: 18.5px; max-width: 46ch; margin: 26px 0 0; }
.hero-cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-stage { position: relative; height: 78vh; min-height: 520px; }
.metrics { display: flex; gap: 34px; margin-top: 46px; flex-wrap: wrap; }
.metric .n { font-size: 34px; font-weight: 900; color: #fff; line-height: 1; font-family: var(--mono); }
.metric .n b { color: var(--red-2); }
.metric .l { font-size: 13.5px; color: var(--muted); margin-top: 7px; }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted-2); font-family: var(--mono); font-size: 11px; letter-spacing: .2em; direction: ltr; z-index: 4; }
.scroll-cue .mouse { width: 22px; height: 34px; border: 1.5px solid var(--muted-2); border-radius: 12px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 3px; height: 7px; border-radius: 2px; background: var(--red-2); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0%,100% { opacity: 0; transform: translate(-50%,0); } 40% { opacity: 1; } 70% { opacity: 1; transform: translate(-50%,9px); } }

/* ============================================================
   MARQUEE feature ticker
   ============================================================ */
.ticker { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; background: rgba(255,255,255,.012); }
.ticker-track { display: flex; gap: 56px; width: max-content; animation: marq 30s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(50%); } }
.tick-item { display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.tick-item .ti-ic { width: 28px; height: 28px; color: var(--red-2); flex: none; }
.tick-item .sub { color: var(--muted); font-weight: 500; font-size: 14.5px; }
.tick-dot { color: var(--red); font-size: 22px; align-self: center; }

/* ============================================================
   ANATOMY scrollytelling
   ============================================================ */
.anatomy { position: relative; height: 420vh; }
.anatomy-sticky { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; overflow: hidden; }
.anatomy-stage { position: relative; height: 100%; }
.anatomy-stage .scene { position: absolute; inset: 0; }
.anatomy-panels { position: relative; height: 60%; padding-inline: 8% 40px; }
.anat-step { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: translateY(40px); transition: opacity .5s, transform .5s; pointer-events: none; }
.anat-step.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.anat-step .idx { font-family: var(--mono); font-size: 13px; color: var(--red-2); letter-spacing: .2em; direction: ltr; }
.anat-step h3 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 900; margin: 14px 0 0; line-height: 1.18; }
.anat-step p { color: var(--muted); font-size: 17px; margin: 18px 0 0; max-width: 44ch; }
.anat-dots { display: flex; gap: 10px; margin-top: 30px; }
.anat-dots span { width: 34px; height: 4px; border-radius: 4px; background: var(--line-2); transition: background .3s; }
.anat-dots span.on { background: var(--red); }

/* ============================================================
   SERVICES cards
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.svc { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); border-radius: 22px; padding: 34px; transition: transform .3s, border-color .3s, box-shadow .3s; }
.svc::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx,50%) var(--my,0%), rgba(225,29,72,.14), transparent 60%); }
.svc:hover { transform: translateY(-6px); border-color: rgba(225,29,72,.4); box-shadow: 0 30px 60px -30px #000; }
.svc:hover::before { opacity: 1; }
.svc .num { font-family: var(--mono); font-size: 13px; color: var(--red-2); direction: ltr; letter-spacing: .15em; }
.svc h3 { font-size: 23px; font-weight: 800; color: #fff; margin: 16px 0 0; }
.svc p { color: var(--muted); font-size: 15.5px; margin: 14px 0 0; line-height: 1.95; position: relative; }
.svc .ic-badge { position: absolute; top: 30px; left: 30px; width: 52px; height: 52px; border-radius: 14px; background: rgba(225,29,72,.1); color: var(--red-2); display: grid; place-items: center; }
.svc .ic-badge svg { width: 26px; height: 26px; }

/* ============================================================
   BEFORE / AFTER
   ============================================================ */
.compare-wrap { max-width: 880px; margin: 0 auto; }
.compare { position: relative; aspect-ratio: 16/9; border-radius: 22px; overflow: hidden; border: 1px solid var(--line-2); user-select: none; touch-action: none; cursor: ew-resize; box-shadow: 0 40px 80px -40px #000; }
.compare .side { position: absolute; inset: 0; display: grid; place-items: center; }
.compare .before { background-color: #1a2032; background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 14px, rgba(255,255,255,.06) 14px 28px); }
.compare .after { background-color: #20283f; background-image: repeating-linear-gradient(-45deg, rgba(225,29,72,.06) 0 14px, rgba(225,29,72,.12) 14px 28px); clip-path: inset(0 0 0 50%); }
.compare .ph-label { font-family: var(--mono); font-size: 12px; color: var(--muted); direction: ltr; }
.compare .badge { position: absolute; top: 18px; font-family: var(--mono); font-size: 12px; font-weight: 700; padding: 7px 14px; border-radius: 999px; background: rgba(10,14,26,.7); border: 1px solid var(--line-2); backdrop-filter: blur(6px); }
.compare .badge.b-before { right: 18px; color: var(--steel); }
.compare .badge.b-after { left: 18px; color: var(--red-2); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--red-2); transform: translateX(-50%); box-shadow: 0 0 18px var(--red-glow); }
.compare .knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 50px; height: 50px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -6px var(--red-glow); }
.compare .knob svg { width: 24px; height: 24px; }
.compare-hint { text-align: center; color: var(--muted); font-size: 14px; margin-top: 20px; font-family: var(--mono); direction: ltr; letter-spacing: .08em; }

/* ============================================================
   CLIENTS marquee
   ============================================================ */
.clients-marq { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.cm-track { display: flex; gap: 20px; width: max-content; animation: marq2 30s linear infinite; }
.clients-marq:hover .cm-track { animation-play-state: paused; }
@keyframes marq2 { to { transform: translateX(50%); } }
.cm-logo { flex: none; width: 220px; height: 110px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.02); display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--muted); font-weight: 800; font-size: 18px; transition: color .25s, border-color .25s, background .25s; }
.cm-logo:hover { color: #fff; border-color: var(--line-2); background: rgba(255,255,255,.04); }
.cm-logo .blob { width: 30px; height: 30px; border-radius: 8px; background: repeating-linear-gradient(45deg,#2a3450 0 6px,#1d2640 6px 12px); flex: none; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tcarousel { position: relative; max-width: 920px; margin-inline: auto; }
.tslide { display: none; }
.tslide.active { display: block; animation: fade .5s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.tcard { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); border-radius: 26px; padding: 48px; text-align: center; }
.tcard .qm { font-family: Georgia, serif; font-size: 80px; color: var(--red); line-height: .2; height: 34px; }
.tcard blockquote { margin: 0; font-size: clamp(18px, 2.2vw, 25px); line-height: 1.85; color: #eef1f9; font-weight: 600; }
.tcard .who { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 30px; }
.tcard .av { width: 54px; height: 54px; border-radius: 50%; background: repeating-linear-gradient(45deg,#283250 0 8px,#1c2640 8px 16px); flex: none; }
.tcard .nm { font-weight: 800; color: #fff; }
.tcard .ro { font-size: 13.5px; color: var(--muted); }
.tnav { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.tnav button { width: 11px; height: 11px; border-radius: 50%; border: none; background: var(--line-2); cursor: pointer; transition: background .25s, transform .25s; }
.tnav button.on { background: var(--red); transform: scale(1.25); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 900; line-height: 1.15; }
.contact .lead { color: var(--muted); font-size: 17px; margin-top: 18px; }
.phones { display: grid; gap: 12px; margin-top: 34px; }
.phone-row { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.02); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; transition: border-color .25s, transform .25s; }
.phone-row:hover { border-color: rgba(225,29,72,.4); transform: translateX(-4px); }
.phone-row .pi { width: 40px; height: 40px; border-radius: 11px; background: rgba(225,29,72,.1); color: var(--red-2); display: grid; place-items: center; flex: none; }
.phone-row .pi svg { width: 20px; height: 20px; }
.phone-row .pn { font-family: var(--mono); font-size: 18px; font-weight: 700; color: #fff; direction: ltr; }
.phone-row .pl { font-size: 12.5px; color: var(--muted); }
.form { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); border-radius: 24px; padding: 34px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 8px; font-weight: 600; }
.field input, .field textarea { width: 100%; background: var(--bg); border: 1px solid var(--line-2); border-radius: 13px; padding: 14px 16px; color: var(--ink); font-family: inherit; font-size: 15.5px; transition: border-color .2s, box-shadow .2s; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(225,29,72,.14); }
.field textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 14px; margin-top: 14px; min-height: 20px; color: var(--red-2); text-align: center; }
.form-note.ok { color: #34d399; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.015); overflow: hidden; transition: border-color .25s; }
.faq-item.open { border-color: rgba(225,29,72,.4); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: none; border: none; cursor: pointer; padding: 22px 24px; text-align: right; font-family: inherit; font-size: 17.5px; font-weight: 700; color: var(--ink); }
.faq-tog { width: 30px; height: 30px; flex: none; border-radius: 9px; background: rgba(225,29,72,.12); color: var(--red-2); display: grid; place-items: center; position: relative; transition: transform .3s; }
.faq-tog::before, .faq-tog::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; }
.faq-tog::before { width: 13px; height: 2.5px; }
.faq-tog::after { width: 2.5px; height: 13px; transition: transform .3s; }
.faq-item.open .faq-tog::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { color: var(--muted); font-size: 16px; padding: 0 24px 24px; margin: 0; line-height: 1.95; }

/* ============================================================
   CTA banner
   ============================================================ */
.cta-banner { position: relative; overflow: hidden; border-radius: 30px; background: linear-gradient(120deg, #15050c, #2a0a16 55%, #14060d); border: 1px solid rgba(225,29,72,.3); padding: 72px 56px; text-align: center; }
.cta-banner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, var(--red-glow), transparent 50%); opacity: .5; }
.cta-banner h2 { position: relative; font-size: clamp(30px, 4.4vw, 52px); font-weight: 900; line-height: 1.12; }
.cta-banner p { position: relative; color: #d7b3bd; font-size: 18px; margin: 18px auto 0; max-width: 50ch; }
.cta-banner .hero-cta { position: relative; justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding: 70px 0 30px; position: relative; z-index: 1; background: var(--bg-2); }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; }
.footer h4 { font-size: 16px; color: #fff; font-weight: 800; margin: 0 0 18px; }
.footer .about { color: var(--muted); font-size: 15px; max-width: 38ch; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer ul a, .footer address { color: var(--muted); font-size: 15px; font-style: normal; transition: color .2s; }
.footer ul a:hover { color: var(--red-2); }
.foot-phone { font-family: var(--mono); direction: ltr; color: var(--steel); }
.footbar { border-top: 1px solid var(--line); margin-top: 50px; padding-top: 26px; text-align: center; color: var(--muted-2); font-size: 13.5px; }

/* float to top */
.to-top { position: fixed; bottom: 26px; left: 26px; z-index: 90; width: 50px; height: 50px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(18,26,46,.85); backdrop-filter: blur(8px); color: #fff; cursor: pointer; display: grid; place-items: center; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s, border-color .25s; }
.to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { border-color: var(--red); }
.to-top svg { width: 22px; height: 22px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .nav-links.open { display: flex; position: absolute; top: 82px; right: 0; left: 0; flex-direction: column; background: rgba(10,14,26,.97); border-bottom: 1px solid var(--line); padding: 20px 32px; gap: 8px; margin: 0; }
  .nav-links.open a { padding: 12px 0; font-size: 17px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 10px; }
  .hero-stage { order: -1; height: 52vh; min-height: 360px; }
  .hero-sub { max-width: none; }
  .anatomy-sticky { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .anatomy-stage { min-height: 50vh; }
  .anatomy-panels { height: auto; padding: 0 32px 40px; }
  .svc-grid { grid-template-columns: 1fr; }
  .contact .wrap { grid-template-columns: 1fr; gap: 40px; }
  .footer .cols { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 20px; }
  .section { padding: 90px 0; }
  .frow { grid-template-columns: 1fr; }
  .metrics { gap: 22px; }
  .cta-banner { padding: 48px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track, .cm-track { animation: none; }
  * { scroll-behavior: auto; }
}

/* ============================================================
   URGENT request modal + form "pending" (loading) state
   ============================================================ */
.form-note.pending { color: var(--muted); }
body.modal-open { overflow: hidden; }
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.open { display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4,7,14,.74); backdrop-filter: blur(6px); }
.modal-card { position: relative; z-index: 1; width: min(440px, 94vw); max-height: 92vh; overflow-y: auto; background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line-2); border-radius: 24px; padding: 36px 34px 30px; box-shadow: 0 50px 100px -30px #000; animation: fade .35s ease; }
.modal-card h3 { font-size: 27px; font-weight: 900; margin: 14px 0 0; letter-spacing: -.01em; }
.modal-sub { color: var(--muted); font-size: 15px; margin: 10px 0 22px; }
.modal-x { position: absolute; top: 16px; left: 16px; width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: border-color .2s, color .2s; }
.modal-x:hover { border-color: var(--red); color: #fff; }
.modal-x svg { width: 20px; height: 20px; }
