/* ==========================================================================
   Pan India 360 Studio — Core stylesheet
   Dark cinematic system. Shared across all pages.
   ========================================================================== */

/* Brand palette sampled from the official Pan India 360 Studio artwork:
   teal #008C87 → #15BAB4, yellow #FCFB01, white. The site sits on a deep
   teal-black so video thumbnails pop while staying inside the identity. */
:root{
  --bg:#041918;
  --bg-2:#062220;
  --surface:#0A2E2B;
  --surface-2:#0F3A36;
  --line:rgba(255,255,255,.10);
  --line-strong:rgba(255,255,255,.20);
  --text:#F7FEFD;
  --muted:#9DBCB9;
  --muted-2:#6B8D8A;
  --accent:#15BAB4;
  --accent-hot:#34D8D1;
  --accent-deep:#008C87;
  --gold:#FCFB01;
  --radius:14px;
  --radius-lg:22px;
  --maxw:1200px;
  --ease:cubic-bezier(.22,1,.36,1);
  --font-display:'Archivo',system-ui,sans-serif;
  --font-body:'Inter',system-ui,sans-serif;
}

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

html{scroll-behavior:smooth;-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}
a{color:inherit;text-decoration:none}
button{font:inherit}

::selection{background:var(--gold);color:#041918}

/* ---------- Focus visibility ----------
   Keyboard users get a clear ring on everything interactive. The gold ring
   would disappear against the gold primary button, so that one flips to white. */
:focus-visible{
  outline:3px solid var(--gold);
  outline-offset:3px;
  border-radius:4px;
}
.btn--primary:focus-visible,
.chip.is-active:focus-visible{outline-color:var(--text)}
.wa:focus-visible{outline-color:var(--text);outline-offset:4px}

/* Skip link — hidden until focused */
.skip{
  position:absolute;left:16px;top:-100px;z-index:200;
  padding:12px 22px;border-radius:0 0 12px 12px;
  background:var(--gold);color:#041918;
  font-family:var(--font-display);font-weight:700;font-size:.9rem;
  transition:top .2s var(--ease);
}
.skip:focus{top:0}

/* ---------- Layout ---------- */
.wrap{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 24px}
.section{padding:110px 0;position:relative}
.section--tight{padding:78px 0}
@media(max-width:768px){
  .section{padding:72px 0}
  .section--tight{padding:56px 0}
}

/* ---------- Typography ---------- */
h1,h2,h3,h4{font-family:var(--font-display);font-weight:800;letter-spacing:-.03em;line-height:1.05;margin:0}

.h-display{font-size:clamp(2.6rem,7vw,5.2rem)}
.h1{font-size:clamp(2.3rem,5.5vw,4rem)}
.h2{font-size:clamp(1.9rem,4vw,3rem)}
.h3{font-size:clamp(1.25rem,2.2vw,1.6rem);letter-spacing:-.02em}

p{margin:0 0 1rem}
.lede{font-size:clamp(1.05rem,1.6vw,1.28rem);color:var(--muted);line-height:1.6;max-width:62ch}
.muted{color:var(--muted)}
.small{font-size:.875rem}

.eyebrow{
  display:inline-flex;align-items:center;gap:9px;
  font-family:var(--font-display);font-size:.72rem;font-weight:700;
  letter-spacing:.18em;text-transform:uppercase;color:var(--accent-hot);
  margin-bottom:20px;
}
.eyebrow::before{content:"";width:26px;height:2px;background:var(--accent);border-radius:2px}

.accent{color:var(--accent-hot)}
.grad{
  background:linear-gradient(100deg,var(--accent) 0%,var(--gold) 90%);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:transparent;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:15px 28px;border-radius:100px;border:1px solid transparent;
  font-family:var(--font-display);font-weight:700;font-size:.94rem;letter-spacing:-.01em;
  cursor:pointer;transition:all .3s var(--ease);white-space:nowrap;
}
/* Primary CTA takes the logo's yellow — highest-contrast element on the page. */
.btn--primary{background:var(--gold);color:#041918;box-shadow:0 8px 30px -8px rgba(252,251,1,.45)}
.btn--primary:hover{background:#FFFF3D;transform:translateY(-2px);box-shadow:0 14px 40px -8px rgba(252,251,1,.6)}
.btn--teal{background:var(--accent);color:#041918}
.btn--teal:hover{background:var(--accent-hot);transform:translateY(-2px)}
.btn--ghost{background:transparent;color:var(--text);border-color:var(--line-strong)}
.btn--ghost:hover{background:rgba(255,255,255,.06);border-color:var(--text);transform:translateY(-2px)}
.btn--light{background:var(--text);color:#041918}
.btn--light:hover{background:#fff;transform:translateY(-2px)}
.btn--sm{padding:11px 20px;font-size:.85rem}
.btn--block{width:100%}

/* ---------- Header ---------- */
.hdr{
  position:sticky;top:0;z-index:100;
  background:rgba(4,25,24,.72);
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
  border-bottom:1px solid transparent;transition:border-color .3s,background .3s;
}
.hdr.is-stuck{border-bottom-color:var(--line);background:rgba(4,25,24,.94)}
.hdr__in{display:flex;align-items:center;justify-content:space-between;gap:24px;height:88px}

/* The real lockup carries the wordmark — no separate type set beside it. */
.logo{display:flex;align-items:center;flex-shrink:0}
.logo__img{height:58px;width:auto;transition:opacity .25s var(--ease)}
.logo:hover .logo__img{opacity:.85}
.logo--lockup img{width:230px;height:auto}
@media(max-width:640px){
  .hdr__in{height:72px}
  .logo__img{height:46px}
  .logo--lockup img{width:190px}
}

.nav{display:flex;align-items:center;gap:6px}
.nav a{
  padding:9px 15px;border-radius:100px;font-size:.9rem;font-weight:500;
  color:var(--muted);transition:color .2s,background .2s;
}
.nav a:hover{color:var(--text);background:rgba(255,255,255,.05)}
.nav a.is-active{color:var(--text);background:rgba(255,255,255,.08)}

.hdr__cta{display:flex;align-items:center;gap:10px}

.burger{
  display:none;width:42px;height:42px;border-radius:11px;
  background:rgba(255,255,255,.06);border:1px solid var(--line);
  cursor:pointer;align-items:center;justify-content:center;flex-direction:column;gap:5px;
}
.burger span{display:block;width:17px;height:2px;background:var(--text);border-radius:2px;transition:transform .3s var(--ease),opacity .2s}
.burger.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger.is-open span:nth-child(2){opacity:0}
.burger.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

@media(max-width:940px){
  .nav,.hdr__cta .btn{display:none}
  .burger{display:flex}
}

.mobnav{
  display:none;border-top:1px solid var(--line);background:var(--bg-2);
  padding:14px 0 26px;
}
.mobnav.is-open{display:block}
.mobnav a{display:block;padding:14px 4px;font-size:1.05rem;font-weight:600;border-bottom:1px solid var(--line)}
.mobnav .btn{margin-top:20px}

/* ---------- Hero ---------- */
.hero{position:relative;padding:clamp(70px,10vw,120px) 0 clamp(60px,8vw,100px);overflow:hidden}
.hero__glow{
  position:absolute;top:-30%;left:50%;transform:translateX(-50%);
  width:min(1100px,130vw);height:700px;pointer-events:none;
  background:radial-gradient(ellipse at center,rgba(21,186,180,.22),rgba(0,140,135,.07) 42%,transparent 70%);
  filter:blur(30px);
}
.hero__in{
  position:relative;z-index:1;
  display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:48px;align-items:center;
}
.hero__copy{min-width:0}
.hero h1{margin-bottom:26px;max-width:15ch}
.hero .lede{max-width:52ch;margin-bottom:36px}

/* In the split hero the headline shares the row with the 3D stage, so the
   full-width display size would wrap to four lines and push the CTA under
   the fold. Scale it to the column, not the viewport. */
@media(min-width:901px){
  .hero{padding-top:clamp(40px,5vw,72px)}
  .hero .h-display{font-size:clamp(2.4rem,4.15vw,3.85rem);max-width:13ch}
}

/* 3D stage — sized in CSS so the renderer has real dimensions to read */
.hero__visual{
  position:relative;width:100%;aspect-ratio:1/1;max-height:560px;
  min-width:0;justify-self:center;
}
.hero__visual canvas{
  display:block;width:100%;height:100%;
  opacity:0;transition:opacity .9s var(--ease);
}
.hero__visual canvas[data-ready="true"]{opacity:1}

/* Below the 3D breakpoint the canvas never initialises — reclaim the space. */
@media(max-width:900px){
  .hero__in{grid-template-columns:1fr;gap:0}
  .hero__visual{display:none}
  .hero h1{max-width:16ch}
  .hero .lede{max-width:56ch}
}
.hero__btns{display:flex;flex-wrap:wrap;gap:13px;margin-bottom:14px}

.pill{
  display:inline-flex;align-items:center;gap:9px;
  padding:8px 17px 8px 12px;border-radius:100px;
  background:rgba(255,255,255,.05);border:1px solid var(--line);
  font-size:.82rem;font-weight:500;color:var(--muted);margin-bottom:28px;
}
.dot{width:7px;height:7px;border-radius:50%;background:#22C55E;box-shadow:0 0 0 3px rgba(34,197,94,.2);animation:pulse 2.4s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.45}}

/* ---------- Stat bar ---------- */
.stats{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--bg-2)}
.stats__grid{display:grid;grid-template-columns:repeat(4,1fr)}
.stat{padding:34px 26px;border-right:1px solid var(--line)}
.stat:last-child{border-right:0}
.stat__n{font-family:var(--font-display);font-weight:800;font-size:clamp(1.7rem,3.2vw,2.5rem);letter-spacing:-.03em;line-height:1;margin-bottom:8px}
.stat__l{font-size:.8rem;color:var(--muted);letter-spacing:.02em}
@media(max-width:820px){
  .stats__grid{grid-template-columns:repeat(2,1fr)}
  .stat{border-bottom:1px solid var(--line)}
  .stat:nth-child(2n){border-right:0}
  .stat:nth-last-child(-n+2){border-bottom:0}
}

/* ---------- Section head ---------- */
.shead{max-width:64ch;margin-bottom:56px}
.shead--center{margin-left:auto;margin-right:auto;text-align:center}
.shead--center .lede{margin-left:auto;margin-right:auto}
.shead h2{margin-bottom:20px}
.shead__row{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;flex-wrap:wrap;margin-bottom:56px}
.shead__row .shead{margin-bottom:0}

/* ---------- Service cards ---------- */
.grid{display:grid;gap:20px}
.grid--3{grid-template-columns:repeat(3,1fr)}
.grid--2{grid-template-columns:repeat(2,1fr)}
.grid--4{grid-template-columns:repeat(4,1fr)}
@media(max-width:980px){.grid--3,.grid--4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.grid--3,.grid--4,.grid--2{grid-template-columns:1fr}}

.card{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);
  padding:32px 28px;transition:transform .35s var(--ease),border-color .3s,background .3s;
  position:relative;overflow:hidden;
}
.card:hover{transform:translateY(-4px);border-color:var(--line-strong);background:var(--surface-2)}

/* ---------- 3D card tilt ----------
   Applied only on real pointer devices. The tilt itself is written to
   --rx/--ry from JS; the sheen follows the cursor so the card reads as a
   physical surface catching light rather than a flat rectangle. */
@media(hover:hover) and (pointer:fine){
  .grid,.split{perspective:1200px}
  .card.tilt{
    transform-style:preserve-3d;
    transition:transform .18s var(--ease),border-color .3s,background .3s;
  }
  .card.tilt:hover{
    transform:translateY(-4px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));
  }
  .card.tilt::after{
    content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;
    background:radial-gradient(420px circle at var(--mx,50%) var(--my,50%),
      rgba(21,186,180,.16),transparent 45%);
    opacity:0;transition:opacity .3s var(--ease);
  }
  .card.tilt:hover::after{opacity:1}
}
@media(prefers-reduced-motion:reduce){
  .card.tilt:hover{transform:translateY(-4px)}
}
.card__ico{
  width:48px;height:48px;border-radius:13px;margin-bottom:22px;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(145deg,rgba(21,186,180,.20),rgba(252,251,1,.10));
  border:1px solid rgba(21,186,180,.28);
}
.card__ico svg{width:23px;height:23px;stroke:var(--accent-hot);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.card h3{margin-bottom:11px}
.card p{color:var(--muted);font-size:.95rem;margin:0}
.card__tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:20px}
.tag{
  font-size:.72rem;padding:5px 11px;border-radius:100px;
  background:rgba(255,255,255,.05);border:1px solid var(--line);color:var(--muted);
}
.card__num{
  position:absolute;top:22px;right:26px;
  font-family:var(--font-display);font-weight:800;font-size:2.6rem;
  color:rgba(255,255,255,.05);letter-spacing:-.04em;line-height:1;
}

/* ---------- Video grid ---------- */
.vgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
@media(max-width:980px){.vgrid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.vgrid{grid-template-columns:1fr}}

.vcard{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;transition:transform .35s var(--ease),border-color .3s;display:block;
}
.vcard:hover{transform:translateY(-4px);border-color:var(--line-strong)}
.vcard:hover .vcard__play{transform:scale(1);opacity:1}
.vcard:hover .vcard__thumb img{transform:scale(1.05)}
.vcard__thumb{position:relative;aspect-ratio:16/9;background:var(--surface-2);overflow:hidden}
.vcard__thumb img{width:100%;height:100%;object-fit:cover;transition:transform .5s var(--ease)}
.vcard__play{
  position:absolute;inset:0;margin:auto;width:54px;height:54px;border-radius:50%;
  background:var(--gold);display:flex;align-items:center;justify-content:center;
  transform:scale(.8);opacity:0;transition:all .3s var(--ease);
  box-shadow:0 8px 26px rgba(0,0,0,.5);
}
.vcard__play svg{width:19px;height:19px;fill:#041918;margin-left:3px}
.vcard__body{padding:17px 18px 19px}
.vcard__title{
  font-weight:600;font-size:.94rem;line-height:1.45;margin:0 0 10px;
  display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.vcard__meta{display:flex;align-items:center;gap:8px;font-size:.78rem;color:var(--muted-2)}
.vcard__meta span:not(:last-child)::after{content:"·";margin-left:8px}

.vstate{
  grid-column:1/-1;text-align:center;padding:56px 20px;
  border:1px dashed var(--line-strong);border-radius:var(--radius-lg);color:var(--muted);
}
.spinner{
  width:28px;height:28px;margin:0 auto 16px;border-radius:50%;
  border:2px solid var(--line-strong);border-top-color:var(--accent);
  animation:spin .8s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg)}}

/* skeleton */
.skel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.skel__t{aspect-ratio:16/9;background:linear-gradient(90deg,var(--surface) 25%,var(--surface-2) 50%,var(--surface) 75%);background-size:200% 100%;animation:shim 1.4s infinite}
.skel__b{padding:17px 18px 19px}
.skel__l{height:11px;border-radius:5px;margin-bottom:9px;background:linear-gradient(90deg,var(--surface) 25%,var(--surface-2) 50%,var(--surface) 75%);background-size:200% 100%;animation:shim 1.4s infinite}
@keyframes shim{0%{background-position:200% 0}100%{background-position:-200% 0}}

/* ---------- Filter chips ---------- */
.chips{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:34px}
.chip{
  padding:9px 18px;border-radius:100px;background:transparent;
  border:1px solid var(--line);color:var(--muted);font-size:.86rem;font-weight:500;
  cursor:pointer;transition:all .25s var(--ease);
}
.chip:hover{border-color:var(--line-strong);color:var(--text)}
.chip.is-active{background:var(--gold);color:#041918;border-color:var(--text);font-weight:600}

/* ---------- Feature / split ---------- */
.split{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
@media(max-width:900px){.split{grid-template-columns:1fr;gap:40px}}

.framed{
  border-radius:var(--radius-lg);overflow:hidden;border:1px solid var(--line);
  background:var(--surface);position:relative;aspect-ratio:16/10;
}
.framed iframe{width:100%;height:100%;border:0;display:block}

.list{list-style:none;padding:0;margin:28px 0 0}
.list li{
  display:flex;gap:14px;padding:15px 0;border-bottom:1px solid var(--line);
  font-size:.97rem;color:var(--muted);align-items:flex-start;
}
.list li:last-child{border-bottom:0}
.list li strong{color:var(--text);font-weight:600}
.tick{
  flex-shrink:0;width:21px;height:21px;border-radius:50%;margin-top:2px;
  background:rgba(21,186,180,.16);border:1px solid rgba(21,186,180,.40);
  display:flex;align-items:center;justify-content:center;
}
.tick svg{width:11px;height:11px;stroke:var(--accent-hot);fill:none;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}

/* ---------- Process ---------- */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden}
.step{padding:34px 28px;border-right:1px solid var(--line);background:var(--surface)}
.step:last-child{border-right:0}
.step__n{
  font-family:var(--font-display);font-weight:800;font-size:.76rem;letter-spacing:.14em;
  color:var(--accent-hot);margin-bottom:16px;display:block;
}
.step h3{font-size:1.1rem;margin-bottom:10px}
.step p{font-size:.9rem;color:var(--muted);margin:0}
@media(max-width:900px){
  .steps{grid-template-columns:repeat(2,1fr)}
  .step{border-bottom:1px solid var(--line)}
  .step:nth-child(2n){border-right:0}
  .step:nth-last-child(-n+2){border-bottom:0}
}
@media(max-width:560px){
  .steps{grid-template-columns:1fr}
  .step{border-right:0}
  .step:last-child{border-bottom:0}
}

/* ---------- Sector marquee ---------- */
.sectors{display:flex;flex-wrap:wrap;gap:11px}
.sector{
  padding:12px 22px;border-radius:100px;background:var(--surface);
  border:1px solid var(--line);font-size:.9rem;font-weight:500;color:var(--muted);
  transition:all .25s var(--ease);
}
.sector:hover{border-color:var(--accent);color:var(--text)}

/* ---------- CTA band ---------- */
.cta{
  border-radius:var(--radius-lg);padding:clamp(44px,6vw,74px);
  background:
    radial-gradient(ellipse at 20% 0%,rgba(21,186,180,.24),transparent 55%),
    radial-gradient(ellipse at 90% 100%,rgba(252,251,1,.10),transparent 50%),
    var(--surface);
  border:1px solid var(--line-strong);text-align:center;position:relative;overflow:hidden;
}
.cta h2{margin-bottom:18px}
.cta .lede{margin:0 auto 34px}
.cta__btns{display:flex;flex-wrap:wrap;gap:13px;justify-content:center}

/* ---------- Forms ---------- */
.form{display:grid;gap:18px}
.field{display:flex;flex-direction:column;gap:8px}
.field label{font-size:.84rem;font-weight:600;letter-spacing:.01em}
.field label span{color:var(--accent-hot)}
.field input,.field select,.field textarea{
  width:100%;padding:14px 16px;border-radius:11px;
  background:var(--bg-2);border:1px solid var(--line);color:var(--text);
  font-family:inherit;font-size:.95rem;transition:border-color .25s,background .25s;
}
.field input::placeholder,.field textarea::placeholder{color:var(--muted-2)}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none;border-color:var(--accent);background:var(--surface);
}
.field textarea{resize:vertical;min-height:118px}
.field select{appearance:none;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239C9CA8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 14px center;background-size:17px;padding-right:42px;
}
.field select option{background:var(--bg-2);color:var(--text)}
.form__row{display:grid;grid-template-columns:1fr 1fr;gap:18px}
@media(max-width:600px){.form__row{grid-template-columns:1fr}}
.form__note{font-size:.8rem;color:var(--muted-2);margin:0}

.panel{
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius-lg);padding:clamp(26px,4vw,40px);
}

/* contact rows */
.crow{display:flex;gap:16px;padding:20px 0;border-bottom:1px solid var(--line);align-items:flex-start}
.crow:last-child{border-bottom:0}
.crow__ico{
  width:42px;height:42px;border-radius:12px;flex-shrink:0;
  background:rgba(255,255,255,.05);border:1px solid var(--line);
  display:flex;align-items:center;justify-content:center;
}
.crow__ico svg{width:19px;height:19px;stroke:var(--accent-hot);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.crow__l{font-size:.78rem;color:var(--muted-2);text-transform:uppercase;letter-spacing:.1em;margin-bottom:4px}
.crow__v{font-weight:600;font-size:1rem}
.crow__v a:hover{color:var(--accent-hot)}

/* ---------- Accordion ---------- */
.acc{border-top:1px solid var(--line)}
.acc__item{border-bottom:1px solid var(--line)}
.acc__btn{
  width:100%;background:none;border:0;color:var(--text);cursor:pointer;
  padding:24px 0;display:flex;align-items:center;justify-content:space-between;gap:20px;
  text-align:left;font-family:var(--font-display);font-weight:700;font-size:1.05rem;letter-spacing:-.015em;
}
.acc__btn:hover{color:var(--accent-hot)}
.acc__ico{
  flex-shrink:0;width:26px;height:26px;border-radius:50%;border:1px solid var(--line-strong);
  display:flex;align-items:center;justify-content:center;transition:transform .3s var(--ease),background .3s;
}
.acc__ico::before,.acc__ico::after{content:"";position:absolute;background:currentColor;border-radius:2px}
.acc__ico svg{width:12px;height:12px;stroke:currentColor;fill:none;stroke-width:2.4;stroke-linecap:round;transition:transform .3s var(--ease)}
.acc__item.is-open .acc__ico{transform:rotate(45deg);background:var(--gold);border-color:var(--gold);color:#041918}
.acc__panel{max-height:0;overflow:hidden;transition:max-height .4s var(--ease)}
.acc__panel p{color:var(--muted);padding-bottom:24px;margin:0;max-width:75ch}

/* ---------- Footer ---------- */
.ftr{border-top:1px solid var(--line);background:var(--bg-2);padding:64px 0 34px;margin-top:0}
.ftr__grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.2fr;gap:44px;margin-bottom:48px}
@media(max-width:900px){.ftr__grid{grid-template-columns:1fr 1fr;gap:36px}}
@media(max-width:520px){.ftr__grid{grid-template-columns:1fr}}
.ftr h4{font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted-2);margin-bottom:18px;font-weight:700}
.ftr ul{list-style:none;padding:0;margin:0;display:grid;gap:11px}
.ftr ul a{font-size:.92rem;color:var(--muted);transition:color .2s}
.ftr ul a:hover{color:var(--text)}
.ftr__about{max-width:36ch;color:var(--muted);font-size:.92rem;margin:18px 0 22px}
.socials{display:flex;gap:10px}
.soc{
  width:40px;height:40px;border-radius:11px;background:rgba(255,255,255,.05);
  border:1px solid var(--line);display:flex;align-items:center;justify-content:center;
  transition:all .25s var(--ease);
}
.soc:hover{background:var(--accent);border-color:var(--accent);transform:translateY(-2px)}
.soc svg{width:17px;height:17px;fill:var(--muted)}
.soc:hover svg{fill:#fff}
/* Optical sizing: the Facebook glyph is a full-bleed circle (24x24) where the
   others are letterboxed (~24x17), so at an identical box it reads ~45% heavier.
   Scale it down to match them by area, not by bounding box. */
.soc[aria-label="Facebook"] svg{transform:scale(.84)}
.ftr__bar{
  border-top:1px solid var(--line);padding-top:26px;
  display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;
  font-size:.83rem;color:var(--muted-2);
}

/* ---------- Reveal on scroll ---------- */
.rv{opacity:0;transform:translateY(24px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.rv.is-in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){
  .rv{opacity:1;transform:none;transition:none}
  *{animation-duration:.01ms!important;transition-duration:.01ms!important}
  html{scroll-behavior:auto}
}

/* ---------- WhatsApp floating button ----------
   Pattern borrowed from the Asthra design system (05-conversion-engagement
   §26): present on every page, page-specific pre-filled message, and the
   WhatsApp brand green kept deliberately outside our own colour tokens
   because icon recognition is worth more than palette purity here. */
.wa{
  position:fixed;right:24px;bottom:24px;z-index:90;
  width:58px;height:58px;border-radius:50%;
  background:#25D366;display:flex;align-items:center;justify-content:center;
  box-shadow:0 10px 34px -6px rgba(37,211,102,.55),0 4px 12px rgba(0,0,0,.4);
  transition:transform .25s var(--ease),box-shadow .25s var(--ease);
  animation:waIn .5s var(--ease) .8s both;
}
.wa:hover{transform:scale(1.08);box-shadow:0 14px 42px -6px rgba(37,211,102,.7)}
.wa:active{transform:scale(.96)}
.wa svg{width:30px;height:30px;fill:#fff}
@keyframes waIn{from{opacity:0;transform:scale(.6) translateY(12px)}to{opacity:1;transform:none}}
@media(max-width:640px){.wa{right:16px;bottom:16px;width:54px;height:54px}.wa svg{width:28px;height:28px}}

/* ---------- Three parallel conversion paths ---------- */
.paths{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;max-width:760px;margin:0 auto}
@media(max-width:680px){.paths{grid-template-columns:1fr}.paths .btn{width:100%}}

/* ---------- Timeline ---------- */
.tl{position:relative;padding-left:30px}
.tl::before{content:"";position:absolute;left:7px;top:6px;bottom:6px;width:2px;background:linear-gradient(180deg,var(--accent),rgba(252,251,1,.30),transparent)}
.tl__item{position:relative;padding-bottom:38px}
.tl__item:last-child{padding-bottom:0}
.tl__item::before{
  content:"";position:absolute;left:-30px;top:6px;width:16px;height:16px;border-radius:50%;
  background:var(--bg);border:2px solid var(--accent);
}
.tl__yr{
  font-family:var(--font-display);font-weight:800;font-size:.78rem;letter-spacing:.14em;
  color:var(--accent-hot);margin-bottom:8px;display:block;
}
.tl__item h3{font-size:1.12rem;margin-bottom:8px}
.tl__item p{color:var(--muted);font-size:.94rem;margin:0;max-width:60ch}

/* ---------- Page header ---------- */
.phead{padding:clamp(56px,7vw,90px) 0 clamp(40px,5vw,60px);position:relative;overflow:hidden}
.phead__glow{
  position:absolute;top:-60%;left:20%;width:700px;height:600px;pointer-events:none;
  background:radial-gradient(ellipse,rgba(21,186,180,.18),transparent 68%);filter:blur(40px);
}
.phead__in{position:relative;z-index:1}
.phead h1{margin-bottom:22px;max-width:18ch}
.crumb{font-size:.83rem;color:var(--muted-2);margin-bottom:20px}
.crumb a:hover{color:var(--text)}
.crumb span{margin:0 8px}
