/* Custom styles for Wilderness Beach Resort website */

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400 700;
    font-display: optional;
    src: url('fonts/playfair-display.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --site-header-offset: 112px;
}

/* Breadcrumb navigation */
.breadcrumb-nav {
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 0.6rem 0;
}

.breadcrumb-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #12daa8;
    text-decoration: none;
    white-space: nowrap;
    padding: 0.3rem 0.75rem;
    border: 1px solid rgba(18, 218, 168, 0.35);
    border-radius: 6px;
    transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.btn-back:hover,
.btn-back:focus {
    background: rgba(18, 218, 168, 0.1);
    border-color: #12daa8;
    color: #12daa8;
}

.breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.2rem 0;
    font-size: 0.82rem;
    color: rgba(240, 242, 247, 0.6);
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list li + li::before {
    content: '/';
    padding: 0 0.45rem;
    color: rgba(240, 242, 247, 0.28);
    pointer-events: none;
}

.breadcrumb-list a {
    color: rgba(240, 242, 247, 0.65);
    text-decoration: none;
}

.breadcrumb-list a:hover,
.breadcrumb-list a:focus {
    color: #12daa8;
    text-decoration: underline;
}

.breadcrumb-list [aria-current="page"] {
    color: rgba(240, 242, 247, 0.9);
}

/* Skip navigation link — visually hidden until focused by keyboard */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 9999;
    padding: 0.6rem 1.25rem;
    background: #12daa8;
    color: #0b1a1f;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 0 0 0.5rem 0.5rem;
    text-decoration: none;
    transition: top 120ms ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid #0b1a1f;
    outline-offset: 2px;
}

body {
    font-family: 'Georgia', serif;
    color: #f0f2f7;
    background: radial-gradient(circle at top, #0b1a1f 0%, #05060a 55%, #05060a 100%);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* System-UI font stack on mobile — Georgia renders too heavy at small sizes;
   system fonts (San Francisco, Segoe UI, Roboto) are optimised for the device screen */
@media (max-width: 768px) {
    body {
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
                     'Helvetica Neue', Arial, sans-serif;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

a {
    text-decoration: none;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: rgba(4, 7, 13, 0.48);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.site-header .navbar.fixed-top {
    position: static;
}

.navbar .navbar-nav .nav-link {
    color: rgba(255,255,255,0.82) !important;
    font-weight: 500;
    letter-spacing: 0.03em;
}

.navbar .navbar-nav .nav-link:hover {
    color: #ffffff !important;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.95rem;
    min-width: 0;
    max-width: min(100%, 420px);
}

.navbar-brand img {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
}

.brand-wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-wordmark strong {
    font-family: 'Playfair Display', serif;
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #f7fbff;
}

.brand-wordmark span {
    margin-top: 0.28rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(184, 232, 244, 0.8);
}

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(20, 28, 34, 0.12), rgba(20, 28, 34, 0.12)), image-set(url('images/wilderness_sunset_harbor.webp?v=1') type('image/webp'), url('images/wilderness_sunset_harbor.jpeg?v=1') type('image/jpeg'));
    background-image: linear-gradient(rgba(20, 28, 34, 0.12), rgba(20, 28, 34, 0.12)), url('images/wilderness_sunset_harbor.jpeg?v=1');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    filter: brightness(1.3) contrast(1.1) saturate(1.2);
    z-index: -2;
}

.hero-background.harbor-hero {
    background-image: linear-gradient(rgba(20, 28, 34, 0.12), rgba(20, 28, 34, 0.12)), image-set(url('images/wilderness_harbor.webp?v=1') type('image/webp'), url('images/wilderness_harbor.jpg?v=1') type('image/jpeg'));
    background-image: linear-gradient(rgba(20, 28, 34, 0.12), rgba(20, 28, 34, 0.12)), url('images/wilderness_harbor.jpg?v=1');
}

.hero-background.lake-home-hero {
    background-image: linear-gradient(rgba(20, 28, 34, 0.12), rgba(20, 28, 34, 0.12)), image-set(url('images/gallery/lake-home/lake-home-placeholder-01.webp?v=1') type('image/webp'), url('images/gallery/lake-home/lake-home-placeholder-01.jpg?v=1') type('image/jpeg'));
    background-image: linear-gradient(rgba(20, 28, 34, 0.12), rgba(20, 28, 34, 0.12)), url('images/gallery/lake-home/lake-home-placeholder-01.jpg?v=1');
}

.hero-background.rustic-home-hero {
    background-image: linear-gradient(rgba(20, 28, 34, 0.12), rgba(20, 28, 34, 0.12)), image-set(url('images/gallery/rustic-lake-home/rustic-lake-home-placeholder-01.webp?v=1') type('image/webp'), url('images/gallery/rustic-lake-home/rustic-lake-home-placeholder-01.jpg?v=1') type('image/jpeg'));
    background-image: linear-gradient(rgba(20, 28, 34, 0.12), rgba(20, 28, 34, 0.12)), url('images/gallery/rustic-lake-home/rustic-lake-home-placeholder-01.jpg?v=1');
}

.hero-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(150deg, rgba(1, 11, 14, 0.18) 0%, rgba(4, 12, 16, 0.18) 45%, rgba(2, 7, 9, 0.26) 100%);
}

.hero-media-frame {
    position: absolute;
    inset: 0;
    z-index: -3;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -3;
    opacity: 0.95;
}

.parallax {
    background-attachment: fixed;
}

@media (max-width: 768px) {
    .parallax {
        background-attachment: scroll;
    }
}

.hero-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(150deg, rgba(1, 11, 14, 0.8) 0%, rgba(4, 12, 16, 0.75) 45%, rgba(2, 7, 9, 0.92) 100%);
}

.home-hero .hero-background {
    z-index: -4;
    filter: brightness(0.58) blur(12px) saturate(1.06);
    transform: scale(1.08);
}

.home-hero .hero-media-frame {
    display: grid;
    place-items: center;
    padding: clamp(1.25rem, 3vw, 2.5rem) 0;
}

.home-hero .hero-slide {
    grid-area: 1 / 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.965);
    filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.42));
    transition: opacity 1200ms ease, transform 1200ms ease;
    pointer-events: none;
}

.home-hero .hero-slide.is-active {
    opacity: 0.96;
    transform: scale(1);
}

.home-hero .hero-slide[data-slide-key="sunset"] {
    object-position: center 58%;
}

.home-hero .hero-slide[data-slide-key="lake-view"] {
    object-position: center 56%;
}

.home-hero {
    margin-top: var(--site-header-offset);
    min-height: calc(100vh - var(--site-header-offset));
    height: calc(100vh - var(--site-header-offset));
    padding-top: clamp(0.75rem, 2vw, 1.5rem);
    scroll-margin-top: var(--site-header-offset);
    --hero-copy-color: #f7fbff;
    --hero-heading-color: #ffffff;
    --hero-lead-color: rgba(244, 248, 251, 0.92);
    --hero-eyebrow-color: #9cefdc;
    --hero-panel-bg: rgba(6, 12, 18, 0.42);
    --hero-panel-border: rgba(255, 255, 255, 0.14);
    --hero-panel-shadow: 0 28px 65px rgba(0, 0, 0, 0.34);
    --hero-text-shadow: 0 2px 22px rgba(0, 0, 0, 0.28);
}

.hero-content {
    max-width: 920px;
    text-align: center;
    padding: 0 1.25rem;
}

.hero-content h1 {
    font-size: clamp(2.6rem, 6vw, 4.25rem);
    letter-spacing: -0.03em;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-content .lead {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 670px;
    margin: 0 auto 2rem;
}

.home-hero .hero-content {
    max-width: min(920px, calc(100% - 2rem));
    padding: clamp(1.35rem, 2vw, 2rem);
    border-radius: 1.75rem;
    background: var(--hero-panel-bg);
    border: 1px solid var(--hero-panel-border);
    box-shadow: var(--hero-panel-shadow);
    backdrop-filter: blur(14px) saturate(118%);
    color: var(--hero-copy-color);
    transition: color 360ms ease, background-color 360ms ease, border-color 360ms ease, box-shadow 360ms ease;
}

.home-hero .hero-content h1 {
    color: var(--hero-heading-color);
    text-shadow: var(--hero-text-shadow);
}

.home-hero .hero-content .lead {
    color: var(--hero-lead-color);
    opacity: 1;
    text-shadow: var(--hero-text-shadow);
}

.home-hero .hero-content .eyebrow {
    color: var(--hero-eyebrow-color);
    text-shadow: var(--hero-text-shadow);
}

.home-hero.is-copy-light .btn-outline-light {
    color: #f7fbff;
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.08);
}

.home-hero.is-copy-light .btn-outline-light:hover,
.home-hero.is-copy-light .btn-outline-light:focus {
    color: #071118;
    border-color: #ffffff;
    background: #ffffff;
}

.home-hero.is-copy-dark {
    --hero-copy-color: #08141c;
    --hero-heading-color: #07131b;
    --hero-lead-color: rgba(8, 20, 28, 0.86);
    --hero-eyebrow-color: #184d55;
    --hero-panel-bg: rgba(247, 251, 253, 0.68);
    --hero-panel-border: rgba(7, 18, 25, 0.12);
    --hero-panel-shadow: 0 28px 65px rgba(0, 0, 0, 0.18);
    --hero-text-shadow: 0 1px 0 rgba(255, 255, 255, 0.34);
}

.home-hero.is-copy-dark .btn-outline-light {
    color: #08141c;
    border-color: rgba(8, 20, 28, 0.2);
    background: rgba(255, 255, 255, 0.54);
}

.home-hero.is-copy-dark .btn-outline-light:hover,
.home-hero.is-copy-dark .btn-outline-light:focus {
    color: #f7fbff;
    border-color: #08141c;
    background: #08141c;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    color: #8ce3cf;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-actions .btn {
    padding: 0.95rem 1.7rem;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: rgba(12, 215, 171, 0.3) 0px 10px 25px -10px;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.hero-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: rgba(12, 215, 171, 0.4) 0px 14px 30px -12px;
}

.features-section {
    padding-top: 120px;
    padding-bottom: 80px;
    position: relative;
}

.features-section h2 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    padding: 2rem;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 24px 45px rgba(0, 0, 0, 0.35);
}

.feature-card-link {
    color: inherit;
}

.feature-card-link:hover,
.feature-card-link:focus {
    color: inherit;
}

.feature-link-text {
    margin-top: 1rem;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8ce3cf;
}

.feature-icon {
    font-size: 1.9rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: rgba(240, 242, 247, 0.8);
}


.section-heading {
    max-width: 840px;
    margin: 0 auto 3rem;
}

/* Prose line-length cap — 65ch keeps ~65 characters per line, the typographic
   sweet spot for reading comfort on all viewport widths */
.section-copy,
.section-note,
.hero-content .lead,
.feature-card p,
.card-text,
.accordion-body,
.amenity-card p,
.location-card p,
.property-note-card p,
.testimonial-quote,
.pricing-tagline,
.map-shell-copy,
.availability-modal-copy,
.contact-note {
    max-width: 65ch;
}

/* Elements inside centered headings need auto margins to stay centered
   after the 65ch cap kicks in */
.section-heading .section-copy,
.section-heading .section-note {
    margin-left: auto;
    margin-right: auto;
}

.section-copy,
.section-note,
.location-card p,
.accordion-body,
.info-card,
.contact-note {
    color: rgba(240, 242, 247, 0.82);
}

.info-band,
.faq-section {
    background: rgba(255, 255, 255, 0.04);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.info-card,
.amenity-card,
.location-card,
.photo-card,
.faq-accordion .accordion-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.25rem;
    box-shadow: 0 24px 45px rgba(0, 0, 0, 0.2);
}

.info-card {
    padding: 1.3rem 1.4rem;
}

.info-card strong {
    display: block;
    font-size: 1.1rem;
    line-height: 1.4;
}

.info-label,
.location-detail span {
    display: block;
    margin-bottom: 0.55rem;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(240, 242, 247, 0.6);
}

.compact-actions {
    gap: 0.65rem;
}

.map-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.25rem;
}

.location-map-shell {
    margin-top: 1.5rem;
    overflow: hidden;
    border-radius: 1rem;
    background: rgba(9, 19, 27, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.location-map-shell iframe {
    display: block;
    width: 100%;
    height: 320px;
    border: 0;
}

.location-map-caption {
    margin: 0;
    padding: 0.95rem 1rem 1rem;
    font-size: 0.96rem;
    color: rgba(240, 242, 247, 0.78);
}

.reserve-trigger {
    cursor: pointer;
}

.amenity-grid {
    display: grid;
    gap: 1rem;
}

.amenity-card,
.location-card {
    padding: 1.8rem;
}

.action-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detail-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}

.detail-list li {
    padding: 0.9rem 1rem;
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.quote-line {
    font-size: 1.15rem;
    color: #8ce3cf;
    margin-bottom: 0;
}

.location-section {
    background: rgba(0, 0, 0, 0.05);
}

.location-detail + .location-detail {
    margin-top: 1rem;
}

.sanctuary-section,
.gastronomy-section,
.elevation-section,
.pricing-section {
    padding: 6rem 0;
    position: relative;
}

.sanctuary-section {
    background: rgba(255, 255, 255, 0.04);
}

.gastronomy-section {
    background: rgba(0, 0, 0, 0.04);
}

.elevation-section {
    background: rgba(255, 255, 255, 0.04);
}

.pricing-section {
    background: rgba(0, 0, 0, 0.06);
}

.sanctuary-section img,
.gastronomy-section img {
    border-radius: 1rem;
    box-shadow: 0 24px 45px rgba(0, 0, 0, 0.25);
}

.harbor-media-stack {
    display: grid;
    gap: 1rem;
}

.harbor-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.mini-photo-card {
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.18);
}

.photo-card.mini-photo-card img {
    height: 190px;
}

.photo-card.mini-photo-card figcaption {
    padding: 0.8rem 0.95rem 0.95rem;
    font-size: 0.9rem;
}

.sanctuary-section p,
.gastronomy-section p,
.elevation-section p {
    color: rgba(240, 242, 247, 0.85);
}

.table {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.table th,
.table td {
    border-color: rgba(255, 255, 255, 0.1);
}

.card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f0f2f7;
    border-radius: 1.2rem;
}

.card-title {
    margin-bottom: 0.7rem;
}

.stay-card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.stay-card-body .card-text + .card-text {
    margin-top: 0.2rem;
}

.stay-card-actions {
    margin-top: auto;
    padding-top: 1.25rem;
}

.stay-card-actions .btn,
.stay-option-actions .btn {
    flex: 1 1 180px;
    border-radius: 999px;
}

/* Pricing section groups */
.pricing-group {
    margin-top: 2.5rem;
}

.pricing-group + .pricing-group {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-group-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(240, 242, 247, 0.45);
    margin-bottom: 1.25rem;
}

/* Pricing cards */
.pricing-card {
    position: relative;
    padding-top: 0.25rem;
}

.pricing-card--featured {
    border-color: rgba(18, 218, 168, 0.45);
    box-shadow: 0 0 0 1px rgba(18, 218, 168, 0.25), 0 24px 48px rgba(0, 0, 0, 0.28);
}

.pricing-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: #12daa8;
    color: #0b1a1f;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.28rem 1rem;
    border-radius: 0 0 0.7rem 0.7rem;
    white-space: nowrap;
}

.pricing-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    margin-top: 1.25rem;
}

.pricing-amount {
    font-size: 2rem;
    font-weight: 800;
    color: #12daa8;
    line-height: 1.1;
    margin-bottom: 0.6rem;
    font-family: 'Playfair Display', Georgia, serif;
}

.pricing-amount--contact {
    font-size: 1.2rem;
    color: rgba(240, 242, 247, 0.7);
    font-family: inherit;
    font-weight: 600;
}

.pricing-period {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(18, 218, 168, 0.75);
    margin-left: 0.1em;
}

.pricing-tagline {
    font-size: 0.9rem;
    color: rgba(240, 242, 247, 0.7);
    margin-bottom: 1rem;
}

.pricing-includes {
    list-style: none;
    padding: 0;
    margin: 0 0 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.pricing-includes li {
    font-size: 0.88rem;
    color: rgba(240, 242, 247, 0.82);
    padding-left: 1.3em;
    position: relative;
}

.pricing-includes li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #12daa8;
    font-weight: 700;
}

/* Testimonials */
.testimonials-section {
    background: rgba(255, 255, 255, 0.03);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

/* Fifth card spans full width on its own row to fill the 3-col grid */
.testimonial-card:last-child:nth-child(5) {
    grid-column: 2 / 3;
}

.testimonial-card {
    margin: 0;
    padding: 1.75rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 0.75rem;
    left: 1.5rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 4rem;
    line-height: 1;
    color: rgba(18, 218, 168, 0.25);
    pointer-events: none;
}

.testimonial-quote {
    font-size: 0.97rem;
    line-height: 1.7;
    color: rgba(240, 242, 247, 0.88);
    margin: 0;
    padding-top: 1.5rem;
}

.testimonial-footer {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.testimonial-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: #f0f2f7;
}

.testimonial-detail {
    font-size: 0.8rem;
    color: rgba(240, 242, 247, 0.5);
    letter-spacing: 0.02em;
}

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

    .testimonial-card:last-child:nth-child(5) {
        grid-column: 1 / -1;
    }
}

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

    .testimonial-card:last-child:nth-child(5) {
        grid-column: auto;
    }
}

.faq-accordion {
    max-width: 980px;
    margin: 0 auto;
}

.faq-accordion .accordion-item {
    overflow: hidden;
}

.faq-accordion .accordion-item + .accordion-item {
    margin-top: 1rem;
}

.faq-accordion .accordion-button {
    background: rgba(255, 255, 255, 0.02);
    color: #f0f2f7;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    padding: 1.25rem 1.5rem;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.faq-accordion .accordion-button::after {
    filter: invert(1);
}

.faq-accordion .accordion-body {
    padding: 0 1.5rem 1.35rem;
}

.gallery-section {
    background: rgba(255, 255, 255, 0.04);
}

/* ── Gallery category previews (homepage) ───────────────────────────────── */

.gallery-category-preview {
    margin-bottom: 3rem;
}

.gallery-category-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.gallery-category-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: #f7fbff;
    margin-bottom: 0.2rem;
}

.gallery-category-meta {
    font-size: 0.85rem;
    color: rgba(240, 242, 247, 0.55);
    margin: 0;
}

.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.gallery-preview-thumb {
    display: block;
    border-radius: 0.85rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
    transition: transform 200ms ease, box-shadow 200ms ease, outline 0ms;
}

.gallery-preview-thumb:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.gallery-preview-thumb:focus {
    outline: 2px solid #12daa8;
    outline-offset: 3px;
}

.gallery-preview-thumb img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

/* ── Lightbox (<dialog>) ─────────────────────────────────────────────────── */

.gallery-lightbox {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

.gallery-lightbox::backdrop {
    background: rgba(3, 8, 14, 0.94);
    backdrop-filter: blur(4px);
}

.lightbox-inner {
    display: grid;
    grid-template-areas:
        ". . close"
        "prev figure next"
        ". counter .";
    grid-template-columns: 72px 1fr 72px;
    grid-template-rows: 56px 1fr 44px;
    width: 100%;
    height: 100dvh;
    align-items: center;
}

.lightbox-close {
    grid-area: close;
    justify-self: center;
    align-self: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: #f0f2f7;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 160ms ease;
}

.lightbox-close:hover,
.lightbox-close:focus {
    background: rgba(255, 255, 255, 0.22);
    outline: 2px solid #12daa8;
    outline-offset: 2px;
}

.lightbox-figure {
    grid-area: figure;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
    min-height: 0;
}

.lightbox-img {
    max-width: 100%;
    max-height: calc(100dvh - 148px);
    object-fit: contain;
    border-radius: 0.75rem;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55);
}

.lightbox-caption {
    margin-top: 0.65rem;
    font-size: 0.85rem;
    color: rgba(240, 242, 247, 0.6);
    text-align: center;
}

.lightbox-nav {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: #f0f2f7;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    transition: background 160ms ease;
}

.lightbox-nav:hover,
.lightbox-nav:focus {
    background: rgba(255, 255, 255, 0.22);
    outline: 2px solid #12daa8;
    outline-offset: 2px;
}

.lightbox-nav:disabled {
    opacity: 0.22;
    cursor: not-allowed;
}

.lightbox-prev {
    grid-area: prev;
}

.lightbox-next {
    grid-area: next;
}

.lightbox-counter {
    grid-area: counter;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(240, 242, 247, 0.45);
}

.gallery-lightbox-card {
    cursor: zoom-in;
}

/* ── Gallery page section heading left-aligned ───────────────────────────── */

.gallery-section .section-heading,
.elevation-section .section-heading {
    text-align: left;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

.gallery-category-copy {
    margin: 0 0 1.1rem;
    color: rgba(240, 242, 247, 0.82);
    max-width: 860px;
}

.site-map-layout-section {
    background: rgba(255, 255, 255, 0.04);
}

.site-map-page .site-map-layout-section {
    padding-top: calc(3rem + 90px) !important;
    scroll-margin-top: 96px;
}

.photo-grid.gallery-photo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.photo-card {
    margin: 0;
    overflow: hidden;
}

.gallery-photo-card,
.mini-photo-card {
    border-radius: 1rem;
}

.gallery-photo-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

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

.gallery-photo-card img {
    height: 220px;
}

.photo-card figcaption {
    padding: 1rem 1.05rem 1.1rem;
    color: rgba(240, 242, 247, 0.82);
}

.gallery-photo-card figcaption {
    font-size: 0.92rem;
}

.photo-grid.gallery-layout-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 720px;
}

.gallery-layout-grid .gallery-photo-card img {
    height: auto;
    max-height: 520px;
    object-fit: contain;
    background: rgba(16, 23, 29, 0.48);
}

.property-page .hero-section {
    min-height: 84vh;
}

.property-page .hero-content {
    max-width: 840px;
}

.site-detail-page .hero-section {
    min-height: 82vh;
}

.site-detail-page .hero-bg-img {
    object-fit: cover;
    object-position: center center;
}

.property-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.property-summary-card,
.property-note-card {
    min-width: 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.25rem;
    box-shadow: 0 24px 45px rgba(0, 0, 0, 0.2);
}

.property-summary-card span {
    display: block;
    margin-bottom: 0.55rem;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(240, 242, 247, 0.6);
}

.property-summary-card strong {
    display: block;
    margin-bottom: 0.55rem;
    font-size: 1.08rem;
}

.property-summary-card p,
.property-note-card p {
    margin: 0;
    color: rgba(240, 242, 247, 0.82);
}

.property-note-card {
    margin-top: 1.4rem;
}

.property-gallery-intro {
    max-width: 860px;
    margin: 0 auto 1.2rem;
    text-align: center;
    color: rgba(240, 242, 247, 0.82);
}

.site-detail-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-detail-note-card {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.stay-option-card .detail-list {
    margin-top: 1rem;
}

.site-map-page .hero-content {
    max-width: 840px;
}

.site-map-page .hero-section {
    min-height: 88vh;
}

/* Site map filter bar */
.map-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.map-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.map-filter-btn {
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(240, 242, 247, 0.75);
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
    min-height: 44px;
}

.map-filter-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    color: #f0f2f7;
}

.map-filter-btn.is-active {
    background: rgba(18, 218, 168, 0.18);
    border-color: rgba(18, 218, 168, 0.55);
    color: #12daa8;
}

.map-filter-btn:focus-visible {
    outline: 2px solid #12daa8;
    outline-offset: 2px;
}

.map-filter-summary {
    font-size: 0.82rem;
    color: rgba(240, 242, 247, 0.5);
    margin: 0;
    white-space: nowrap;
}

/* SVG sites hidden by active filter */
.map-site.is-filtered-out {
    display: none;
}

.resort-map-shell {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.25rem;
    box-shadow: 0 24px 45px rgba(0, 0, 0, 0.2);
    padding: 1.6rem;
}

.map-shell-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: flex-end;
    margin-bottom: 1.2rem;
}

.map-shell-header h3 {
    margin-bottom: 0;
}

.map-shell-copy {
    max-width: 560px;
    margin: 0;
    color: rgba(240, 242, 247, 0.76);
}

/* The SVG scales freely on desktop (container ≈ 1140px > 1100px touch-target threshold).
   On small mobile the scroll wrapper lets users pan rather than squishing the rects. */
.resort-map-scroll-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 1.2rem;
}

.resort-map-svg {
    width: 100%;
    min-width: 600px;
    height: auto;
    display: block;
    border-radius: 1.2rem;
    overflow: hidden;
}

@media (min-width: 768px) {
    .resort-map-svg {
        min-width: unset;
    }
}

.map-paper {
    fill: #edf0dc;
    stroke: rgba(120, 132, 94, 0.34);
    stroke-width: 2;
}

.map-lake-fill {
    fill: url(#mapLakeGradient);
}

.map-lake-text,
.map-highway-text {
    font-family: 'Playfair Display', serif;
    font-size: 46px;
    letter-spacing: 0.1em;
    fill: #f8ffff;
}

.map-road-outline {
    fill: none;
    stroke: rgba(107, 80, 47, 0.34);
    stroke-width: 86;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.map-road {
    fill: none;
    stroke: #d7c39d;
    stroke-width: 68;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.map-highway {
    fill: rgba(62, 56, 51, 0.92);
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 2;
}

.map-building {
    fill: #f3ead4;
    stroke: #876743;
    stroke-width: 4;
}

.map-building-label,
.map-zone-label,
.map-road-label,
.map-slip-label,
.map-site text,
.harbor-slip text {
    font-family: 'Playfair Display', serif;
    fill: #2f251d;
}

.map-building-label {
    font-size: 24px;
    font-weight: 700;
    text-anchor: middle;
}

.map-harbor-water path {
    fill: url(#harborGradient);
    stroke: rgba(11, 63, 81, 0.28);
    stroke-width: 4;
}

.map-harbor-label {
    font-family: 'Playfair Display', serif;
    fill: rgba(237, 255, 255, 0.92);
    font-size: 34px;
    letter-spacing: 0.03em;
}

.map-tree circle {
    fill: #5b8a54;
    stroke: rgba(26, 51, 23, 0.28);
    stroke-width: 3;
}

.map-zone-label {
    font-size: 28px;
    font-weight: 700;
}

.map-road-label {
    font-size: 24px;
    letter-spacing: 0.04em;
}

.map-site rect {
    fill: #fff8ea;
    stroke: #b38a59;
    stroke-width: 4;
    transition: fill 180ms ease, stroke 180ms ease, transform 180ms ease;
}

.map-site {
    cursor: default;
    outline: none;
}

.map-site text {
    font-size: 26px;
    font-weight: 700;
}

.map-site.is-available {
    cursor: pointer;
}

.map-site.is-available rect {
    fill: #75cb96;
    stroke: #1d6e47;
}

.map-site.is-available text {
    fill: #103726;
}

.map-site.is-available:hover rect,
.map-site.is-available:focus rect {
    fill: #8ce3af;
    stroke: #dffbef;
}

.map-site.is-available:focus-visible rect {
    stroke: #ffffff;
    stroke-width: 6;
    outline: none;
}

.map-site.is-unavailable rect {
    opacity: 0.72;
}

.map-site.is-unavailable text {
    fill: rgba(47, 37, 29, 0.72);
}

.map-site.is-selected rect {
    stroke: #f8ffff;
    stroke-width: 6;
}

.map-site-indicator {
    font-size: 20px;
    font-weight: 800;
    pointer-events: none;
}

.map-site.is-available .map-site-indicator {
    fill: #103726;
}

.map-site.is-unavailable .map-site-indicator {
    fill: rgba(47, 37, 29, 0.55);
}

.harbor-slip rect {
    fill: rgba(255, 251, 243, 0.98);
    stroke: #8d6a3f;
    stroke-width: 2.5;
}

.harbor-slip text,
.map-slip-label {
    font-size: 20px;
    font-weight: 700;
}

.map-sidebar {
    display: grid;
    gap: 1rem;
}

.map-sidebar-card {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.2rem;
    box-shadow: 0 24px 45px rgba(0, 0, 0, 0.2);
    height: 100%;
}

.map-sidebar-card h3 {
    margin-bottom: 1rem;
}

.map-legend-list {
    display: grid;
    gap: 1rem;
}

.map-legend-item {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 0.85rem;
    align-items: start;
}

.map-legend-item p,
.map-note-card p {
    margin: 0;
    color: rgba(240, 242, 247, 0.8);
}

.legend-swatch {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 0.8rem;
    display: inline-block;
    margin-top: 0.1rem;
}

.legend-available-site {
    background: #75cb96;
    border: 2px solid #1d6e47;
}

.legend-available-site::after {
    content: '\2713';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: #103726;
    line-height: 1;
}

.legend-unavailable-site {
    background: #fff8ea;
    border: 2px solid #b38a59;
}

.legend-unavailable-site::after {
    content: '\2013';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    color: rgba(47, 37, 29, 0.72);
    line-height: 1;
}

.legend-landmark {
    background: #f3ead4;
    border: 2px solid #876743;
}

.legend-slip {
    background: rgba(255, 251, 243, 0.98);
    border: 2px solid #8d6a3f;
}

.legend-road {
    background: #d7c39d;
    border: 2px solid rgba(107, 80, 47, 0.34);
}

.site-range-grid {
    display: grid;
    gap: 0.85rem;
}

.site-range-card {
    padding: 1rem 1.05rem;
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.site-range-card span {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(240, 242, 247, 0.62);
}

.site-range-card strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 1.1rem;
}

.site-range-card p {
    margin: 0;
    color: rgba(240, 242, 247, 0.8);
}

.availability-card-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.availability-card-header p {
    margin: 0;
    color: rgba(240, 242, 247, 0.8);
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 104px;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(117, 203, 150, 0.18);
    color: #a7f0c2;
    border: 1px solid rgba(117, 203, 150, 0.34);
}

.availability-meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.availability-meta-card {
    padding: 0.95rem 1rem;
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.availability-meta-card span {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(240, 242, 247, 0.62);
}

.availability-meta-card strong {
    display: block;
    font-size: 1.02rem;
}

.site-detail-page #site-detail-gallery {
    align-items: stretch;
}

.contact-section {
    background: rgba(255, 255, 255, 0.04);
}

.contact-section .property-summary-card strong {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.contact-link {
    color: #9cefdc;
    text-decoration: none;
}

.contact-link:hover {
    color: #12daa8;
    text-decoration: underline;
}

.inquiry-form {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.25rem;
    padding: 2.5rem;
}

.inquiry-form-heading {
    margin-bottom: 2rem;
}

.inquiry-form-heading h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #f7fbff;
    margin-bottom: 0.5rem;
}

.inquiry-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.inquiry-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.inquiry-field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(240, 242, 247, 0.85);
    letter-spacing: 0.02em;
}

.inquiry-field-full {
    margin-bottom: 1.25rem;
}

.required-mark {
    color: #9cefdc;
    margin-left: 2px;
}

.optional-mark {
    font-size: 0.78rem;
    font-weight: 400;
    color: rgba(240, 242, 247, 0.5);
}

.inquiry-input {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.6rem;
    color: #f0f2f7;
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
    width: 100%;
    transition: border-color 180ms ease, box-shadow 180ms ease;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
}

.inquiry-input:focus {
    outline: none;
    border-color: #12daa8;
    box-shadow: 0 0 0 3px rgba(18, 218, 168, 0.18);
}

.inquiry-input[aria-invalid="true"] {
    border-color: #ff8a8a;
    box-shadow: 0 0 0 3px rgba(255, 138, 138, 0.15);
}

.inquiry-input::placeholder {
    color: rgba(240, 242, 247, 0.35);
}

.inquiry-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239cefdc' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2.5rem;
}

.inquiry-select option {
    background: #0b1a1f;
    color: #f0f2f7;
}

.inquiry-textarea {
    resize: vertical;
    min-height: 120px;
}

.inquiry-error {
    font-size: 0.8rem;
    color: #ff8a8a;
    min-height: 1.1em;
}

.inquiry-form-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 0.5rem;
}

.inquiry-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.inquiry-success {
    text-align: center;
    padding: 2.5rem 1rem;
}

.inquiry-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(18, 218, 168, 0.15);
    border: 2px solid #12daa8;
    border-radius: 50%;
    font-size: 1.5rem;
    color: #12daa8;
    margin-bottom: 1rem;
}

.inquiry-success h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #f7fbff;
    margin-bottom: 0.5rem;
}

.inquiry-success p {
    color: rgba(240, 242, 247, 0.82);
}

.inquiry-error-banner {
    margin-top: 1rem;
    background: rgba(255, 100, 100, 0.08);
    border: 1px solid rgba(255, 100, 100, 0.28);
    border-radius: 0.6rem;
    padding: 1rem;
    color: #ff8a8a;
    font-size: 0.9rem;
}

.inquiry-error-banner p {
    margin: 0;
}

.availability-modal .modal-content {
    background: linear-gradient(180deg, rgba(6, 13, 19, 0.96), rgba(8, 14, 20, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.4rem;
    color: #f0f2f7;
    box-shadow: 0 28px 65px rgba(0, 0, 0, 0.42);
}

.availability-modal-header,
.availability-modal-footer {
    border-color: rgba(255, 255, 255, 0.08);
    padding: 1.4rem 1.5rem;
}

.availability-modal-header {
    align-items: flex-start;
}

.availability-modal-copy {
    margin: 0.45rem 0 0;
    color: rgba(240, 242, 247, 0.8);
    max-width: 720px;
}

/* Touch target: calendar prev/next nav buttons — min 44×44px (WCAG 2.5.5) */
.availability-nav-btn {
    min-height: 44px;
    min-width: 44px;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
}

/* Touch target: availability modal close button — min 44×44px */
.availability-modal .btn-close {
    width: 44px;
    height: 44px;
    padding: 0;
    background-size: 1rem;
    flex-shrink: 0;
}

.availability-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.availability-month-label {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.availability-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.85rem;
    color: rgba(240, 242, 247, 0.8);
}

.availability-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.availability-legend-swatch {
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 0.25rem;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.availability-legend-swatch.is-available {
    background: rgba(118, 217, 171, 0.24);
}

.availability-legend-swatch.is-unavailable {
    background: rgba(214, 113, 113, 0.32);
}

.availability-legend-swatch.is-past {
    background: rgba(255, 255, 255, 0.08);
}

.availability-legend-symbol {
    font-weight: 700;
    font-size: 0.85rem;
}

.availability-status {
    margin-bottom: 1rem;
    color: rgba(240, 242, 247, 0.84);
}

.availability-weekdays,
.availability-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.7rem;
}

.availability-weekdays {
    margin-bottom: 0.7rem;
    color: rgba(240, 242, 247, 0.56);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.availability-weekdays span {
    text-align: center;
}

.availability-day {
    min-height: 108px;
    padding: 0.85rem 0.8rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.availability-day-number {
    font-size: 1rem;
    font-weight: 700;
}

.availability-day-status {
    font-size: 0.78rem;
    color: rgba(240, 242, 247, 0.72);
}

.availability-day.is-available {
    background: rgba(118, 217, 171, 0.12);
    border-color: rgba(118, 217, 171, 0.28);
}

.availability-day.is-available .availability-day-status {
    color: #9ff0c4;
}

.availability-day.is-unavailable {
    background: rgba(214, 113, 113, 0.14);
    border-color: rgba(214, 113, 113, 0.26);
}

.availability-day.is-unavailable .availability-day-status {
    color: #ffb0b0;
}

.availability-day.is-past {
    opacity: 0.58;
}

.availability-day.is-outside-month {
    background: rgba(255, 255, 255, 0.02);
    border-style: dashed;
}

.availability-day.is-outside-month .availability-day-status {
    visibility: hidden;
}

.availability-day.is-today {
    box-shadow: inset 0 0 0 1px rgba(140, 227, 207, 0.58);
}

footer {
    background: rgba(0, 0, 0, 0.85);
    color: rgba(255, 255, 255, 0.72);
}

footer p {
    margin: 0;
    font-size: 0.95rem;
}

.footer-social {
    margin-top: 0.75rem !important;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 200ms ease;
}

.footer-social-link:hover,
.footer-social-link:focus {
    color: #ffffff;
}

.footer-social-icon {
    width: 1.15rem;
    height: 1.15rem;
    fill: currentColor;
    flex-shrink: 0;
}

/* Sticky footer — gallery page only */
.gallery-page footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35);
}

.gallery-page main {
    padding-bottom: 90px;
}

@media (max-width: 992px) {
    :root {
        --site-header-offset: 102px;
    }

    .navbar-brand {
        gap: 0.8rem;
        max-width: calc(100% - 84px);
    }

    .navbar-brand img {
        width: 62px;
        height: 62px;
    }

    .brand-wordmark strong {
        font-size: 1.28rem;
    }

    .brand-wordmark span {
        font-size: 0.68rem;
        letter-spacing: 0.14em;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .home-hero .hero-media-frame {
        padding: 1rem 0;
    }

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

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

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

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

    .map-shell-header {
        align-items: flex-start;
    }

    .availability-meta {
        grid-template-columns: 1fr;
    }

    .availability-day {
        min-height: 94px;
    }
}

@media (max-width: 768px) {
    :root {
        --site-header-offset: 88px;
    }

    .inquiry-form {
        padding: 1.5rem 1.25rem;
    }

    .inquiry-form-grid {
        grid-template-columns: 1fr;
    }

    .navbar-brand {
        gap: 0.7rem;
        max-width: calc(100% - 72px);
    }

    .navbar-brand img {
        width: 54px;
        height: 54px;
    }

    .brand-wordmark strong {
        font-size: 1.05rem;
    }

    .brand-wordmark span {
        display: none;
    }

    .home-hero {
        height: 100dvh;
        min-height: 100dvh;
    }

    .home-hero .hero-background {
        filter: brightness(0.52) blur(8px) saturate(1.04);
        transform: scale(1.03);
    }

    .home-hero .hero-slide {
        object-fit: cover;
    }

    .home-hero .hero-slide[data-slide-key="sunset"] {
        object-position: center 68%;
    }

    .home-hero .hero-slide[data-slide-key="lake-view"] {
        object-position: center center;
    }

    .hero-content h1 {
        font-size: 2.7rem;
    }

    .features-section {
        padding-top: 100px;
    }

    .info-grid,
    .photo-grid {
        grid-template-columns: 1fr;
    }

    .gallery-photo-grid,
    .harbor-mini-grid {
        grid-template-columns: 1fr;
    }

    .property-summary-grid {
        grid-template-columns: 1fr;
    }

    .site-detail-summary-grid {
        grid-template-columns: 1fr;
    }

    .resort-map-shell,
    .map-sidebar-card {
        padding: 1.1rem;
    }

    .map-actions {
        flex-direction: column;
    }

    .amenity-card,
    .location-card {
        padding: 1.4rem;
    }

    .availability-toolbar {
        flex-direction: column;
    }

    .availability-weekdays,
    .availability-grid {
        gap: 0.45rem;
    }

    .availability-day {
        min-height: 82px;
        padding: 0.65rem 0.55rem;
    }

    .availability-day-number {
        font-size: 0.92rem;
    }

    .availability-day-status {
        font-size: 0.72rem;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 650ms ease, transform 650ms ease;
}

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

.back-to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: rgba(18, 218, 172, 0.9);
    color: #030a0f;
    font-size: 1.4rem;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease, transform 220ms ease;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.35);
    z-index: 200;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-8px);
}

/* Larger logo and wordmark in navbar */
.navbar-brand img {
    max-height: none;
}

/* Small phone hero — keep CTAs above the fold on 375–480px screens */
@media (max-width: 480px) {
    .home-hero .hero-content {
        padding: 1rem;
    }

    .home-hero .hero-content .eyebrow {
        margin-bottom: 0.5rem;
    }

    .home-hero .hero-content h1 {
        font-size: 1.85rem;
        margin-bottom: 0.6rem;
    }

    /* Clamp lead to 3 lines so CTAs stay on screen */
    .home-hero .hero-content .lead {
        font-size: 0.9rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 1rem;
    }

    .hero-actions {
        gap: 0.6rem;
    }

    .hero-actions .btn {
        width: 100%;
        padding: 0.85rem 1.25rem;
    }
}

/* ─── Image-based interactive site map ─────────────────────────────────── */

.resort-map-image-container {
    position: relative;
    display: block;
    line-height: 0;
}

.resort-map-base-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 1.2rem;
    user-select: none;
    -webkit-user-drag: none;
}

.resort-map-overlay-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    cursor: default;
}

@media (max-width: 767.98px) {
    .resort-map-image-container {
        min-width: 560px;
    }
}

/* Site hit-target rects — transparent by default, image shows through */
.resort-map-image-container .map-site rect {
    fill: transparent;
    stroke: transparent;
    stroke-width: 3;
    transition: fill 140ms ease, stroke 140ms ease;
}

/* Available = green tint + border */
.resort-map-image-container .map-site.is-available {
    cursor: pointer;
}
.resort-map-image-container .map-site.is-available rect {
    fill: rgba(74, 222, 128, 0.28);
    stroke: rgba(74, 222, 128, 0.85);
    stroke-width: 2.5;
}
.resort-map-image-container .map-site.is-available:hover rect,
.resort-map-image-container .map-site.is-available:focus rect {
    fill: rgba(74, 222, 128, 0.50);
    stroke: #ffffff;
    stroke-width: 3;
}
.resort-map-image-container .map-site.is-available:focus-visible rect {
    stroke: #ffffff;
    stroke-width: 4;
    outline: none;
}

/* Selected ring */
.resort-map-image-container .map-site.is-selected rect {
    stroke: #ffffff;
    stroke-width: 4;
}

/* Unavailable — invisible overlay (image already shows them) */
.resort-map-image-container .map-site.is-unavailable rect {
    fill: transparent;
    stroke: transparent;
}

/* New site boxes (35, 36) drawn on top of image — dashed outline only */
.resort-map-image-container .map-site.is-new rect {
    fill: rgba(148, 163, 184, 0.08);
    stroke: rgba(148, 163, 184, 0.55);
    stroke-width: 2;
    stroke-dasharray: 5 3;
}
.resort-map-image-container .map-site.is-new text {
    fill: rgba(226, 232, 240, 0.9);
    font-size: 11px;
    font-weight: 700;
    pointer-events: none;
}
/* Perpendicular column site number labels */
.resort-map-image-container .map-site.perp-column-site text {
    fill: rgba(226, 232, 240, 0.7);
    font-size: 10px;
    font-weight: 700;
    pointer-events: none;
}

/* Filtered out — hide the whole group */
.resort-map-image-container .map-site.is-filtered-out {
    display: none;
}

/* ─── Site gallery modal ────────────────────────────────────────────────── */

.site-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.site-gallery-photo {
    border-radius: 0.75rem;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: rgba(255, 255, 255, 0.04);
}

.site-gallery-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
}

.site-gallery-photo img:hover {
    transform: scale(1.04);
}

.availability-modal .modal-content {
    background: #0f1c22;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
}
.availability-modal .modal-header,
.availability-modal .modal-footer {
    border-color: rgba(255, 255, 255, 0.07);
}
.availability-modal .modal-title {
    color: #e8f0f3;
    font-size: 1.3rem;
}
.availability-modal-copy {
    font-size: 0.82rem;
    color: rgba(220, 235, 240, 0.55);
    margin: 0;
}

@media (max-width: 575.98px) {
    .site-gallery-grid {
        grid-template-columns: 1fr;
    }
}
