/* ===== Contact page ===== */
/* Sections are added one at a time; responsive and reduced-motion rules go at the bottom. */

/* ===== Page banner ===== */
.page-banner {
    position: relative;
    isolation: isolate;
    display: flex; align-items: center;
    min-height: clamp(320px, 31vw, 480px);
    padding: 48px 0 56px;
}

.page-banner-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.page-banner-media img {
    position: absolute; left: 0; top: -12%;
    width: 100%; height: 124%; /* spare height for the parallax */
    object-fit: cover; object-position: 65% center;
    scale: 1.12;
    transition: scale 2.4s var(--ease-out);
    will-change: translate;
}
.page-banner.is-loaded .page-banner-media img { scale: 1; }

.page-banner-overlay {
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(90deg, rgba(18, 21, 16, 0.85) 0%, rgba(18, 21, 16, 0.55) 40%, rgba(18, 21, 16, 0.1) 75%),
        linear-gradient(0deg, rgba(18, 21, 16, 0.6) 0%, rgba(18, 21, 16, 0) 35%);
}

/* Gold bar along the bottom edge, drawn from the left */
.page-banner::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
    background: linear-gradient(90deg, #b89a5e 0%, var(--color-gold) 45%, var(--color-gold-light) 75%, var(--color-gold) 100%);
    box-shadow: 0 0 18px rgba(217, 192, 138, 0.25);
    transform: scaleX(0); transform-origin: left;
    transition: transform 1.4s var(--ease-out) 0.5s;
}
.page-banner.is-loaded::after { transform: scaleX(1); }

.page-banner-content { will-change: opacity, transform; }

/* Breadcrumb */
.breadcrumb { margin-bottom: 18px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; list-style: none; }
.breadcrumb li {
    font-size: 0.8rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
    color: rgba(237, 228, 211, 0.75);
}
.breadcrumb li + li::before { content: "/"; margin: 0 12px; color: var(--color-gold); opacity: 0.7; }
.breadcrumb a { transition: color 0.3s ease; }
.breadcrumb a:hover { color: var(--color-gold); }
.breadcrumb [aria-current="page"] { color: var(--color-gold); }

/* Eyebrow */
.page-banner-eyebrow {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 14px;
    font-size: 0.85rem; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase;
    color: var(--color-gold);
}
.page-banner-eyebrow::before { content: ""; flex: none; width: 40px; height: 1px; background: var(--color-gold); }

/* Title (same type as the About banner): slides up out of a mask once the photo is ready */
.page-banner-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 7vw, 6.2rem);
    font-weight: 600; line-height: 1.02; letter-spacing: -0.01em;
    color: var(--color-cream);
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.page-banner-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.page-banner-title .line > span { display: inline-block; transform: translateY(110%); }
.page-banner.is-loaded .page-banner-title .line > span { animation: bannerLineUp 1.1s var(--ease-out) 0.35s forwards; }
.page-banner-title em {
    font-style: italic; font-weight: 500;
    padding-right: 0.06em; /* keeps the italic's last letter inside the gradient */
    background: linear-gradient(100deg, #b89a5e 0%, var(--color-gold) 30%, #f6e7c1 50%, var(--color-gold) 70%, #b89a5e 100%);
    background-size: 250% 100%; background-position: 100% 0;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: var(--color-gold);
}
.page-banner.is-loaded .page-banner-title em { animation: bannerShimmer 6s ease-in-out 1.6s infinite; }

@keyframes bannerLineUp  { from { transform: translateY(110%); } to { transform: translateY(0); } }
@keyframes bannerShimmer {
    0%   { background-position: 100% 0; }
    50%  { background-position: 0% 0; }
    100% { background-position: 100% 0; }
}

/* ===== Reach Us ===== */
.reach { padding: clamp(72px, 9vw, 120px) 0; }
.reach-head { max-width: 860px; margin-bottom: clamp(36px, 5vw, 60px); }
.reach-title { margin-bottom: 22px; text-transform: uppercase; }
.reach-text {
    font-size: 1rem; font-weight: 300; line-height: 1.85;
    color: rgba(237, 228, 211, 0.72);
}

.reach-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
}
.reach-grid > li { display: flex; } /* equal-height cards */

.reach-card {
    display: flex; flex-direction: column; flex: 1;
    padding: clamp(24px, 2.6vw, 34px);
    background: var(--color-bg-soft);
    border: 1px solid rgba(140, 170, 135, 0.28);
    border-radius: 12px;
    transition: translate 0.45s var(--ease-out), border-color 0.4s ease, box-shadow 0.4s ease;
}
.reach-card-body { display: flex; flex-direction: column; flex: 1; }

.reach-icon {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 56px; height: 56px; margin-bottom: 22px;
    border: 1px solid rgba(217, 192, 138, 0.45); border-radius: 50%;
    background: rgba(217, 192, 138, 0.06);
    font-size: 1.25rem; color: var(--color-gold);
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}
/* One gold ring pulse as the card arrives */
.reach-icon::after {
    content: ""; position: absolute; inset: -1px; border-radius: 50%;
    border: 1px solid var(--color-gold);
    opacity: 0;
}
.reveal.is-visible .reach-icon::after { animation: reachRing 1.4s var(--ease-out) 0.5s; }

.reach-card-title {
    font-size: 1.15rem; font-weight: 700; line-height: 1.25;
    color: var(--color-cream);
}
.reach-card-value {
    margin-top: 10px;
    font-size: 0.95rem; line-height: 1.6;
    color: rgba(237, 228, 211, 0.85);
    overflow-wrap: anywhere;
}
.reach-card-action {
    display: inline-flex; align-items: center; gap: 10px;
    margin-top: auto; padding-top: 22px;
    font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em;
    color: rgba(237, 228, 211, 0.55);
    transition: color 0.35s ease;
}
.reach-card-action i { font-size: 0.8rem; transition: transform 0.35s var(--ease-out); }

/* Hover / keyboard focus: lift, gold border, icon fills gold, arrow nudges */
.reach-card:focus-visible { border-color: var(--color-gold); }
@media (hover: hover) {
    .reach-card:hover {
        translate: 0 -6px;
        border-color: rgba(217, 192, 138, 0.6);
        box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(217, 192, 138, 0.08);
    }
    .reach-card:hover .reach-icon { background-color: var(--color-gold); border-color: var(--color-gold); color: var(--color-dark); }
    .reach-card:hover .reach-card-action { color: var(--color-gold); }
    .reach-card:hover .reach-card-action i { transform: translateX(5px); }
}
.reach-card:focus-visible .reach-icon { background-color: var(--color-gold); color: var(--color-dark); }
.reach-card:focus-visible .reach-card-action { color: var(--color-gold); }

@keyframes reachRing {
    0%   { opacity: 0.9; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.6); }
}

/* ===== Book a Table (the form panel itself is styled by booking.css) ===== */
.get-started {
    padding: clamp(72px, 9vw, 120px) 0;
    border-top: 1px solid rgba(217, 192, 138, 0.08);
}
.get-started-grid {
    display: grid; align-items: center;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(40px, 6vw, 96px);
}

.get-started-title { margin-bottom: 24px; text-transform: uppercase; }
.get-started-text {
    max-width: 30em;
    font-size: 1rem; font-weight: 300; line-height: 1.85;
    color: rgba(237, 228, 211, 0.72);
}

.get-started-list { margin-top: 28px; }
.get-started-list li {
    display: flex; align-items: center; gap: 14px;
    font-size: 0.95rem; font-weight: 400;
    color: var(--color-cream);
}
.get-started-list li + li { margin-top: 14px; }
.get-started-check {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 28px; height: 28px; border-radius: 50%;
    border: 1px solid rgba(217, 192, 138, 0.5);
    background: rgba(217, 192, 138, 0.08);
    font-size: 0.7rem; color: var(--color-gold);
}

/* Raised card on this page's plain background */
.get-started .booking-panel {
    background: var(--color-bg-soft);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

/* ===== Responsive ===== */
@media (max-width: 1199px) {
    .reach-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
    .page-banner { min-height: clamp(280px, 45vw, 400px); }
    .get-started-grid { grid-template-columns: minmax(0, 1fr); row-gap: 48px; }
    .get-started-content, .get-started .booking-panel { width: 100%; max-width: 640px; margin: 0 auto; }
}

@media (max-width: 767px) {
    .reach-head { text-align: center; margin-left: auto; margin-right: auto; }
    .get-started-content { text-align: center; }
    .get-started-text { margin: 0 auto; }
    .get-started-list { display: inline-flex; flex-direction: column; text-align: left; } /* centred block, checks stay aligned */
    .page-banner { min-height: 300px; padding: 40px 0 48px; }
    .page-banner-media img { object-position: 70% center; }
    .page-banner-overlay {
        background:
            linear-gradient(90deg, rgba(18, 21, 16, 0.88) 0%, rgba(18, 21, 16, 0.6) 60%, rgba(18, 21, 16, 0.35) 100%),
            linear-gradient(0deg, rgba(18, 21, 16, 0.6) 0%, rgba(18, 21, 16, 0) 40%);
    }
}

@media (max-width: 575px) {
    .page-banner { min-height: 260px; }
    .page-banner-title { font-size: clamp(2.6rem, 12vw, 3.4rem); line-height: 1.04; }
    .page-banner-eyebrow { font-size: 0.7rem; letter-spacing: 0.24em; gap: 10px; }
    .page-banner-eyebrow::before { width: 28px; }
    .breadcrumb { margin-bottom: 14px; }
    .breadcrumb li { font-size: 0.72rem; }
    .breadcrumb li + li::before { margin: 0 8px; }
    .reach-title { font-size: 1.6rem; margin-bottom: 18px; }
    .reach-text { font-size: 0.92rem; line-height: 1.75; }
    /* One column; icon beside the text so four cards stay compact */
    .reach-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .reach-card { flex-direction: row; align-items: flex-start; gap: 18px; padding: 22px 20px; }
    .reach-icon { width: 50px; height: 50px; margin-bottom: 0; font-size: 1.1rem; }
    .reach-card-value { margin-top: 6px; }
    .reach-card-action { padding-top: 12px; }
    .get-started-title { font-size: 1.6rem; margin-bottom: 18px; }
    .get-started-text { font-size: 0.92rem; line-height: 1.75; }
    .get-started-list li { font-size: 0.9rem; }
}

@media (max-width: 359px) {
    .page-banner { padding: 32px 0 44px; }
    .page-banner-eyebrow { letter-spacing: 0.18em; }
    .reach-card { gap: 14px; padding: 18px 16px; }
    .reach-icon { width: 46px; height: 46px; font-size: 1rem; }
}

/* Short landscape phones */
@media (max-width: 991px) and (max-height: 500px) and (orientation: landscape) {
    .page-banner { min-height: 240px; }
}

/* ===== Reduced motion: everything in its final state ===== */
@media (prefers-reduced-motion: reduce) {
    .page-banner-media img { scale: 1; }
    .page-banner::after { transform: scaleX(1); }
    .page-banner-title .line > span { transform: none; }
    .reach-card:hover { translate: none; }
    .reach-card:hover .reach-card-action i { transform: none; }
}
