/* =========================================================
   KASI CABS — Design System
   Direction: Varanasi at dusk — river, brass diyas, sandstone
   ghats. Dark indigo night sky, brass/vermilion accents.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Manrope:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root{
  /* --- palette --- */
  --ink-indigo:   #0E1B2E;   /* deep river-night, primary dark bg */
  --indigo-deep:  #16304F;   /* panel bg, gradient partner */
  --indigo-soft:  #24476f;   /* lighter indigo for borders/hover on dark */
  --brass:        #C89B3C;   /* diya / temple brass — primary accent */
  --brass-bright: #E7C169;   /* hover / glow state of brass */
  --vermilion:    #A1402F;   /* sindoor / temple vermilion — CTA */
  --vermilion-br: #C24E3A;
  --stone:        #EFE8D8;   /* sandstone cream — light bg */
  --stone-2:      #E4DAC2;   /* slightly deeper stone for panels */
  --stone-deep:   #A99878;   /* aged stone taupe — muted text/borders on light */
  --ink:          #1B1A17;   /* near-black warm ink for body text on light */
  --paper:        #FBF8F1;   /* lightest surface */

  --font-display: 'Marcellus', 'Georgia', serif;
  --font-body:    'Manrope', -apple-system, sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  --radius: 2px;             /* stonework is cut, not rounded */
  --container: 1180px;
  --ease: cubic-bezier(.22,.68,0,1);
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
}

body{
  font-family:var(--font-body);
  background:var(--paper);
  color:var(--ink);
  line-height:1.6;
  font-size:16px;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; }
input,textarea,select{ font-family:inherit; font-size:16px; }

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

/* ---------- eyebrow / labels ---------- */
.eyebrow{
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--brass);
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
  font-weight:600;
}
.eyebrow::before{
  content:'';
  width:22px; height:1px;
  background:var(--brass);
  display:inline-block;
}
.eyebrow--dark{ color:var(--vermilion); }

/* ---------- headings ---------- */
h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:400;
  letter-spacing:.005em;
  color:var(--ink);
}
.on-dark h1,.on-dark h2,.on-dark h3, .text-light h1,.text-light h2,.text-light h3{ color:var(--paper); }

h1{ font-size:clamp(2.4rem,5.4vw,4.4rem); line-height:1.05; }
h2{ font-size:clamp(1.9rem,3.6vw,2.9rem); line-height:1.12; }
h3{ font-size:1.35rem; line-height:1.3; }
p{ color:#4a4640; max-width:60ch; }
.on-dark p{ color:#c9d2de; }

/* ================= NAV ================= */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:100;
  background:rgba(14,27,46,.72);
  backdrop-filter:blur(14px) saturate(140%);
  border-bottom:1px solid rgba(200,155,60,.18);
  transition:background .3s var(--ease);
}
.nav__inner{
  max-width:var(--container); margin:0 auto; padding:16px 24px;
  display:flex; align-items:center; justify-content:space-between;
}
.nav__brand{
  font-family:var(--font-display); font-size:1.35rem; color:var(--paper);
  display:flex; align-items:baseline; gap:8px;
}
.nav__brand-logo{ width:110px; height:auto; }
.nav__brand em{ font-style:normal; color:var(--brass); }
.nav__links{ display:flex; gap:34px; }
.nav__links a{
  font-size:13px; letter-spacing:.08em; text-transform:uppercase;
  color:#cfd8e3; font-weight:600; position:relative; padding:4px 0;
}
.nav__links a::after{
  content:''; position:absolute; left:0; bottom:-2px; width:0; height:1px;
  background:var(--brass); transition:width .3s var(--ease);
}
.nav__links a:hover::after,.nav__links a.active::after{ width:100%; }
.nav__links a.active{ color:var(--brass-bright); }
.nav__cta{
  display:flex; align-items:center; gap:14px;
}
.nav__toggle{ display:none; flex-direction:column; gap:5px; }
.nav__toggle span{ width:24px; height:2px; background:var(--paper); }

/* ================= BUTTONS ================= */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:14px 28px; font-size:13px; font-weight:700;
  letter-spacing:.08em; text-transform:uppercase;
  border-radius:var(--radius); transition:transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  white-space:nowrap;
}
.btn-brass{
  background:var(--brass); color:var(--ink-indigo);
  box-shadow:0 1px 0 rgba(255,255,255,.25) inset, 0 10px 24px -10px rgba(200,155,60,.65);
}
.btn-brass:hover{ background:var(--brass-bright); transform:translateY(-2px); }
.btn-whatsapp{
  background:#25D366; color:#08321a;
  box-shadow:0 10px 24px -10px rgba(37,211,102,.6);
}
.btn-whatsapp:hover{ transform:translateY(-2px); filter:brightness(1.06); }
.btn-outline{
  border:1px solid rgba(239,232,216,.4); color:var(--paper); background:transparent;
}
.btn-outline:hover{ border-color:var(--brass); color:var(--brass-bright); }
.btn-ghost-dark{
  border:1px solid var(--stone-deep); color:var(--ink);
}
.btn-ghost-dark:hover{ border-color:var(--vermilion); color:var(--vermilion); }
.btn svg{ width:16px; height:16px; }

/* ================= HERO ================= */
.hero{
  position:relative;
  min-height:100vh;
  background:radial-gradient(ellipse 80% 60% at 50% -10%, #1c3557 0%, var(--ink-indigo) 55%),
             linear-gradient(180deg, var(--ink-indigo) 0%, #0a1524 100%);
  overflow:hidden;
  display:flex; flex-direction:column; justify-content:center;
  padding-top:110px;
}
.hero__river{
  position:absolute; inset:0; z-index:0; opacity:.55; pointer-events:none;
}
.diya{
  position:absolute; bottom:-10px;
  width:6px; height:6px; border-radius:50%;
  background:radial-gradient(circle, #ffd98a 0%, var(--brass) 55%, transparent 70%);
  box-shadow:0 0 10px 3px rgba(231,193,105,.55), 0 0 30px 8px rgba(200,155,60,.18);
  animation:diya-rise linear infinite;
  opacity:0;
}
@keyframes diya-rise{
  0%{ transform:translateY(0) translateX(0); opacity:0; }
  8%{ opacity:.9; }
  50%{ transform:translateY(-46vh) translateX(var(--drift,12px)); opacity:.7; }
  92%{ opacity:.25; }
  100%{ transform:translateY(-92vh) translateX(calc(var(--drift,12px) * 2)); opacity:0; }
}

.hero__content{ position:relative; z-index:2; }
.hero__row{
  display:grid; grid-template-columns:1.15fr .85fr; gap:48px; align-items:end;
}
.hero__kicker{
  font-family:var(--font-mono); color:var(--brass); font-size:12px;
  letter-spacing:.22em; text-transform:uppercase; margin-bottom:22px; font-weight:600;
}
.hero__title{ color:var(--paper); margin-bottom:22px; }
.hero__title i{ font-style:italic; color:var(--brass-bright); }
.hero__sub{ color:#c9d2de; font-size:1.08rem; max-width:46ch; margin-bottom:34px; }
.hero__actions{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom:56px; }

.hero__panel{
  background:rgba(239,232,216,.06);
  border:1px solid rgba(200,155,60,.28);
  padding:28px;
  backdrop-filter:blur(6px);
}
.hero__panel .eyebrow{ margin-bottom:18px; }
.hero__routes{ display:flex; flex-direction:column; gap:0; }
.hero__routes a{
  display:flex; justify-content:space-between; align-items:center;
  padding:13px 2px; border-bottom:1px solid rgba(239,232,216,.12);
  color:#dfe6ee; font-size:14.5px; font-weight:600;
  transition:padding-left .25s var(--ease), color .25s var(--ease);
}
.hero__routes a:last-child{ border-bottom:none; }
.hero__routes a:hover{ padding-left:8px; color:var(--brass-bright); }
.hero__routes span{ font-family:var(--font-mono); font-size:11px; color:var(--stone-deep); }

.hero__stepbar{ position:relative; height:64px; margin-top:64px; }

/* ghat step divider — literal stone-step architecture reused as a
   structural rhythm between sections */
.ghat-steps{
  display:block; width:100%; height:auto;
  position:relative; z-index:2;
}
.ghat-steps--flip{ transform:scaleY(-1); }

/* ================= SECTION SCAFFOLDING ================= */
section{ position:relative; }
.section{ padding:118px 0 100px; }
.section--tight{ padding:90px 0; }
.section--dark{ background:var(--ink-indigo); }
.section--stone{ background:var(--stone); }
.section--paper{ background:var(--paper); }
.section__head{
  display:flex; justify-content:space-between; align-items:flex-end; gap:40px;
  margin-bottom:56px; flex-wrap:wrap;
}
.section__head p{ margin-top:14px; }

/* ================= SERVICES GRID ================= */
.services{
  display:grid; grid-template-columns:repeat(3,1fr); gap:1px;
  background:var(--stone-deep);
  border:1px solid var(--stone-deep);
}
.service-card{
  background:var(--paper); padding:38px 32px; position:relative;
  transition:background .3s var(--ease);
}
.service-card:hover{ background:var(--stone-2); }
.service-card__num{
  font-family:var(--font-mono); font-size:12px; color:var(--vermilion);
  letter-spacing:.1em; margin-bottom:26px; display:block;
}
.service-card h3{ margin-bottom:12px; }
.service-card p{ font-size:14.5px; margin-bottom:0; }
.service-card__icon{ width:34px; height:34px; margin-bottom:22px; stroke:var(--brass); }

/* ================= ROUTE TICKETS ================= */
.routes-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:26px;
}
.ticket{
  background:var(--paper);
  border:1px solid var(--stone-deep);
  position:relative;
  display:flex; flex-direction:column;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.ticket:hover{ transform:translateY(-5px); box-shadow:0 24px 40px -22px rgba(27,26,23,.28); border-color:var(--brass); }
.ticket__main{ padding:26px 26px 20px; flex:1; }
.ticket__route{ display:flex; align-items:center; gap:10px; font-family:var(--font-mono); font-size:11px; letter-spacing:.08em; color:var(--stone-deep); text-transform:uppercase; margin-bottom:16px; }
.ticket__route svg{ width:14px; height:14px; stroke:var(--vermilion); flex:none; }
.ticket h3{ font-size:1.32rem; margin-bottom:8px; }
.ticket p{ font-size:13.5px; margin-bottom:0; }
.ticket__stub{
  border-top:1px dashed var(--stone-deep);
  padding:16px 26px;
  display:flex; justify-content:space-between; align-items:center;
  position:relative;
}
.ticket__stub::before,.ticket__stub::after{
  content:''; position:absolute; top:-9px; width:18px; height:18px; border-radius:50%;
  background:var(--stone);
}
.ticket__stub::before{ left:-9px; }
.ticket__stub::after{ right:-9px; }
.ticket__cta{ font-size:12px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--vermilion); display:flex; align-items:center; gap:6px; }
.ticket__cta svg{ width:13px; height:13px; }

/* ================= FLEET ================= */
.fleet-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.fleet-card{
  border:1px solid rgba(239,232,216,.14);
  padding:26px 22px 22px;
  background:linear-gradient(180deg, rgba(239,232,216,.03), transparent);
  transition:border-color .3s var(--ease), background .3s var(--ease);
}
.fleet-card:hover{ border-color:var(--brass); background:rgba(200,155,60,.06); }
.fleet-card__seats{ font-family:var(--font-mono); font-size:11px; color:var(--brass); letter-spacing:.08em; margin-bottom:16px; }
.fleet-card h3{ margin-bottom:8px; }
.fleet-card p{ font-size:13.5px; margin-bottom:0; }

/* ================= WHY / TRUST ================= */
.trust{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--stone-deep); border:1px solid var(--stone-deep); }
.trust-card{ background:var(--stone); padding:32px 26px; }
.trust-card__mark{ font-family:var(--font-display); font-size:2rem; color:var(--vermilion); margin-bottom:14px; display:block; }
.trust-card h3{ font-size:1.05rem; margin-bottom:8px; }
.trust-card p{ font-size:13.5px; margin-bottom:0; }

/* ================= TARIFF TABLE ================= */
.tariff-table{ width:100%; border-collapse:collapse; }
.tariff-table th,.tariff-table td{ text-align:left; padding:16px 18px; border-bottom:1px solid var(--stone-deep); font-size:14.5px; }
.tariff-table th{ font-family:var(--font-mono); font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:var(--vermilion); font-weight:600; }
.tariff-table tr:last-child td{ border-bottom:none; }
.tariff-note{ margin-top:22px; padding:18px 22px; border-left:2px solid var(--brass); background:var(--stone); font-size:13.5px; color:#5a5548; }

/* ================= FORM ================= */
.form-panel{
  background:var(--indigo-deep);
  border:1px solid rgba(200,155,60,.25);
  padding:44px;
}
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px 22px; }
.field{ display:flex; flex-direction:column; gap:8px; }
.field--full{ grid-column:1/-1; }
.field label{ font-family:var(--font-mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--stone-deep); }
.field input,.field select,.field textarea{
  background:rgba(239,232,216,.05);
  border:1px solid rgba(239,232,216,.2);
  color:var(--paper);
  padding:13px 14px;
  border-radius:var(--radius);
  transition:border-color .25s var(--ease), background .25s var(--ease);
}
.field input::placeholder,.field textarea::placeholder{ color:#7c8ba1; }
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none; border-color:var(--brass); background:rgba(239,232,216,.09);
}
.field select option{ background:var(--indigo-deep); }
.form-panel .btn{ margin-top:8px; }
.form-note{ font-size:12.5px; color:var(--stone-deep); margin-top:16px; }

/* ================= FAQ ================= */
.faq-item{ border-bottom:1px solid var(--stone-deep); }
.faq-item__q{
  width:100%; display:flex; justify-content:space-between; align-items:center;
  padding:24px 4px; font-family:var(--font-display); font-size:1.15rem; text-align:left;
  color:var(--ink);
}
.faq-item__q svg{ width:18px; height:18px; stroke:var(--vermilion); flex:none; transition:transform .3s var(--ease); }
.faq-item.open .faq-item__q svg{ transform:rotate(45deg); }
.faq-item__a{ max-height:0; overflow:hidden; transition:max-height .35s var(--ease); }
.faq-item__a p{ padding:0 4px 24px; font-size:14.5px; }

/* ================= FOOTER ================= */
.footer{ background:var(--ink-indigo); padding:80px 0 30px; }
.footer__grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; margin-bottom:60px; }
.footer__brand{ font-family:var(--font-display); font-size:1.5rem; color:var(--paper); margin-bottom:14px; }
.footer__brand-logo{ width:160px; height:auto; margin-bottom:14px; }
.footer__brand em{ font-style:normal; color:var(--brass); }
.footer p{ font-size:13.5px; }
.footer h4{ font-family:var(--font-mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--brass); margin-bottom:18px; font-weight:600; }
.footer ul li{ margin-bottom:10px; }
.footer ul a{ font-size:13.5px; color:#c9d2de; transition:color .25s var(--ease); }
.footer ul a:hover{ color:var(--brass-bright); }
.footer__bottom{ border-top:1px solid rgba(239,232,216,.1); padding-top:26px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; }
.footer__bottom p{ font-size:12.5px; color:var(--stone-deep); }

/* ================= FLOATING WHATSAPP ================= */
.float-wa{
  position:fixed; right:22px; bottom:22px; z-index:90;
  width:58px; height:58px; border-radius:50%;
  background:#25D366; display:flex; align-items:center; justify-content:center;
  box-shadow:0 12px 28px -8px rgba(37,211,102,.65);
  animation:float-pulse 2.6s ease-in-out infinite;
}
.float-wa svg{ width:28px; height:28px; fill:#fff; }
@keyframes float-pulse{ 0%,100%{ transform:scale(1); } 50%{ transform:scale(1.07); } }

/* ================= REVEAL ON SCROLL ================= */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in{ opacity:1; transform:none; }

/* ================= PAGE HERO (inner pages) ================= */
.page-hero{
  background:radial-gradient(ellipse 70% 60% at 50% -20%, #1c3557 0%, var(--ink-indigo) 60%);
  padding:170px 0 90px;
  position:relative; overflow:hidden;
}
.page-hero h1{ color:var(--paper); max-width:16ch; }
.page-hero p{ color:#c9d2de; max-width:52ch; margin-top:16px; }
.breadcrumb{ font-family:var(--font-mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--stone-deep); margin-bottom:20px; }
.breadcrumb a{ color:var(--brass); }

/* ================= PHOTOGRAPHY — themed to match logo ================= */
/* Every real photo gets a brass/vermilion duotone wash so stock imagery
   sits inside the same "temple-brass at dusk" world as the SVG/CSS work. */
.photo-frame{
  position:relative; overflow:hidden; background:var(--ink-indigo);
  isolation:isolate;
}
.photo-frame img{
  width:100%; height:100%; object-fit:cover; display:block;
  filter:saturate(1.12) contrast(1.05) brightness(.98);
  transition:transform .7s var(--ease);
}
.photo-frame::after{
  content:''; position:absolute; inset:0; pointer-events:none;
  background:
    linear-gradient(180deg, rgba(14,27,46,0) 45%, rgba(14,27,46,.7) 100%),
    linear-gradient(120deg, rgba(200,155,60,.30) 0%, rgba(161,64,47,.16) 55%, rgba(14,27,46,.22) 100%);
  mix-blend-mode:multiply;
}
.photo-frame:hover img{ transform:scale(1.07); }
.photo-frame__tag{
  position:absolute; left:14px; bottom:14px; z-index:1;
  font-family:var(--font-mono); font-size:10.5px; letter-spacing:.1em; text-transform:uppercase;
  color:var(--paper); background:rgba(14,27,46,.55); border:1px solid rgba(231,193,105,.5);
  padding:5px 10px; backdrop-filter:blur(3px);
}

/* -- hero background photo, sits behind the existing diya layer -- */
.hero__photo{ position:absolute; inset:0; z-index:0; }
.hero__photo img{
  width:100%; height:100%; object-fit:cover; opacity:.4;
  filter:saturate(1.15) contrast(1.05);
}
.hero__photo::after{
  content:''; position:absolute; inset:0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(28,53,87,.25) 0%, rgba(14,27,46,.88) 55%),
    linear-gradient(180deg, rgba(14,27,46,.6) 0%, #0a1524 100%);
}
.hero__river{ z-index:1; }

/* -- inner page-hero background photo -- */
.page-hero__photo{ position:absolute; inset:0; z-index:0; }
.page-hero__photo img{
  width:100%; height:100%; object-fit:cover; opacity:.32;
  filter:saturate(1.15) contrast(1.05);
}
.page-hero__photo::after{
  content:''; position:absolute; inset:0;
  background:radial-gradient(ellipse 70% 60% at 50% -20%, rgba(28,53,87,.25) 0%, rgba(14,27,46,.9) 60%);
}
.page-hero .container{ position:relative; z-index:1; }

/* -- route ticket thumbnail -- */
.ticket__photo{ height:180px; }
.ticket__photo + .ticket__main{ padding-top:20px; }

/* -- fleet card vehicle photo (bleeds to the card's edge) -- */
.fleet-card{ position:relative; overflow:hidden; }
.fleet-card__photo{ height:150px; margin:-26px -22px 18px; }

/* -- generic banner photo (About page etc.) -- */
.banner-photo{ height:360px; margin-bottom:8px; }

/* ================= RESPONSIVE ================= */
@media (max-width:980px){
  .hero__row{ grid-template-columns:1fr; }
  .services{ grid-template-columns:repeat(2,1fr); }
  .routes-grid{ grid-template-columns:repeat(2,1fr); }
  .fleet-grid{ grid-template-columns:repeat(2,1fr); }
  .trust{ grid-template-columns:repeat(2,1fr); }
  .footer__grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:760px){
  .nav__links{
    position:fixed; top:70px; left:0; right:0; bottom:0;
    background:var(--ink-indigo); flex-direction:column; gap:0;
    padding:20px 24px; transform:translateX(100%); transition:transform .35s var(--ease);
  }
  .nav__links.open{ transform:translateX(0); }
  .nav__links a{ padding:16px 0; border-bottom:1px solid rgba(239,232,216,.08); width:100%; }
  .nav__toggle{ display:flex; }
  .nav__cta .btn span{ display:none; }
  .services{ grid-template-columns:1fr; }
  .routes-grid{ grid-template-columns:1fr; }
  .fleet-grid{ grid-template-columns:1fr; }
  .trust{ grid-template-columns:1fr; }
  .form-grid{ grid-template-columns:1fr; }
  .form-panel{ padding:28px 22px; }
  .footer__grid{ grid-template-columns:1fr; gap:34px; }
  .section{ padding:80px 0 70px; }
  .hero__panel{ padding:22px; }
  .ticket__photo{ height:150px; }
  .fleet-card__photo{ height:130px; }
  .banner-photo{ height:220px; }
}
