/* ============================================================
   Chitrakoot Darshan — extra components for /tours/, /taxi/ and /hi/ pages
   Version 2 · 22 Nov 2026
   Load it AFTER guide.css — it reuses guide.css colours, fonts, buttons,
   header, breadcrumb, FAQ, booking block, related cards and footer:
     <link rel="stylesheet" href="/assets/guide.css?v=3" />
     <link rel="stylesheet" href="/assets/pages.css?v=2" />
   IMPORTANT: this file is cached for a long time. Every time you change
   it, raise the number in every page's <link> (?v=2 → ?v=3).

   What is in here (only what guide.css does not have):
    1  Breadcrumb row with a language link   .subbar  .langlink
    2  Hero with a real photo                .phero   .pfig
    3  SMS fallback line under the buttons   .smsline
    4  Quick facts grid                      .qfacts  .qf-grid  .qf
    5  Day-by-day timeline (tours)           .tday    .tsteps
    6  Route steps (taxi)                    .rsteps
    7  Included / not included               .incx    .incx-col.yes / .no
    8  Payment & cancellation summary        .paysum  .ps  .paysafe
    9  Price box                             .pricebox  .pb-main  .pb-rows
   10  Vehicle table                         .gtable.vtable
   11  Hub cards with photos                 .hgrid   .hcard  (+ .hgrid-sm, .hcard-wide)
   12  Small link list                       .morelinks
   13  Hindi type fixes
   14  Responsive, motion, print
   ============================================================ */

/* ---------- 1. breadcrumb row + language link ---------- */
.subbar{max-width:1100px; margin:0 auto; padding:0 22px; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:0 14px}
.subbar .crumb{max-width:none; margin:0; padding:8px 0 0; flex:1 1 auto; min-width:0}
.langlink{display:inline-flex; align-items:center; gap:7px; min-height:40px; margin-top:8px; padding:0 15px; border-radius:var(--r-pill); background:#fff; border:1.5px solid var(--stone-3); color:var(--maroon); font-weight:600; font-size:14.5px; line-height:1.2; white-space:nowrap}
.langlink svg{width:16px; height:16px; fill:currentColor}
.langlink:hover{border-color:var(--maroon); text-decoration:none}
.langlink:lang(hi){font-size:15.5px}

/* ---------- 2. hero with a real photo ---------- */
.phero{padding-bottom:4px}
.phero h1{margin-bottom:12px}
.phero .lead{margin:0}
.phero .qcta{margin-top:20px}
.pfig{margin:24px 0 4px; border-radius:var(--r-lg); overflow:hidden; background:var(--stone-2); box-shadow:var(--shadow-md)}
.pfig img{width:100%; height:auto; aspect-ratio:16/9; object-fit:cover}
.pfig figcaption{padding:10px 16px 12px; background:#fff; border-top:1px solid var(--stone-2); font-size:13.5px; line-height:1.5; color:var(--ink-mute)}
.pfig .pc{display:block; color:var(--ink-soft); font-weight:600}
.pfig figcaption a{color:var(--ink-mute); text-decoration:underline; text-underline-offset:2px}

/* ---------- 3. SMS fallback line (under call / WhatsApp buttons) ---------- */
.smsline{margin:12px 0 0; font-size:14.5px; line-height:1.55; color:var(--ink-mute)}
.smsline a{color:var(--link); font-weight:600; text-decoration:underline; text-underline-offset:3px}
.article .gcta .smsline{margin:14px 0 0; font-size:15px; color:rgba(255,255,255,.88)}

/* ---------- 4. quick facts ---------- */
.qfacts{background:#fff; border:1px solid var(--stone-2); border-top:4px solid var(--saffron); border-radius:var(--r-lg); padding:20px 24px 6px; margin:26px 0; box-shadow:var(--shadow-sm)}
.qfacts .qf-h{display:flex; align-items:center; gap:9px; font-size:20px; margin:0 0 8px; padding:0; color:var(--maroon)}
.qfacts .qf-h svg{width:20px; height:20px; fill:var(--saffron-deep)}
.qf-grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); column-gap:24px}
.qf{padding:12px 0 14px; border-top:1px solid var(--stone-2)}
.qf dt{font-size:12.5px; font-weight:700; letter-spacing:1px; text-transform:uppercase; color:#97401A; line-height:1.4}
.qf dd{margin-top:3px; font-size:15.5px; line-height:1.55; color:var(--ink)}
.qf dd b{font-family:var(--serif); font-weight:600; font-size:18.5px; color:var(--maroon)}

/* ---------- 5. day-by-day timeline (tour pages) ---------- */
.tday{margin:22px 0 28px}
.article .tday-h{display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; font-size:21px; margin:0 0 16px; color:var(--maroon-deep)}
.tday-n{display:inline-block; font-family:var(--sans); font-size:12.5px; font-weight:700; letter-spacing:1.1px; text-transform:uppercase; color:#fff; background:var(--maroon); padding:5px 12px; border-radius:var(--r-pill); line-height:1.3}
.article .tsteps{list-style:none; margin:0; padding:0 0 0 28px; position:relative}
.tsteps::before{content:""; position:absolute; left:7px; top:10px; bottom:12px; width:2px; border-radius:2px; background:linear-gradient(var(--marigold),var(--stone-3))}
.article .tsteps>li{position:relative; margin:0 0 20px; padding:0; font-size:16px}
.article .tsteps>li:last-child{margin-bottom:0}
.tsteps>li::before{content:""; position:absolute; left:-28px; top:3px; width:16px; height:16px; border-radius:50%; background:var(--ivory); border:3px solid var(--saffron)}
.tsteps .tt{display:block; font-size:13px; font-weight:700; letter-spacing:.6px; text-transform:uppercase; color:#97401A; line-height:1.5}
.tsteps .ts{display:block; font-family:var(--display); font-weight:400; font-size:19px; color:var(--maroon-deep); line-height:1.35; margin:2px 0 4px}
.article .tsteps p{margin:0; font-size:16px; line-height:1.65}
.article .tday-note{font-size:15px; color:var(--ink-mute); margin:-6px 0 22px}

/* ---------- 6. route steps (taxi pages) ---------- */
.article .rsteps{list-style:none; counter-reset:rs; margin:18px 0 26px; padding:0}
.article .rsteps>li{counter-increment:rs; position:relative; margin:0; padding:0 0 24px 54px; font-size:16px}
.rsteps>li::before{content:counter(rs); position:absolute; left:0; top:0; width:38px; height:38px; border-radius:50%; background:var(--maroon); color:#fff; font:600 16px/38px var(--sans); text-align:center}
.rsteps>li::after{content:""; position:absolute; left:18px; top:44px; bottom:6px; border-left:2px dashed var(--stone-3)}
.article .rsteps>li:last-child{padding-bottom:2px}
.rsteps>li:last-child::before{background:var(--link)}
.rsteps>li:last-child::after{display:none}
.rsteps .rs-t{display:block; font-family:var(--display); font-weight:400; font-size:19.5px; color:var(--maroon-deep); line-height:1.35; padding-top:6px}
.rsteps .rs-m{display:flex; flex-wrap:wrap; gap:6px; margin:7px 0 6px}
.rsteps .rs-m span{display:inline-block; font-size:13px; font-weight:600; color:var(--teal-deep); background:#E6F0EE; border-radius:var(--r-pill); padding:3px 11px; line-height:1.45}
.article .rsteps p{margin:4px 0 0; font-size:16px; line-height:1.65}

/* ---------- 7. included / not included ---------- */
.incx{display:grid; grid-template-columns:1fr 1fr; gap:16px; margin:20px 0 14px}
.incx-col{background:#fff; border:1px solid var(--stone-2); border-radius:var(--r); padding:18px 20px 8px}
.incx-col.yes{border-top:4px solid var(--teal)}
.incx-col.no{border-top:4px solid var(--stone-3)}
.article .incx-col h3{font-family:var(--sans); font-size:13.5px; font-weight:700; letter-spacing:1.1px; text-transform:uppercase; margin:0 0 12px; color:var(--teal-deep); line-height:1.4}
.article .incx-col.no h3{color:var(--maroon)}
.article .incx ul{list-style:none; margin:0; padding:0}
.article .incx li{position:relative; padding-left:26px; margin:0 0 10px; font-size:15.5px; line-height:1.55}
.incx .yes li::before{content:"✓"; position:absolute; left:3px; top:0; color:var(--teal); font-weight:700}
.incx .no li::before{content:"–"; position:absolute; left:5px; top:0; color:var(--ink-mute); font-weight:700}
.article .incx-note{font-size:15.5px; color:var(--ink-soft); margin-bottom:24px}

/* ---------- 8. payment & cancellation summary ---------- */
.paysum{display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:14px; margin:18px 0 14px}
.ps{background:linear-gradient(150deg,var(--stone),var(--ivory)); border:1px solid var(--stone-2); border-radius:var(--r); padding:16px 18px}
.article .ps h3{font-family:var(--sans); font-weight:700; font-size:15.5px; line-height:1.4; color:var(--maroon); margin:0 0 6px}
.article .ps p{margin:0; font-size:15.5px; line-height:1.6}
.paysafe{display:flex; gap:12px; align-items:flex-start; background:#EAF3F0; border:1px solid #CFE3DE; border-radius:var(--r); padding:14px 18px; margin:0 0 14px}
.paysafe svg{width:22px; height:22px; fill:var(--teal-deep); margin-top:3px}
.article .paysafe p{margin:0; font-size:15.5px; line-height:1.6; color:var(--ink-soft)}

/* ---------- 9. price box ---------- */
.pricebox{position:relative; overflow:hidden; background:#fff; border:1px solid var(--stone-2); border-radius:var(--r-lg); padding:24px 26px 16px 30px; margin:34px 0; box-shadow:var(--shadow-sm)}
.pricebox::before{content:""; position:absolute; left:0; top:0; bottom:0; width:5px; background:linear-gradient(var(--marigold),var(--saffron-deep))}
.article .pricebox h2{font-size:24px; margin:0 0 10px; padding:0}
.article .pricebox .pb-main{margin:0 0 6px; font-size:16px; line-height:1.45; color:var(--ink-soft)}
.pb-main b{font-family:var(--serif); font-weight:600; font-size:40px; line-height:1.1; color:var(--maroon); letter-spacing:.2px; margin:0 4px; vertical-align:-3px}
.article .pricebox .pb-quote{font-family:var(--serif); font-size:20px; line-height:1.45; color:var(--maroon); margin:0 0 8px}
.article .pb-rows{list-style:none; margin:14px 0 12px; padding:0; border-top:1px solid var(--stone-2)}
.article .pb-rows li{display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:2px 14px; margin:0; padding:10px 0; border-bottom:1px solid var(--stone-2); font-size:15.5px; line-height:1.5}
.pb-rows li b{font-weight:600; color:var(--maroon); white-space:nowrap}
.pb-rows li small{display:block; flex-basis:100%; font-size:14px; color:var(--ink-mute)}
.article .pricebox .pb-note{font-size:14.5px; color:var(--ink-mute); margin:0 0 8px}

/* ---------- 10. vehicle table (add class "vtable" to a .gtable) ---------- */
.gtable.vtable tbody th{background:var(--ivory); color:var(--maroon); font-weight:600; font-size:15px; text-align:left; padding:12px 16px; border-bottom:1px solid var(--stone-2); vertical-align:top; white-space:nowrap}
.gtable.vtable tbody tr:nth-child(even) th{background:#fff}
.gtable.vtable tbody tr:last-child th{border-bottom:none}
.gtable.vtable td.num{white-space:nowrap; font-weight:600; color:var(--maroon)}
.vtable-note{font-size:14.5px; color:var(--ink-mute)}

/* ---------- 11. hub cards with photos ---------- */
.hgrid{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin:20px 0 30px}
.hcard{display:flex; flex-direction:column; min-width:0; background:#fff; border:1px solid var(--stone-2); border-radius:var(--r); overflow:hidden; color:inherit; box-shadow:var(--shadow-sm); transition:transform .25s,box-shadow .25s}
a.hcard:hover{transform:translateY(-4px); box-shadow:var(--shadow-md); text-decoration:none}
a.hcard:hover h3{text-decoration:underline; text-decoration-color:var(--stone-3); text-underline-offset:4px}
.hcard-img{position:relative; aspect-ratio:16/10; background:var(--stone-2); overflow:hidden}
.hcard-img img{width:100%; height:100%; object-fit:cover}
.hcard-tag{position:absolute; top:10px; left:10px; max-width:calc(100% - 20px); font-size:12px; font-weight:700; letter-spacing:.7px; text-transform:uppercase; line-height:1.35; color:var(--maroon); background:rgba(255,255,255,.95); padding:4px 10px; border-radius:var(--r-pill)}
.hcard-cap{position:absolute; left:10px; bottom:10px; max-width:calc(100% - 20px); font-size:12px; font-weight:600; line-height:1.35; color:#fff; background:rgba(26,19,16,.7); padding:4px 10px; border-radius:var(--r-pill)}
.hcard-b{display:flex; flex-direction:column; flex:1; padding:16px 18px 16px}
.article .hcard h3{font-size:19px; line-height:1.3; margin:0 0 6px; color:var(--maroon)}
.article .hcard p{font-size:15px; line-height:1.6; margin:0 0 10px; color:var(--ink-soft)}
.hcard .hcard-meta{list-style:none; display:flex; flex-wrap:wrap; gap:6px; margin:0 0 12px; padding:0}
.article .hcard-meta li{margin:0; font-size:13px; font-weight:600; line-height:1.45; color:var(--teal-deep); background:#E6F0EE; border-radius:var(--r-pill); padding:3px 10px}
.hcard .hcard-foot{margin-top:auto; display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:4px 12px; padding-top:12px; border-top:1px solid var(--stone-2)}
.hcard .hcard-price{font-size:14px; line-height:1.35; color:var(--ink-mute)}
.hcard .hcard-price b{font-family:var(--serif); font-weight:600; font-size:22px; color:var(--maroon); margin:0 2px}
.hcard .go{font-weight:600; font-size:14.5px; color:var(--link)}
.hcard .hcard-links{display:flex; flex-wrap:wrap; gap:0 18px; margin-top:6px}
.hcard .hcard-links a{display:inline-block; padding:12px 0; font-weight:600; font-size:14.5px; line-height:1.35; text-decoration:underline; text-underline-offset:3px}
.hgrid-note{text-align:center; font-size:15.5px}
/* compact variant: 3 small cards per row (e.g. weekend-from-city cards) */
.hgrid.hgrid-sm{grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px}
.hgrid-sm .hcard-img{aspect-ratio:4/3}
.hgrid-sm .hcard-b{padding:14px 16px}
.article .hgrid-sm .hcard h3{font-size:17.5px}
.article .hgrid-sm .hcard p{font-size:14.5px}
/* featured variant: one card across the whole row, photo on the left (desktop) */
@media(min-width:641px){
  .hgrid .hcard-wide{grid-column:1 / -1; flex-direction:row}
  .hcard-wide .hcard-img{flex:0 0 46%; aspect-ratio:auto; min-height:230px}
  .hcard-wide .hcard-img img{position:absolute; inset:0}
  .hcard-wide .hcard-b{padding:22px 24px}
  .article .hcard-wide h3{font-size:22px}
}

/* ---------- 12. small link list (under related cards) ---------- */
.related .morelinks{list-style:none; display:flex; flex-wrap:wrap; justify-content:center; gap:0 20px; margin:18px 0 0; padding:0}
.related .morelinks li{margin:0; font-size:15px}
.related .morelinks a{display:inline-block; padding:10px 0; font-weight:600; text-decoration:underline; text-decoration-color:var(--stone-3); text-underline-offset:3px}
.related .morelinks a:hover{text-decoration-color:currentColor}

/* ---------- 13. Hindi type fixes ----------
   guide.css already switches all Hindi text to Mukta with :lang(hi).
   These rules cover the components above that set their own font,
   and remove letter-spacing / capitals that break Devanagari. */
:lang(hi) h1{font-weight:600}
:lang(hi) .tsteps .ts,:lang(hi) .rsteps .rs-t,:lang(hi) .tday-n,:lang(hi) .toc b,
:lang(hi) .article .incx-col h3,:lang(hi) .article .ps h3,:lang(hi) .pricebox .pb-quote,
:lang(hi) .gfoot .gf-h,:lang(hi) .article .gcta .col h3,:lang(hi) .gfoot .gf-name span{font-family:var(--hindi); font-weight:600}
:lang(hi) .qf dt,:lang(hi) .tsteps .tt,:lang(hi) .tday-n,:lang(hi) .article .incx-col h3,:lang(hi) .hcard-tag,
:lang(hi) .ghero .cat,:lang(hi) .gcta .k,:lang(hi) .gfoot .gf-h,:lang(hi) .rel .b .c,:lang(hi) .article .gcta .col h3{letter-spacing:0; text-transform:none}
:lang(hi) .qf dt,:lang(hi) .tsteps .tt{font-size:14px}
:lang(hi) .article .incx-col h3,:lang(hi) .gfoot .gf-h{font-size:15px}
:lang(hi) .article p,:lang(hi) .article li{line-height:1.85}

/* ---------- 14. responsive ---------- */
@media(max-width:820px){
  .hgrid.hgrid-sm{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  .hgrid.hgrid-sm{grid-template-columns:minmax(0,1fr)}
  .hgrid-sm .hcard-img{aspect-ratio:21/9}
  .pfig{margin-top:20px}
  .pfig img{aspect-ratio:4/3}
  .qfacts{padding:18px 18px 4px}
  .qf{display:grid; grid-template-columns:104px minmax(0,1fr); gap:12px; padding:10px 0 11px}
  .qf dd{margin-top:0}
  .incx{grid-template-columns:1fr}
  .pricebox{padding:20px 18px 12px 22px}
  .pb-main b{font-size:34px}
  .pb-rows li b{white-space:normal}
  .hgrid{grid-template-columns:minmax(0,1fr)}
  .article .rsteps>li{padding-left:50px}
}
@media(max-width:560px){
  .subbar{padding:0 18px}
  .langlink{min-height:44px; padding:0 12px; font-size:14px}
  /* vehicle table becomes one small card per vehicle */
  .gtable.vtable thead{position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap}
  .gtable.vtable,.gtable.vtable tbody{display:block; width:100%}
  .gtable.vtable tr{display:grid; grid-template-columns:minmax(0,1fr) auto; gap:2px 12px; padding:12px 14px; border-bottom:1px solid var(--stone-2); background:var(--ivory)}
  .gtable.vtable tr:nth-child(even){background:#fff}
  .gtable.vtable tr:last-child{border-bottom:none}
  .gtable.vtable tbody th,.gtable.vtable td{display:block; padding:0; border:0; background:transparent!important; white-space:normal}
  .gtable.vtable tbody th{grid-column:1; grid-row:1; font-size:16px}
  .gtable.vtable td.num{grid-column:2; grid-row:1; text-align:right; white-space:nowrap}
  .gtable.vtable td:not(.num){grid-column:1 / -1; font-size:14.5px; font-weight:400; color:var(--ink-soft)}
  .gtable.vtable td[data-label]::before{content:attr(data-label) ": "; font-weight:600; color:var(--ink-mute)}
}
@media(max-width:380px){
  .langlink{padding:0 10px}
  .qf{grid-template-columns:92px minmax(0,1fr); gap:10px}
}
@media (prefers-reduced-motion:reduce){
  a.hcard:hover{transform:none}
}
@media print{
  .langlink,.qcta,.smsline,.hcard-links{display:none}
  .pfig,.qfacts,.pricebox,.hcard{box-shadow:none}
}
