:root {
    --red: #e10600;
    --red-dark: #be0d08;
    --navy: #0c2348;
    --navy-deep: #08162f;
    --ink: #172033;
    --muted: #5d6b80;
    --line: #e4eaf2;
    --paper: #f4f7fb;
    --white: #fff;
    --shadow: 0 16px 40px rgba(16, 36, 68, 0.08);
}

* { box-sizing: border-box; }
.hide { display: none !important; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font: 16px/1.5 Outfit, "Segoe UI", sans-serif;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    backdrop-filter: blur(10px);
}
.header-bar { display: flex; align-items: center; gap: 22px; min-height: 78px; }
.logo { font-family: Fraunces, Georgia, serif; font-size: 28px; font-weight: 680; letter-spacing: -0.03em; }
.logo span { color: var(--red); }
.logo.light { color: white; }
.desktop-nav { display: flex; gap: 22px; margin-right: auto; color: #24324a; font-weight: 500; }
.desktop-nav a.active { color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.phone { font-weight: 600; white-space: nowrap; }
.menu-toggle, .mobile-nav { display: none; }
.btn, .btn-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    background: var(--red);
    color: white;
    font-weight: 650;
    cursor: pointer;
}
.btn:hover, .btn-dark:hover { background: var(--red-dark); }
.btn-dark { background: var(--navy); }
.btn-dark:hover { background: #16356d; }
.btn.block, .btn-dark.block { width: 100%; }

.hero {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: flex-end;
    color: white;
    background:
        linear-gradient(180deg, rgba(8, 18, 32, 0.18), rgba(8, 18, 32, 0.62)),
        url("photos/hero.jpg") center 40% / cover no-repeat;
}
.hero-copy { padding: 72px 0 118px; max-width: 760px; }
.eyebrow {
    margin: 0 0 10px;
    letter-spacing: 0.16em;
    font-size: 13px;
    font-weight: 650;
}
h1, h2, h3 { font-family: Fraunces, Georgia, serif; letter-spacing: -0.03em; font-weight: 680; }
.hero h1 { margin: 0; font-size: clamp(48px, 6vw, 78px); line-height: 0.92; }
.hero .lede { margin: 16px 0 8px; font-size: 20px; letter-spacing: 0.08em; font-weight: 600; }
.hero .sub { margin: 0; color: rgba(255, 255, 255, 0.86); }

.search-card {
    margin-top: -48px;
    position: relative;
    z-index: 2;
    background: white;
    border-radius: 18px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 0.9fr auto;
    gap: 8px;
    padding: 10px;
}
.search-card label { display: grid; gap: 2px; padding: 8px 12px; }
.search-card span { color: var(--muted); font-size: 12px; font-weight: 650; }
.search-card input, .search-card select {
    border: 0;
    padding: 0;
    color: var(--ink);
    background: transparent;
    outline: none;
    width: 100%;
}
.search-card .btn { align-self: stretch; border-radius: 12px; padding-inline: 22px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 34px 0 10px; }
.feature { display: flex; gap: 12px; align-items: flex-start; padding: 8px 12px; }
.feature strong { display: block; }
.feature p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.icon-bubble {
    width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
    background: #eef3fb; color: var(--navy); flex: none;
}

#both-locations h1 { margin: 0; font-size: clamp(34px, 4vw, 52px); line-height: 1.05; }
.location-search { margin: 0 0 28px; }
.section { padding: 64px 0; }
.section.paper { background: var(--paper); }
.section-head, .split-copy h2, .owners-copy h2 { margin: 0; font-size: clamp(34px, 4vw, 52px); line-height: 1.05; }
.kicker { margin: 0 0 8px; color: var(--red); letter-spacing: 0.14em; font-size: 12px; font-weight: 700; }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 26px; }
.link-arrow { color: var(--navy); font-weight: 650; }

.stay-results-wrap { position: relative; min-height: 140px; }
.stay-loading {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.88);
}
.stay-loading p { margin: 0; color: var(--navy); font-weight: 650; }
.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--line);
    border-top-color: var(--red);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.stay-grid, .exp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.location-block { margin-top: 8px; }
.location-block + .location-block { margin-top: 36px; }
.location-name { margin: 0 0 4px; font-family: Fraunces, serif; font-size: 32px; color: var(--navy, #0c2348); }
.location-address { margin: 0 0 16px; color: #5d6b80; }
.card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.card img { height: 190px; width: 100%; object-fit: cover; }
.card-body { padding: 14px 14px 16px; }
.card h3 { margin: 0 0 6px; font-family: Outfit, sans-serif; font-size: 18px; letter-spacing: 0; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 12px; color: var(--muted); font-size: 13px; margin: 0 0 10px; }
.price { margin: 0 0 8px; font-weight: 700; }
.card .text-link { font-weight: 650; }

.exp-card { position: relative; min-height: 240px; border-radius: 18px; overflow: hidden; color: white; display: flex; align-items: end; }
.exp-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.exp-card div { position: relative; padding: 18px; background: linear-gradient(transparent, rgba(0,0,0,.72)); width: 100%; }
.exp-card h3, .exp-card p { margin: 0; }
.exp-card p { color: rgba(255,255,255,.86); font-size: 14px; }

.story { display: grid; grid-template-columns: 1.05fr 0.95fr; min-height: 460px; }
.story-photo { background: url("photos/bedroom.jpg") center/cover no-repeat; min-height: 320px; }
.story-copy { display: flex; flex-direction: column; justify-content: center; padding: 48px; background: white; }
.story-copy p { color: var(--muted); font-size: 17px; }

.owners { background: var(--navy); color: white; }
.owners-grid { display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 28px; align-items: center; }
.owners p { color: rgba(255,255,255,.8); }
.owner-points { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; }
.owner-points strong { display: block; }
.owner-points span { color: rgba(255,255,255,.72); font-size: 14px; }

.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.78); padding: 36px 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.4fr 0.8fr; gap: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 18px; align-content: start; }
.page-hero { padding: 42px 0 10px; background: var(--paper); }
.page-hero h1 { margin: 0; font-size: clamp(36px, 5vw, 58px); }
.narrow { width: min(760px, calc(100% - 40px)); margin: 0 auto; }
.prose p { color: var(--muted); font-size: 17px; }

.detail { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 28px; align-items: start; }
.gallery-main { width: 100%; height: 420px; object-fit: cover; border-radius: 20px; }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.gallery-thumbs button {
    border: 2px solid transparent; padding: 0; border-radius: 12px; overflow: hidden;
    background: none; cursor: pointer;
}
.gallery-thumbs button.is-active { border-color: var(--red); }
.gallery-thumbs img { width: 92px; height: 68px; object-fit: cover; display: block; }
.amount { margin: 16px 0 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.amount h3 { margin: 0 0 8px; font-size: 16px; }
.amount p { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 6px; font-size: 14px; }
.amount-note { color: var(--muted); }
.amount .total { margin-top: 8px; }
.plan-list { display: grid; gap: 8px; margin: 16px 0; }
.plan-list label {
    display: flex; justify-content: space-between; gap: 12px; align-items: center;
    border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px;
}
.book-card, .pay-card, .summary {
    background: white; border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: var(--shadow);
}
.book-card { position: sticky; top: 96px; }
.fields { display: grid; gap: 12px; }
.fields label, .stack label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); font-weight: 600; }
.fields input, .fields select, .stack input, .stack textarea, .stack select {
    border: 1px solid var(--line); border-radius: 12px; padding: 12px; color: var(--ink); background: white;
}
.checkout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 22px; }
.summary dt { color: var(--muted); font-size: 13px; }
.summary dd { margin: 0 0 10px; font-weight: 650; }
.total { font-size: 28px; font-family: Fraunces, Georgia, serif; margin: 8px 0; }
.notice, .error {
    border-radius: 12px; padding: 12px 14px; margin: 0 0 14px;
}
.notice { background: #eef6ff; color: #16356d; }
.error { background: #fdecee; color: #8d2430; }
.methods { display: flex; gap: 8px; margin-bottom: 14px; }
.methods span { border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; font-size: 13px; }
.ok-banner { background: #e8f7ee; color: #146c36; border-radius: 12px; padding: 12px 14px; }

@media (max-width: 980px) {
    .desktop-nav, .phone { display: none; }
    .menu-toggle, .mobile-nav { display: block; }
    .mobile-nav { padding: 8px 20px 16px; display: grid; gap: 10px; }
    .mobile-nav[hidden] { display: none; }
    .search-card, .features, .stay-grid, .exp-grid, .story, .owners-grid, .footer-grid, .detail, .checkout {
        grid-template-columns: 1fr;
    }
    .search-card .btn { min-height: 48px; }
    .hero { min-height: 560px; }
    .story-copy { padding: 28px 20px 40px; }
}
