
/* ACOSTA RENT CAR — TOUR DETAIL */

.tour-detail-page {
    --td-gold: #b79a61;
    --td-dark: #17191c;
    --td-muted: #78818a;
    background: #fff;
    color: var(--td-dark);
}

.tour-detail-page *,
.tour-detail-page *::before,
.tour-detail-page *::after {
    box-sizing: border-box;
}

.tour-detail-page h1,
.tour-detail-page h2,
.tour-detail-page h3 {
    font-family: "Montserrat", sans-serif;
}

.tour-detail-page em {
    font-family: Georgia, serif;
    font-weight: 400;
    color: var(--td-gold);
}

.td-eyebrow {
    display: block;
    color: var(--td-gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* HEADER */

.td-heading {
    padding: 70px 0 35px;
}

.td-back {
    display: inline-block;
    margin-bottom: 32px;
    color: #737d85;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.td-back:hover {
    color: var(--td-gold);
}

.td-heading h1 {
    margin: 16px 0;
    font-size: clamp(32px, 4vw, 55px);
    font-weight: 800;
    letter-spacing: -1.8px;
    line-height: 1.2;
}

.td-heading-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    color: var(--td-muted);
    font-size: 12px;
}

/* GALLERY */

.td-gallery {
    padding-bottom: 50px;
}

.td-gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 210px);
    gap: 12px;
    overflow: hidden;
    border-radius: 12px;
}

.td-gallery-item {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    overflow: hidden;
    background: #dfe4e8;
    cursor: pointer;
}

.td-gallery-main {
    grid-row: span 2;
}

.td-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.td-gallery-item:hover img {
    transform: scale(1.04);
}

.td-gallery-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 12px 16px;
    border-radius: 4px;
    background: rgba(255,255,255,.94);
    color: #24272b;
    font-size: 11px;
    font-weight: 800;
}

/* MAIN LAYOUT */

.td-main {
    padding: 25px 0 110px;
}

.td-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    align-items: start;
    gap: 55px;
}

.td-overview h2,
.td-section h2 {
    margin: 17px 0 22px;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    letter-spacing: -1px;
}

.td-overview > p,
.td-section-intro {
    color: var(--td-muted);
    font-size: 14px;
    line-height: 2;
}

.td-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    margin: 35px 0;
    padding: 28px 0;
    border-top: 1px solid #e7ebee;
    border-bottom: 1px solid #e7ebee;
}

.td-highlights small {
    display: block;
    margin-bottom: 9px;
    color: #9aa2a9;
    font-size: 10px;
    font-weight: 800;
}

.td-highlights strong {
    font-size: 12px;
}

.td-section {
    padding: 45px 0;
    border-bottom: 1px solid #e8ebef;
}

/* TIMELINE */

.td-timeline {
    margin-top: 35px;
}

.td-stop {
    position: relative;
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 18px;
    padding-bottom: 35px;
}

.td-stop:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 42px;
    bottom: 0;
    left: 20px;
    width: 1px;
    background: #e4d9c5;
}

.td-stop-marker {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f4eee3;
    color: #a48651;
    font-size: 12px;
    font-weight: 800;
}

.td-stop-body h3 {
    margin: 5px 0 10px;
    font-size: 15px;
    font-weight: 800;
}

.td-stop-body p {
    color: var(--td-muted);
    font-size: 12px;
    line-height: 1.9;
}

/* INCLUDES */

.td-includes-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.td-includes-card {
    padding: 25px;
    border: 1px solid #e8ebee;
    border-radius: 8px;
}

.td-includes-card h3 {
    margin: 0 0 22px;
    font-size: 14px;
}

.td-includes-card p {
    display: flex;
    gap: 10px;
    color: #68727b;
    font-size: 12px;
    line-height: 1.8;
}

.td-check {
    color: #3c9b73;
    font-weight: 800;
}

.td-cross {
    color: #bd8065;
    font-weight: 800;
}

/* CUSTOM BANNER */

.td-custom-banner {
    margin-top: 40px;
    padding: 35px;
    border-radius: 8px;
    background: #181a1d;
    color: #fff;
}

.td-custom-banner h2 {
    margin: 14px 0;
    font-size: 24px;
}

.td-custom-banner p {
    color: #adb4ba;
    font-size: 13px;
    line-height: 1.9;
}

.td-custom-banner a {
    color: #d7b77a;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

/* BOOKING CARD */

.td-sidebar {
    position: sticky;
    top: 105px;
}

.td-booking-card {
    padding: 28px;
    border: 1px solid #e6e9ec;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 15px 50px rgba(0,0,0,.06);
}

.td-booking-card h3 {
    margin: 14px 0 25px;
    font-size: 20px;
    line-height: 1.4;
}

.td-price {
    padding: 22px 0;
    margin-bottom: 25px;
    border-top: 1px solid #e8ebef;
    border-bottom: 1px solid #e8ebef;
}

.td-price small,
.td-price span {
    display: block;
    color: #8d969e;
    font-size: 10px;
}

.td-price strong {
    display: block;
    margin: 10px 0;
    color: #16191c;
    font-size: 25px;
    font-weight: 800;
}

.td-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 17px;
}

.td-field label {
    font-size: 11px;
    font-weight: 800;
}

.td-field input,
.td-field textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #e0e5e9;
    border-radius: 5px;
    background: #fff;
    color: #222;
    font-family: inherit;
    font-size: 12px;
}

.td-field input:focus,
.td-field textarea:focus {
    outline: 1px solid var(--td-gold);
}

.td-submit {
    display: block;
    width: 100%;
    padding: 16px;
    border: 0;
    border-radius: 4px;
    background: var(--td-gold);
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.td-submit:hover {
    background: #a48651;
}

.td-booking-note {
    margin-top: 16px;
    color: #8d959d;
    font-size: 10px;
    line-height: 1.8;
}

/* LIGHTBOX */

.td-lightbox[hidden],
.td-modal[hidden] {
    display: none !important;
}

.td-lightbox {
    position: fixed;
    z-index: 9999;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 55px;
    background: rgba(0,0,0,.94);
}

.td-lightbox img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
}

.td-lightbox-close {
    position: absolute;
    top: 15px;
    right: 25px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
}

/* REVIEW MODAL */

.td-modal {
    position: fixed;
    z-index: 9999;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0,0,0,.75);
}

.td-modal-panel {
    position: relative;
    width: min(100%, 550px);
    max-height: 90vh;
    overflow-y: auto;
    padding: 35px;
    border-radius: 10px;
    background: #fff;
}

.td-modal-panel h2 {
    margin: 15px 0 25px;
    font-size: 24px;
}

.td-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    border: 0;
    background: transparent;
    font-size: 30px;
    cursor: pointer;
}

.td-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #edf0f2;
    font-size: 12px;
}

.td-summary-row span {
    color: #7c858d;
}

.td-summary-row strong {
    max-width: 60%;
    text-align: right;
    overflow-wrap: anywhere;
}

/* RESPONSIVE */

@media (max-width: 991px) {
    .td-layout {
        grid-template-columns: 1fr;
    }

    .td-sidebar {
        position: static;
    }
}

@media (max-width: 650px) {
    .td-heading {
        padding: 45px 0 25px;
    }

    .td-gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 250px 150px;
    }

    .td-gallery-main {
        grid-column: span 2;
        grid-row: span 1;
    }

    .td-highlights {
        grid-template-columns: 1fr;
    }

    .td-includes-grid {
        grid-template-columns: 1fr;
    }

    .td-main {
        padding-bottom: 70px;
    }

    .td-lightbox {
        padding: 20px;
    }
}
