/* ==========================================================================
   Flagship Home Styles — Parque das Cascatas (Cartografia da Serra 60-30-10)
   ========================================================================== */

/* Header */
.home-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 65;
    padding: 12px 0;
    background: linear-gradient(180deg, rgba(8, 24, 18, 0.88) 0%, rgba(8, 24, 18, 0) 100%);
    transition: background 0.25s ease, border-color 0.25s ease, padding 0.25s ease;
    border-bottom: 1px solid transparent;
}

.home-header.is-scrolled {
    background: rgba(13, 36, 27, 0.96);
    backdrop-filter: blur(10px);
    padding: 9px 0;
    border-bottom-color: rgba(242, 239, 233, 0.12);
}

.home-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand-link { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand-img { height: 42px; width: auto; }

.home-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.home-nav a {
    color: rgba(242, 239, 233, 0.85);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: color 0.16s ease;
}

.home-nav a:hover { color: var(--gold-500); }

.home-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-proposta-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    background: rgba(9, 25, 46, 0.88);
    border: 1px solid rgba(10, 102, 194, 0.65);
    border-radius: 8px;
    color: #F8FAFC;
    font-size: 0.79rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(10, 102, 194, 0.22);
    transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.nav-proposta-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #38BDF8;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.8);
}

.nav-proposta-link:hover {
    background: #09192E;
    border-color: #38BDF8;
    color: #FFFFFF;
    transform: translateY(-1px);
}

.footer-onira-brand {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    opacity: 0.82;
    transition: opacity 0.18s ease;
}
.footer-onira-brand:hover { opacity: 1; }
.footer-onira-brand img { height: 15px; width: auto; display: block; }

.btn-header-reserve { padding: 9px 16px; font-size: 0.82rem; }

/* 1st Fold: Clean Cinematic Hero + Single Experience Dock */
.hero-cinema {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 96px;
    padding-bottom: 30px;
    overflow: hidden;
    background: var(--pine-950);
    gap: 28px;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    opacity: 0;
    transform: scale(1.015);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 9s ease-out;
}

.hero-bg-img.is-active {
    opacity: 1;
    transform: scale(1.045);
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 24, 18, 0.78) 0%, rgba(13, 36, 27, 0.36) 44%, rgba(8, 24, 18, 0.95) 94%),
        linear-gradient(90deg, rgba(8, 24, 18, 0.85) 0%, rgba(8, 24, 18, 0.28) 65%);
}

.hero-topo-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-stage {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    width: 100%;
    margin-top: auto;
}

.hero-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-meta-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    color: var(--gold-400);
}

.meta-dot { opacity: 0.5; }

/* Subtle Background View Switcher (top-right, non-competing) */
.hero-view-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    background: rgba(8, 24, 18, 0.72);
    border: 1px solid rgba(242, 239, 233, 0.2);
    border-radius: 999px;
    backdrop-filter: blur(8px);
}

.hvt-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: rgba(242, 239, 233, 0.75);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hvt-btn svg { width: 13px; height: 13px; }
.hvt-btn:hover { color: var(--linen-100); }
.hvt-btn.active {
    background: var(--gold-500);
    color: var(--gold-ink);
}

.hero-headline-wrap { max-width: 850px; }

.hero-h1 {
    margin: 0 0 14px;
    font-size: clamp(2.4rem, 5.2vw, 4.6rem);
    color: var(--linen-100);
    line-height: 1.05;
}

.hero-h1 em { color: var(--gold-400); }

.hero-lead {
    margin: 0;
    max-width: 670px;
    font-size: clamp(0.96rem, 1.4vw, 1.1rem);
    color: rgba(242, 239, 233, 0.9);
    line-height: 1.62;
}

/* Integrated Territory Facts Row */
.hero-facts-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    max-width: 880px;
}

.hf-pill {
    padding: 11px 14px;
    background: rgba(8, 24, 18, 0.68);
    border: 1px solid rgba(242, 239, 233, 0.16);
    border-left: 2px solid var(--gold-500);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hf-pill strong {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--linen-100);
    line-height: 1.1;
}

.hf-pill span {
    font-size: 0.73rem;
    color: rgba(242, 239, 233, 0.74);
}

/* Single Experience Dock (3 Clear Interactive Cards) */
.hero-dock {
    position: relative;
    z-index: 4;
}

.hero-dock-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(242, 239, 233, 0.72);
    margin-bottom: 10px;
}

.hero-triage-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.triage-door {
    background: rgba(8, 24, 18, 0.88);
    border: 1px solid rgba(242, 239, 233, 0.22);
    border-radius: 6px;
    padding: 16px 18px;
    text-align: left;
    color: var(--linen-100);
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    font-family: var(--font-sans);
    backdrop-filter: blur(12px);
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.triage-door:hover {
    transform: translateY(-3px);
    background: rgba(19, 49, 37, 0.94);
    border-color: var(--gold-500);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.triage-door:active {
    transform: translateY(-1px) scale(0.985);
}

.triage-door.active {
    background: linear-gradient(135deg, rgba(230, 168, 23, 0.18) 0%, rgba(13, 36, 27, 0.94) 100%);
    border-color: var(--gold-500);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), inset 0 -2px 0 var(--gold-500);
}

.td-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(230, 168, 23, 0.14);
    border: 1px solid rgba(230, 168, 23, 0.4);
    color: var(--gold-400);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease, transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.td-icon svg { width: 19px; height: 19px; }

.triage-door:hover .td-icon,
.triage-door.active .td-icon {
    background: var(--gold-500);
    color: var(--gold-ink);
    transform: scale(1.06);
}

.td-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1 1 auto;
    min-width: 0;
}

.td-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.td-text strong {
    font-size: 0.96rem;
    font-weight: 800;
    color: var(--linen-100);
}

.td-badge {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(16, 185, 129, 0.38);
    color: var(--emerald-bright);
}

.td-text > span {
    font-size: 0.78rem;
    color: rgba(242, 239, 233, 0.76);
}

.td-arrow {
    width: 18px;
    height: 18px;
    color: var(--gold-400);
    flex-shrink: 0;
    opacity: 0.75;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
}

.triage-door:hover .td-arrow {
    transform: translate(2px, 2px);
    opacity: 1;
}

/* Chapter Sections */
.chapter-light { padding: clamp(64px, 7vw, 96px) 0; }
.chapter-dark { padding: clamp(64px, 7vw, 96px) 0; }
.section-divider-top { border-top: 1px solid var(--linen-300); }

.chapter-h2-dark {
    margin: 12px 0 20px;
    font-size: clamp(2rem, 3.8vw, 3.1rem);
    color: var(--ink-900);
}

.chapter-h2-light {
    margin: 12px 0 18px;
    font-size: clamp(1.95rem, 3.5vw, 2.85rem);
    color: var(--linen-100);
    max-width: 28ch;
}

/* 2nd Fold: Segmented Pill Switcher with Elastic Sliding Indicator */
.chapter-head-dark {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 34px;
}

.rental-tabs-shell {
    display: flex;
    align-items: center;
}

.rental-tabs {
    position: relative;
    display: inline-grid;
    grid-template-columns: repeat(3, 1fr);
    background: rgba(8, 24, 18, 0.85);
    border: 1px solid rgba(242, 239, 233, 0.2);
    border-radius: 10px;
    padding: 5px;
    gap: 4px;
    width: 100%;
    max-width: 820px;
}

.rental-tab-indicator {
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 0;
    width: var(--tab-w, 33.333%);
    transform: translate3d(var(--tab-x, 5px), 0, 0);
    background: var(--gold-500);
    border-radius: 7px;
    box-shadow: 0 6px 20px rgba(230, 168, 23, 0.35);
    transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1), width 0.48s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    z-index: 0;
}

.rental-tab {
    position: relative;
    z-index: 1;
    background: transparent;
    border: none;
    border-radius: 7px;
    padding: 12px 16px;
    color: rgba(242, 239, 233, 0.78);
    font-family: var(--font-sans);
    font-size: 0.86rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: color 0.22s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rental-tab svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.rental-tab small {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    opacity: 0.8;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(242, 239, 233, 0.08);
}

.rental-tab:hover { color: var(--linen-100); }
.rental-tab:active { transform: scale(0.975); }

.rental-tab.active {
    color: var(--gold-ink);
}

.rental-tab.active small {
    background: rgba(13, 36, 27, 0.16);
    color: var(--gold-ink);
    opacity: 1;
}

/* Smooth Elastic Panel Transition */
.rental-panel.active {
    animation: panelSpringIn 0.52s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes panelSpringIn {
    from {
        opacity: 0;
        transform: translate3d(0, 16px, 0) scale(0.992);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

.visual-cards-row {
    margin-bottom: 24px;
}

.panel-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.units-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
}

.unit-card {
    background: var(--pine-800);
    border: 1px solid rgba(242, 239, 233, 0.16);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.22s ease, box-shadow 0.28s ease;
}

.unit-card:hover {
    transform: translateY(-4px);
    border-color: rgba(230, 168, 23, 0.45);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.unit-img {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    flex-shrink: 0;
}

.unit-img-trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: var(--pine-950);
    cursor: pointer;
    text-align: left;
}

.unit-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

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

.unit-code {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(8, 24, 18, 0.88);
    border: 1px solid rgba(230, 168, 23, 0.55);
    color: var(--gold-400);
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 700;
    padding: 4px 9px;
}

.unit-photo-count {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(8, 24, 18, 0.86);
    border: 1px solid rgba(242, 239, 233, 0.25);
    color: var(--linen-100);
    font-family: var(--font-mono);
    font-size: 0.64rem;
    font-weight: 700;
    padding: 4px 8px;
}

.unit-photo-count svg { width: 13px; height: 13px; color: var(--gold-400); }

.unit-card-footer {
    padding: 0 18px 18px;
}

.unit-open-modal {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.84rem;
}

/* Unit Details & Simulator Modal */
body.modal-open { overflow: hidden; }

.unit-modal {
    position: fixed;
    inset: 0;
    z-index: 105;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.unit-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 14, 10, 0.84);
    backdrop-filter: blur(6px);
}

.unit-modal-dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1060px;
    max-height: calc(100svh - 40px);
    overflow-y: auto;
    background: var(--pine-900);
    border: 1px solid rgba(242, 239, 233, 0.22);
    border-radius: var(--radius-sharp);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65);
}

.unit-modal-close {
    position: sticky;
    top: 12px;
    float: right;
    margin: 12px 12px -44px 0;
    z-index: 5;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 24, 18, 0.92);
    border: 1px solid rgba(242, 239, 233, 0.28);
    border-radius: var(--radius-sharp);
    color: var(--linen-100);
    cursor: pointer;
    transition: border-color 0.16s ease, color 0.16s ease;
}

.unit-modal-close:hover {
    border-color: var(--gold-500);
    color: var(--gold-400);
}

.unit-modal-close svg { width: 18px; height: 18px; }

.unit-modal-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.95fr;
    align-items: stretch;
}

.unit-modal-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    border-right: 1px solid rgba(242, 239, 233, 0.14);
}

.unit-gallery {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.unit-gallery-stage {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--pine-950);
    border: 1px solid rgba(242, 239, 233, 0.16);
    overflow: hidden;
}

.unit-gallery-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ug-counter {
    position: absolute;
    bottom: 10px;
    left: 12px;
    background: rgba(8, 24, 18, 0.86);
    border: 1px solid rgba(242, 239, 233, 0.22);
    color: var(--linen-100);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 8px;
}

.ug-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 24, 18, 0.82);
    border: 1px solid rgba(242, 239, 233, 0.28);
    color: var(--linen-100);
    cursor: pointer;
    transition: border-color 0.16s ease, color 0.16s ease;
}

.ug-nav:hover { border-color: var(--gold-500); color: var(--gold-400); }
.ug-nav svg { width: 16px; height: 16px; }
.ug-prev { left: 10px; }
.ug-next { right: 10px; }

.ug-caption {
    margin: 0;
    font-size: 0.76rem;
    color: rgba(242, 239, 233, 0.72);
    font-style: italic;
}

.ug-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.ug-thumb {
    padding: 0;
    border: 1px solid rgba(242, 239, 233, 0.2);
    background: var(--pine-950);
    aspect-ratio: 16 / 10;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.62;
    transition: opacity 0.16s ease, border-color 0.16s ease;
}

.ug-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ug-thumb:hover { opacity: 0.9; }
.ug-thumb.active {
    opacity: 1;
    border-color: var(--gold-500);
    box-shadow: 0 0 0 1px var(--gold-500);
}

.unit-modal-copy {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.unit-modal-desc {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(242, 239, 233, 0.86);
    line-height: 1.62;
}

.unit-modal-amenities {
    background: var(--pine-800);
    border: 1px solid rgba(242, 239, 233, 0.14);
    padding: 14px 16px;
}

.uma-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    color: var(--gold-400);
    margin-bottom: 10px;
}

.uma-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 14px;
}

.uma-list li {
    position: relative;
    padding-left: 14px;
    font-size: 0.8rem;
    color: rgba(242, 239, 233, 0.88);
    line-height: 1.4;
}

.uma-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--emerald-bright);
    font-weight: 800;
}

.unit-modal-rules {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 10px 12px;
    background: rgba(8, 24, 18, 0.6);
    border-left: 2px solid var(--gold-500);
    font-size: 0.78rem;
    color: rgba(242, 239, 233, 0.85);
}

.unit-modal-rules svg { width: 15px; height: 15px; color: var(--gold-500); flex-shrink: 0; margin-top: 2px; }

.unit-modal-sim {
    background: var(--linen-100);
    display: flex;
    flex-direction: column;
}

.unit-modal-sim .card-sim-form {
    border-top: none;
    height: 100%;
    padding: 24px 22px;
    justify-content: space-between;
}

.card-sim-extras--open {
    border: 1px solid var(--linen-300);
    background: rgba(255, 255, 255, 0.55);
}

.csf-extras-title {
    padding: 9px 10px 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ink-900);
}

.unit-body {
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.unit-inline-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.unit-inline-head h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.48rem;
    color: var(--linen-100);
    line-height: 1.12;
}

.unit-rate {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 800;
    color: var(--emerald-bright);
    white-space: nowrap;
}

.unit-rate small {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(242, 239, 233, 0.72);
}

.unit-body p {
    margin: 0 0 12px;
    font-size: 0.85rem;
    color: rgba(242, 239, 233, 0.8);
    line-height: 1.52;
}

.unit-specs {
    list-style: none;
    margin: auto 0 0;
    padding: 12px 0 0;
    border-top: 1px solid rgba(242, 239, 233, 0.12);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.unit-specs li {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    padding: 3px 8px;
    border: 1px solid rgba(242, 239, 233, 0.18);
    color: var(--linen-100);
}

/* Individual Card Simulator Form (Warm Linen Surface) */
.card-sim-form {
    background: var(--linen-100);
    color: var(--ink-900);
    border-top: 2px solid var(--gold-500);
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.csf-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.bb-step-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--emerald-price);
    letter-spacing: 0.08em;
}

.csf-cafe {
    font-family: var(--font-mono);
    font-size: 0.64rem;
    font-weight: 700;
    padding: 2px 7px;
    background: rgba(5, 150, 105, 0.12);
    color: var(--emerald-price);
    border: 1px solid rgba(5, 150, 105, 0.3);
}

.csf-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.csf-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

.card-sim-form label:not(.r-check) {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--ink-900);
}

.card-sim-form input[type="date"],
.card-sim-form input[type="text"],
.card-sim-form select {
    width: 100%;
    min-width: 0;
    padding: 8px 8px;
    border: 1px solid #BDB5A6;
    border-radius: var(--radius-sharp);
    background: #FFFFFF;
    color: var(--ink-900);
    font-family: var(--font-sans);
    font-size: 0.78rem;
}

.card-sim-extras {
    border: 1px solid var(--linen-300);
    background: rgba(255, 255, 255, 0.55);
}

.card-sim-extras summary {
    padding: 8px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ink-900);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-sim-extras summary::after {
    content: '+';
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--ink-600);
}

.card-sim-extras[open] summary::after { content: '−'; }

.csf-extras-body {
    padding: 0 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.r-check {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 9px;
    background: #FFFFFF;
    border: 1px solid var(--linen-300);
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
}

.r-check input { accent-color: var(--pine-900); width: 15px; height: 15px; flex-shrink: 0; }

.csf-name-label { margin-top: 2px; }

.card-sim-estimate {
    background: #FFFFFF;
    border: 1px solid var(--linen-300);
    border-left: 3px solid var(--emerald-price);
    padding: 11px 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bbe-row, .bbe-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    font-size: 0.76rem;
    color: var(--ink-600);
}

.bbe-row strong { color: var(--ink-900); font-weight: 700; text-align: right; }
.bbe-surcharge strong { color: #B45309; }

.bbe-total-row {
    padding-top: 6px;
    border-top: 1px solid var(--linen-200);
    font-size: 0.85rem;
    color: var(--ink-900);
    font-weight: 700;
}

.bbe-total-row strong {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--emerald-price);
}

.csf-submit {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.84rem;
}

/* Unit Details & Simulator Modal */
body.modal-open { overflow: hidden; }

.unit-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 105;
    background: rgba(8, 24, 18, 0.84);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.unit-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 1060px;
    max-height: calc(100svh - 40px);
    overflow-y: auto;
    background: var(--pine-900);
    border: 1px solid rgba(230, 168, 23, 0.42);
    border-radius: 8px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65);
    animation: modalSpringIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes modalSpringIn {
    from {
        opacity: 0;
        transform: translate3d(0, 22px, 0) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

.unit-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 12;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 24, 18, 0.9);
    border: 1px solid rgba(242, 239, 233, 0.3);
    border-radius: var(--radius-sharp);
    color: var(--linen-100);
    cursor: pointer;
    transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}

.unit-modal-close:hover {
    border-color: var(--gold-500);
    color: var(--gold-400);
    background: var(--pine-950);
}

.unit-modal-close svg { width: 18px; height: 18px; }

.unit-modal-layout {
    display: grid;
    grid-template-columns: 1.12fr 0.95fr;
    align-items: stretch;
}

.um-info-col {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: var(--pine-900);
}

.um-gallery {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.um-gallery-stage {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--pine-950);
    border: 1px solid rgba(242, 239, 233, 0.14);
}

.um-gallery-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.um-photo-counter {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 4px 9px;
    background: rgba(8, 24, 18, 0.86);
    border: 1px solid rgba(242, 239, 233, 0.24);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--linen-100);
}

.um-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 24, 18, 0.8);
    border: 1px solid rgba(242, 239, 233, 0.28);
    color: var(--linen-100);
    cursor: pointer;
    transition: border-color 0.16s ease, color 0.16s ease;
}

.um-nav-btn:hover { border-color: var(--gold-500); color: var(--gold-400); }
.um-nav-prev { left: 10px; }
.um-nav-next { right: 10px; }
.um-nav-btn svg { width: 16px; height: 16px; }

.um-photo-caption {
    margin: 0;
    font-size: 0.78rem;
    color: rgba(242, 239, 233, 0.72);
    line-height: 1.4;
}

.um-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.um-thumb {
    padding: 0;
    border: 2px solid transparent;
    background: var(--pine-950);
    aspect-ratio: 16 / 10;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.62;
    transition: opacity 0.16s ease, border-color 0.16s ease;
}

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

.um-thumb:hover { opacity: 0.9; }
.um-thumb.active {
    opacity: 1;
    border-color: var(--gold-500);
}

.um-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.um-details-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.um-details-head h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--linen-100);
    line-height: 1.1;
}

.um-desc {
    margin: 0;
    font-size: 0.88rem;
    color: rgba(242, 239, 233, 0.84);
    line-height: 1.6;
}

.um-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.um-highlight-cell {
    background: var(--pine-800);
    border: 1px solid rgba(242, 239, 233, 0.14);
    padding: 9px 11px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.um-highlight-cell span {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-400);
}

.um-highlight-cell strong {
    font-size: 0.82rem;
    color: var(--linen-100);
    font-weight: 700;
}

.um-amenities-wrap h4 {
    margin: 0 0 8px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--gold-400);
}

.um-amenities {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 12px;
}

.um-amenities li {
    position: relative;
    padding-left: 14px;
    font-size: 0.8rem;
    color: rgba(242, 239, 233, 0.86);
}

.um-amenities li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--emerald-bright);
    font-weight: 800;
}

.um-sim-col {
    background: var(--linen-100);
    border-left: 1px solid rgba(242, 239, 233, 0.16);
    display: flex;
    flex-direction: column;
}

.um-sim-form {
    border-top: none;
    padding: 24px 22px 22px;
    height: 100%;
    justify-content: space-between;
}

.um-extras-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.um-extras-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ink-900);
}

.um-extras-body {
    padding: 0;
}

.um-sim-footnote {
    margin: 0;
    font-size: 0.72rem;
    color: var(--ink-600);
    line-height: 1.45;
    text-align: center;
}

/* Camping & Day Use Panels */
.tariff-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.tariff-card, .structure-card {
    background: var(--pine-800);
    border: 1px solid rgba(242, 239, 233, 0.16);
    border-radius: var(--radius-sharp);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tc-head h3, .structure-card h3 {
    margin: 8px 0 0;
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--linen-100);
}

.tariff-rows { display: flex; flex-direction: column; }

.t-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(242, 239, 233, 0.12);
}

.t-row strong { display: block; font-size: 0.94rem; color: var(--linen-100); }
.t-row span { font-size: 0.78rem; color: rgba(242, 239, 233, 0.68); }
.t-price { color: var(--emerald-bright) !important; font-size: 1.05rem !important; white-space: nowrap; }

.rule-banners { display: flex; flex-direction: column; gap: 10px; }

.rule-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 13px;
    background: rgba(8, 24, 18, 0.55);
    border-left: 2px solid var(--gold-500);
    font-size: 0.82rem;
    color: var(--linen-100);
}
.rule-alert svg { width: 16px; height: 16px; color: var(--gold-500); flex-shrink: 0; margin-top: 2px; }

.amenity-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.amenity-columns h4 {
    margin: 0 0 10px;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-400);
}

.amenity-columns ul {
    margin: 0;
    padding-left: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.86rem;
    color: rgba(242, 239, 233, 0.86);
}

.amenity-columns strong { color: var(--emerald-bright); }

/* Chapter 03: General Hosting Instructions, Tariff Rules & FAQ */
.rules-strip-card {
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid var(--linen-300);
    border-left: 3px solid var(--pine-900);
    padding: 24px;
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rsc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.rsc-title {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--ink-900);
}

.rsc-badge {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 9px;
    background: rgba(5, 150, 105, 0.12);
    color: var(--emerald-price);
    border: 1px solid rgba(5, 150, 105, 0.3);
}

.rsc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.rsc-cell {
    background: #FFFFFF;
    border: 1px solid var(--linen-300);
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.rsc-cell span { font-size: 0.76rem; color: var(--ink-600); }
.rsc-cell strong { font-size: 0.94rem; font-weight: 800; color: var(--emerald-price); }

.rsc-note {
    margin: 0;
    font-size: 0.86rem;
    color: var(--ink-600);
    line-height: 1.55;
}

.logistics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 22px;
}

.log-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--linen-300);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.log-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--ink-600);
}

.log-card strong { font-family: var(--font-display); font-size: 1.7rem; color: var(--ink-900); }
.log-card p { margin: 0 0 8px; font-size: 0.87rem; color: var(--ink-600); }

.faq-block { margin-top: 44px; }
.faq-title { margin: 0 0 18px; font-size: 1.85rem; color: var(--ink-900); }

.faq-list { border-top: 1px solid var(--linen-300); }
.faq-item { border-bottom: 1px solid var(--linen-300); }

.faq-item summary {
    padding: 18px 0;
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--ink-900);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::after {
    content: '+';
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--ink-600);
}
.faq-item[open] summary::after { content: '−'; }

.faq-item p {
    margin: 0 0 18px;
    font-size: 0.9rem;
    color: var(--ink-600);
    max-width: 72ch;
}

/* Chapter 04: Services (Preserved Alternating Editorial Feature Format) */
.exp-showcase {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.exp-feature {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 32px;
    align-items: center;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid var(--linen-300);
    padding: 20px;
}

.exp-feature--reverse { grid-template-columns: 1fr 1.15fr; }
.exp-feature--reverse .exp-img { order: 2; }

.exp-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--pine-900);
}
.exp-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}
.exp-feature:hover .exp-img img { transform: scale(1.03); }

.exp-copy { padding: 12px 16px; }
.exp-kicker {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--emerald-price);
    margin-bottom: 8px;
}
.exp-copy h3 { margin: 0 0 10px; font-family: var(--font-display); font-size: 1.85rem; color: var(--ink-900); }
.exp-copy p { margin: 0; font-size: 0.94rem; color: var(--ink-600); line-height: 1.7; }

/* Footer */
.home-footer {
    background: var(--pine-950);
    border-top: 1px solid rgba(242, 239, 233, 0.12);
    padding: 36px 0;
}

.home-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-logo-img { height: 40px; width: auto; margin-bottom: 8px; }
.footer-address { margin: 0; font-size: 0.82rem; color: rgba(242, 239, 233, 0.65); }

.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a {
    color: var(--linen-100);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 600;
}
.footer-links a:hover { color: var(--gold-400); }

/* Responsive */
@media (max-width: 1120px) {
    .units-grid-3 { grid-template-columns: 1fr; }
    .rsc-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
    .home-nav { display: none; }
    .hero-triage-bar { grid-template-columns: 1fr; }
    .hero-facts-row { grid-template-columns: repeat(2, 1fr); }
    .rental-tabs { grid-template-columns: 1fr; }
    .rental-tab-indicator { display: none; }
    .rental-tab.active { background: var(--gold-500); color: var(--gold-ink); }
    .tariff-panel-grid, .exp-feature, .exp-feature--reverse, .logistics-grid, .unit-modal-layout {
        grid-template-columns: 1fr;
    }
    .um-sim-col { border-left: none; border-top: 1px solid rgba(242, 239, 233, 0.14); }
    .exp-feature--reverse .exp-img { order: 0; }
}

@media (max-width: 640px) {
    .nav-proposta-link { display: none; }
    .hero-triage-bar { grid-template-columns: 1fr; }
    .hero-facts-row, .csf-grid-2, .csf-grid-3, .amenity-columns, .rsc-grid, .um-highlights, .um-amenities { grid-template-columns: 1fr; }
    .unit-modal-backdrop { padding: 10px; }
    .unit-modal-dialog { max-height: calc(100svh - 20px); }
    .um-info-col, .um-sim-form { padding: 16px; }
    .um-thumbs { gap: 6px; }
    .onira-cta { bottom: 16px; right: 14px; }
}
