/* ============================================================
   KoDrive — Design Tokens
   Palette pinned by the brand mark: warm signal-orange + ink,
   set against an asphalt dark and a quiet paper neutral.
   ============================================================ */
:root{
  --ink:        #000000;
  --ink-soft:   #43434A;
  --orange:     #F2600C;
  --orange-dark:#C94A05;
  --orange-tint:#FDE4D2;
  --paper:      #F3F1EA;
  --white:      #FFFFFF;
  --asphalt:    #000000;
  --asphalt-2:  #161616;
  --line:       #E4DFD3;
  --line-dark:  #2A2A2A;

  --display: 'Sora', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;

  --container: 1180px;
  --radius: 14px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }

h1,h2,h3,h4{
  font-family: var(--display);
  color: var(--ink);
  margin:0 0 .5em;
  line-height:1.08;
  letter-spacing:-0.01em;
}
h1{ font-weight:800; }
h2{ font-weight:700; }
h3{ font-weight:700; }
p{ margin:0 0 1em; }

.wrap{
  max-width: var(--container);
  margin:0 auto;
  padding:0 28px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family: var(--display);
  font-size:.75rem;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
  color: var(--orange);
  margin-bottom:18px;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family: var(--display);
  font-weight:700;
  font-size:.95rem;
  padding:15px 28px;
  border-radius: 100px;
  border:2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space:nowrap;
}
.btn-primary{
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 20px -8px rgba(242,96,12,.65);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(242,96,12,.75); }
.btn-ghost-dark{
  border-color: rgba(255,255,255,.28);
  color: var(--white);
}
.btn-ghost-dark:hover{ border-color: var(--orange); color: var(--orange); }
.btn-ghost-light{
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost-light:hover{ background: var(--ink); color: var(--white); }
.btn-arrow{ transition: transform .18s ease; }
.btn:hover .btn-arrow{ transform: translateX(3px); }

/* ---------- Nav ---------- */
/* ---------- Program comparison table ---------- */
.compare-table-wrap{ overflow-x:auto; border-radius:14px; border:1px solid var(--line); }
.compare-table{ width:100%; border-collapse:collapse; background:var(--white); min-width:640px; }
.compare-table th{
  text-align:left; font-family:var(--display); font-weight:700; font-size:.78rem; letter-spacing:.05em; text-transform:uppercase;
  color:var(--ink-soft); background:var(--paper); padding:16px 20px; border-bottom:1px solid var(--line);
}
.compare-table td{ padding:16px 20px; border-bottom:1px solid var(--line); font-size:.94rem; color:var(--ink-soft); }
.compare-table tr:last-child td{ border-bottom:none; }
.compare-table td strong{ color:var(--ink); font-family:var(--display); font-weight:700; }

/* ---------- Program recommender quiz ---------- */
.quiz-box{
  max-width:640px; margin:0 auto;
  background:var(--paper); border-radius:20px;
  padding:44px 40px;
  min-height:260px;
}
.quiz-question{
  font-family:var(--display); font-weight:700; font-size:1.2rem; color:var(--ink);
  margin-bottom:24px; text-align:center;
}
.quiz-options{ display:flex; flex-direction:column; gap:12px; }
.quiz-opt{
  background:var(--white); border:1.5px solid var(--line); border-radius:12px;
  padding:16px 20px; text-align:left;
  font-family:var(--body); font-size:.96rem; color:var(--ink);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.quiz-opt:hover{ border-color:var(--orange); background:var(--orange-tint); transform:translateX(4px); }
.quiz-result{ text-align:center; }
.quiz-result-label{
  font-family:var(--display); font-weight:700; font-size:.75rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--orange); margin-bottom:10px;
}
.quiz-result-name{ font-size:1.6rem; margin-bottom:12px; }
.quiz-result-reason{ color:var(--ink-soft); max-width:460px; margin:0 auto; }
@media (max-width:600px){
  .quiz-box{ padding:32px 24px; }
}

/* ---------- Skip link (accessibility) ---------- */
.skip-link{
  position:absolute; left:16px; top:-60px;
  background:var(--orange); color:#fff;
  font-family:var(--display); font-weight:700; font-size:.9rem;
  padding:12px 20px; border-radius:8px;
  z-index:1000;
  transition: top .2s ease;
}
.skip-link:focus{ top:16px; }

.site-nav{
  position:sticky; top:0; z-index:100;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.site-nav .wrap{
  display:flex; align-items:center; justify-content:space-between;
  height:76px;
}
.nav-logo img{ height:30px; width:auto; }
.nav-links{
  display:flex; align-items:center; gap:34px;
}
.nav-links a{
  font-family: var(--display);
  font-size:.92rem;
  font-weight:600;
  color: rgba(255,255,255,.78);
  transition: color .15s ease;
  position:relative;
}
.nav-links a:hover, .nav-links a.active{ color: var(--white); }
.nav-links a.active::after{
  content:"";
  position:absolute; left:0; right:0; bottom:-22px;
  height:2px; background:var(--orange);
}
.nav-cta{ display:flex; align-items:center; gap:22px; }
.nav-toggle{
  display:none;
  background:none; border:none; color:var(--white);
  font-size:1.6rem;
}
@media (max-width: 880px){
  .nav-links{
    position:absolute; top:76px; left:0; right:0;
    background: var(--asphalt);
    flex-direction:column; align-items:flex-start;
    padding:8px 28px 26px;
    gap:20px;
    border-bottom:1px solid var(--line-dark);
    display:none;
  }
  .nav-links.open{ display:flex; }
  .nav-toggle{ display:block; }
  .nav-cta .btn-label{ display:none; }
}

/* ---------- Lane divider (signature motif) ---------- */
.lane{
  height:34px;
  background-repeat: repeat-x;
  background-size: 46px 4px;
  background-position: center;
}
.lane-on-dark{
  background-image: linear-gradient(90deg, var(--orange) 0 26px, transparent 26px 46px);
}
.lane-on-light{
  background-image: linear-gradient(90deg, var(--ink) 0 26px, transparent 26px 46px);
  opacity:.14;
}

/* ---------- Sections ---------- */
section{ padding:96px 0; }
.section-paper{ background: var(--paper); }
.section-dark{ background: var(--asphalt); color: var(--white); }
.section-dark h2, .section-dark h3{ color: var(--white); }
.section-dark .muted{ color: rgba(255,255,255,.66); }
.muted{ color: var(--ink-soft); }

.section-head{
  max-width:640px;
  margin-bottom:56px;
}
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size:clamp(1.9rem, 3vw, 2.6rem); }
.section-head.reveal:not(.center){ transform:translateX(-36px); }
.section-head.center.reveal{ transform:translateY(18px) scale(.97); }

/* ---------- Hero ---------- */
.hero{
  background: var(--asphalt);
  color: var(--white);
  position:relative;
  overflow:hidden;
  padding:150px 0 80px;
  min-height:620px;
  display:flex;
  align-items:center;
}
.marquee-row{
  position:absolute; left:0; width:200%; white-space:nowrap;
  font-family:var(--display); font-weight:800; font-size:7rem; letter-spacing:-.02em;
  color:transparent; -webkit-text-stroke:1px rgba(255,255,255,.05);
  display:flex; pointer-events:none; z-index:0;
}
.marquee-row span{ padding:0 40px; }
.mq1{ top:10%; animation:mqleft 32s linear infinite; }
.mq2{ bottom:8%; animation:mqright 38s linear infinite; }
@keyframes mqleft{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
@keyframes mqright{ from{ transform:translateX(-50%); } to{ transform:translateX(0); } }
.hero-center{
  position:relative; z-index:1;
  max-width:1000px;
  margin:0 auto;
  text-align:center;
  display:flex; flex-direction:column; align-items:center;
}
.hero-kicker{
  font-family:var(--display); font-weight:600; font-size:.8rem; letter-spacing:.14em; text-transform:uppercase;
  color:rgba(255,255,255,.55);
  margin-bottom:26px;
}
.reveal-wrap{ position:relative; display:inline-block; overflow:hidden; }
.hero h1{
  margin:0;
  position:relative; z-index:1;
  font-size:clamp(2.8rem, 6vw, 5.2rem);
  color:var(--white);
  letter-spacing:-0.02em;
  clip-path: inset(0 100% 0 0);
  animation: driveReveal 1.1s cubic-bezier(.65,0,.35,1) both;
  animation-delay:.3s;
}
.hero h1 em{
  font-style:normal;
  color:var(--orange);
}
@keyframes driveReveal{ to{ clip-path: inset(0 0% 0 0); } }
.drive-car{
  position:absolute; top:50%; left:0; width:40px; height:23px; z-index:2;
  transform:translateY(-50%);
  animation: carDrive 1.1s cubic-bezier(.65,0,.35,1) both;
  animation-delay:.3s;
}
@keyframes carDrive{ to{ left:100%; } }
.hero-lede{
  font-size:1.15rem;
  color: rgba(255,255,255,.65);
  max-width:680px;
  margin-left:auto; margin-right:auto;
}
.hero-note{
  font-family:var(--display);
  font-weight:600;
  font-size:.96rem;
  color: rgba(255,255,255,.85);
  margin: 22px 0 34px;
}
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; justify-content:center; }
.hero-proof{
  margin-top:30px; padding-top:18px;
  border-top:1px solid rgba(255,255,255,.1);
}
.hero-proof span{ font-size:.85rem; color:rgba(255,255,255,.45); letter-spacing:.01em; }

@media (max-width:700px){
  .marquee-row{ font-size:4rem; }
}

@media (max-width: 700px){
  .hero{ padding:110px 0 50px; }
}

/* ---------- Trust strip ---------- */
.trust-strip{
  background: var(--orange);
  padding:20px 0;
}
.trust-strip ul{
  display:flex; flex-wrap:wrap;
  gap:14px 34px;
  justify-content:center;
}
.trust-strip li{
  font-family:var(--display);
  font-weight:700;
  font-size:.86rem;
  color: var(--white);
  display:flex; align-items:center; gap:9px;
  letter-spacing:.01em;
}
.trust-strip li svg{ flex:none; }

/* ---------- Meaning / Koode block ---------- */
.koode{
  display:grid;
  grid-template-columns: .8fr 1.2fr;
  gap:60px;
  align-items:center;
}
.koode-word{
  font-family:var(--display);
  font-weight:800;
  font-size:clamp(2.6rem,6vw,4.4rem);
  color:var(--orange);
  line-height:1;
}
.koode-word span{
  display:block;
  font-family:var(--body);
  font-weight:600;
  font-size:1rem;
  color: var(--ink-soft);
  margin-top:14px;
  letter-spacing:.02em;
}
@media (max-width:800px){ .koode{ grid-template-columns:1fr; gap:26px; } }

/* ---------- Card grids ---------- */
.grid{
  display:grid;
  gap:26px;
}
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
@media (max-width:880px){
  .grid-3{ grid-template-columns: 1fr 1fr; }
}
@media (max-width:600px){
  .grid-3, .grid-2{ grid-template-columns: 1fr; }
}

.card{
  background: var(--white);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:32px 28px;
  transition: border-color .2s ease, transform .2s ease;
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
.card:hover{ transform: translateY(-3px); }
.card .num{
  font-family:var(--display);
  font-weight:800;
  color: var(--orange-tint);
  -webkit-text-stroke: 1.5px var(--orange);
  font-size:2.1rem;
  display:block;
  margin-bottom:10px;
}
.card h3{ font-size:1.15rem; margin-bottom:8px; }
.card p{ color:var(--ink-soft); font-size:.96rem; margin:0; }

.icon-badge{
  width:46px; height:46px;
  border-radius:12px;
  background: var(--orange-tint);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:16px;
}

/* ---------- Programs ---------- */
.program-card{
  background: var(--white);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:30px 26px;
  display:flex; flex-direction:column; height:100%;
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
.program-card h3{ font-size:1.2rem; }
.program-card p{ color:var(--ink-soft); font-size:.95rem; flex:1; }
.program-tag{
  font-family:var(--display);
  font-weight:700;
  font-size:.72rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--orange-dark);
  margin-bottom:14px;
}

/* ---------- Steps (How it works) ---------- */
.steps{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:22px;
  counter-reset: step;
}
.step{
  position:relative;
  padding-top:20px;
  border-top:2px solid var(--line-dark);
}
.step::before{
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family:var(--display);
  font-weight:800;
  font-size:1.6rem;
  color:var(--orange);
  display:block;
  margin-bottom:10px;
}
.step h4{ font-family:var(--display); color:var(--white); font-size:1.02rem; margin:0 0 8px; }
.step p{ color:rgba(255,255,255,.62); font-size:.9rem; margin:0; }
@media (max-width:1000px){ .steps{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:560px){ .steps{ grid-template-columns:1fr;} }

/* ---------- Values ---------- */
.value-row{
  display:grid;
  grid-template-columns: repeat(5,1fr);
  border-top:1px solid var(--line);
}
.value-row .value{
  padding:30px 20px;
  border-right:1px solid var(--line);
}
.value-row .value:last-child{ border-right:none; }
.value h3{ font-size:1.05rem; }
.value p{ font-size:.9rem; color:var(--ink-soft); margin:0; }
@media (max-width:900px){
  .value-row{ grid-template-columns:repeat(2,1fr); }
  .value-row .value:nth-child(2n){ border-right:none; }
}
@media (max-width:560px){
  .value-row{ grid-template-columns:1fr; }
}

/* ---------- Testimonials ---------- */
.quote-card{
  background: var(--paper);
  border-radius: var(--radius);
  padding:36px;
  position:relative;
}
.quote-card::before{
  content:"“";
  font-family:var(--display);
  font-size:3.4rem;
  color: var(--orange);
  line-height:1;
  display:block;
  margin-bottom:6px;
}
.quote-card p{ font-size:1.05rem; color:var(--ink); }
.quote-name{ font-family:var(--display); font-weight:700; font-size:.9rem; color:var(--orange-dark); margin-top:16px; }

/* ---------- FAQ ---------- */
.faq-search{
  display:flex; align-items:center; gap:12px;
  background:var(--white); border:1.5px solid var(--line); border-radius:100px;
  padding:14px 20px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-search:focus-within{ border-color:var(--orange); box-shadow:0 0 0 4px rgba(242,96,12,.12); }
.faq-search svg{ color:var(--ink-soft); flex:none; }
.faq-search input{
  border:none; outline:none; flex:1;
  font-family:var(--body); font-size:.96rem; color:var(--ink); background:none;
}
.faq-item.faq-hidden{ display:none; }

.faq-item{
  border-bottom:1px solid var(--line);
}
.faq-q{
  width:100%;
  background:none; border:none;
  display:flex; align-items:center; justify-content:space-between;
  padding:22px 0;
  font-family:var(--display);
  font-weight:700;
  font-size:1.05rem;
  color:var(--ink);
  text-align:left;
}
.faq-q .plus{
  flex:none;
  width:26px; height:26px;
  border-radius:50%;
  border:1.5px solid var(--ink);
  position:relative;
  transition: transform .25s ease, border-color .2s ease;
}
.faq-q .plus::before, .faq-q .plus::after{
  content:""; position:absolute; background:var(--ink);
  top:50%; left:50%; transform:translate(-50%,-50%);
}
.faq-q .plus::before{ width:10px; height:1.6px; }
.faq-q .plus::after{ width:1.6px; height:10px; transition: opacity .2s ease; }
.faq-item.open .plus{ transform:rotate(180deg); border-color:var(--orange); }
.faq-item.open .plus::after{ opacity:0; }
.faq-item.open .plus::before, .faq-item.open .plus::after{ background:var(--orange); }
.faq-a{
  max-height:0;
  overflow:hidden;
  transition:max-height .3s ease;
}
.faq-a p{ padding-bottom:22px; color:var(--ink-soft); max-width:640px; }

/* ---------- CTA band ---------- */
.cta-band{
  background: var(--orange);
  color: var(--white);
  text-align:center;
  padding:90px 0;
}
.cta-band h2{ color:var(--white); font-size:clamp(1.9rem,4vw,2.8rem); }
.cta-band p{ color:rgba(255,255,255,.85); max-width:520px; margin:0 auto 30px; }
.cta-band .btn-primary{ background:var(--ink); box-shadow:none; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, background .25s ease, color .25s ease; }
.cta-band .btn-primary:hover{
  background:var(--white); color:var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -14px rgba(0,0,0,.4);
}
.cta-band .btn-ghost-dark{
  border-color: rgba(255,255,255,.6); color:var(--white);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background .25s ease, color .25s ease, border-color .25s ease;
}
.cta-band .btn-ghost-dark:hover{
  background: var(--white); border-color:var(--white); color:var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -14px rgba(0,0,0,.3);
}

/* ---------- Footer ---------- */
footer{
  background: var(--asphalt);
  color: rgba(255,255,255,.7);
  padding:70px 0 30px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap:40px;
  padding-bottom:50px;
  border-bottom:1px solid var(--line-dark);
}
.footer-logo img{ height:28px; margin-bottom:16px; }
.footer-grid h4{
  font-family:var(--display);
  color:var(--white);
  font-size:.82rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:16px;
}
.footer-grid li{ margin-bottom:10px; font-size:.92rem; }
.footer-grid a:hover{ color:var(--orange); }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding-top:26px;
  font-size:.82rem;
  flex-wrap:wrap; gap:12px;
}
.social-row{ display:flex; gap:16px; }
.social-row a{
  width:36px; height:36px;
  border:1px solid var(--line-dark);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  transition: border-color .2s ease, color .2s ease;
}
.social-row a:hover{ border-color:var(--orange); color:var(--orange); }
@media (max-width:880px){
  .footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:560px){
  .footer-grid{ grid-template-columns:1fr; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero{
  background: var(--asphalt);
  color:var(--white);
  padding:150px 0 76px;
}
.page-hero .eyebrow{ }
.page-hero h1{ color:var(--white); font-size:clamp(2.1rem,4vw,3.1rem); max-width:680px; }
.page-hero p{ color:rgba(255,255,255,.7); max-width:560px; font-size:1.05rem; }

/* ---------- Reveal on scroll ---------- */
.reveal{ opacity:0; transform:translateY(26px) scale(.97); transition:opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in{ opacity:1; transform:none; }
.reveal.stagger.in > *{ animation: fadeUp .6s cubic-bezier(.2,.7,.2,1) both; }
.reveal.stagger.in > *:nth-child(1){ animation-delay:.03s; }
.reveal.stagger.in > *:nth-child(2){ animation-delay:.09s; }
.reveal.stagger.in > *:nth-child(3){ animation-delay:.15s; }
.reveal.stagger.in > *:nth-child(4){ animation-delay:.21s; }
.reveal.stagger.in > *:nth-child(5){ animation-delay:.27s; }
.reveal.stagger.in > *:nth-child(6){ animation-delay:.33s; }
.reveal.stagger.in > *:nth-child(7){ animation-delay:.39s; }
.reveal.stagger.in > *:nth-child(8){ animation-delay:.45s; }

/* Content-embedded scroll animations */
@keyframes iconPop{
  from{ opacity:0; transform:scale(.4) rotate(-18deg); }
  to{ opacity:1; transform:scale(1) rotate(0); }
}
.reveal.stagger.in > * .icon-badge{
  animation: iconPop .5s cubic-bezier(.3,.7,.3,1.4) both;
  animation-delay:.16s;
}

@keyframes growBar{
  from{ width:0; }
  to{ width:100%; }
}
.step{ position:relative; }
.step::after{
  content:""; position:absolute; top:-2px; left:0; height:2px; width:0;
  background:var(--orange);
}
.steps.reveal.stagger.in > .step::after{ animation: growBar .7s cubic-bezier(.3,.7,.3,1) both; }
.steps.reveal.stagger.in > .step:nth-child(1)::after{ animation-delay:.15s; }
.steps.reveal.stagger.in > .step:nth-child(2)::after{ animation-delay:.28s; }
.steps.reveal.stagger.in > .step:nth-child(3)::after{ animation-delay:.41s; }
.steps.reveal.stagger.in > .step:nth-child(4)::after{ animation-delay:.54s; }
.steps.reveal.stagger.in > .step:nth-child(5)::after{ animation-delay:.67s; }

@keyframes quotePop{
  from{ opacity:0; transform:scale(.3) rotate(-15deg); }
  to{ opacity:1; transform:scale(1) rotate(0); }
}
.reveal.stagger.in > .quote-card::before{
  animation: quotePop .5s cubic-bezier(.3,.7,.3,1.4) both;
  animation-delay:.15s;
}

@keyframes fadeUp{
  from{ opacity:0; transform:translateY(16px); }
  to{ opacity:1; transform:none; }
}
@keyframes fadeIn{
  from{ opacity:0; }
  to{ opacity:1; }
}

/* Hero entrance choreography */
.hero-kicker{ animation: fadeUp .7s cubic-bezier(.2,.7,.2,1) both; animation-delay:.05s; }
.hero-lede{ animation: fadeUp .7s cubic-bezier(.2,.7,.2,1) both; animation-delay:1.5s; }
.hero-note{ animation: fadeUp .7s cubic-bezier(.2,.7,.2,1) both; animation-delay:1.62s; }
.hero-actions{ animation: fadeUp .7s cubic-bezier(.2,.7,.2,1) both; animation-delay:1.74s; }
.hero-proof{ animation: fadeUp .7s cubic-bezier(.2,.7,.2,1) both; animation-delay:1.86s; }


/* Nav underline slide-in on hover */
.nav-links a{ }
.nav-links a::before{
  content:"";
  position:absolute; left:0; bottom:-22px;
  width:0; height:2px; background:var(--orange);
  transition: width .25s ease;
}
.nav-links a:hover::before{ width:100%; }
.nav-links a.active::after{ transition:none; }

/* Card + icon micro-interactions */
.card{
  transition: border-color .5s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.8,.2,1),
              box-shadow .6s cubic-bezier(.2,.7,.2,1);
}
.card > *{ position:relative; z-index:1; }
.card::before{
  content:"";
  position:absolute; left:50%; bottom:-30%;
  width:24px; height:24px; border-radius:50%;
  background:var(--ink);
  transform:translateX(-50%) scale(0);
  transition: transform .9s cubic-bezier(.16,1,.3,1);
  z-index:0;
  pointer-events:none;
}
.card h2, .card h3, .card p, .card .muted, .card .num{ transition: color .5s ease .12s; }
.card:hover{
  border-color:var(--ink); transform: translateY(-6px) scale(1.015);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.45);
}
.card:hover::before{ transform:translateX(-50%) scale(30); }
.card:hover h2, .card:hover h3{ color:var(--orange) !important; }
.card:hover p, .card:hover .muted, .card:hover .num{ color:var(--white) !important; }
.card:hover .icon-badge{ transform: scale(1.1) rotate(-6deg); background:var(--orange); transition: transform .6s cubic-bezier(.3,.7,.3,1.2) .1s, background .5s ease .1s; }
.card:hover .icon-badge svg path, .card:hover .icon-badge svg circle, .card:hover .icon-badge svg rect{ stroke:#fff; }
.icon-badge{ transition: transform .4s cubic-bezier(.3,.7,.3,1.4), background .3s ease; }

.program-card{
  transition: transform .6s cubic-bezier(.2,.8,.2,1), box-shadow .6s cubic-bezier(.2,.7,.2,1),
              border-color .5s ease;
}
.program-card > *{ position:relative; z-index:1; }
.program-card::before{
  content:"";
  position:absolute; left:50%; bottom:-30%;
  width:24px; height:24px; border-radius:50%;
  background:var(--ink);
  transform:translateX(-50%) scale(0);
  transition: transform .9s cubic-bezier(.16,1,.3,1);
  z-index:0;
  pointer-events:none;
}
.program-card h3, .program-card p, .program-card .program-tag{ transition: color .5s ease .12s; }
.program-card:hover{
  transform: translateY(-7px) scale(1.015); box-shadow: 0 22px 40px -20px rgba(0,0,0,.45);
  border-color: var(--ink);
}
.program-card:hover::before{ transform:translateX(-50%) scale(30); }
.program-card:hover h3{ color:var(--orange) !important; }
.program-card:hover p, .program-card:hover .program-tag{ color:var(--white) !important; }

.value{ transition: background .3s ease, transform .3s ease; }
.value h3{ transition: color .3s ease; }
.value:hover{ background: rgba(242,96,12,.06); transform: translateY(-3px); }
.value:hover h3{ color:var(--orange); }

.step{ transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.step h4{ transition: color .25s ease; }
.step:hover{ transform: translateY(-5px); }
.step:hover h4{ color:var(--orange); }
.step:hover::before{ color:var(--white); background:var(--orange); border-radius:8px; padding:2px 8px; transition: background .3s ease, color .3s ease, padding .3s ease; }

.quote-card{ transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease, border-color .3s ease; }
.quote-card::before{ transition: color .3s ease, transform .3s ease; }
.quote-card:hover{ transform: translateY(-6px); box-shadow: 0 22px 40px -22px rgba(0,0,0,.25); }
.quote-card:hover::before{ color:var(--orange-dark); transform: translateY(-2px); }

.social-row a{ transition: border-color .3s ease, color .3s ease, transform .3s cubic-bezier(.3,.7,.3,1.4), background .3s ease; }
.social-row a:hover{ transform: translateY(-4px) scale(1.08); border-color:var(--orange); background:var(--orange); color:var(--white); }

.contact-info-item{ transition: border-color .3s ease, background .3s ease, transform .3s cubic-bezier(.2,.8,.2,1); }
.contact-info-item h4{ transition: color .25s ease; }
.contact-info-item:hover h4{ color:var(--orange); }

.faq-q{ transition: color .25s ease; }
.faq-item:hover .faq-q{ color:var(--orange); }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .reveal, .reveal.stagger.in > *{ opacity:1; transform:none; transition:none; animation:none; }
  .btn, .card, .hero *, .program-card, .step, .quote-card, .social-row a,
  .value, .contact-info-item, .faq-q{ transition:none; animation:none; }
  .step::after, .quote-card::before, .icon-badge{ animation:none; width:100%; opacity:1; transform:none; }
  .hero h1{ clip-path:none; }
  .drive-car{ display:none; }
}

.who-card{ padding:28px 26px; }
.who-card p{ font-size:1.02rem; color:var(--ink); font-weight:500; line-height:1.45; margin:0; }
.who-card .icon-badge{ margin-bottom:18px; }
.who-grid{ align-items:stretch; }
.who-grid .card{ display:flex; flex-direction:column; }

/* ---------- Founder portrait card ---------- */
.founder-portrait{
  position:relative;
  border-radius:24px;
  overflow:hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 60px -28px rgba(0,0,0,.5);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.founder-portrait:hover{ transform: translateY(-4px); }
.founder-portrait img{
  width:100%; height:100%; object-fit:cover; display:block;
}
.founder-portrait-caption{
  position:absolute; left:0; right:0; bottom:0;
  padding:28px 26px 24px;
  background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.55) 45%, transparent 100%);
  display:flex; flex-direction:column;
}
.founder-portrait-line{ width:30px; height:2px; background:var(--orange); margin-bottom:12px; }
.founder-portrait-caption strong{
  font-family:var(--display); font-weight:700; color:#fff; font-size:1.15rem;
}
.founder-portrait-caption span{ color:rgba(255,255,255,.7); font-size:.88rem; margin-top:2px; }

/* ---------- Before / After transformation card ---------- */
.transform-card{
  display:grid; grid-template-columns:1fr 64px 1fr;
  border-radius:22px; overflow:hidden;
  box-shadow:0 30px 60px -30px rgba(0,0,0,.6);
}
.transform-side{ padding:44px 40px; }
.transform-before{ background:var(--asphalt-2); }
.transform-after{ background:linear-gradient(135deg, var(--orange), var(--orange-dark)); }
.transform-label{
  font-family:var(--display); font-weight:700; font-size:.78rem; letter-spacing:.08em; text-transform:uppercase;
  margin-bottom:20px;
}
.transform-before .transform-label{ color:rgba(255,255,255,.45); }
.transform-after .transform-label{ color:rgba(255,255,255,.75); }
.transform-list{ list-style:none; margin:0; padding:0; }
.transform-list li{
  display:flex; align-items:center; gap:14px;
  padding:13px 0;
  font-family:var(--display); font-weight:600; font-size:1.05rem;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.transform-list li:last-child{ border-bottom:none; }
.transform-before .transform-list li{ color:rgba(255,255,255,.72); }
.transform-after .transform-list li{ color:#fff; font-weight:700; }
.t-icon{
  flex:none; width:26px; height:26px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:.7rem; line-height:1;
}
.t-icon-x{ background:rgba(255,255,255,.08); color:rgba(255,255,255,.45); }
.t-icon-check{ background:rgba(255,255,255,.22); color:#fff; }
.transform-arrow{
  background:var(--ink); display:flex; align-items:center; justify-content:center; position:relative;
}
.transform-arrow-circle{
  width:46px; height:46px; border-radius:50%;
  background:var(--orange); color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-size:1.2rem; font-weight:700;
  box-shadow:0 0 0 6px var(--asphalt), 0 10px 24px -6px rgba(242,96,12,.6);
}
@media (max-width:800px){
  .transform-card{ grid-template-columns:1fr; }
  .transform-arrow{ padding:14px 0; }
  .transform-arrow-circle{ transform:rotate(90deg); }
  .transform-side{ padding:34px 28px; }
}

/* ---------- Scroll-driven car on a vertical road ---------- */
.scroll-road{
  position:fixed; left:22px; top:130px; bottom:130px; width:2px;
  z-index:150;
  pointer-events:none;
}
.scroll-road-line{
  position:absolute; inset:0;
  background-image: repeating-linear-gradient(to bottom, rgba(255,255,255,.5) 0 10px, transparent 10px 20px);
  opacity:.35;
}
.scroll-car{
  position:absolute; top:0%; left:50%;
  width:34px; height:19px;
  transform:translate(-50%,-50%) rotate(90deg);
  filter:drop-shadow(0 4px 10px rgba(0,0,0,.35));
  transition: top .05s linear;
}
@media (max-width:900px){
  .scroll-road{ display:none; }
}
@media (prefers-reduced-motion: reduce){
  .scroll-car{ transition:none; }
}

/* ---------- Sticky mobile Book Now bar ---------- */
.sticky-mobile-cta{ display:none; }
@media (max-width:640px){
  .sticky-mobile-cta{
    display:block; position:fixed; left:0; right:0; bottom:0; z-index:280;
    padding:12px 16px calc(12px + env(safe-area-inset-bottom));
    background:rgba(0,0,0,.92); backdrop-filter:blur(8px);
    border-top:1px solid rgba(255,255,255,.1);
  }
  .sticky-mobile-cta .btn{ width:100%; justify-content:center; }
}

/* ---------- Floating actions (WhatsApp + sticky CTA) ---------- */
.floating-actions{
  position:fixed; right:20px; bottom:20px; z-index:300;
  display:flex; flex-direction:column; align-items:flex-end; gap:12px;
}
.fab-book{
  display:flex; align-items:center; gap:8px;
  background:var(--ink); color:var(--white);
  font-family:var(--display); font-weight:700; font-size:.85rem;
  padding:12px 18px; border-radius:100px;
  box-shadow:0 12px 26px -8px rgba(0,0,0,.5);
  transition: transform .25s cubic-bezier(.3,.7,.3,1.3), background .2s ease;
}
.fab-book:hover{ transform: translateY(-3px); background:var(--orange); }
.fab-whatsapp{
  width:56px; height:56px; border-radius:50%;
  background:#25D366; display:flex; align-items:center; justify-content:center;
  box-shadow:0 12px 26px -8px rgba(0,0,0,.5);
  position:relative;
  transition: transform .25s cubic-bezier(.3,.7,.3,1.3);
}
.fab-whatsapp:hover{ transform: scale(1.08) translateY(-3px); }
.fab-whatsapp::before{
  content:""; position:absolute; inset:0; border-radius:50%;
  background:#25D366; opacity:.55;
  animation: fabPulse 2.4s ease-out infinite;
}
@keyframes fabPulse{
  0%{ transform:scale(1); opacity:.55; }
  100%{ transform:scale(1.7); opacity:0; }
}
@media (max-width:640px){
  .floating-actions{ right:14px; bottom:96px; }
  .fab-book{ display:none; }
}
@media (min-width:641px) and (max-width:900px){
  .floating-actions{ right:14px; bottom:14px; }
}
@media (prefers-reduced-motion: reduce){
  .fab-whatsapp::before{ animation:none; }
}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline:2px solid var(--orange);
  outline-offset:3px;
}

/* ---------- Utility ---------- */
.two-col{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}
@media (max-width:860px){ .two-col{ grid-template-columns:1fr; gap:30px; } }
