/* =========================================================
   SERVICES PAGE — Shyam Sarthi Travels
   Design concept: "Departures Board"
   Services are grouped into boards (like an airport/railway
   departure board) with route codes (C-01, O-01, EV-01, G-01)
   instead of a generic icon grid — grounded in a travel brand.
========================================================= */

@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 {
    --sv-navy-deep: #04101f;
    --sv-navy: #0a2147;
    --sv-gold: #e3a63e;
    --sv-gold-pale: #f6dca3;
    --sv-mist: #eef2f8;
    --sv-ink-soft: #55617a;
    --sv-line: rgba(10, 33, 71, 0.14);
    --sv-radius: 16px;

    --sv-font-display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
    --sv-font-body: 'Inter', -apple-system, sans-serif;
    --sv-font-mono: 'IBM Plex Mono', 'Courier New', monospace;
}

.sv-hero,
.sv-index,
.sv-board {
    font-family: var(--sv-font-body);
}

.sv-eyebrow {
    display: inline-block;
    font-family: var(--sv-font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sv-gold);
    margin-bottom: 10px;
}

/* ================= HERO ================= */

.sv-hero {
    position: relative;
    background: var(--sv-navy-deep);
    padding: 150px 0 90px;
    overflow: hidden;
    color: #fff;
}

.sv-hero-route {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.sv-hero-route-path {
    stroke: var(--sv-gold);
    stroke-width: 2.5;
    stroke-dasharray: 10 10;
    opacity: 0.5;
    stroke-dashoffset: 1500;
    animation: sv-draw-route 2.6s ease-out 0.2s forwards;
}

.sv-hero-route-dot {
    fill: var(--sv-gold);
    opacity: 0;
    animation: sv-fade-in 0.6s ease-out forwards;
}

.dot-start { animation-delay: 0.2s; }
.dot-end { animation-delay: 2.6s; }

@keyframes sv-draw-route {
    to { stroke-dashoffset: 0; }
}

@keyframes sv-fade-in {
    to { opacity: 1; }
}

.sv-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.sv-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--sv-font-mono);
    font-size: 0.8rem;
    color: #8b98b3;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sv-breadcrumb a {
    color: var(--sv-gold-pale);
    text-decoration: none;
}

.sv-breadcrumb a:hover,
.sv-breadcrumb a:focus-visible {
    text-decoration: underline;
}

.sv-breadcrumb .is-current {
    color: #fff;
}

.sv-hero-tag {
    display: inline-block;
    font-family: var(--sv-font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    color: var(--sv-gold-pale);
    border: 1px solid rgba(227, 166, 62, 0.4);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 24px;
}

.sv-hero-title {
    font-family: var(--sv-font-display);
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    line-height: 1;
    margin: 0 0 24px;
    color: #fff;
}

.sv-hero-lede {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #c3ccdb;
    max-width: 560px;
    margin: 0;
}

/* ================= INTRO / OVERVIEW ================= */

.sv-intro {
    background: #fff;
    padding: 70px 0;
    border-bottom: 1px solid var(--sv-line);
}

.sv-intro-inner {
    max-width: 780px;
}

.sv-intro h2 {
    font-family: var(--sv-font-display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--sv-navy);
    margin: 0 0 20px;
    line-height: 1.2;
}

.sv-intro p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--sv-ink-soft);
    margin: 0 0 18px;
}

.sv-intro p:last-child {
    margin-bottom: 0;
}

.sv-intro strong {
    color: var(--sv-navy);
    font-weight: 600;
}

/* ================= BOARD INDEX ================= */

.sv-index {
    background: var(--sv-navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sv-index-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 18px 0;
}

.sv-index-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--sv-font-mono);
    font-size: 0.82rem;
    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;
}

.sv-index-link:hover,
.sv-index-link:focus-visible {
    border-color: var(--sv-gold);
    color: #fff;
    background: rgba(227, 166, 62, 0.1);
}

.sv-index-code {
    font-weight: 600;
    color: var(--sv-gold);
}

/* ================= BOARD SECTIONS ================= */

.sv-board {
    padding: 76px 0;
}

.sv-board:nth-of-type(even) {
    background: var(--sv-mist);
}

.sv-board-heading {
    max-width: 640px;
    margin: 0 0 36px;
}

.sv-board-heading h2 {
    font-family: var(--sv-font-display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--sv-navy);
    margin: 0 0 12px;
    line-height: 1.15;
}

.sv-board-heading p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--sv-ink-soft);
    margin: 0;
}

.sv-board-rows {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--sv-line);
}

.sv-board-detail {
    font-size: 0.97rem;
    line-height: 1.8;
    color: var(--sv-ink-soft);
    max-width: 820px;
    margin: 28px 0 0;
    padding-top: 24px;
    border-top: 1px dashed var(--sv-line);
}

/* ================= FAQ ================= */

.sv-faq {
    background: var(--sv-navy);
    padding: 80px 0;
}

.sv-faq-inner {
    max-width: 820px;
}

.sv-faq .sv-eyebrow {
    color: var(--sv-gold-pale);
}

.sv-faq h2 {
    font-family: var(--sv-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;
}

.sv-faq-list {
    display: flex;
    flex-direction: column;
}

.sv-faq-item {
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sv-faq-item:first-child {
    padding-top: 0;
}

.sv-faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sv-faq-item h3 {
    font-family: var(--sv-font-body);
    font-weight: 600;
    font-size: 1.02rem;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.4;
}

.sv-faq-item p {
    font-size: 0.94rem;
    line-height: 1.75;
    color: #c3ccdb;
    margin: 0;
}

/* ================= ROW (departure-board row) ================= */

.sv-row {
    display: grid;
    grid-template-columns: 72px 96px 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 20px 18px;
    border-bottom: 1px solid var(--sv-line);
    text-decoration: none;
    position: relative;
    transition: background 0.2s ease;
}

.sv-row:hover,
.sv-row:focus-visible {
    background: rgba(227, 166, 62, 0.06);
}

.sv-row-code {
    font-family: var(--sv-font-mono);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    color: var(--sv-navy);
    background: rgba(10, 33, 71, 0.08);
    padding: 6px 0;
    border-radius: 6px;
    text-align: center;
}

.sv-row-thumb {
    display: block;
    width: 96px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--sv-navy);
    flex-shrink: 0;
}

.sv-row-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sv-row-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.sv-row-title {
    font-family: var(--sv-font-display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.1rem;
    color: var(--sv-navy);
    letter-spacing: 0.005em;
}

.sv-row-text {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--sv-ink-soft);
}

.sv-row-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--sv-font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--sv-navy);
    white-space: nowrap;
}

.sv-row-arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}

.sv-row:hover .sv-row-arrow,
.sv-row:focus-visible .sv-row-arrow {
    transform: translateX(4px);
    color: var(--sv-gold);
}

/* ================= FOCUS ================= */

.sv-row:focus-visible,
.sv-index-link:focus-visible {
    outline: 2px solid var(--sv-gold);
    outline-offset: 2px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 860px) {

    .sv-row {
        grid-template-columns: 56px 80px 1fr;
        row-gap: 10px;
    }

    .sv-row-cta {
        grid-column: 2 / 4;
        justify-self: start;
    }

}

@media (max-width: 560px) {

    .sv-hero {
        padding: 120px 0 70px;
    }

    .sv-board {
        padding: 52px 0;
    }

    .sv-row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 18px 14px;
    }

    .sv-row-code {
        width: fit-content;
        padding: 4px 12px;
    }

    .sv-row-thumb {
        width: 100%;
        height: 160px;
    }

    .sv-row-cta {
        grid-column: auto;
    }

    .sv-index-inner {
        flex-direction: column;
    }

    .sv-index-link {
        justify-content: flex-start;
    }

}

/* ================= REDUCED MOTION ================= */

@media (prefers-reduced-motion: reduce) {

    .sv-hero-route-path,
    .sv-hero-route-dot {
        animation: none !important;
        opacity: 0.5;
        stroke-dashoffset: 0;
    }

    .dot-start,
    .dot-end {
        opacity: 1;
    }

    .sv-row-arrow,
    .sv-index-link {
        transition: none;
    }

}