/* =========================================================
   TOUR PACKAGES PAGE — Shyam Sarthi Travels
   Design concept: "Route Board"
   Same highway/GPS-dashboard language as About, Services &
   Contact — a jump-to-category index like a departures board,
   and each package presented as a ticket-style card with a
   route code, duration chip and a clear price readout.
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@600;700;800&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
    --tp-navy-deep: #04101f;
    --tp-navy: #0a2147;
    --tp-navy-mid: #163461;
    --tp-gold: #e3a63e;
    --tp-gold-pale: #f6dca3;
    --tp-mist: #eef2f8;
    --tp-ink: #0e1a2e;
    --tp-ink-soft: #55617a;
    --tp-line: rgba(10, 33, 71, 0.14);
    --tp-radius: 18px;
    --tp-green: #18aa60;

    --tp-font-display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
    --tp-font-body: 'Inter', -apple-system, sans-serif;
    --tp-font-mono: 'IBM Plex Mono', 'Courier New', monospace;
}

.tp-hero,
.tp-intro,
.tp-index,
.tp-board,
.tp-why,
.tp-faq {
    font-family: var(--tp-font-body);
}

.tp-eyebrow {
    display: inline-block;
    font-family: var(--tp-font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--tp-gold);
    margin-bottom: 14px;
}

/* ================= HERO ================= */

.tp-hero {
    position: relative;
    background: var(--tp-navy-deep);
    padding: 150px 0 100px;
    overflow: hidden;
    color: #fff;
}

.tp-hero-route {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.tp-hero-route-path {
    stroke: var(--tp-gold);
    stroke-width: 2.5;
    stroke-dasharray: 10 10;
    opacity: 0.5;
    stroke-dashoffset: 1500;
    animation: tp-draw-route 2.6s ease-out 0.2s forwards;
}

.tp-hero-route-dot {
    fill: var(--tp-gold);
    opacity: 0;
    animation: tp-fade-in 0.6s ease-out forwards;
}

.dot-start { animation-delay: 0.2s; }
.dot-end { animation-delay: 2.6s; }

@keyframes tp-draw-route {
    to { stroke-dashoffset: 0; }
}

@keyframes tp-fade-in {
    to { opacity: 1; }
}

.tp-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.tp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--tp-font-mono);
    font-size: 0.8rem;
    color: #8b98b3;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tp-breadcrumb a {
    color: var(--tp-gold-pale);
    text-decoration: none;
}

.tp-breadcrumb a:hover,
.tp-breadcrumb a:focus-visible {
    text-decoration: underline;
}

.tp-breadcrumb .is-current {
    color: #fff;
}

.tp-hero-coords {
    display: inline-block;
    font-family: var(--tp-font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: var(--tp-gold-pale);
    border: 1px solid rgba(227, 166, 62, 0.4);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 26px;
}

.tp-hero-title {
    font-family: var(--tp-font-display);
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(2.4rem, 5.6vw, 3.9rem);
    line-height: 1.02;
    letter-spacing: 0.005em;
    margin: 0 0 24px;
    color: #fff;
}

.tp-hero-lede {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #c3ccdb;
    max-width: 600px;
    margin: 0 0 28px;
}

.tp-hero-badge {
    display: inline-block;
    font-family: var(--tp-font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tp-navy-deep);
    background: var(--tp-gold);
    padding: 10px 18px;
    border-radius: 999px;
}

/* ================= INTRO ================= */

.tp-intro {
    background: #fff;
    padding: 62px 0;
    border-bottom: 1px solid var(--tp-line);
}

.tp-intro-inner {
    max-width: 820px;
}

.tp-intro-inner p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--tp-ink-soft);
    margin: 0;
}

/* ================= CATEGORY INDEX ================= */

.tp-index {
    background: var(--tp-navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 20;
}

.tp-index-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 18px 0;
}

.tp-index-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--tp-font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    color: #dfe5f0;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.tp-index-link:hover,
.tp-index-link:focus-visible {
    border-color: var(--tp-gold);
    color: #fff;
    background: rgba(227, 166, 62, 0.1);
}

.tp-index-code {
    font-weight: 600;
    color: var(--tp-gold);
}

/* ================= CATEGORY BOARDS ================= */

.tp-board {
    padding: 76px 0;
    scroll-margin-top: 74px;
}

.tp-board:nth-of-type(even) {
    background: var(--tp-mist);
}

.tp-board-heading {
    max-width: 680px;
    margin: 0 0 40px;
}

.tp-board-heading h2 {
    font-family: var(--tp-font-display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--tp-navy);
    margin: 0 0 12px;
    line-height: 1.15;
}

.tp-board-heading p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--tp-ink-soft);
    margin: 0;
}

/* ================= PACKAGE GRID / CARDS ================= */

.tp-package-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.tp-package-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--tp-line);
    border-radius: var(--tp-radius);
    padding: 26px;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(10, 33, 71, 0.06);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.tp-package-card:hover,
.tp-package-card:focus-visible {
    border-color: var(--tp-gold);
    transform: translateY(-4px);
    box-shadow: 0 22px 42px rgba(10, 33, 71, 0.12);
}

.tp-package-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.tp-package-code {
    font-family: var(--tp-font-mono);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: var(--tp-navy);
    background: rgba(10, 33, 71, 0.08);
    padding: 5px 11px;
    border-radius: 999px;
}

.tp-package-duration {
    font-family: var(--tp-font-mono);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--tp-ink-soft);
}

.tp-package-title {
    font-family: var(--tp-font-display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.28rem;
    line-height: 1.18;
    color: var(--tp-navy);
    margin: 0 0 10px;
    letter-spacing: 0.005em;
}

.tp-package-text {
    font-size: 0.92rem;
    line-height: 1.62;
    color: var(--tp-ink-soft);
    margin: 0 0 20px;
    flex: 1 0 auto;
}

.tp-package-price-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px dashed var(--tp-line);
    margin-bottom: 18px;
}

.tp-package-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}

.tp-price-mrp {
    font-family: var(--tp-font-mono);
    font-size: 0.85rem;
    color: #9aa4b8;
    text-decoration: line-through;
}

.tp-price-final {
    font-family: var(--tp-font-display);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--tp-navy);
    letter-spacing: 0.005em;
}

.tp-price-unit {
    font-size: 0.76rem;
    color: var(--tp-ink-soft);
    align-self: flex-end;
    margin-bottom: 2px;
}

.tp-package-save {
    flex-shrink: 0;
    font-family: var(--tp-font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0d7a45;
    background: rgba(24, 170, 96, 0.12);
    padding: 5px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.tp-package-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--tp-font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--tp-navy-deep);
    background: var(--tp-gold);
    padding: 12px 18px;
    border-radius: 10px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.tp-package-card:hover .tp-package-cta,
.tp-package-card:focus-visible .tp-package-cta {
    background: var(--tp-gold-pale);
}

.tp-package-arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}

.tp-package-card:hover .tp-package-arrow,
.tp-package-card:focus-visible .tp-package-arrow {
    transform: translateX(4px);
}

/* ================= WHY BOOK WITH US ================= */

.tp-why {
    background: #fff;
    padding: 84px 0;
    border-bottom: 1px solid var(--tp-line);
}

.tp-why-inner {
    max-width: 800px;
}

.tp-why-inner h2 {
    font-family: var(--tp-font-display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--tp-navy);
    margin: 0 0 20px;
    line-height: 1.2;
}

.tp-why-inner p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--tp-ink-soft);
    margin: 0 0 18px;
}

.tp-why-inner p:last-child {
    margin-bottom: 0;
}

/* ================= FAQ ================= */

.tp-faq {
    background: var(--tp-navy);
    padding: 80px 0;
}

.tp-faq-inner {
    max-width: 840px;
}

.tp-faq .tp-eyebrow {
    color: var(--tp-gold-pale);
}

.tp-faq-inner h2 {
    font-family: var(--tp-font-display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: #fff;
    margin: 0 0 32px;
    line-height: 1.2;
}

.tp-faq-list {
    display: flex;
    flex-direction: column;
}

.tp-faq-item {
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tp-faq-item:first-child {
    padding-top: 0;
}

.tp-faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.tp-faq-item h3 {
    font-family: var(--tp-font-body);
    font-weight: 600;
    font-size: 1.02rem;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.4;
}

.tp-faq-item p {
    font-size: 0.94rem;
    line-height: 1.75;
    color: #c3ccdb;
    margin: 0;
}

/* ================= FOCUS STATES ================= */

.tp-hero a:focus-visible,
.tp-package-card:focus-visible,
.tp-index-link:focus-visible {
    outline: 2px solid var(--tp-gold);
    outline-offset: 3px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1080px) {

    .tp-package-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 860px) {

    .tp-index {
        position: static;
    }

    .tp-board {
        scroll-margin-top: 0;
    }

}

@media (max-width: 640px) {

    .tp-hero {
        padding: 120px 0 76px;
    }

    .tp-intro {
        padding: 48px 0;
    }

    .tp-board {
        padding: 52px 0;
    }

    .tp-package-grid {
        grid-template-columns: 1fr;
    }

    .tp-why {
        padding: 60px 0;
    }

    .tp-faq {
        padding: 60px 0;
    }

    .tp-index-inner {
        flex-direction: column;
    }

    .tp-index-link {
        justify-content: flex-start;
    }

}

/* ================= REDUCED MOTION ================= */

@media (prefers-reduced-motion: reduce) {

    .tp-hero-route-path,
    .tp-hero-route-dot {
        animation: none !important;
        opacity: 0.5;
        stroke-dashoffset: 0;
    }

    .dot-start,
    .dot-end {
        opacity: 1;
    }

    .tp-package-card,
    .tp-package-cta,
    .tp-package-arrow,
    .tp-index-link {
        transition: none;
    }

}