/* ============================================
   VARIABLES BASE
============================================ */
:root {
    --text-dark: #1a1a2e;
    --text-gray: #6c757d;
    --bg-light: #f8f9fa;
    --border-light: #e9ecef;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: #f8fafc;
}

.font-display {
    font-family: 'Cormorant Garamond', serif;
}

/* ============================================
   TIPOGRAFÍA DINÁMICA (variables inyectadas por PHP)
============================================ */
body, p, span, a, li, button, input, textarea, label {
    font-family: var(--font-body);
    font-weight: var(--fw-body);
}

h1, h2, h3, h4, h5, .font-display, .font-heading {
    font-family: var(--font-heading);
    font-weight: var(--fw-heading);
}

.hero-title        { font-size: var(--fs-hero-titulo); }
.hero-description  { font-size: var(--fs-hero-sub);    font-family: var(--font-body); font-weight: var(--fw-body); }
.section-title     { font-size: var(--fs-section-h2); }
.section-eyebrow   { font-size: var(--fs-label);       font-family: var(--font-body); }
.paragraph         { font-size: var(--fs-body);        font-family: var(--font-body); font-weight: var(--fw-body); }
.unit-title        { font-size: var(--fs-card-titulo); }
.unit-description  { font-size: var(--fs-card-desc);   font-family: var(--font-body); }
.price-label       { font-size: var(--fs-label);       font-family: var(--font-body); }
.price-value       { font-size: var(--fs-card-precio); font-family: var(--font-body); font-weight: var(--fw-price); }
.stat-label        { font-size: var(--fs-label);       font-family: var(--font-body); }
.stat-value        { font-size: var(--fs-card-precio); font-family: var(--font-body); font-weight: var(--fw-price); }
.spec-label        { font-size: var(--fs-label);       font-family: var(--font-body); }
.spec-value        { font-size: var(--fs-meta);        font-family: var(--font-body); font-weight: var(--fw-heading); }
.tag               { font-size: var(--fs-label);       font-family: var(--font-body); }
.card-button       { font-size: var(--fs-card-btn);    font-family: var(--font-body); font-weight: var(--fw-btn); }
.doc-btn           { font-size: var(--fs-card-btn);    font-family: var(--font-body); font-weight: var(--fw-btn); }
.tile-label        { font-size: var(--fs-label);       font-family: var(--font-body); }
.tile-value        { font-size: var(--fs-meta);        font-family: var(--font-body); }
.location-title    { font-size: var(--fs-meta);        font-family: var(--font-heading); font-weight: var(--fw-heading); }
.location-description { font-size: var(--fs-body);    font-family: var(--font-body); }
.status-badge      { font-size: var(--fs-label);       font-family: var(--font-body); font-weight: var(--fw-btn); }
.unit-code         { font-size: var(--fs-meta);        font-family: var(--font-body); }

/* ============================================
   HEADER
============================================ */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    z-index: 99999;
    padding: 1rem 2rem;
    transition: background 0.3s;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.logo-img {
    height: 45px;
    object-fit: contain;
}

.btn-wp-header {
    background: #25d366;
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* ============================================
   HERO
============================================ */
.hero-section {
    position: relative;
    z-index: 0;
    height: 80vh;
    min-height: 300px;
    margin-top: 0;
    overflow: clip;
}

.hero-background {
    position: absolute;
    inset: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    image-rendering: high-quality;
    will-change: transform;
}

.hero-background video,
.hero-background iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to bottom,
            rgba(0,0,0,0.2) 0%,
            rgba(0,0,0,0.3) 30%,
            rgba(0,0,0,0.6) 100%
    );
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding: 6rem 3rem 3rem;
    color: white;
}

.hero-grid {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
}

.hero-title-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.hero-logo {
    height: 60px;
    max-height: 60px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    flex: 1;
    min-width: 0;
}

.hero-description {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
}

/* ============================================
   MAIN CONTENT
============================================ */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section-eyebrow {
    color: var(--primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0;
}

.section-title-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.section-logo {
    height: 40px;
    max-height: 40px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

/* ============================================
   DOCUMENTOS
============================================ */
.documents-section { margin-bottom: 2rem; }

.documents-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid var(--border-light);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.doc-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.doc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
}

.doc-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ============================================
   OVERVIEW
============================================ */
.overview-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 5rem;
}

.description-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 24px;
}

.paragraph {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.feature-tiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.feature-tile {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
}

.tile-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-gray);
    margin-bottom: 0.25rem;
}

.tile-value {
    font-weight: 600;
    font-size: 0.9rem;
}

.image-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.large-image-card { grid-row: span 2; }

.large-image-card img,
.small-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.3s;
}

.large-image-card img:hover,
.small-image-card img:hover {
    transform: scale(0.98);
}

.small-images-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ============================================
   GALERÍA AMBIENTES
============================================ */
.ambientes-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.ambiente-item {
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: zoom-in;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    transition: transform .3s, box-shadow .3s;
}

.ambiente-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0,0,0,.14);
}

.ambiente-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}

.ambiente-item:hover img {
    transform: scale(1.05);
}

/* ============================================
   UNITS SECTION
============================================ */
.units-section { margin-bottom: 5rem; }

.units-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.outline-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary);
    border-radius: 50px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s;
    background: transparent;
    cursor: pointer;
}

.outline-button:hover {
    background: var(--primary);
    color: white;
}

.units-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
    gap: 2rem;
}

/* ── Unit card ── */
.unit-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}

.unit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.unit-img-wrap {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.unit-img-wrap > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
}

.unit-img-ph {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #ccc;
}

.status-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: .04em;
}

.unit-body {
    padding: 1.1rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    flex: 1;
}

.unit-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.unit-tipologia {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.unit-price {
    text-align: right;
    font-size: 17px;
    font-weight: 700;
    white-space: nowrap;
}

.unit-price small {
    font-size: 11px;
    font-weight: 400;
    color: #777;
}

.unit-code {
    font-size: var(--fs-meta);
    font-family: var(--font-body);
}

.unit-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.unit-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.spec-pill {
    font-size: 11px;
    color: #555;
    background: #f5f5f5;
    padding: 3px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ── Pill de ciudad/departamento ── */
.unit-location-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #64748b;
    background: #f1f5f9;
    border-radius: 20px;
    padding: 3px 10px;
    margin-bottom: 6px;
    font-family: var(--font-body);
}

.unit-location-pill i {
    font-size: 10px;
    color: var(--primary);
}

.unit-actions-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.unit-actions-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.card-actions { display: flex; gap: 0.75rem; }

.card-button {
    flex: 1;
    padding: 0.75rem;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.card-button:hover { transform: translateY(-2px); }

.btn-brochure {
    flex: 1;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: var(--fs-card-btn);
    font-weight: var(--fw-btn);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    background: #ef4444;
    color: white;
}

.btn-brochure:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-ubicacion {
    background: var(--primary);
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: var(--fw-btn);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    width: 100%;
}

.btn-ubicacion:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-consultar {
    background: var(--primary);
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: var(--fw-btn);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    width: 100%;
}

.btn-consultar:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-maps {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: transparent;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    white-space: nowrap;
}

.btn-maps:hover { background: #f5f5f5; }

/* ============================================
   GALLERY CAROUSEL EN CARDS
============================================ */
.unit-gallery {
    position: relative;
    overflow: hidden;
    background: #000;
    border-radius: 0;
    height: 100%;
}

.unit-gallery-track {
    display: flex;
    transition: transform .35s ease;
    height: 100%;
}

.unit-gallery-track img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
}

.unit-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,.45);
    color: #fff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: background .2s;
}

.unit-gallery-nav:hover { background: rgba(0,0,0,.7); }
.unit-gallery-nav.prev  { left: 6px; }
.unit-gallery-nav.next  { right: 6px; }

.unit-gallery-dots {
    position: absolute;
    bottom: 6px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 4px;
    z-index: 3;
}

.unit-gallery-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    cursor: pointer;
    transition: background .2s;
}

.unit-gallery-dot.active { background: #fff; }

.unit-gallery-counter {
    position: absolute;
    top: 7px;
    right: 8px;
    background: rgba(0,0,0,.5);
    color: #fff;
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 10px;
    z-index: 3;
    pointer-events: none;
}

.unit-gallery-expand {
    position: absolute;
    bottom: 7px;
    right: 8px;
    background: rgba(0,0,0,.5);
    color: #fff;
    border: none;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 10px;
    cursor: pointer;
    z-index: 3;
    transition: background .2s;
}

.unit-gallery-expand:hover { background: rgba(0,0,0,.75); }

/* ============================================
   LIGHTBOX PRINCIPAL
============================================ */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
}

.lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1.2rem;
}

.lb-prev { left: -60px; }
.lb-next { right: -60px; }

#lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
}

/* ============================================
   LIGHTBOX DE UNIDADES
============================================ */
#unit-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.93);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#unit-lightbox.open { display: flex; }

#ulb-img {
    max-width: 88vw;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 4px;
    display: block;
    user-select: none;
    transition: opacity .18s;
}

.ulb-close {
    position: fixed;
    top: 16px;
    right: 20px;
    background: rgba(255,255,255,.15);
    color: #fff;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}

.ulb-close:hover { background: rgba(255,255,255,.3); }

.ulb-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.12);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}

.ulb-nav:hover    { background: rgba(255,255,255,.28); }
.ulb-nav.ulb-prev { left: 16px; }
.ulb-nav.ulb-next { right: 16px; }

#ulb-counter {
    margin-top: 14px;
    color: rgba(255,255,255,.65);
    font-size: 13px;
    letter-spacing: .04em;
}

#ulb-thumbs {
    display: flex;
    gap: 6px;
    margin-top: 10px;
    max-width: 88vw;
    overflow-x: auto;
    padding-bottom: 2px;
}

#ulb-thumbs::-webkit-scrollbar { height: 3px; }
#ulb-thumbs::-webkit-scrollbar-thumb { background: rgba(255,255,255,.3); border-radius: 2px; }

.ulb-thumb {
    flex: 0 0 56px;
    height: 42px;
    object-fit: cover;
    border-radius: 3px;
    cursor: pointer;
    opacity: .5;
    border: 2px solid transparent;
    transition: opacity .2s, border-color .2s;
}

.ulb-thumb.active { opacity: 1; border-color: #fff; }

/* ============================================
   MODAL MAPA EMBED
============================================ */
.modal-mapa-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9990;
    background: rgba(0,0,0,.72);
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-mapa-inner {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    max-width: 700px;
    width: 100%;
    position: relative;
    box-shadow: 0 25px 60px rgba(0,0,0,.45);
}

.modal-mapa-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-mapa-titulo {
    font-weight: 600;
    font-size: 14px;
    color: #1e2535;
    font-family: var(--font-body);
}

.modal-mapa-close {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #9aa0b0;
    line-height: 1;
    padding: 0;
    display: flex;
    align-items: center;
}

.modal-mapa-frame-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #f0f4f8;
}

.modal-mapa-frame-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.modal-mapa-footer {
    padding: 10px 18px;
    display: flex;
    justify-content: flex-end;
    background: #f8f9fa;
}

.modal-mapa-extlink {
    font-size: 12px;
    color: #1c4f8a;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-body);
}

/* ============================================
   TOUR 360°
============================================ */
.tour-section { margin-bottom: 5rem; }

.pannellum-wrapper {
    background: #111;
    border-radius: 20px;
    overflow: hidden;
}

.pannellum-container {
    width: 100%;
    height: 500px;
    background: #111;
}

.pannellum-controls {
    padding: 1rem;
    background: var(--bg-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.fullscreen-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: inherit;
}

/* ============================================
   MAPA
============================================ */
.map-section {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-light);
    margin-bottom: 5rem;
}

.map-frame {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 12px;
}

/* ============================================
   CONTACTO
============================================ */
.contact-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: 30px;
    padding: 3rem;
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-title {
    font-size: 2rem;
    margin: 1rem 0;
}

.detail-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255,255,255,0.15);
    padding: 1rem;
    border-radius: 12px;
    margin-top: 1rem;
}

.form-panel {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    color: var(--text-dark);
}

.form-group { margin-bottom: 1rem; }

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.85rem;
}

.text-input,
.textarea-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.text-input:focus,
.textarea-input:focus {
    outline: none;
    border-color: var(--primary);
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.submit-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ============================================
   STATS / THUMBNAILS (hero)
============================================ */
.hero-stats { display: flex; gap: 2rem; }

.stat-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.stat-value { font-size: 1.5rem; font-weight: 700; }

.gallery-preview-card {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.thumbnail-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s;
}

.thumbnail-image:hover { transform: scale(1.05); }

/* ============================================
   TOAST
============================================ */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.toast-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 992px) {
    .hero-grid,
    .overview-section,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title  { font-size: 2.5rem; }
    .hero-logo   { height: 35px; max-height: 35px; }
    .section-logo { height: 32px; max-height: 32px; }
    .section-title { font-size: 1.8rem; }
    .nav-toggle { display: block; }

    .lb-prev { left: 10px; }
    .lb-next { right: 10px; }
}

@media (max-width: 768px) {
    .hero-section {
        height: 80vh;
        overflow: hidden;
    }

    .hero-background,
    .hero-overlay { z-index: 0; }
    .hero-content  { z-index: 1; padding: 5rem 1.5rem 1.5rem; }

    .hero-title      { font-size: 2rem; }
    .hero-logo       { height: 30px; max-height: 30px; }
    .hero-title-row  { gap: 0.75rem; }
    .section-logo    { height: 28px; max-height: 28px; }

    .main-content { padding: 2rem 1rem; }
    .units-grid   { grid-template-columns: 1fr; }
    .contact-section { padding: 2rem; }
    .pannellum-container { height: 300px; }
}