/* ============================================================================
   Kochi Taxi — public HOMEPAGE ("Ink & Gold", cinematic)
   Page-scoped: loaded only by index.php via $head_extra.
   Shares the identity tokens with book.css / quote.css so the site feels one.
   Layout stays Tailwind in index.php; this file carries the identity pieces,
   the imagery treatments and every animation.
   ============================================================================ */

.home {
    --ink:       #0b1b33;
    --ink-2:     #16294a;
    --ink-soft:  #24406b;
    --gold:      #f5a623;
    --gold-2:    #ffc457;
    --gold-deep: #b97a0e;
    --paper:     #fbf9f5;
    --rule:      #e8e2d8;
    --muted:     #64748b;
    --shadow:    0 24px 60px -28px rgba(11, 27, 51, .38);
    background: var(--paper);
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    overflow-x: hidden;
}
.home .serif {
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    letter-spacing: -0.02em;
}
.home .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold-deep);
}
.home .eyebrow::before {
    content: "";
    width: 1.6rem;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-deep));
}

/* ---------------------------------------------------------------- HERO ---- */
.hero {
    position: relative;
    isolation: isolate;
    min-height: min(88vh, 760px);
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}
.hero__bg {
    position: absolute;
    inset: -6% -2% -6% -2%;
    background-size: cover;
    background-position: center 38%;
    z-index: -3;
    animation: kenburns 26s ease-in-out infinite alternate;
    will-change: transform;
}
@keyframes kenburns {
    from { transform: scale(1.04) translate3d(0, 0, 0); }
    to   { transform: scale(1.16) translate3d(-1.5%, -1.5%, 0); }
}
.hero__scrim {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(102deg, rgba(11,27,51,.94) 0%, rgba(11,27,51,.80) 42%, rgba(11,27,51,.42) 72%, rgba(11,27,51,.24) 100%),
        radial-gradient(80% 60% at 88% 12%, rgba(245,166,35,.26) 0%, rgba(245,166,35,0) 62%);
}
.hero__grain {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .5;
    background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 4px 4px;
}
.hero__inner {
    width: 100%;
    max-width: 72rem;
    margin: 0 auto;
    padding: 4.5rem 1.25rem 7.5rem;
}
.hero__inner .eyebrow { color: var(--gold-2); }
.hero__inner .eyebrow::before { background: linear-gradient(90deg, var(--gold-2), var(--gold)); }
.hero h1 {
    margin: 1.1rem 0 0;
    max-width: 17ch;
    font-size: clamp(2.3rem, 6.4vw, 4.3rem);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.025em;
}
.hero h1 em {
    font-style: italic;
    color: var(--gold-2);
}
.hero__lede {
    margin-top: 1.35rem;
    max-width: 40rem;
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    line-height: 1.7;
    color: rgba(255,255,255,.82);
}
.hero__cta {
    margin-top: 2.1rem;
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    border-radius: .85rem;
    padding: .95rem 1.5rem;
    font-weight: 700;
    font-size: 1rem;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn--gold {
    background: linear-gradient(180deg, var(--gold-2), var(--gold));
    color: #2a1c04;
    box-shadow: 0 14px 30px -12px rgba(245,166,35,.75);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 20px 38px -12px rgba(245,166,35,.9); }
.btn--ghost {
    border: 1px solid rgba(255,255,255,.38);
    color: #fff;
    backdrop-filter: blur(4px);
    background: rgba(255,255,255,.06);
}
.btn--ghost:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-2); transform: translateY(-2px); }

.hero__chips {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem .6rem;
}
.hero__chips span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .78rem;
    font-weight: 600;
    color: rgba(255,255,255,.9);
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.08);
    border-radius: 999px;
    padding: .38rem .8rem;
    backdrop-filter: blur(3px);
}
.hero__chips i { color: var(--gold-2); font-style: normal; }

.hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 1.6rem;
    transform: translateX(-50%);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    font-size: .68rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255,255,255,.6);
}
.hero__scroll::after {
    content: "";
    width: 1px;
    height: 2.2rem;
    background: linear-gradient(rgba(255,255,255,.7), transparent);
    animation: cue 1.9s ease-in-out infinite;
}
@keyframes cue {
    0%, 100% { opacity: .25; transform: scaleY(.6); }
    50%      { opacity: 1;   transform: scaleY(1); }
}

/* --------------------------------------------------------- STAT BAND ------ */
.statband {
    position: relative;
    z-index: 3;
    max-width: 72rem;
    margin: -4.2rem auto 0;
    padding: 0 1.25rem;
}
.statband__inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}
@media (min-width: 768px) { .statband__inner { grid-template-columns: repeat(4, 1fr); } }
.stat {
    background: #fff;
    padding: 1.5rem 1.4rem;
    text-align: center;
}
.stat b {
    display: block;
    font-size: clamp(1.7rem, 3.4vw, 2.4rem);
    font-weight: 800;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -0.02em;
}
.stat b .u { color: var(--gold-deep); }
.stat span {
    display: block;
    margin-top: .5rem;
    font-size: .8rem;
    color: var(--muted);
    font-weight: 500;
}

/* --------------------------------------------------------- SECTIONS ------- */
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.sect { padding: 5rem 0; }
.sect--tint { background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); }
.sect__head { max-width: 44rem; }
.sect__head h2 {
    margin-top: .9rem;
    font-size: clamp(1.8rem, 3.6vw, 2.7rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
}
.sect__head p { margin-top: .9rem; color: var(--muted); line-height: 1.75; }

/* --------------------------------------------------------- FEATURES ------- */
/* Services are icon cards — no stock photography (every image on this page comes
   from the portal's own vehicle/destination library). */
.grid-feat { display: grid; gap: 1.1rem; margin-top: 2.6rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-feat { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-feat { grid-template-columns: repeat(4, 1fr); } }
.feat {
    display: block;
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 1.1rem;
    padding: 1.5rem 1.35rem 1.6rem;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feat:hover { transform: translateY(-6px); border-color: #f0d9a8; box-shadow: 0 26px 50px -30px rgba(11,27,51,.45); }
.feat__ico {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: .9rem;
    color: #2a1c04;
    background: linear-gradient(180deg, var(--gold-2), var(--gold));
    box-shadow: 0 12px 24px -12px rgba(245,166,35,.8);
    margin-bottom: 1rem;
}
.feat h3 { font-size: 1.05rem; font-weight: 700; }
.feat p { margin-top: .5rem; font-size: .88rem; line-height: 1.7; color: var(--muted); }
.feat__more {
    margin-top: .9rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .82rem;
    font-weight: 700;
    color: var(--gold-deep);
}
.feat__more svg { transition: transform .2s ease; }
.feat:hover .feat__more svg { transform: translateX(4px); }

/* --------------------------------------------------------- FLEET ---------- */
.grid-fleet { display: grid; gap: 1.1rem; margin-top: 2.6rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-fleet { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-fleet { grid-template-columns: repeat(3, 1fr); } }
.veh {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 1.1rem;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.veh:hover { transform: translateY(-5px); border-color: #f0d9a8; box-shadow: 0 26px 50px -30px rgba(11,27,51,.5); }
.veh__shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #eef1f5; }
.veh__shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.veh:hover .veh__shot img { transform: scale(1.07); }
.veh__badge {
    position: absolute; top: .7rem; right: .7rem;
    font-size: .68rem; font-weight: 700;
    background: rgba(11,27,51,.82); color: #fff;
    border-radius: 999px; padding: .3rem .6rem;
    backdrop-filter: blur(3px);
}
.veh__body { padding: 1.1rem 1.15rem 1.2rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.veh__body h3 { font-size: 1.05rem; font-weight: 700; }
.veh__specs { display: flex; flex-wrap: wrap; gap: .4rem; }
.veh__specs span {
    font-size: .74rem;
    color: var(--ink-soft);
    background: #f4f7fb;
    border: 1px solid #e6ecf4;
    border-radius: .5rem;
    padding: .26rem .55rem;
    font-weight: 600;
}
.veh__body .link {
    margin-top: auto;
    font-size: .85rem;
    font-weight: 700;
    color: var(--gold-deep);
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}
.veh__body .link svg { transition: transform .2s ease; }
.veh:hover .veh__body .link svg { transform: translateX(4px); }

/* ---------------------------------------------------- DESTINATIONS -------- */
.grid-dest { display: grid; gap: 1.1rem; margin-top: 2.6rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-dest { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-dest { grid-template-columns: repeat(4, 1fr); } }
.dest {
    position: relative;
    display: block;
    border-radius: 1.1rem;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: 0 18px 40px -28px rgba(11,27,51,.5);
}
.dest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.3,1); }
.dest:hover img { transform: scale(1.1); }
.dest__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,27,51,0) 40%, rgba(11,27,51,.85) 100%); }
.dest__body { position: absolute; inset: auto 0 0 0; padding: 1.15rem 1.15rem 1.25rem; color: #fff; }
.dest__body h3 { font-size: 1.08rem; font-weight: 700; }
.dest__body span {
    display: block;
    margin-top: .25rem;
    font-size: .78rem;
    color: rgba(255,255,255,.8);
    transform: translateY(.4rem);
    opacity: 0;
    transition: transform .35s ease, opacity .35s ease;
}
.dest:hover .dest__body span { transform: translateY(0); opacity: 1; }
.dest__pill {
    position: absolute; top: .8rem; left: .8rem;
    font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: #fff; background: rgba(245,166,35,.92);
    border-radius: 999px; padding: .28rem .6rem;
}

/* --------------------------------------------------------- STEPS ---------- */
.steps { position: relative; display: grid; gap: 1.4rem; margin-top: 3rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
    position: relative;
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 1.1rem;
    padding: 1.6rem 1.4rem;
    text-align: center;
}
.step__n {
    width: 2.9rem; height: 2.9rem;
    margin: 0 auto .9rem;
    display: grid; place-items: center;
    border-radius: 999px;
    font-weight: 800;
    color: #2a1c04;
    background: linear-gradient(180deg, var(--gold-2), var(--gold));
    box-shadow: 0 10px 22px -10px rgba(245,166,35,.8);
}
.step h3 { font-weight: 700; }
.step p { margin-top: .5rem; font-size: .88rem; color: var(--muted); line-height: 1.7; }
@media (min-width: 768px) {
    .steps::before {
        content: "";
        position: absolute;
        top: 3.05rem; left: 12%; right: 12%;
        height: 2px;
        background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px);
        opacity: .55;
        z-index: 0;
    }
    .step { z-index: 1; }
}

/* --------------------------------------------------------- REVIEWS -------- */
.grid-rev { display: grid; gap: 1.1rem; margin-top: 2.6rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-rev { grid-template-columns: repeat(3, 1fr); } }
.rev {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 1.1rem;
    padding: 1.5rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: .9rem;
    box-shadow: 0 14px 34px -28px rgba(11,27,51,.45);
}
.rev__stars { color: var(--gold); letter-spacing: .12em; font-size: .95rem; }
.rev p { font-size: .92rem; line-height: 1.75; color: #334155; }
.rev__by { margin-top: auto; display: flex; align-items: center; gap: .7rem; }
.rev__by img { width: 2.5rem; height: 2.5rem; border-radius: 999px; object-fit: cover; border: 2px solid var(--gold-2); }
.rev__by b { font-size: .88rem; display: block; }
.rev__by span { font-size: .76rem; color: var(--muted); }

/* --------------------------------------------------------- MARQUEE -------- */
.marquee {
    overflow: hidden;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    background: #fff;
    padding: 1.4rem 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; gap: .7rem; width: max-content; animation: slide 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee__track span {
    white-space: nowrap;
    font-size: .9rem;
    font-weight: 600;
    color: var(--ink-soft);
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 999px;
    padding: .55rem 1.1rem;
}

/* --------------------------------------------------------- CTA ------------ */
.cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 1.5rem;
    padding: 3.4rem 1.6rem;
    text-align: center;
    color: #fff;
}
.cta__bg { position: absolute; inset: -4%; z-index: -2; background-size: cover; background-position: center; animation: kenburns 30s ease-in-out infinite alternate; }
.cta__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(11,27,51,.95), rgba(11,27,51,.72) 55%, rgba(185,122,14,.72)); }
.cta h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -0.025em; }
.cta p { margin: 1rem auto 0; max-width: 34rem; color: rgba(255,255,255,.85); line-height: 1.75; }
.cta .row { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* --------------------------------------------------------- REVEAL --------- */
/* Content is visible by default; only a JS-enabled browser hides it first, so a
   script failure or no-JS visitor still sees the whole page. */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); transition-delay: var(--d, 0ms); }
html.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .hero__bg, .cta__bg, .marquee__track, .hero__scroll::after { animation: none !important; }
    .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
    .svc img, .dest img, .veh__shot img { transition: none !important; }
}

/* --------------------------------------------------------- FOOTER TINT ---- */
/* The shared footer keeps its own light styling (consistent with book-now /
   enquire); overriding Tailwind text colours there proved brittle, so leave it. */
