/* ═══════════════════════════════════════════════════════
   BIDE HOTELS — Design System v2.0
   Premium Hospitality + Conversion-Focused
   ═══════════════════════════════════════════════════════ */

/* ── Fonts ── */
@font-face {
    font-family: 'TT Ramillas';
    src: url('../assets/fonts/TT_Ramillas_Light.woff2') format('woff2'),
         url('../assets/fonts/TT_Ramillas_Light.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Ramillas';
    src: url('../assets/fonts/TT_Ramillas_Light_Italic.woff2') format('woff2'),
         url('../assets/fonts/TT_Ramillas_Light_Italic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Jost';
    src: url('../assets/fonts/Jost-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Jost';
    src: url('../assets/fonts/Jost-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

:root {
    --dark: #122521;
    --dark-hover: #0a1412;
    --accent: #fab30c;
    --accent-hover: #e5a30b;
    --bg: #fcf8f1;
    --bg-alt: #f5efe4;
    --white: #ffffff;
    --text: #104d3f;
    --text-muted: rgba(16, 77, 63, 0.6);
    --text-light: rgba(16, 77, 63, 0.4);
    --border: rgba(16, 77, 63, 0.08);
    --shadow-sm: 0 2px 12px rgba(16, 77, 63, 0.04);
    --shadow-md: 0 8px 30px rgba(16, 77, 63, 0.06);
    --shadow-lg: 0 20px 60px rgba(16, 77, 63, 0.08);
    --shadow-xl: 0 30px 80px rgba(16, 77, 63, 0.12);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Jost', 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, .serif {
    font-family: 'TT Ramillas', 'Playfair Display', Georgia, serif;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Layout ── */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-tight {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}
}

.container-wide {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}

section { padding: 7rem 0; }
section.section-lg { padding: 10rem 0; }
section.section-sm { padding: 4rem 0; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }
.gap-3 { gap: 3rem; }
.gap-4 { gap: 4rem; }
.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.w-full { width: 100%; }

/* ── Typography ── */
.h1 { font-size: clamp(3rem, 6vw, 5.5rem); overflow-wrap: break-word; }
.h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); overflow-wrap: break-word; }
.h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); overflow-wrap: break-word; }
.h4 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

.body-lg {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.body-sm {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.section-intro {
    max-width: 640px;
    margin: 0 auto 4rem;
}

.section-intro.left {
    margin-left: 0;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.1rem 2.6rem;
    font-family: 'Jost', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--radius-sm);
    position: relative;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: var(--dark);
    box-shadow: 0 4px 20px rgba(250, 179, 12, 0.3);
}
.btn-primary:hover {
    background: var(--dark);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(16, 77, 63, 0.2);
}

.btn-secondary {
    background: var(--dark);
    color: var(--bg);
}
.btn-secondary:hover {
    background: var(--dark-hover);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1.5px solid var(--dark);
    color: var(--dark);
    background: transparent;
}
.btn-outline:hover {
    background: var(--dark);
    color: var(--bg);
}

.btn-outline-light {
    border: 1.5px solid rgba(252,248,241,0.4);
    color: var(--bg);
    background: transparent;
}
.btn-outline-light:hover {
    background: var(--bg);
    color: var(--dark);
}

.btn-brand-green {
    background: var(--text);
    color: var(--bg);
}
.btn-brand-green:hover {
    background: var(--dark-hover);
    transform: translateY(-2px);
}

.btn-ghost {
    color: var(--dark);
    padding: 0.8rem 0;
    letter-spacing: 0.08em;
    position: relative;
}
.btn-ghost::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease);
}
.btn-ghost:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-lg { padding: 1.4rem 3.2rem; font-size: 0.9rem; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: var(--transition);
}
.link-arrow::after {
    content: '→';
    transition: transform 0.3s var(--ease);
}
.link-arrow:hover::after {
    transform: translateX(4px);
}

/* ── Navigation ── */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(252, 248, 241, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.8rem 0;
    box-shadow: 0 1px 0 var(--border);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ── Split Header Styling ── */
.abs-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.nav-links.desktop-split {
    width: 100%;
}

.nav-grp {
    display: flex;
    gap: 2rem;
    align-items: center;
}

@media(min-width: 901px) {
    .nav-links.desktop-split {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .nav-links.desktop-split .nav-grp:first-child {
        justify-content: flex-end;
        padding-right: 120px;
    }
    .nav-links.desktop-split .nav-grp:last-child {
        justify-content: flex-start;
        padding-left: 120px;
    }
    .nav-grp {
        flex-direction: row;
    }
}

.btn-sm {
    padding: 0.6rem 1.4rem;
    font-size: 0.75rem;
}

@media(min-width: 901px) {
    .nav-links .header-booking-btn {
        position: absolute !important;
        right: 2rem;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
    }
}

.logo img {
    height: 38px;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--text);
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    transition: width 0.3s var(--ease);
}
.nav-links a:not(.btn):hover::after {
    width: 100%;
}

/* Nav on dark hero */
.site-header.on-dark .nav-links a:not(.btn) { color: var(--bg); }
.site-header.on-dark .logo img:not(.logo-dark):not(.logo-light) { filter: brightness(10); }
.site-header.on-dark.scrolled .nav-links a:not(.btn) { color: var(--text); }
.site-header.on-dark.scrolled .logo img:not(.logo-dark):not(.logo-light) { filter: none; }

/* Dual Logo logic */
.logo-light { display: none; }
.logo-dark { display: block; }

.site-header.on-dark .logo-light { display: block; }
.site-header.on-dark .logo-dark { display: none; }

.site-header.scrolled .logo-light { display: none !important; }
.site-header.scrolled .logo-dark { display: block !important; }

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* ── Sticky Booking Bar ── */
.booking-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--dark);
    color: var(--bg);
    padding: 1rem 0;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.5s var(--ease);
    box-shadow: 0 -4px 30px rgba(0,0,0,0.15);
}

.booking-bar.visible {
    transform: translateY(0);
}

.booking-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.booking-bar-text {
    font-size: 0.9rem;
    opacity: 0.9;
}

.booking-bar-text strong {
    font-family: 'TT Ramillas', serif;
    font-size: 1.1rem;
}

.booking-bar .btn-primary {
    flex-shrink: 0;
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(18,37,33,0.85) 0%, rgba(18,37,33,0.5) 60%, transparent 100%), rgba(0,0,0,0.45);
    z-index: 1;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: var(--bg);
    text-shadow: 0 4px 50px rgba(0,0,0,0.5);
}

.hero-content .eyebrow { color: var(--accent); }

.hero h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.08;
    margin-bottom: 1.5rem;
    color: var(--bg);
}

.hero p {
    font-size: 1.2rem;
    line-height: 1.7;
    opacity: 1;
    max-width: 520px;
    margin-bottom: 2.5rem;
}

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

/* Hero height variants */
.hero-md { min-height: 75vh; }
.hero-sm { min-height: 60vh; }

/* Quick booking bar inside hero */
.hero-booking-bar {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    background: var(--white);
    padding: 1.5rem 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-width: 700px;
}

.booking-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
    border-right: 1px solid var(--border);
    padding-right: 1.5rem;
}

.booking-field:last-of-type { border-right: none; padding-right: 0; }

.booking-field label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 500;
}

.booking-field input,
.booking-field select {
    border: none;
    background: transparent;
    font-family: 'Jost', sans-serif;
    font-size: 0.95rem;
    color: var(--text);
    outline: none;
    padding: 0.3rem 0;
}

/* ── Cards ── */
.card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.card-img {
    height: 320px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.card:hover .card-img img {
    transform: scale(1.06);
}

.card-body {
    padding: 2rem 2.2rem;
}

.card-body h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}

.card-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.08em;
    border-radius: 20px;
    margin-bottom: 0.8rem;
}
.badge-accent { background: var(--accent); color: var(--dark); }
.badge-dark { background: var(--dark); color: var(--bg); }

/* ── Pricing Tiers ── */
.tier-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.tier-card {
    padding: 3rem 2.5rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.tier-card:hover {
    box-shadow: var(--shadow-md);
}

.tier-card.recommended {
    border: 2px solid var(--accent);
    transform: scale(1.04);
    z-index: 2;
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.tier-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--dark);
    padding: 0.45rem 1.4rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.tier-name {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.tier-price {
    font-family: 'TT Ramillas', serif;
    font-size: 2.8rem;
    margin-bottom: 0.3rem;
    color: var(--dark);
}

.tier-price-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.tier-features {
    text-align: left;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.tier-features li {
    padding: 0.7rem 0;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    border-bottom: 1px solid var(--border);
}

.tier-features li:last-child { border-bottom: none; }

.tier-features .check {
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
}

.tier-features .cross {
    color: var(--text-light);
    flex-shrink: 0;
}

.tier-features li.disabled {
    color: var(--text-light);
}

/* ── Testimonials ── */
.testimonial-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.testimonial-card .stars {
    color: var(--accent);
    font-size: 1rem;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.testimonial-card blockquote {
    font-family: 'TT Ramillas', serif;
    font-size: 1.3rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    color: var(--text);
}

.testimonial-card .author {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ── Feature List ── */
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.8rem 0;
    font-size: 1rem;
}

.feature-list li span {
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
}

/* ── Split Sections ── */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.split-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 550px;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── Stats Row ── */
.stats-row {
    display: flex;
    gap: 4rem;
    margin-top: 3rem;
}

.stat-item .stat-number {
    font-family: 'TT Ramillas', serif;
    font-size: 2.5rem;
    color: var(--accent);
    line-height: 1;
}

.stat-item .stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.5rem;
}

/* ── Banner / CTA Sections ── */
.banner {
    background: var(--dark);
    color: var(--bg);
    padding: 5rem 0;
}

.banner-accent {
    background: var(--accent);
    color: var(--dark);
}

/* ── Toggle Switch ── */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #ddd;
    transition: 0.3s;
    border-radius: 28px;
}
.slider::before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background: var(--white);
    transition: 0.3s;
    border-radius: 50%;
}
input:checked + .slider { background: var(--accent); }
input:checked + .slider::before { transform: translateX(24px); }

/* ── FAQ Accordion ── */
.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.8rem 0;
    font-family: 'Jost', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    text-align: left;
    background: none;
    border: none;
}

.faq-question .icon {
    font-size: 1.5rem;
    transition: transform 0.3s var(--ease);
    color: var(--accent);
}

.faq-item.active .faq-question .icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding-bottom: 1.8rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ── Email Capture ── */
.email-capture {
    display: flex;
    gap: 0;
    max-width: 500px;
}

.email-capture input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 1.5px solid var(--border);
    border-right: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    font-family: 'Jost', sans-serif;
    font-size: 0.9rem;
    background: var(--white);
    color: var(--text);
    outline: none;
}

.email-capture input:focus {
    border-color: var(--accent);
}

.email-capture .btn {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ── Divider ── */
.divider {
    width: 60px;
    height: 2px;
    background: var(--accent);
    margin: 2rem 0;
}

.divider-center {
    margin-left: auto;
    margin-right: auto;
}

/* ── Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Footer ── */
footer {
    background: var(--dark);
    color: var(--bg);
    padding: 6rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(252,248,241,0.1);
}

.footer-brand p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 1.5rem;
    max-width: 280px;
    line-height: 1.6;
}

.footer-brand .logo img {
    height: 20px;
    filter: brightness(10);
}

.footer-col h4 {
    font-family: 'Jost', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.footer-col a {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-col a:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-email input {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: rgba(252,248,241,0.08);
    border: 1px solid rgba(252,248,241,0.15);
    border-radius: var(--radius-sm);
    color: var(--bg);
    font-family: 'Jost', sans-serif;
    font-size: 0.85rem;
    outline: none;
    margin-bottom: 0.8rem;
}

.footer-email input::placeholder { color: rgba(252,248,241,0.4); }
.footer-email input:focus { border-color: var(--accent); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    font-size: 0.8rem;
    opacity: 0.4;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.footer-socials a:hover { opacity: 1; color: var(--accent); }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-booking-bar {
        min-width: auto;
        flex-wrap: wrap;
        padding: 1.2rem 1.5rem;
        width: calc(100% - 4rem);
    }
    .booking-field { border-right: none; padding-right: 0; }
    .split { grid-template-columns: 1fr; gap: 3rem; }
    .split-image { height: 400px; }
    .tier-grid { grid-template-columns: 1fr; max-width: 450px; margin: 0 auto; }
    .tier-card.recommended { transform: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-row { gap: 2rem; flex-wrap: wrap; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ── Custom Cards ── */
.bide-card {
    background: var(--bg-alt);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(16, 77, 63, 0.05);
    transition: var(--transition);
}
.bide-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--white);
}

.bide-card.dark {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(252, 248, 241, 0.1);
    color: var(--bg);
}
.bide-card.dark:hover {
    background: rgba(255, 255, 255, 0.05);
}

.bide-card-sm {
    padding: 1.5rem;
}

/* ── Home Page Refinements ── */
.press-bar {
    padding: 3rem 0;
    background: var(--dark);
    display: flex;
    justify-content: center;
    align-items: center;
}
.press-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    filter: grayscale(1) brightness(10);
    opacity: 0.5;
}
.press-logos img {
    height: 24px;
    width: auto;
}

.founder-note {
    background: var(--bg-alt);
    padding: 8rem 0;
}
.founder-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 6rem;
    align-items: center;
}
.founder-img {
    height: 450px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.founder-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.founder-quote {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    line-height: 1.6;
    color: var(--dark);
    font-family: 'TT Ramillas', serif;
    position: relative;
    font-style: italic;
    margin-bottom: 2.5rem;
}
.founder-quote::before {
    content: '"';
    font-size: 5rem;
    position: absolute;
    top: -2.5rem;
    left: -2rem;
    opacity: 0.1;
}
.founder-signature {
    font-family: 'TT Ramillas', serif;
    font-size: 1.5rem;
    font-weight: 400;
}

.neighborhood-vibe {
    padding: 8rem 0;
}
.vibe-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}
.vibe-card:nth-child(even) {
    direction: rtl;
}
.vibe-card:nth-child(even) > div {
    direction: ltr;
}

/* ── Direct Advantage Utility ── */
.direct-advantage-box {
    background: var(--dark);
    color: var(--bg);
    border-radius: var(--radius-md);
    padding: 5rem;
    gap: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

@media (max-width: 900px) {
    .direct-advantage-box {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
        gap: 2.5rem;
    }
}
.vibe-img {
    height: 500px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.vibe-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.vibe-content h3 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    section { padding: 5rem 0; }
    .container { padding: 0 1.5rem; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--bg);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2.5rem;
        gap: 1.5rem;
        transition: right 0.4s var(--ease);
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    }
    .nav-links.open { right: 0; }
    .nav-links a:not(.btn) { 
        font-size: 1.1rem; 
        color: var(--text) !important; /* Force dark text on light menu background */
    }
    .nav-toggle { display: flex; }
    .nav-toggle.active span { background: var(--text) !important; } /* Toggle color when open */

    .site-header.on-dark .nav-toggle span { background: var(--bg); }
    .site-header.on-dark.scrolled .nav-toggle span { background: var(--text); }

    .hero h1 { font-size: clamp(2.2rem, 8vw, 3rem); overflow-wrap: break-word; }
    .hero-booking-bar {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        width: 100%;
        flex-direction: column;
        margin-top: 2rem;
        min-width: auto;
    }

    .btn { white-space: normal; padding: 1rem 2rem; text-align: center; line-height: 1.4; width: 100%; }
    .btn-lg { padding: 1.2rem 2.2rem; font-size: 0.85rem; }
    .hero-actions { flex-direction: column; width: 100%; }

    .split { grid-template-columns: 1fr; gap: 2.5rem; }
    .split-image { height: 300px; }
    .vibe-card { grid-template-columns: 1fr; gap: 2rem; direction: ltr !important; }
    .vibe-card:nth-child(even) { direction: ltr !important; }
    .vibe-card:nth-child(even) > div { direction: ltr !important; }
    .vibe-img { height: 350px; }
    .vibe-content { padding: 0 0.5rem; }
    
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

    .booking-bar .container {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }

    .hero h1 { font-size: clamp(2rem, 10vw, 3rem); line-height: 1.15; }
    .hero p { font-size: 1rem; line-height: 1.6; }
    .eyebrow { font-size: 0.65rem; margin-bottom: 1rem; }

    .stats-row { flex-direction: column; gap: 1.5rem; }
    
    .founder-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .founder-img { height: 400px; max-width: 300px; margin: 0 auto; }
    .founder-quote::before { left: 50%; transform: translateX(-50%); top: -3rem; }

    .desktop-split .nav-grp {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .abs-logo {
        position: relative !important;
        left: 0 !important;
        transform: none !important;
    }
}

/* ── Modal Styles ── */
.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.8); align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
.modal.active { display: flex; opacity: 1; }
.modal-content { background-color: #fefefe; margin: auto; padding: 2.5rem; border: 1px solid #888; width: 90%; max-width: 500px; border-radius: 8px; position: relative; transform: translateY(-20px); transition: transform 0.3s ease; color: #111; }
.modal.active .modal-content { transform: translateY(0); }
.close-modal { color: #aaa; position: absolute; right: 1.5rem; top: 1rem; font-size: 28px; font-weight: bold; cursor: pointer; transition: color 0.2s ease; }
.close-modal:hover, .close-modal:focus { color: black; text-decoration: none; cursor: pointer; }
