/* Homepage audit corrections. Existing copy, photographs and palette retained. */
.home-page #contactForm {
    scroll-margin-top: 110px;
}

/* Keep the whole consent sentence, including its link, beside the checkbox. */
.home-page .checkbox-label {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 12px;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
}

.home-page .checkbox-label > input[type="checkbox"] {
    width: 24px;
    height: 24px;
    margin: 0;
}

.home-page .consent-text {
    min-width: 0;
}

.home-page .consent-text a {
    display: inline;
}

/* Reuse the existing darker browns for small, informative descriptions. */
.home-page .feature-item p,
.home-page .guideline-item p,
.home-page .guidelines-header p,
.home-page .contact-card p {
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--warm-600);
}

.home-page .feature-number {
    color: var(--bronze-dark);
}

@media (max-width: 950px) {
    .home-page #contactForm {
        scroll-margin-top: 88px;
    }
}

/* Three equal experiences on wide screens; preserve the mobile stack. */
@media (min-width: 1200px) {
    .home-page #experiences .paths-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-page #experiences .path-card {
        min-width: 0;
    }

    .home-page #experiences .path-content .btn {
        max-width: 100%;
        white-space: normal;
        text-align: center;
        margin-top: auto;
    }
}

/* Reservation action in the homepage menu: balanced padding and warm bronze. */
.home-page #mobileMenu .mobile-menu-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100% !important;
    max-width: 280px !important;
    min-height: 52px !important;
    padding: 14px 20px !important;
    border: 1px solid #a88b62 !important;
    border-radius: 6px;
    background: linear-gradient(160deg, #604936 0%, #493628 100%) !important;
    color: #fffaf2 !important;
    font-family: var(--font-sans);
    font-size: 0.75rem !important;
    font-weight: 500;
    line-height: 1.5 !important;
    letter-spacing: 0.1em !important;
    text-align: center;
    text-transform: uppercase;
    white-space: normal;
    text-wrap: balance;
    box-shadow: inset 0 1px 0 rgb(255 250 242 / 12%), 0 4px 12px rgb(0 0 0 / 18%);
    transition: background-color 180ms ease, border-color 180ms ease !important;
}

/* Menu-link decorations must not shift or underline this button. */
.home-page #mobileMenu .mobile-menu-cta::before,
.home-page #mobileMenu .mobile-menu-cta::after {
    content: none;
}

@media (hover: hover) {
    .home-page #mobileMenu .mobile-menu-cta:hover {
        background: linear-gradient(160deg, #6a523c 0%, #513d2d 100%) !important;
        border-color: #c8aa7c !important;
        color: #fffaf2 !important;
    }
}

.home-page #mobileMenu .mobile-menu-cta:focus-visible {
    outline: 2px solid #dfc8a3;
    outline-offset: 4px;
}

.home-page #mobileMenu .mobile-menu-cta:active {
    background: #392b22 !important;
}

@media (prefers-reduced-motion: reduce) {
    .home-page #mobileMenu .mobile-menu-cta {
        transition: none !important;
    }
}

/* Fit the homepage menu into the visible phone viewport, including Safari UI. */
@media (max-width: 950px) {
    .home-page #mobileMenu {
        inset: 0 0 auto !important;
        height: 100vh !important;
        height: 100svh !important;
        height: 100dvh !important;
        padding: max(16px, env(safe-area-inset-top, 0px)) clamp(20px, 6vw, 28px) max(16px, env(safe-area-inset-bottom, 0px)) !important;
        gap: 0;
        justify-content: flex-start;
        overflow-y: auto !important;
        overscroll-behavior-y: contain;
    }

    .home-page #mobileMenu .mobile-menu-header {
        flex: 0 0 auto;
        min-height: 48px;
        padding: 0 !important;
    }

    .home-page #mobileMenu .mobile-menu-logo {
        max-width: calc(100% - 60px);
        padding: 0 !important;
        line-height: 1;
    }

    .home-page #mobileMenu .site-signature--mobile {
        width: 160px !important;
        height: auto !important;
        max-height: 54px;
        object-fit: contain;
    }

    .home-page #mobileMenu .mobile-menu-divider {
        margin: 14px 0 !important;
    }

    .home-page #mobileMenu .mobile-menu-links {
        flex: 1 0 auto;
        gap: clamp(4px, 1.2vh, 10px) !important;
        justify-content: center;
    }

    .home-page #mobileMenu .mobile-menu-links a {
        min-height: 44px !important;
        padding: 4px 0 !important;
        font-size: clamp(20px, 5.8vw, 24px) !important;
        line-height: 1.2 !important;
        letter-spacing: 0.1em !important;
    }

    .home-page #mobileMenu .mobile-menu-footer {
        flex: 0 0 auto;
        margin-top: 16px !important;
        padding-bottom: 0 !important;
        gap: 12px !important;
    }

    .home-page #mobileMenu .mobile-menu-social {
        flex: 0 0 auto;
        margin: 0 !important;
        gap: 24px !important;
    }

    .home-page #mobileMenu .mobile-menu-social a {
        width: 44px;
        height: 44px;
        min-height: 44px !important;
        padding: 0 !important;
        font-size: 23px !important;
        line-height: 1 !important;
    }

    .home-page #mobileMenu .mobile-menu-tagline {
        margin: 0 !important;
        line-height: 1.4;
    }
}

@media (max-width: 950px) and (max-height: 650px) {
    .home-page #mobileMenu .site-signature--mobile {
        width: 144px !important;
        max-height: 48px;
    }

    .home-page #mobileMenu .mobile-menu-divider {
        margin: 10px 0 !important;
    }

    .home-page #mobileMenu .mobile-menu-links {
        gap: 4px !important;
    }
}

/* Animate the glyphs only: keep all three touch targets stationary. */
@keyframes tournou-social-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.16); }
}

@media (prefers-reduced-motion: no-preference) {
    .home-page #mobileMenu.active .mobile-menu-social a > i {
        display: inline-block;
        transform-origin: center;
        animation: tournou-social-pulse 2.8s ease-in-out infinite;
    }

    .home-page #mobileMenu.active .mobile-menu-social a:nth-child(2) > i {
        animation-delay: 0.2s;
    }

    .home-page #mobileMenu.active .mobile-menu-social a:nth-child(3) > i {
        animation-delay: 0.4s;
    }
}

/* Align the three homepage footer columns, including on narrow phones. */
.home-page footer .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1.25fr) !important;
    align-items: start;
    justify-items: stretch;
    gap: clamp(12px, 3vw, 40px) !important;
}

.home-page footer .footer-grid > .footer-nav,
.home-page footer .footer-grid > .footer-contact {
    grid-column: auto !important;
    justify-self: stretch !important;
    align-self: start;
    align-items: flex-start !important;
    width: 100%;
    min-width: 0;
    height: auto !important;
}

.home-page footer .footer-grid .footer-nav-title {
    width: 100%;
    max-width: none !important;
    min-height: 18px;
    line-height: 18px;
    margin: 0 0 24px !important;
    padding: 0;
    text-align: left !important;
}

.home-page footer .footer-grid .footer-nav-list {
    width: 100%;
    height: auto !important;
    gap: 8px;
}

.home-page footer .footer-contact-items-wrapper {
    width: 100%;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    justify-content: flex-start;
    gap: 20px;
}

.home-page footer .footer-contact-item {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 8px;
    margin: 0 !important;
    align-items: start;
}

.home-page footer .footer-contact-value {
    min-width: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 760px) {
    .home-page footer .footer-main {
        padding-inline: 16px !important;
    }

    .home-page footer .footer-grid {
        gap: 12px !important;
    }

    .home-page footer .footer-grid .footer-nav-title {
        font-size: 9px !important;
        letter-spacing: 0.04em !important;
    }

    .home-page footer .footer-nav-list a,
    .home-page footer .footer-nav-list .cookie-settings-link,
    .home-page footer .footer-contact-value {
        font-size: clamp(11px, 3vw, 13px) !important;
        line-height: 1.55 !important;
        letter-spacing: 0 !important;
        font-weight: 400;
        text-align: left;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .home-page footer .footer-nav-list a,
    .home-page footer .footer-nav-list .cookie-settings-link {
        display: block !important;
        width: 100%;
        min-height: 44px !important;
        padding: 0 !important;
    }

    .home-page footer .footer-contact-item {
        grid-template-columns: 11px minmax(0, 1fr);
        gap: 5px;
    }

    .home-page footer .footer-contact-item i {
        width: 11px;
        font-size: 11px;
        line-height: 1.55;
        margin-top: 0;
    }
}

/* Homepage footer: visitor navigation above, legal controls in one quiet band. */
.home-page footer .footer-grid { gap: clamp(14px, 3vw, 40px) !important; margin-bottom: 32px !important; padding-top: 32px !important; }
.home-page footer .footer-prestige { padding: 32px 0 !important; }
.home-page footer .footer-grid .footer-nav-title {
    color: #bca477;
    font-size: 10px !important;
    letter-spacing: .09em !important;
    padding-bottom: 14px;
    margin-bottom: 16px !important;
    border-bottom: 1px solid rgba(188,164,119,.22);
}
.home-page footer .footer-nav-title::after { display: none; }
.home-page footer .footer-grid .footer-nav-list { gap: 0; }
.home-page footer .footer-nav-list a {
    min-height: 44px !important;
    padding: 0 0 12px !important;
    font-weight: 400;
    letter-spacing: 0 !important;
}
.home-page footer .footer-contact-items-wrapper { gap: 22px; }
.home-page footer .footer-contact-value { color: #d3cdc4; font-weight: 400; }
.home-page footer .footer-bottom { padding: 20px 0 24px; border-color: rgba(188,164,119,.22); }
.home-page footer .footer-bottom > .container { width: 100%; max-width: none; padding: 0; }
.home-page footer .footer-bottom-content { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.home-page footer .footer-bottom-center { display: none; }
.home-page footer .footer-bottom-copy { color: #a59d91; letter-spacing: .03em; }
.home-page footer .footer-bottom-links {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0 24px;
    align-items: center;
}
.home-page footer .footer-bottom-links a,
.home-page footer .footer-bottom-links .cookie-settings-link {
    display: flex !important;
    align-items: center;
    min-height: 44px !important;
    width: auto !important;
    margin: 0 !important;
    padding: 8px 0 !important;
    font: 400 12px/1.5 var(--font-sans) !important;
    letter-spacing: 0 !important;
    text-align: left;
    color: #bfb7ab !important;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
}
.home-page footer .footer-bottom-links :is(a,button):hover { color: #f4eee4 !important; }
.home-page footer :is(a,button):focus-visible { outline: 2px solid #bca477; outline-offset: 3px; }
@media (max-width:760px) {
    .home-page footer .footer-main { padding-inline: 20px !important; }
    .home-page footer .footer-grid { grid-template-columns: minmax(0,1fr) minmax(0,.95fr) minmax(0,1.35fr) !important; gap: 14px !important; }
    .home-page footer .footer-grid .footer-nav-title { font-size: 9px !important; letter-spacing: .05em !important; }
    .home-page footer .footer-nav-list a { font-size: 12px !important; line-height: 1.5 !important; }
    .home-page footer .footer-contact-value { font-size: 12px !important; line-height: 1.5 !important; }
    .home-page footer .footer-bottom-content { flex-direction: column; align-items: stretch; gap: 12px; }
    .home-page footer .footer-bottom-links { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 20px; width: 100%; order: -1; }
    .home-page footer .footer-bottom-copy { display: block; padding-top: 12px; border-top: 1px solid rgba(188,164,119,.12); text-align: left; font-size: 10px; }
}
