/* Malmesbury Golf Club - Visit & Contact page */

/* ============ VISIT ============ */
.visit-section {
    background: var(--forest);
    color: #fff;
    padding: clamp(80px, 9vw, 140px) 0 clamp(90px, 10vw, 150px);
}

.visit-layout {
    display: grid;
    grid-template-columns: 1fr 0.82fr;
    align-items: center;
    gap: clamp(60px, 9vw, 150px);
}

.visit-section h1 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(46px, 5.2vw, 82px);
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.visit-copy {
    max-width: 650px;
    margin: 28px 0 38px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 16px;
    line-height: 1.75;
}

.contact-list {
    border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.contact-list a {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.17);
    transition: padding-left 0.2s ease;
}

.contact-list a:hover {
    padding-left: 8px;
}

.contact-list span {
    color: var(--gold-light);
    letter-spacing: 0.11em;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 800;
}

.contact-list strong {
    overflow-wrap: anywhere;
    font-size: 14px;
    font-weight: 600;
}

.visit-card {
    --card-pad: 42px;
    position: relative;
    min-height: 600px;
    padding: var(--card-pad);
    background: var(--cream);
    color: var(--ink);
    border-radius: 250px 250px 8px 8px;
    overflow: hidden;
}

.visit-card-image {
    position: relative;
    z-index: 2;
    display: block;
    width: calc(100% + var(--card-pad) * 2);
    max-width: none;
    aspect-ratio: 5 / 4;
    height: auto;
    margin: calc(var(--card-pad) * -1) calc(var(--card-pad) * -1) 30px;
    object-fit: cover;
    object-position: center;
}

.visit-card > p {
    position: relative;
    z-index: 2;
    text-align: center;
    font-family: var(--font-display);
    font-size: 27px;
}

.distance-list {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 38px;
}

.distance-list span {
    padding: 13px;
    background: rgba(251, 250, 245, 0.7);
    border: 1px solid var(--line);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 10px;
}

.distance-list strong {
    display: block;
    margin-bottom: 4px;
    color: var(--forest);
    text-transform: none;
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 400;
}

.visit-card > a {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    padding: 15px 18px;
    background: var(--forest);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

/* ============ HOURS BAND ============ */
.hours-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--forest-deep);
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hours-band div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 112px;
    padding: 20px clamp(20px, 4vw, 64px);
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hours-band div:last-child {
    border-right: 0;
}

.hours-band strong {
    color: var(--gold-light);
    font-family: var(--font-display);
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 400;
}

.hours-band span {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-size: 10px;
}

/* ============ BOOKING ============ */
.booking-section {
    background: var(--gold);
    padding: clamp(85px, 9vw, 130px) 0;
}

.booking-section h2,
.enquiry-section h2,
.visit-cta h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(42px, 4.8vw, 76px);
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 1.03;
}

.booking-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
    gap: clamp(55px, 8vw, 120px);
}

.booking-section .eyebrow {
    color: rgba(20, 34, 29, 0.63);
}

.booking-options {
    border-top: 1px solid rgba(20, 34, 29, 0.27);
}

.booking-options a {
    display: grid;
    grid-template-rows: auto auto;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    gap: 3px 18px;
    width: 100%;
    padding: 23px 0;
    border-bottom: 1px solid rgba(20, 34, 29, 0.27);
    color: var(--ink);
}

.booking-options a > span {
    grid-row: 1 / 3;
    color: rgba(20, 34, 29, 0.55);
    font-size: 10px;
    font-weight: 800;
}

.booking-options strong {
    font-family: var(--font-display);
    font-size: 25px;
    font-weight: 400;
}

.booking-options small {
    color: rgba(20, 34, 29, 0.65);
    font-size: 11px;
}

.booking-options i {
    grid-area: 1 / 3 / 3;
    font-size: 25px;
    font-style: normal;
    transition: transform 0.2s ease;
}

.booking-options a:hover i {
    transform: translateX(6px);
}

/* ============ ENQUIRY ROUTES ============ */
.enquiry-section {
    padding-block: clamp(80px, 9vw, 140px);
}

.enquiry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 48px;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.enquiry-grid article {
    display: flex;
    flex-direction: column;
    min-height: 320px;
    padding: 27px;
    background: #fff;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: background 0.2s ease, transform 0.2s ease;
}

.enquiry-grid article:hover {
    background: var(--cream);
    transform: translateY(-4px);
}

.enquiry-grid span {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 10px;
    font-weight: 800;
}

.enquiry-grid h3 {
    margin: 40px 0 10px;
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 400;
    line-height: 1.15;
}

.enquiry-grid p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.enquiry-grid a {
    align-self: flex-start;
    margin-top: auto;
    padding: 8px 0;
    border-bottom: 1px solid;
    font-size: 11px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

/* ============ CTA ============ */
.visit-cta {
    background: var(--cream);
    padding: clamp(70px, 8vw, 110px) 0;
}

.visit-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
}

.visit-cta-actions {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
    .visit-layout,
    .booking-layout {
        grid-template-columns: 1fr;
    }

    .hours-band {
        grid-template-columns: repeat(2, 1fr);
    }

    .enquiry-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .visit-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 680px) {
    .visit-section h1,
    .booking-section h2,
    .enquiry-section h2,
    .visit-cta h2 {
        font-size: 40px;
    }

    .contact-list a {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .visit-card {
        --card-pad: 28px;
        min-height: 520px;
        border-radius: 170px 170px 8px 8px;
    }

    .hours-band div {
        min-height: 90px;
        padding: 16px 24px;
    }

    .enquiry-grid {
        grid-template-columns: 1fr;
    }

    .enquiry-grid article {
        min-height: 280px;
    }
}
