:root {
    /* Color: four-tier green system */
    --sb-green: #006241;
    --green-accent: #00754A;
    --house-green: #1E3932;
    --green-uplift: #2b5148;
    --green-light: #d4e9e2;

    /* Gold — reserved for the "conveniently located" trust band only */
    --gold: #cba258;
    --gold-light: #dfc49d;
    --gold-lightest: #faf6ee;

    /* Surfaces */
    --cream: #f2f0eb;
    --ceramic: #edebe9;
    --white: #ffffff;
    --neutral-cool: #f9f9f9;

    /* Text */
    --text-black: rgba(0, 0, 0, 0.87);
    --text-black-soft: rgba(0, 0, 0, 0.58);
    --text-white: rgba(255, 255, 255, 1);
    --text-white-soft: rgba(255, 255, 255, 0.70);

    --input-border: #d6dbde;
    --hairline: #e7e7e7;
    --red: #c82014;

    --radius-card: 12px;
    --radius-card-lg: 28px;
    --radius-pill: 50px;

    --shadow-card: 0 0 0.5px rgba(0, 0, 0, 0.14), 0 1px 1px rgba(0, 0, 0, 0.24);
    --shadow-nav: 0 1px 3px rgba(0, 0, 0, 0.1), 0 2px 2px rgba(0, 0, 0, 0.06), 0 0 2px rgba(0, 0, 0, 0.07);
    --shadow-frap-base: 0 0 6px rgba(0, 0, 0, 0.24);
    --shadow-frap-ambient: 0 8px 12px rgba(0, 0, 0, 0.14);
    --shadow-frap-ambient-active: 0 8px 12px rgba(0, 0, 0, 0);

    --space-1: .4rem;
    --space-2: .8rem;
    --space-3: 1.6rem;
    --space-4: 2.4rem;
    --space-5: 3.2rem;
    --space-6: 4rem;
    --space-7: 4.8rem;
    --space-8: 5.6rem;
    --space-9: 6.4rem;

    --font-primary: 'Poppins', -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--text-black);
    font-family: var(--font-primary);
    font-size: 1.6rem;
    line-height: 1.5;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 .6em 0;
    letter-spacing: -0.016em;
    color: var(--text-black);
    font-weight: 600;
}

p {
    margin: 0 0 1.4rem 0;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

section {
    padding: var(--space-9) var(--space-3);
}

.wrap {
    max-width: 1200px;
    margin: 0 auto;
}

.eyebrow {
    display: inline-block;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-accent);
    margin-bottom: var(--space-2);
}

.section-head {
    max-width: 680px;
    margin-bottom: var(--space-7);
}

.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.lede {
    color: var(--text-black-soft);
    font-size: 1.9rem;
    line-height: 1.75;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.6rem;
    letter-spacing: -0.01em;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all .2s ease;
}

.btn:active {
    transform: scale(0.95);
}

.btn-fill {
    background: var(--green-accent);
    color: var(--white);
    border-color: var(--green-accent);
}

.btn-outline {
    background: transparent;
    color: var(--green-accent);
    border-color: var(--green-accent);
}

.btn-black {
    background: #000;
    color: var(--white);
    border-color: #000;
}

.btn-dark-outline {
    background: transparent;
    color: var(--text-black);
    border-color: var(--text-black);
}

.btn-on-green-fill {
    background: var(--white);
    color: var(--green-accent);
    border-color: var(--white);
}

.btn-on-green-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-fill:hover {
    background: var(--sb-green);
    border-color: var(--sb-green);
}

.btn-outline:hover {
    background: var(--green-light);
}

.btn-black:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
}

.btn-dark-outline:hover {
    background: var(--text-black);
    color: var(--white);
}

.btn-on-green-fill:hover {
    background: var(--green-light);
}

.btn-on-green-outline:hover {
    background: rgba(255, 255, 255, 0.12);
}

.btn:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.btn-sm {
    padding: 9px 20px;
    font-size: 1.3rem;
}

/* ===== Nav ===== */
header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--white);
    box-shadow: var(--shadow-nav);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-3);
}

@media (min-width:480px) {
    .nav {
        height: 72px;
    }
}

@media (min-width:768px) {
    .nav {
        height: 83px;
    }
}

@media (max-width:1024px) {
    /* The panel is always laid out — `display: none` cannot transition — and
       is hidden with opacity/visibility instead, so it slides open. */
    .nav .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow-nav);
        padding: var(--space-3);
        gap: var(--space-3);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition:
            opacity .24s ease,
            transform .3s cubic-bezier(.2, .8, .25, 1),
            visibility .3s;
    }

    /* Only the primary action survives the narrow bar; the phone number is a
       tap away in the menu and in the footer.
       Scoped through .nav-cta so these beat the button's own Tailwind
       utilities, which are emitted after this file. */
    .nav-cta .nav-call {
        display: none;
    }

    .nav-cta .nav-book {
        height: 38px;
        padding: 0 14px;
        font-size: 1.25rem;
    }

    .nav .nav-toggle {
        display: flex;
    }

    header.open .nav .nav-links {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    /* Each row follows the one above it in. */
    .nav .nav-links > * {
        opacity: 0;
        transform: translateY(-6px);
        transition: opacity .22s ease, transform .22s ease;
    }

    header.open .nav .nav-links > * {
        opacity: 1;
        transform: none;
    }

    header.open .nav .nav-links > :nth-child(1) { transition-delay: .04s; }
    header.open .nav .nav-links > :nth-child(2) { transition-delay: .07s; }
    header.open .nav .nav-links > :nth-child(3) { transition-delay: .10s; }
    header.open .nav .nav-links > :nth-child(4) { transition-delay: .13s; }
    header.open .nav .nav-links > :nth-child(5) { transition-delay: .16s; }
    header.open .nav .nav-links > :nth-child(6) { transition-delay: .19s; }
    header.open .nav .nav-links > :nth-child(7) { transition-delay: .22s; }

    .nav-toggle .bx {
        transition: transform .25s cubic-bezier(.2, .8, .25, 1);
    }

    header.open .nav-toggle .bx {
        transform: rotate(90deg);
    }

    .brand-logo {
        width: auto;
        height: 46px;
        max-width: 140px;
    }

    .nav-cta {
        gap: 10px;
    }

    .nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height .25s ease;
    }

    .nav-item.open .nav-dropdown {
        max-height: 400px;
        padding: 6px 0 6px 14px;
    }

    .nav-item > a {
        justify-content: space-between;
        width: 100%;
    }

    .nav-item .caret {
        transition: transform .2s ease;
    }

    .nav-item.open .caret {
        transform: rotate(180deg);
    }
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.7rem;
    color: var(--sb-green);
    line-height: 1.1;
}

.brand-logo {
    /* The lockup is wider than it is tall, so it is sized by height and left
       to find its own width. Cropping it to a circle would cut the wordmark. */
    width: auto;
    height: 72px;
    max-width: 210px;
    flex-shrink: 0;
    object-fit: contain;
}

.footer-logo {
    width: auto;
    height: 88px;
    max-width: 260px;
    flex-shrink: 0;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-5);
}

.nav-links a {
    font-weight: 500;
    font-size: 1.45rem;
    color: var(--text-black);
}

.nav-links a:hover {
    color: var(--green-accent);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: var(--text-black);
}

.nav-toggle svg {
    width: 24px;
    height: 24px;
    color: var(--text-black);
}

.nav-toggle .bx {
    font-size: 2.8rem;
    line-height: 1;
}

/* ===== Hero (cream canvas) ===== */
.hero {
    position: relative;
    padding-top: var(--space-9);
    padding-bottom: var(--space-9);
    background-image:
        linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.3) 35%, rgba(0, 0, 0, 0.45) 100%),
        url('/images/front.jpg');
    background-size: cover;
    background-position: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
}

.hero-content {
    max-width: 820px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 22px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--text-white);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: var(--space-4);
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold-light);
    display: inline-block;
    flex-shrink: 0;
}

.hero h1 {
    color: var(--text-white);
    font-size: clamp(3rem, 4.6vw, 4.8rem);
}

.hero .lede {
    color: var(--text-white-soft);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
    margin-top: var(--space-5);
}

.hero-trust-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-3);
    margin-top: var(--space-8);
    margin-bottom: calc(-1 * var(--space-7));
    position: relative;
    z-index: 5;
}

.hero-trust {
    background: var(--white);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: var(--space-4) var(--space-5);
    display: flex;
    justify-content: center;
    gap: var(--space-7);
    flex-wrap: wrap;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-trust-icon svg {
    width: 24px;
    height: 24px;
    color: var(--sb-green);
}

.hero-trust-text {
    display: flex;
    flex-direction: column;
}

.hero-trust-text strong {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--sb-green);
    line-height: 1.15;
}

.hero-trust-text span {
    font-size: 1.3rem;
    color: var(--text-black-soft);
    font-weight: 600;
}

.hero .btn-outline {
    color: var(--text-white);
    border-color: var(--text-white);
}

.hero .btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
}


/* ===== About (white canvas) ===== */
.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: var(--space-7);
    align-items: center;
}

.about-card {
    aspect-ratio: 3/2;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.about-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.badge-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
    margin-top: var(--space-5);
}

.badge {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: var(--space-3);
    background: var(--white);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
}

.badge svg {
    width: 20px;
    height: 20px;
    color: var(--green-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.badge strong {
    display: block;
    font-size: 1.5rem;
    color: var(--text-black);
}

.badge p {
    margin: 2px 0 0;
    font-size: 1.35rem;
    color: var(--text-black-soft);
}

/* ===== Feature band (House Green) ===== */
.feature-band {
    background: var(--house-green);
    color: var(--text-white);
}

.feature-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: var(--space-7);
    align-items: center;
}

.feature-band h2 {
    color: var(--text-white);
    font-size: clamp(2.4rem, 3.4vw, 3.4rem);
}

.feature-band p {
    color: var(--text-white-soft);
    font-size: 1.85rem;
    line-height: 1.75;
}

.feature-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-top: var(--space-5);
}

.feature-icon-card {
    aspect-ratio: 3/4;
    border-radius: var(--radius-card);
    overflow: hidden;
}

.feature-icon-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== Services / Lifestyle (white canvas) ===== */
.services {
    background: var(--white);
}

.service-grid {
    display: grid;
    /* Three up, so five programmes read 3 + 2 instead of 4 + 1. */
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-4);
}

@media (max-width:960px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width:720px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform .2s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-3px);
}

.service-body {
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: var(--space-3);
}

.service-body p {
    flex: 1;
    margin-bottom: 0;
}

.service-body .btn {
    align-self: flex-start;
}

.service-image {
    aspect-ratio: 16/10;
    background: var(--green-light);
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-card h3 {
    font-size: 1.7rem;
    color: var(--text-black);
}

.service-card p {
    font-size: 1.4rem;
    color: var(--text-black-soft);
    margin-bottom: 0;
}

/* .service-card:hover{transform:translateY(-3px);}
.service-icon{width:48px; height:48px; border-radius:50%; background:var(--green-light); display:flex; align-items:center; justify-content:center; margin-bottom:var(--space-3);}
.service-icon svg{width:24px; height:24px; color:var(--sb-green);}
.service-card h3{font-size:1.7rem; color:var(--text-black);}
.service-card p{font-size:1.4rem; color:var(--text-black-soft); margin-bottom:0;} */

/* ===== Life & Suites (ceramic canvas) ===== */
.lifestyle {
    background: var(--ceramic);
}

.lifestyle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-4);
}

.lifestyle-card {
    background: var(--white);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.lifestyle-photo {
    position: relative;
    aspect-ratio: 4/3;
    background: var(--sb-green);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lifestyle-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lifestyle-photo svg {
    width: 30%;
    height: 30%;
    color: var(--white);
    opacity: .85;
}

.lifestyle-card .body {
    padding: var(--space-3);
}

.lifestyle-card h3 {
    font-size: 1.7rem;
    margin-bottom: 8px;
}

.lifestyle-card p {
    font-size: 1.35rem;
    color: var(--text-black-soft);
    margin-bottom: 0;
}

.lifestyle-card {
    transition: transform .2s ease, box-shadow .2s ease;
}

.lifestyle-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.lifestyle-photo img {
    transition: transform .35s ease;
}

/* .lifestyle-card:hover .lifestyle-photo img {
    transform: scale(1.06);
} */

.lifestyle-photo::after {
    content: "Click to learn more";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-3);
    background: rgba(20, 38, 33, 0.72);
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
}

.lifestyle-card:hover .lifestyle-photo::after {
    opacity: 1;
}

a.lifestyle-card {
    display: block;
    color: inherit;
}

.lifestyle-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-top: var(--space-4, 24px);
}

.lifestyle-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4 / 3;
    cursor: pointer;
}

.lifestyle-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.lifestyle-gallery-item:hover img {
    transform: scale(1.06);
}

.lifestyle-gallery-caption {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 14px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.65) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lifestyle-gallery-item:hover .lifestyle-gallery-caption {
    opacity: 1;
}

.lifestyle-gallery-caption span {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

.gallery-note {
    margin-top: var(--space-4);
    font-size: 1.35rem;
    color: var(--text-black-soft);
    text-align: center;
}

/* ===== Rates — status-tier cards (House Green) ===== */
.rates {
    background: var(--house-green);
    color: var(--text-white);
}

.rates .eyebrow {
    color: var(--gold);
}

.rates .section-head h2 {
    color: var(--text-white);
}

.rates .lede {
    color: var(--text-white-soft);
}

.rate-grid {
    display: grid;
    /* Three up, so five plans read 3 + 2 instead of 4 + 1. */
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-4);
}

@media (max-width:960px) {
    .rate-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width:720px) {
    .rate-grid {
        grid-template-columns: 1fr;
    }
}

.rate-card {
    background: var(--green-uplift);
    border-top: 4px solid var(--green-accent);
    border-radius: var(--radius-card);
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
}

.rate-level {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--green-accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: var(--space-3);
}

.rate-card h3 {
    color: var(--text-white);
    font-size: 2rem;
    margin-bottom: 4px;
}

.rate-price {
    font-weight: 700;
    font-size: 2.1rem;
    color: var(--text-white);
    line-height: 1.3;
}

.rate-price span {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-white-soft);
    display: block;
}

.rate-card ul {
    margin: var(--space-4) 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rate-card li {
    font-size: 1.35rem;
    color: var(--text-white-soft);
    padding-left: 22px;
    position: relative;
}

.rate-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green-accent);
    font-weight: 800;
}

.rate-caption {
    font-size: 1.3rem;
    color: var(--text-white-soft);
    margin-top: auto;
    margin-bottom: var(--space-3);
}

.rate-card .btn {
    margin-top: 0;
}

.rate-card.custom {
    align-items: flex-start;
    justify-content: center;
}

.includes-box {
    background: var(--green-uplift);
    border-radius: var(--radius-card);
    padding: var(--space-4);
    margin-top: var(--space-6);
}

.includes-box h3 {
    color: var(--text-white);
    font-size: 1.7rem;
    margin-bottom: var(--space-3);
}

.includes-grid {
    columns: 4 220px;
    column-gap: 24px;
}

.includes-grid li {
    margin-bottom: 14px;
    break-inside: avoid;
    padding-left: 22px;
    position: relative;
}

.includes-grid li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 800;
}

.rates-disclaimer {
    font-size: 1.3rem;
    color: var(--text-white-soft);
    margin-top: var(--space-5);
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding-top: var(--space-4);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* ===== Plan switcher (rates page only) ===== */
.plan-switcher {
    position: relative;
}

.plan-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.plan-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: var(--space-6);
}

.plan-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 24px;
    border-radius: var(--radius-card);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
    min-width: 160px;
}

.plan-tab:hover {
    border-color: rgba(255, 255, 255, 0.35);
}

.plan-tab-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
}

.plan-tab-price {
    font-family: var(--font-primary);
    font-style: italic;
    font-size: 1.6rem;
    color: var(--text-white-soft);
    display: none;
}

.plan-panel {
    display: none;
    animation: fadeInPanel .3s ease;
}

.plan-panel-inner {
    max-width: 560px;
    margin: 0 auto;
    background: linear-gradient(160deg, var(--green-uplift) 0%, var(--house-green) 100%);
    border-radius: var(--radius-card);
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.plan-panel-inner .rate-level {
    margin-bottom: var(--space-3);
}

.plan-panel-inner h3 {
    color: var(--text-white);
    font-size: 2.4rem;
}

.plan-panel-inner .rate-price {
    font-family: var(--font-primary);
    font-style: normal;
    font-weight: 700;
    font-size: 3.2rem;
    color: var(--text-white);
    margin-bottom: var(--space-4);
}

.plan-panel-inner .rate-price span {
    display: block;
    font-family: var(--font-primary);
    font-style: normal;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-white-soft);
}

.plan-panel-inner ul {
    text-align: left;
    display: inline-flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 var(--space-5);
}

.plan-panel-inner li {
    font-size: 1.4rem;
    color: var(--text-white-soft);
    padding-left: 24px;
    position: relative;
}

.plan-panel-inner li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green-light);
    font-weight: 800;
}

.plan-panel-inner .rate-caption {
    margin-top: 0;
    margin-bottom: var(--space-4);
}

.plan-panel-inner .btn {
    min-width: 220px;
}

@keyframes fadeInPanel {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Wires each tab to its panel — supports up to 6 plans */
#plan-tab-1:checked~.plan-panel[data-panel="plan-tab-1"],
#plan-tab-2:checked~.plan-panel[data-panel="plan-tab-2"],
#plan-tab-3:checked~.plan-panel[data-panel="plan-tab-3"],
#plan-tab-4:checked~.plan-panel[data-panel="plan-tab-4"],
#plan-tab-5:checked~.plan-panel[data-panel="plan-tab-5"],
#plan-tab-6:checked~.plan-panel[data-panel="plan-tab-6"] {
    display: block;
}

#plan-tab-1:checked~.plan-tabs label[for="plan-tab-1"],
#plan-tab-2:checked~.plan-tabs label[for="plan-tab-2"],
#plan-tab-3:checked~.plan-tabs label[for="plan-tab-3"],
#plan-tab-4:checked~.plan-tabs label[for="plan-tab-4"],
#plan-tab-5:checked~.plan-tabs label[for="plan-tab-5"],
#plan-tab-6:checked~.plan-tabs label[for="plan-tab-6"] {
    border-color: var(--green-accent);
    background: rgba(255, 255, 255, 0.08);
}

/* ===== Convenience band (Gold Lightest — reserved use) ===== */
.certs {
    background: var(--gold-lightest);
}

.cert-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: var(--space-4);
}

.cert-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: var(--radius-pill);
    padding: 8px 20px;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: .02em;
    background: var(--white);
}

.cert-pill svg {
    width: 14px;
    height: 14px;
}

.certs-note {
    text-align: center;
    margin-top: var(--space-4);
    font-size: 1.3rem;
    color: var(--text-black-soft);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Quote (serif moment) ===== */
.quote {
    background: var(--white);
    text-align: center;
}

.quote blockquote {
    font-family: var(--font-primary);
    font-style: normal;
    font-weight: 600;
    font-size: clamp(2.1rem, 2.8vw, 2.8rem);
    color: var(--sb-green);
    line-height: 1.5;
    max-width: 780px;
    margin: 0 auto;
}

.quote cite {
    display: block;
    margin-top: var(--space-3);
    font-family: var(--font-primary);
    font-style: normal;
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--text-black-soft);
}

.quote .quote-note {
    font-size: 1.25rem;
    color: var(--text-black-soft);
    margin-top: var(--space-3);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Contact (white canvas) ===== */
.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-7);
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-top: var(--space-4);
}

.contact-row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.contact-row svg {
    width: 20px;
    height: 20px;
    color: var(--green-accent);
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-row strong {
    display: block;
    color: var(--text-black);
    font-size: 1.5rem;
}

.contact-row span {
    font-size: 1.4rem;
    color: var(--text-black-soft);
}

.social-row {
    display: flex;
    gap: 10px;
    margin-top: var(--space-4);
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--neutral-cool);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, color .2s ease;
}

.social-btn svg,
.social-btn .bx {
    width: 18px;
    height: 18px;
    font-size: 18px;
    line-height: 18px;
    color: var(--sb-green);
}

.social-btn:hover {
    background: var(--sb-green);
}

.social-btn:hover svg,
.social-btn:hover .bx {
    color: var(--white);
}

.map-card {
    border-radius: var(--radius-card);
    background: var(--ceramic);
    box-shadow: var(--shadow-card);
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-black-soft);
    overflow: hidden;
}

.map-card iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-card svg {
    width: 26%;
    height: 26%;
    color: var(--sb-green);
}

.map-card span {
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    padding: 0 var(--space-3);
}

/* ===== Booking (ceramic utility zone) ===== */
.book {
    background: var(--ceramic);
}

.book-card {
    background: var(--white);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: var(--space-6);
    max-width: 820px;
    margin: 0 auto;
}

/* Room-type selector (Size-Options analog) */
.duration-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: var(--space-4) 0 var(--space-2);
}

.duration-row input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.duration-opt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 8px;
    border-radius: var(--radius-card);
    border: 1px solid var(--input-border);
    cursor: pointer;
    transition: border-color .2s ease;
}

.duration-opt .ring {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
}

.duration-opt .ring svg {
    width: 20px;
    height: 20px;
    color: var(--sb-green);
}

.duration-opt strong {
    font-size: 1.4rem;
    color: var(--text-black);
}

.duration-opt span {
    font-size: 1.15rem;
    color: var(--text-black-soft);
}

.duration-row input:checked+.duration-opt {
    border-color: var(--green-accent);
}

.duration-row input:checked+.duration-opt .ring {
    border-color: var(--green-accent);
}

.duration-row input:focus-visible+.duration-opt {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
    margin-top: var(--space-3);
}

.field {
    position: relative;
    grid-column: span 1;
}

.field.full {
    grid-column: 1 / -1;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--text-black);
    padding: 22px 14px 8px;
    border-radius: 6px;
    border: 1px solid var(--input-border);
    background: var(--white);
}

.field textarea {
    padding-top: 22px;
    min-height: 100px;
    resize: vertical;
}

.field label {
    position: absolute;
    left: 14px;
    top: 16px;
    font-size: 1.5rem;
    color: var(--text-black-soft);
    transition: all .2s ease;
    pointer-events: none;
    background: var(--white);
    padding: 0 2px;
}

.field input:focus+label,
.field input:not(:placeholder-shown)+label,
.field textarea:focus+label,
.field textarea:not(:placeholder-shown)+label {
    top: -8px;
    font-size: 1.15rem;
    color: var(--green-accent);
    font-weight: 700;
}

.field select {
    padding-top: 14px;
}

.field select+label {
    top: -8px;
    font-size: 1.15rem;
    font-weight: 700;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--green-accent);
    outline: none;
}

.field input:not(:placeholder-shown):valid {
    background: rgba(212, 233, 226, 0.33);
}

.form-note {
    font-size: 1.3rem;
    color: var(--text-black-soft);
    margin-top: var(--space-3);
}

.book-card .btn {
    margin-top: var(--space-4);
    width: 100%;
}

/* ===== Footer (House Green) ===== */
footer {
    background: var(--house-green);
    color: var(--text-white-soft);
    padding: var(--space-7) var(--space-3) var(--space-4);
}

.footer-masthead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-4);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-columns {
    display: grid;
    /* Content-width columns spread edge to edge: the first sits on the left
       margin and the last finishes under the social marks, with the leftover
       space shared evenly instead of piling up in one gap. */
    grid-template-columns: repeat(4, max-content);
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-4) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.footer-columns .footer-col:first-child {
    max-width: 280px;
}

.footer-col h3 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-white);
    margin-bottom: 4px;
}

.footer-col a,
.footer-col p {
    font-size: 1.35rem;
    font-weight: 600;
    margin: 0;
}

.footer-col a:hover {
    color: var(--gold);
}



/* Icon and label sit on one line, the label wrapping under itself rather than
   under the glyph. */
.footer-contact {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-contact .bx {
    font-size: 1.7rem;
    line-height: 1.3;
    color: var(--gold);
}

.footer-bottom {
    padding-top: var(--space-3);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 1.25rem;
}

.footer-bottom .tag {
    color: var(--gold);
    font-weight: 700;
    font-style: italic;
}

/* ===== Floating Frap-style call button ===== */
.frap {
    position: fixed;
    right: calc(var(--space-3) - .8rem);
    bottom: calc(var(--space-3) - .8rem);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--green-accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 70;
    box-shadow: var(--shadow-frap-base), var(--shadow-frap-ambient);
    transition: box-shadow .2s ease, transform .15s ease;
}

.frap svg {
    width: 24px;
    height: 24px;
}

.frap:active {
    box-shadow: var(--shadow-frap-base), var(--shadow-frap-ambient-active);
    transform: scale(0.95);
}

/* ===== Alerts (Laravel session flash messages) ===== */
.alert-box {
    max-width: 820px;
    margin: 0 auto var(--space-4);
    padding: 16px 20px;
    border-radius: var(--radius-card);
    font-size: 1.4rem;
    font-weight: 600;
}

.alert-success {
    background: var(--green-light);
    color: var(--sb-green);
}

.alert-error {
    background: rgba(200, 32, 20, 0.08);
    color: var(--red);
}

.field .error-msg {
    display: block;
    font-size: 1.2rem;
    color: var(--red);
    margin-top: 6px;
    font-weight: 600;
}

/* ===== Reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .nav-links,
    .nav-links > *,
    .nav-toggle .bx {
        transition: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ===== Responsive ===== */
@media (max-width:960px) {

    .hero-grid,
    .about-grid,
    .feature-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-card,
    .about-card,
    .feature-icon-card {
        max-width: 380px;
        margin: 0 auto;
    }

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

@media (max-width:720px) {
    /* The nav panel, its toggle and the CTA buttons are handled once in the
       1024px block above; repeating them here only re-introduced the old
       `display` switch that cannot animate. */

    .brand-logo {
        width: auto;
        height: 46px;
        max-width: 140px;
    }

    .nav-cta .btn {
        padding: 9px 18px;
        font-size: 1.3rem;
    }

    .nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height .25s ease;
    }

    .nav-item.open .nav-dropdown {
        max-height: 400px;
        padding: 6px 0 6px 14px;
    }

    .nav-item > a {
        justify-content: space-between;
        width: 100%;
    }

    .nav-item .caret {
        transition: transform .2s ease;
    }

    .nav-item.open .caret {
        transform: rotate(180deg);
    }

    section {
        padding: var(--space-7) var(--space-3);
    }

    .form-grid,
    .duration-row {
        grid-template-columns: 1fr;
    }

    .book-card {
        padding: var(--space-4);
    }

    .footer-masthead,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .footer-columns .footer-col:first-child {
        max-width: none;
    }

    .plan-panel-inner {
        padding: var(--space-4);
    }
}

/* ===== Nav dropdown ===== */
.nav-item {
    position: relative;
}

.nav-item>a {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-item .caret {
    width: 12px;
    height: 12px;
}

/* The caret is a Boxicons glyph now, so it is sized by font-size, not by box. */
.nav-item .caret.bx {
    width: auto;
    height: auto;
    font-size: 1.6rem;
    line-height: 1;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-nav);
    border-radius: 8px;
    padding: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    z-index: 80;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown a {
    display: block;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--text-black);
}

.nav-dropdown a:hover {
    background: var(--green-light);
    color: var(--sb-green);
}

/* ===== About page hero ===== */
.about-hero {
    position: relative;
    min-height: 52vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-9) var(--space-3);
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.6) 100%), url('/images/our_team.jpg');
    background-size: cover;
    background-position: center;
}

.about-hero-inner {
    max-width: 760px;
}

.about-hero .eyebrow {
    color: var(--gold-light);
}

.about-hero h1 {
    font-family: var(--font-primary);
    font-style: normal;
    font-weight: 700;
    color: var(--text-white);
    font-size: clamp(3.2rem, 5vw, 5.4rem);
    margin-bottom: var(--space-2);
}

.about-hero .tagline {
    font-family: var(--font-primary);
    font-style: normal;
    font-weight: 500;
    color: var(--text-white-soft);
    font-size: clamp(1.8rem, 2.2vw, 2.2rem);
    margin: 0;
}

.about-breadcrumb {
    background: var(--cream);
    padding: 14px var(--space-3);
    font-size: 1.3rem;
    color: var(--text-black-soft);
}

.about-breadcrumb a {
    color: var(--green-accent);
    font-weight: 600;
}

/* ===== Mission & Vision ===== */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-4);
}

.mv-card {
    background: var(--white);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: var(--space-5);
}

.mv-card h3 {
    color: var(--sb-green);
    font-size: 2rem;
}

.mv-card p {
    color: var(--text-black-soft);
    font-size: 1.5rem;
    margin-bottom: 0;
}

/* ===== About CTA ===== */
/* A green card inset on the page, not a full-bleed photo band. */
.about-cta {
    padding: var(--space-6) var(--space-3);
    background: var(--white);
}

.about-cta .wrap {
    /* The garden photo stays — it just lives inside the card now, under the
       same green wash it always carried. */
    background-image:
        linear-gradient(180deg, rgba(30, 57, 50, 0.86) 0%, rgba(30, 57, 50, 0.92) 100%),
        url('/images/zen_garden.jpg');
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-card-lg);
    overflow: hidden;
    color: var(--text-white);
    text-align: center;
    padding: var(--space-7) var(--space-4);
}

.about-cta .eyebrow {
    color: var(--green-light);
}

.about-cta h2 {
    color: var(--text-white);
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.about-cta .lede {
    color: var(--text-white-soft);
    max-width: 620px;
    margin: 0 auto var(--space-5);
}

/* The heading of the values intro sits directly on the parallax cards, so its
   bottom margin must not collapse out of the section and expose the page
   ground as a stray band of cream. */
.about.values-intro {
    padding-bottom: var(--space-4);
}

.about.values-intro .section-head {
    margin-bottom: 0;
}

/* ===== Gallery ===== */
.gallery-section {
    background: var(--ceramic);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-4);
}

.gallery-card {
    background: var(--white);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.gallery-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.gallery-photo {
    position: relative;
    aspect-ratio: 4/3;
    background: var(--sb-green);
    overflow: hidden;
}

.gallery-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item {
    cursor: pointer;
}

.gallery-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-play svg {
    width: 56px;
    height: 56px;
    color: var(--white);
    opacity: .92;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35));
}

.gallery-card .body {
    padding: var(--space-3);
}

.gallery-card h3 {
    font-size: 1.7rem;
    margin-bottom: 8px;
}

.gallery-card p {
    font-size: 1.35rem;
    color: var(--text-black-soft);
    margin-bottom: 0;
}

/* Kept mounted so opening and closing can be animated — `display: none`
   cannot transition. */
.gallery-modal {
    display: flex;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 210;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    opacity: 0;
    visibility: hidden;
    transition: opacity .26s ease, visibility .26s;
}

.gallery-modal.open {
    opacity: 1;
    visibility: visible;
}

.gallery-modal-inner {
    position: relative;
    display: inline-flex;
    max-width: min(900px, 92vw);
    max-height: 85vh;
    opacity: 0;
    transform: scale(.94) translateY(10px);
    transition: opacity .26s ease, transform .3s cubic-bezier(.2, .8, .25, 1);
}

.gallery-modal.open .gallery-modal-inner {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .gallery-modal,
    .gallery-modal-inner {
        transition: none;
    }

    .gallery-modal-inner {
        transform: none;
    }
}

.gallery-modal-content {
    display: flex;
}

.gallery-modal-content img,
.gallery-modal-content video {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-card);
    display: block;
}

.gallery-modal-close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-card);
    z-index: 5;
}

.gallery-modal-close svg {
    width: 20px;
    height: 20px;
    color: var(--text-black);
}
