/* Shared layouts for rental, event, and adventure service pages. */

/* Extra Font Awesome 4 glyph mappings used by these pages. */
.fa-id-card-o::before { content: "\f2c3"; }
.fa-motorcycle::before { content: "\f21c"; }
.fa-map-o::before { content: "\f278"; }
.fa-paint-brush::before { content: "\f1fc"; }
.fa-cutlery::before { content: "\f0f5"; }
.fa-bus::before { content: "\f207"; }
.fa-life-ring::before { content: "\f1cd"; }
.fa-cloud::before { content: "\f0c2"; }
.fa-child::before { content: "\f1ae"; }

body.csi-service-page {
    --service-ink: #17352a;
    --service-muted: #607168;
    --service-green: #1f5a43;
    --service-green-deep: #0c2b21;
    --service-copper: #c67d45;
    --service-cream: #f6efe4;
    background: #f8f7f2;
    color: var(--service-ink);
    font-family: 'Manrope', sans-serif;
}

body.csi-service-page .modern-main-content {
    overflow: hidden;
}

body.csi-service-page .csi-service-shell {
    width: min(1180px, calc(100% - 2.5rem));
    margin: 0 auto;
}

body.csi-service-page .csi-service-hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: flex-end;
    padding: 150px 0 72px;
    background-color: #102d23;
    background-image:
        linear-gradient(90deg, rgba(7, 26, 19, 0.94) 0%, rgba(7, 26, 19, 0.77) 46%, rgba(7, 26, 19, 0.34) 100%),
        var(--service-hero-image);
    background-position: center;
    background-size: cover;
}

body.page-car-bike-rental {
    --service-hero-image: url('../img/banners/taxi-in-ramnagar.webp');
}

body.page-event-wedding-planner {
    --service-hero-image: url('../img/corbett-destination-wedding-hero.webp');
}

body.page-adventure-activities-in-corbett {
    --service-hero-image: url('../img/wild-elephants-ramganga-river-dhikala-corbett.webp');
}

body.csi-service-page .csi-service-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.52fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: end;
}

body.csi-service-page .csi-service-eyebrow {
    margin: 0 0 1rem;
    color: #e7b07d;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    line-height: 1.4;
    text-transform: uppercase;
}

body.csi-service-page .csi-service-hero h1 {
    max-width: 850px;
    margin: 0;
    color: #fffaf1;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3.2rem, 7vw, 6.2rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 0.91;
}

body.csi-service-page .csi-service-hero__lead {
    max-width: 700px;
    margin: 1.5rem 0 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1rem, 1.7vw, 1.16rem);
    line-height: 1.8;
}

body.csi-service-page .csi-service-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

body.csi-service-page .csi-service-btn {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.78rem 1.25rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    line-height: 1.2;
    text-transform: uppercase;
}

body.csi-service-page .csi-service-btn--primary {
    background: #f1ae72;
    color: #382112;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}

body.csi-service-page .csi-service-btn--secondary {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
}

body.csi-service-page .csi-service-btn:hover {
    transform: translateY(-2px);
}

body.csi-service-page .csi-service-btn:focus-visible,
body.csi-service-page .csi-service-link:focus-visible,
body.csi-service-page summary:focus-visible {
    outline: 3px solid rgba(231, 176, 125, 0.7);
    outline-offset: 4px;
}

body.csi-service-page .csi-service-hero__note {
    padding: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 22px;
    background: rgba(7, 28, 20, 0.62);
    color: #fff;
    backdrop-filter: blur(12px);
}

body.csi-service-page .csi-service-hero__note strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #f2b57d;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    line-height: 1.15;
}

body.csi-service-page .csi-service-hero__note p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    line-height: 1.7;
}

body.csi-service-page .csi-service-jumpbar {
    border-bottom: 1px solid rgba(23, 53, 42, 0.1);
    background: #fff;
}

body.csi-service-page .csi-service-jumpbar .csi-service-shell {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    padding-top: 1rem;
    padding-bottom: 1rem;
    scrollbar-width: none;
}

body.csi-service-page .csi-service-jumpbar a {
    flex: 0 0 auto;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: #f1f5f2;
    color: #365c4c;
    font-size: 0.78rem;
    font-weight: 700;
}

body.csi-service-page .csi-service-section {
    padding: clamp(4rem, 8vw, 7rem) 0;
}

body.csi-service-page .csi-service-section--white {
    background: #fff;
}

body.csi-service-page .csi-service-section--cream {
    background: var(--service-cream);
}

body.csi-service-page .csi-service-section--dark {
    background: var(--service-green-deep);
    color: #fff;
}

body.csi-service-page .csi-service-heading {
    max-width: 760px;
    margin-bottom: 2.2rem;
}

body.csi-service-page .csi-service-heading--center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

body.csi-service-page .csi-service-heading h2 {
    margin: 0;
    color: var(--service-ink);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.45rem, 5vw, 4rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1;
}

body.csi-service-page .csi-service-section--dark .csi-service-heading h2 {
    color: #fff8ed;
}

body.csi-service-page .csi-service-heading > p:last-child {
    margin: 1rem 0 0;
    color: var(--service-muted);
    line-height: 1.8;
}

body.csi-service-page .csi-service-section--dark .csi-service-heading > p:last-child {
    color: rgba(255, 255, 255, 0.68);
}

body.csi-service-page .csi-service-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

body.csi-service-page .csi-service-card {
    min-height: 100%;
    padding: 1.6rem;
    border: 1px solid rgba(23, 53, 42, 0.09);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 20px 48px rgba(11, 35, 27, 0.07);
}

body.csi-service-page .csi-service-card__number {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: #e7f1eb;
    color: var(--service-green);
    font-size: 0.8rem;
    font-weight: 800;
}

body.csi-service-page .csi-service-card h3 {
    margin: 0 0 0.65rem;
    color: var(--service-ink);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.65rem;
    font-weight: 600;
}

body.csi-service-page .csi-service-card p {
    margin: 0;
    color: var(--service-muted);
    font-size: 0.92rem;
    line-height: 1.75;
}

body.csi-service-page .csi-service-split {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(2rem, 6vw, 5.5rem);
    align-items: start;
}

body.csi-service-page .csi-service-sticky {
    position: sticky;
    top: 118px;
}

body.csi-service-page .csi-service-feature-list {
    display: grid;
    gap: 0.85rem;
}

body.csi-service-page .csi-service-feature {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid rgba(23, 53, 42, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.76);
}

body.csi-service-page .csi-service-feature i {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #e5efe9;
    color: var(--service-green);
}

body.csi-service-page .csi-service-feature h3 {
    margin: 0 0 0.35rem;
    color: var(--service-ink);
    font-size: 1rem;
}

body.csi-service-page .csi-service-feature p {
    margin: 0;
    color: var(--service-muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

body.csi-service-page .csi-service-callout {
    margin-top: 1.2rem;
    padding: 1.25rem 1.35rem;
    border-left: 4px solid var(--service-copper);
    background: #fffaf3;
    color: #5e4d3d;
    font-size: 0.9rem;
    line-height: 1.75;
}

body.csi-service-page .csi-service-rate-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

body.csi-service-page .csi-service-rate-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 260px;
    padding: 1.55rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.06);
}

body.csi-service-page .csi-service-rate-badge {
    align-self: flex-start;
    margin-bottom: 1rem;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: #eeb078;
    color: #3b2515;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.csi-service-page .csi-service-rate-card h3 {
    margin: 0;
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.65rem;
    font-weight: 600;
}

body.csi-service-page .csi-service-rate-price {
    margin: 0.7rem 0;
    color: #f0b984;
    font-size: 1.25rem;
    font-weight: 800;
}

body.csi-service-page .csi-service-rate-details {
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.67);
    font-size: 0.86rem;
    line-height: 1.7;
}

body.csi-service-page .csi-service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: auto;
    color: #f1bc89;
    font-size: 0.82rem;
    font-weight: 800;
}

body.csi-service-page .csi-service-rate-empty {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr) auto;
    gap: 1.25rem;
    align-items: center;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.06);
}

body.csi-service-page .csi-service-rate-empty__icon {
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(240, 185, 132, 0.14);
    color: #f0b984;
    font-size: 1.55rem;
    font-weight: 800;
}

body.csi-service-page .csi-service-rate-empty h3 {
    margin: 0 0 0.3rem;
    color: #fff;
    font-size: 1.25rem;
}

body.csi-service-page .csi-service-rate-empty p {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
}

body.csi-service-page .csi-service-process {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    counter-reset: service-step;
}

body.csi-service-page .csi-service-process article {
    counter-increment: service-step;
    padding: 1.35rem;
    border-top: 1px solid rgba(23, 53, 42, 0.18);
}

body.csi-service-page .csi-service-process article::before {
    content: '0' counter(service-step);
    display: block;
    margin-bottom: 1.2rem;
    color: var(--service-copper);
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

body.csi-service-page .csi-service-process h3 {
    margin: 0 0 0.5rem;
    color: var(--service-ink);
    font-size: 1rem;
}

body.csi-service-page .csi-service-process p {
    margin: 0;
    color: var(--service-muted);
    font-size: 0.86rem;
    line-height: 1.7;
}

body.csi-service-page .csi-service-faq {
    display: grid;
    gap: 0.75rem;
    max-width: 900px;
    margin: 0 auto;
}

body.csi-service-page .csi-service-faq details {
    padding: 1.1rem 1.25rem;
    border: 1px solid rgba(23, 53, 42, 0.1);
    border-radius: 16px;
    background: #fff;
}

body.csi-service-page .csi-service-faq summary {
    cursor: pointer;
    color: var(--service-ink);
    font-weight: 800;
}

body.csi-service-page .csi-service-faq details p {
    margin: 0.85rem 0 0;
    color: var(--service-muted);
    font-size: 0.92rem;
    line-height: 1.75;
}

body.csi-service-page .csi-service-enquiry-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(360px, 0.58fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}

body.csi-service-page .csi-service-enquiry-copy {
    padding-top: 1.5rem;
}

body.csi-service-page .csi-service-enquiry-copy h2 {
    color: #fff9f0;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.6rem, 5vw, 4.5rem);
    font-weight: 600;
    line-height: 0.98;
}

body.csi-service-page .csi-service-enquiry-copy > p {
    max-width: 600px;
    color: rgba(255, 255, 255, 0.68);
}

body.csi-service-page .csi-service-enquiry-points {
    display: grid;
    gap: 0.65rem;
    margin-top: 1.5rem;
}

body.csi-service-page .csi-service-enquiry-points span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
}

body.csi-service-page .csi-service-enquiry-points span::before {
    content: '✓';
    margin-right: 0.65rem;
    color: #f0b984;
    font-weight: 800;
}

body.csi-service-page .csi-service-source-note {
    max-width: 900px;
    margin: 2rem auto 0;
    color: #6d7b73;
    font-size: 0.78rem;
    line-height: 1.7;
    text-align: center;
}

body.csi-service-page .csi-service-source-note a {
    color: var(--service-green);
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 980px) {
    body.csi-service-page .csi-service-hero__grid,
    body.csi-service-page .csi-service-split,
    body.csi-service-page .csi-service-enquiry-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    body.csi-service-page .csi-service-hero {
        min-height: 660px;
        background-image:
            linear-gradient(180deg, rgba(7, 26, 19, 0.82), rgba(7, 26, 19, 0.9)),
            var(--service-hero-image);
    }

    body.csi-service-page .csi-service-hero__note {
        max-width: 620px;
    }

    body.csi-service-page .csi-service-card-grid,
    body.csi-service-page .csi-service-rate-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.csi-service-page .csi-service-process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.csi-service-page .csi-service-sticky {
        position: static;
    }
}

@media (max-width: 640px) {
    body.csi-service-page .csi-service-shell {
        width: min(100% - 1.25rem, 1180px);
    }

    body.csi-service-page .csi-service-hero {
        min-height: 700px;
        padding: 126px 0 46px;
    }

    body.csi-service-page .csi-service-hero h1 {
        font-size: clamp(3rem, 15vw, 4.25rem);
    }

    body.csi-service-page .csi-service-hero__actions,
    body.csi-service-page .csi-service-hero__actions .csi-service-btn {
        width: 100%;
    }

    body.csi-service-page .csi-service-card-grid,
    body.csi-service-page .csi-service-rate-grid,
    body.csi-service-page .csi-service-process {
        grid-template-columns: minmax(0, 1fr);
    }

    body.csi-service-page .csi-service-rate-empty {
        grid-template-columns: 50px minmax(0, 1fr);
    }

    body.csi-service-page .csi-service-rate-empty__icon {
        width: 50px;
        height: 50px;
        border-radius: 14px;
    }

    body.csi-service-page .csi-service-rate-empty .csi-service-link {
        grid-column: 1 / -1;
    }

    body.csi-service-page .csi-service-enquiry-layout {
        gap: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.csi-service-page *,
    body.csi-service-page *::before,
    body.csi-service-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
