/* ============================================================
   PAVICO — "We Plan, You Experience."
   Design tokens derived from the brand mark:
   navy road, green summit, teal wave.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500;1,9..144,600&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root{
  /* Color */
  --navy-deep:   #0A2740;
  --navy:        #123A5C;
  --navy-soft:   #1F4E77;
  --green:       #3FA66C;
  --teal:        #1FB4C4;
  --amber:       #E2963A;
  --sand:        #F6F3EC;
  --paper:       #FCFBF8;
  --white:       #FFFFFF;
  --ink:         #16232E;
  --ink-soft:    #4A5A68;
  --line:        #DFE3E0;

  /* Type */
  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --max: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -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;}

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

/* -------------------- Type scale -------------------- */
h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy-deep);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
h1{ font-size: clamp(2.4rem, 5vw, 4rem); }
h2{ font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3{ font-size: 1.3rem; }
.eyebrow{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before{
  content:"";
  width: 22px; height: 1px;
  background: var(--teal);
  display: inline-block;
}
.lede{
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 46ch;
}
.italic{ font-style: italic; font-weight: 500; }

/* -------------------- Buttons -------------------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active{ transform: scale(0.97); }
.btn-primary{
  background: var(--amber);
  color: var(--navy-deep);
  box-shadow: 0 6px 18px -6px rgba(226,150,58,0.55);
}
.btn-primary:hover{ box-shadow: 0 10px 22px -6px rgba(226,150,58,0.7); transform: translateY(-1px); }
.btn-outline{
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.btn-outline:hover{ background: rgba(255,255,255,0.12); }
.btn-navy{
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover{ background: var(--navy-deep); }
.btn-ghost{
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-ghost:hover{ border-color: var(--navy); }
.btn-sm{ padding: 10px 18px; font-size: 0.85rem; }
.btn-block{ width: 100%; justify-content: center; }

/* -------------------- Header -------------------- */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: rgba(252,251,248,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap{
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand img{ height: 32px; width:auto; }
.brand .tag{
  display:none;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-left: 1px solid var(--line);
  padding-left: 10px;
  margin-left: 2px;
}
@media(min-width:640px){ .brand .tag{ display:block; } }

.nav-main{
  display:none;
  gap: 30px;
  align-items:center;
}
.nav-main a{
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.nav-main a.is-active{ color: var(--navy-deep); font-weight: 600; }
.nav-main a.is-active::after{
  content:"";
  position:absolute; left:0; right:0; bottom:-4px;
  height:2px; background: var(--amber); border-radius: 2px;
}
.nav-cta{ display:none; align-items:center; gap:12px; }
@media(min-width: 980px){
  .nav-main{ display:flex; }
  .nav-cta{ display:flex; }
}

.nav-toggle{
  display:flex; align-items:center; justify-content:center;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
}
@media(min-width: 980px){ .nav-toggle{ display:none; } }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after{
  content:""; display:block; width: 18px; height: 2px; background: var(--navy-deep);
  position:relative;
}
.nav-toggle{ flex-direction:column; gap:4px; }

.mobile-nav{
  display:none;
  flex-direction:column;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.mobile-nav.open{ display:flex; }
.mobile-nav a{
  padding: 14px 28px;
  border-top: 1px solid var(--line);
  font-weight: 500;
}
.mobile-nav .btn{ margin: 14px 28px; }

/* -------------------- Route-line signature motif -------------------- */
.route{
  position: relative;
}
.route-line{
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background-image: linear-gradient(var(--line) 60%, transparent 0%);
  background-position: top;
  background-size: 2px 14px;
  background-repeat: repeat-y;
  z-index: 0;
}
.route-stop{
  position: relative;
  z-index: 1;
}
.route-pin{
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--teal);
  margin: 0 auto 18px;
}
.route-pin.filled{ background: var(--teal); }

/* -------------------- Hero -------------------- */
.hero{
  position: relative;
  background: radial-gradient(120% 140% at 15% 0%, var(--navy-soft) 0%, var(--navy) 45%, var(--navy-deep) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 64px 0 0;
}
.hero-road{
  position: absolute;
  right: -6%;
  top: 0;
  height: 100%;
  width: 46%;
  opacity: 0.9;
  pointer-events: none;
}
.hero .wrap{
  position: relative;
  z-index: 2;
  display: grid;
  gap: 40px;
  padding-bottom: 60px;
}
.hero-copy{ max-width: 640px; }
.hero-copy .eyebrow{ color: var(--teal); }
.hero-copy .eyebrow::before{ background: var(--teal); }
.hero h1{ color: var(--white); margin: 18px 0 20px; }
.hero h1 em{ font-style: italic; color: var(--teal); }
.hero p.lede{ color: rgba(255,255,255,0.78); max-width: 50ch; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; margin-top: 30px; }

.itinerary-card{
  position: relative;
  z-index: 2;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 30px 60px -20px rgba(6,20,33,0.55);
  margin-top: -10px;
}
.itinerary-card .stub-row{
  display:flex; justify-content:space-between; align-items:center;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 14px; margin-bottom: 18px;
}
.itinerary-card .stub-row .eyebrow{ color: var(--green); }
.itinerary-card .stub-row .eyebrow::before{ background: var(--green); }
.itinerary-card .stub-code{
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-soft);
}
.plan-grid{
  display:grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media(min-width: 720px){ .plan-grid{ grid-template-columns: 1.4fr 1fr 1fr auto; align-items:end; } }
.field label{
  display:block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.field select, .field input{
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
}
.field select:focus, .field input:focus, textarea:focus, button:focus-visible, a:focus-visible{
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* -------------------- Sections -------------------- */
section{ padding: 84px 0; }
.section-head{
  display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end;
  gap: 20px;
  margin-bottom: 44px;
}
.section-head .lede{ margin-top: 12px; }
.bg-sand{ background: var(--sand); }
.bg-navy{ background: var(--navy-deep); color: var(--white); }
.bg-navy h2, .bg-navy h3{ color: var(--white); }

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

.card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  display:flex; flex-direction:column;
}
.card:hover{ transform: translateY(-4px); box-shadow: 0 20px 40px -18px rgba(10,39,64,0.25); }

.pkg-card .pkg-media{
  height: 190px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.pkg-card .pkg-tag{
  position:absolute; top:14px; left:14px;
  background: rgba(10,39,64,0.85);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  padding: 5px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}
.pkg-card .pkg-body{ padding: 20px; display:flex; flex-direction:column; gap:10px; flex:1; }
.pkg-card h3{ font-size: 1.18rem; }
.pkg-card .pkg-meta{
  display:flex; gap:14px; flex-wrap:wrap;
  font-size: 0.82rem; color: var(--ink-soft);
}
.pkg-card .pkg-meta span{ display:flex; align-items:center; gap:5px; }
.pkg-card .pkg-foot{
  margin-top: auto;
  display:flex; align-items:center; justify-content:space-between;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.price{
  font-family: var(--font-mono);
  font-weight: 500;
}
.price .from{ font-size: 0.68rem; color: var(--ink-soft); display:block; letter-spacing:.05em; text-transform:uppercase; }
.price .amt{ font-size: 1.15rem; color: var(--navy-deep); }
.price .amt::before{ content:"₹"; font-size: 0.85em; margin-right: 1px; }

.filters{
  display:flex; flex-wrap:wrap; gap: 10px;
  margin-bottom: 36px;
}
.chip{
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--white);
  color: var(--ink-soft);
}
.chip.is-active{
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: var(--white);
}

/* -------------------- Service tiles (flights/hotels/trains) -------------------- */
.svc-tile{
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
}
.svc-tile .svc-icon{
  width: 48px; height:48px;
  border-radius: 12px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 18px;
  background: var(--sand);
  color: var(--navy);
}
.status-pill{
  display:inline-flex; align-items:center; gap:6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.status-pill.live{ background: rgba(63,166,108,0.14); color: #2C7A4B; }
.status-pill.soon{ background: rgba(226,150,58,0.15); color: #A9660F; }
.status-pill.live::before{ content:"●"; font-size:0.6rem; }
.status-pill.soon::before{ content:"●"; font-size:0.6rem; }

/* -------------------- How it works -------------------- */
.steps{
  display:grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media(min-width:820px){ .steps{ grid-template-columns: repeat(3,1fr); } }
.step .step-no{
  font-family: var(--font-mono);
  color: var(--teal);
  font-size: 0.85rem;
  margin-bottom: 10px;
  display:block;
}
.step h3{ margin-bottom: 8px; }
.step p{ color: var(--ink-soft); font-size: 0.95rem; }

/* -------------------- Testimonial / stats -------------------- */
.stat-row{
  display:grid; gap: 30px;
  grid-template-columns: repeat(2,1fr);
}
@media(min-width:720px){ .stat-row{ grid-template-columns: repeat(4,1fr); } }
.stat{ border-left: 2px solid var(--teal); padding-left: 16px; }
.stat .num{ font-family: var(--font-display); font-size: 2.1rem; color: var(--white); }
.stat .lbl{ font-size: 0.82rem; color: rgba(255,255,255,0.65); margin-top: 4px; }

/* -------------------- Forms -------------------- */
.form-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.form-row{ display:grid; gap:18px; margin-bottom: 18px; grid-template-columns: 1fr; }
@media(min-width:600px){ .form-row.cols-2{ grid-template-columns: 1fr 1fr; } }
.form-field label{
  display:block; font-size: 0.85rem; font-weight:600; margin-bottom:7px; color: var(--navy-deep);
}
.form-field input, .form-field select, .form-field textarea{
  width:100%; border:1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; font-family: inherit; font-size: 0.95rem; color: var(--ink); background: var(--paper);
}
.form-field textarea{ min-height: 120px; resize: vertical; }
.form-note{ font-size: 0.8rem; color: var(--ink-soft); margin-top: 14px; }
.form-success{
  display:none;
  background: rgba(63,166,108,0.12);
  border: 1px solid rgba(63,166,108,0.4);
  color: #2C7A4B;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-top: 18px;
}
.form-success.show{ display:block; }

/* -------------------- Waitlist banner (flights/hotels/trains coming soon) -------------------- */
.waitlist-band{
  border-radius: var(--radius);
  background: var(--navy-deep);
  color: var(--white);
  padding: 40px;
  display:grid; gap:24px;
  grid-template-columns: 1fr;
  align-items:center;
}
@media(min-width:820px){ .waitlist-band{ grid-template-columns: 1.3fr 1fr; } }
.waitlist-band .wl-form{ display:flex; gap:10px; flex-wrap:wrap; }
.waitlist-band input[type=email]{
  flex:1; min-width: 220px;
  padding: 13px 16px; border-radius: 999px; border: none;
  font-family: inherit; font-size: 0.9rem;
}

/* -------------------- Footer -------------------- */
.site-footer{
  background: var(--navy-deep);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 26px;
}
.footer-grid{
  display:grid; gap: 40px;
  grid-template-columns: 1fr;
  margin-bottom: 50px;
}
@media(min-width:720px){ .footer-grid{ grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand img{ height: 26px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-brand p{ font-size: 0.88rem; max-width: 32ch; color: rgba(255,255,255,0.6); }
.footer-col h4{
  color: var(--white); font-family: var(--font-body); font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; font-weight:600;
}
.footer-col li{ margin-bottom: 10px; font-size: 0.9rem; }
.footer-col a:hover{ color: var(--white); }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display:flex; flex-wrap:wrap; justify-content:space-between; gap:14px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* -------------------- Misc pages -------------------- */
.page-hero{
  background: var(--navy-deep);
  color: var(--white);
  padding: 64px 0 56px;
}
.page-hero .eyebrow{ color: var(--teal); }
.page-hero .eyebrow::before{ background: var(--teal); }
.page-hero h1{ color: var(--white); margin-top: 14px; }
.breadcrumb{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
}
.breadcrumb a{ color: rgba(255,255,255,0.8); }

.content-narrow{ max-width: 760px; }
.content-narrow h2{ margin-top: 40px; margin-bottom: 14px; }
.content-narrow p{ color: var(--ink-soft); margin-bottom: 16px; }
.content-narrow ul{ margin: 0 0 16px 0; }
.content-narrow li{ color: var(--ink-soft); padding-left: 18px; position:relative; margin-bottom:8px; }
.content-narrow li::before{ content:"—"; position:absolute; left:0; color: var(--teal); }

.value-icon{
  width:44px; height:44px; border-radius: 10px;
  background: var(--sand); display:flex; align-items:center; justify-content:center;
  margin-bottom:16px; color:var(--navy);
}

table.compare{ width:100%; border-collapse: collapse; margin-top:20px; }
table.compare th, table.compare td{ padding: 14px 16px; text-align:left; border-bottom:1px solid var(--line); font-size:0.92rem; }
table.compare th{ font-family: var(--font-mono); font-size:0.72rem; text-transform:uppercase; letter-spacing:.05em; color:var(--ink-soft); }

@media(min-width: 860px){
  .contact-layout{ grid-template-columns: 1.5fr 1fr !important; }
}

.map-embed{
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 320px;
}
.map-embed iframe{ width:100%; height:100%; border:0; }

.accordion-item{ border-bottom: 1px solid var(--line); }
.accordion-item summary{
  padding: 18px 4px; font-weight:600; cursor:pointer; color: var(--navy-deep);
  display:flex; justify-content:space-between; align-items:center;
}
.accordion-item p{ padding: 0 4px 18px; color: var(--ink-soft); }

/* -------------------- Package detail modal -------------------- */
.pkg-modal{
  display:none;
  position: fixed; inset:0; z-index: 200;
  background: rgba(10,39,64,0.6);
  padding: 24px;
  overflow-y: auto;
}
.pkg-modal.open{ display:flex; align-items:flex-start; justify-content:center; }
.pkg-modal-panel{
  background: var(--white);
  border-radius: var(--radius);
  max-width: 760px;
  width: 100%;
  margin: 30px auto;
  overflow: hidden;
  position: relative;
}
.pkg-modal-close{
  position:absolute; top:16px; right:16px; z-index:2;
  width:36px; height:36px; border-radius:50%;
  background: rgba(10,39,64,0.75); color:var(--white);
  display:flex; align-items:center; justify-content:center;
  font-size: 1.1rem; border:none;
}
.pkg-modal-media{
  height: 260px;
  background-size: cover;
  background-position: center;
}
.pkg-modal-content{ padding: 30px; }
.pkg-modal-content h2{ margin: 10px 0 12px; font-size: 1.7rem; }
.pkg-modal-facts{
  display:grid; grid-template-columns: repeat(2,1fr); gap: 16px;
  margin-top: 22px; padding: 18px; background: var(--sand); border-radius: var(--radius-sm);
}
.fact-label{ display:block; font-family: var(--font-mono); font-size:0.66rem; text-transform:uppercase; letter-spacing:.06em; color: var(--ink-soft); margin-bottom:4px; }
.fact-val{ font-weight: 600; color: var(--navy-deep); }
.pkg-modal-list li{ padding-left:18px; position:relative; margin-bottom:8px; color: var(--ink-soft); }
.pkg-modal-list li::before{ content:"✓"; position:absolute; left:0; color: var(--green); font-weight:700; }
.pkg-modal-itinerary{ counter-reset: none; }
.pkg-modal-itinerary li{
  display:flex; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; color: var(--ink-soft);
}
.pkg-modal-itinerary .day-no{
  font-family: var(--font-mono); font-size:0.75rem; color: var(--teal); flex-shrink:0; width: 58px;
}
.pkg-modal-actions{ margin-top: 26px; }

.reduced-motion, .visually-hidden{
  position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0);
}
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html{ scroll-behavior: auto; }
}
