@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ==============================
   VARIABLES – AZUL OCÉANO + ARENA
   ============================== */
:root {
    --ocean-deep:   #0a2342;
    --ocean-mid:    #1a4a7a;
    --ocean-light:  #2563eb;
    --ocean-bright: #38bdf8;
    --ocean-foam:   #e0f2fe;
    --sand-dark:    #c4a882;
    --sand-mid:     #e8d5b7;
    --sand-light:   #fdf6ec;
    --sand-pale:    #fffbf4;
    --white:        #ffffff;
    --text-main:    #0a2342;
    --text-soft:    #4a6580;
    --text-muted:   #8aabbf;
    --border-soft:  #daeaf5;
    --radius-xl:    24px;
    --radius-lg:    16px;
    --radius-md:    12px;
    --radius-sm:    8px;
    --shadow-deep:  0 20px 60px rgba(10,35,66,0.18);
    --shadow-card:  0 6px 24px rgba(10,35,66,0.10);
    --shadow-sm:    0 2px 8px rgba(10,35,66,0.08);
}

/* ==============================
   RESET & BASE
   ============================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'DM Sans', system-ui, sans-serif;
    background: linear-gradient(160deg, #e0f2fe 0%, #fffbf4 45%, #fdf6ec 100%);
    background-attachment: fixed;
    color: var(--text-main);
    min-height: 100vh;
    line-height: 1.6;
}

/* ==============================
   BARRA DE CONTROLES SUPERIOR
   ============================== */
.top-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-soft);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    box-shadow: 0 2px 12px rgba(10,35,66,0.08);
}

.search-wrap {
     flex:1;
    width:100%;
    display:flex;
    align-items:center;
}

.search-wrap svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    pointer-events: none;
}

.search-wrap input{
    width:100%;
    min-width:0;
}

#searchInput {
    width: 100%;
    padding: 9px 14px 9px 36px;
    border: 1.5px solid var(--border-soft);
    border-radius: 999px;
    font-size: 0.9rem;
    font-family: inherit;
    background: var(--white);
    color: var(--text-main);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
#searchInput:focus {
    border-color: var(--ocean-light);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
#searchInput::placeholder { color: var(--text-muted); }

.lang-toggle {
    display: flex;
    border: 1.5px solid var(--border-soft);
    border-radius: 999px;
    overflow: hidden;
    background: var(--white);
}
.lang-toggle button {
    padding: 7px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    border: none;
    background: transparent;
    color: var(--text-soft);
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, color 0.2s;
    letter-spacing: .04em;
}
.lang-toggle button.active {
    background: var(--ocean-light);
    color: var(--white);
}

/* ==============================
   LAYOUT
   ============================== */
.wrap {
    max-width: 1200px;
    margin: 20px auto 40px;
    padding: 0 14px;
}

.panel {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-deep);
    padding: 22px 18px 26px;
    border: 1px solid var(--border-soft);
    overflow: hidden;
}
@media (min-width: 768px) {
    .panel { padding: 30px 32px 36px; }
}

/* ==============================
   HEADER
   ============================== */
/* ══════════════════════════════════════════
   HEADER — rediseño con foto de casa
   ══════════════════════════════════════════ */
.header {
    display: grid;
    grid-template-columns: minmax(0,1.3fr) minmax(0,1fr);
    gap: 28px;
    align-items: center;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border-soft);
    margin-bottom: 24px;
}
@media (max-width: 860px) {
    .header { grid-template-columns: 1fr; }
}

.header-eyebrow {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ocean-light);
    margin-bottom: 8px;
    opacity: .85;
}

.title {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--ocean-deep);
    line-height: 1.05;
}
.title span {
    color: var(--ocean-light);
    display: block;
}

.subtitle {
    margin-top: 10px;
    font-size: .92rem;
    color: var(--text-soft);
    max-width: 460px;
    font-weight: 300;
    line-height: 1.65;
}

.tag-row {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--ocean-foam);
    color: var(--ocean-mid);
    border: 1px solid #bae6fd;
    font-weight: 500;
    transition: background .2s, transform .15s;
}
.tag:hover { background: #bae6fd; transform: translateY(-1px); }

/* ── HERO CARD con foto ─────────────────── */
.hero {
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(10,35,66,0.35);
    min-height: 220px;
    background-image: url('img/logo.jpg');
    background-size: cover;
    background-position: center;
}

.hero-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(10,35,66,0.82) 0%,
        rgba(10,35,66,0.55) 50%,
        rgba(10,35,66,0.40) 100%
    );
    border-radius: var(--radius-xl);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 22px 20px 22px;
    color: #f0f9ff;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 220px;
    justify-content: flex-end;
}

.hero-label {
    font-size: .68rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    opacity: .7;
    font-weight: 600;
}

.hero-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero-desc {
    font-size: .83rem;
    opacity: .88;
    font-weight: 300;
    line-height: 1.55;
    max-width: 280px;
    margin-top: 2px;
}
@media (max-width: 650px) {
    .hero-row { flex-direction: column; align-items: flex-start; }
}

/* ==============================
   BUSCADOR – sin resultados
   ============================== */
.no-results {
    display: none;
    text-align: center;
    padding: 40px 20px;
    color: var(--text-soft);
    font-size: 1rem;
}
.no-results.visible { display: block; }

/* ==============================
   GRID
   ============================== */
.grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

/* ==============================
   CATEGORY BLOCKS
   ============================== */
.cat {
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-soft);
    background: linear-gradient(135deg, var(--white), var(--sand-pale));
    padding: 16px 16px 18px;
    margin-top: 14px;
    transition: box-shadow 0.2s;
}
.cat:hover { box-shadow: var(--shadow-card); }

.cat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.cat-title {
    display: flex;
    align-items: center;
    gap: 10px;
}
.cat-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(10,35,66,0.20);
    flex-shrink: 0;
}
.cat-name {
    font-size: .95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: var(--ocean-deep);
}
.cat-chip {
    font-size: .72rem;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    background: var(--ocean-foam);
    color: var(--ocean-mid);
    white-space: nowrap;
    font-weight: 500;
}
.cat-note {
    margin-top: 6px;
    margin-bottom: 10px;
    font-size: .8rem;
    color: var(--text-soft);
    font-weight: 300;
}

/* ==============================
   PLACE CARDS
   ============================== */
.place-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 10px;
}
@media (max-width: 900px) {
    .place-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 600px) {
    .place-list { grid-template-columns: 1fr; }
}

.place-card {
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border-soft);
    background: var(--white);
    padding: 10px 10px;
    display: grid;
    grid-template-columns: minmax(0,1fr) 110px;
    gap: 10px;
    align-items: start;
    box-shadow: var(--shadow-sm);
    transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
    position: relative;
}
.place-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
    border-color: var(--ocean-bright);
}

/* Highlight cuando coincide con búsqueda */
.place-card.search-match {
    border-color: var(--ocean-light);
    background: #f0f8ff;
}
.place-card.search-hidden { display: none; }

.place-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.place-title-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.place-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ocean-light), var(--ocean-bright));
    flex-shrink: 0;
}
.place-name {
    font-size: .88rem;
    font-weight: 600;
    color: var(--ocean-deep);
}
.place-desc {
    font-size: .76rem;
    color: var(--text-soft);
    font-weight: 300;
    line-height: 1.5;
}
.place-meta {
    font-size: .72rem;
    color: var(--text-muted);
}
.place-meta span {
    font-weight: 600;
    color: var(--ocean-mid);
}

/* BOTONES */
.coords {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 4px;
}
.picture-btn, .map-btn, .share-btn {
    padding: 5px 10px;
    font-size: .75rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    transition: background 0.2s, transform 0.1s, box-shadow 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.picture-btn {
    background: var(--ocean-mid);
    color: var(--white);
}
.picture-btn:hover { background: var(--ocean-deep); transform: translateY(-1px); }

.map-btn {
    background: var(--ocean-light);
    color: var(--white);
}
.map-btn:hover { background: #1d4ed8; transform: translateY(-1px); }

.share-btn {
    background: var(--sand-mid);
    color: var(--ocean-deep);
    border: 1px solid var(--sand-dark);
}
.share-btn:hover { background: var(--sand-dark); color: var(--white); transform: translateY(-1px); }

/* QR / FOTO BOX */
.qr-box {
    width: 110px;
    height: 110px;
    flex-shrink: 0;
}
.qr-box img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    object-fit: cover;
    display: block;
    background: var(--sand-pale);
}

/* ==============================
   MODAL FOTOS
   ============================== */
.foto-modal {
    position: fixed;
    inset: 0;
    background: rgba(10,35,66,0.75);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 16px;
}
.foto-modal-content {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 820px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-deep);
    animation: modalIn .25s ease;
}
@keyframes modalIn {
    from { opacity:0; transform:scale(.93); }
    to   { opacity:1; transform:scale(1); }
}
.foto-modal-close, .map-modal-close {
    font-size: 26px;
    cursor: pointer;
    float: right;
    color: var(--text-soft);
    line-height: 1;
    transition: color 0.2s;
}
.foto-modal-close:hover, .map-modal-close:hover { color: var(--ocean-deep); }

.foto-grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px,1fr));
    gap: 12px;
}
.foto-grid img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: var(--radius-md);
    transition: transform 0.2s;
}
.foto-grid img:hover { transform: scale(1.02); }

/* ==============================
   MODAL MAPA
   ============================== */
#mapModalTitulo {
    font-family: 'Playfair Display', serif;
    color: var(--ocean-deep);
    margin-bottom: 12px;
}
#mapExternalLink {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--ocean-light);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 600;
    transition: background 0.2s;
}
#mapExternalLink:hover { background: var(--ocean-deep); }

/* ==============================
   MODAL INFO LUGAR
   ============================== */
.info-modal {
    position: fixed;
    inset: 0;
    background: rgba(10,35,66,0.65);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9998;
    padding: 16px;
}
.info-modal-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 24px;
    width: 100%;
    max-width: 480px;
    box-shadow: var(--shadow-deep);
    animation: modalIn .25s ease;
}
.info-modal-close {
    float: right;
    font-size: 22px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-soft);
    transition: color 0.2s;
}
.info-modal-close:hover { color: var(--ocean-deep); }
.info-header { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.info-emoji { font-size: 2rem; }
.info-title-wrap h3 { font-family: 'Playfair Display', serif; color: var(--ocean-deep); font-size: 1.1rem; }
.info-category { font-size: .78rem; color: var(--text-muted); margin-top: 2px; }
.info-body { font-size: .85rem; color: var(--text-soft); }
.info-body ul { padding-left: 18px; }
.info-body li { margin-bottom: 4px; }

/* ==============================
   MAPA GENERAL
   ============================== */
.map-all-section {
    margin-top: 44px;
    padding-top: 20px;
    border-top: 1px solid var(--border-soft);
}
.map-all-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ocean-deep);
    margin-bottom: 6px;
}
.map-all-note {
    font-size: .85rem;
    color: var(--text-soft);
    margin-bottom: 14px;
    font-weight: 300;
}
.map-all {
    width: 100%;
    height: 460px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-soft);
}
@media (max-width: 600px) { .map-all { height: 360px; } }

/* Filtros mapa */
.map-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.map-filter label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--ocean-foam);
    font-size: .8rem;
    cursor: pointer;
    border: 1px solid #bae6fd;
    color: var(--ocean-mid);
    font-weight: 500;
    transition: background 0.15s;
}
.map-filter label:hover { background: #bae6fd; }
.map-filter input[type="checkbox"] { accent-color: var(--ocean-light); cursor: pointer; }

/* Marcadores */
.map-emoji {
    font-size: 20px;
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    border: 2px solid var(--ocean-foam);
    box-shadow: 0 2px 10px rgba(10,35,66,0.30);
    user-select: none;
    transition: transform 0.15s;
}
.map-emoji:active { transform: scale(0.9); }

.origen-dot {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: #ef4444;
    border: 4px solid var(--white);
    box-shadow: 0 0 10px rgba(239,68,68,0.55);
}
.origen-label {
    font-size: .82rem;
    background: rgba(255,255,255,0.92);
    padding: 3px 8px;
    border-radius: 6px;
    box-shadow: 0 3px 8px rgba(10,35,66,0.25);
    font-weight: 600;
    color: var(--ocean-deep);
}

/* Ocultar panel de rutas de Leaflet */
.leaflet-routing-container { display: none !important; }

/* ==============================
   FOOTER
   ============================== */
.footer {
    margin-top: 28px;
    text-align: center;
    font-size: .82rem;
    color: var(--text-muted);
    padding-top: 18px;
    border-top: 1px solid var(--border-soft);
}
.footer span { color: var(--ocean-light); font-weight: 600; }

/* ==============================
   TOAST "COPIADO"
   ============================== */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: var(--ocean-deep);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 500;
    z-index: 10000;
    box-shadow: 0 8px 28px rgba(10,35,66,0.30);
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s;
    opacity: 0;
    pointer-events: none;
}
.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ==============================
   BOTÓN AIRBNB
   ============================== */
.airbnb-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #FF385C;
    color: #fff;
    border-radius: 999px;
    font-size: .84rem;
    font-weight: 700;
    font-family: inherit;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(255,56,92,0.35);
    letter-spacing: .02em;
}
.airbnb-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.airbnb-btn:hover {
    background: #e0314f;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255,56,92,0.45);
}

.airbnb-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    margin-bottom: 36px;
    padding: 9px 20px;
    background: #FF385C;
    color: #fff;
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 700;
    font-family: inherit;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(255,56,92,0.40);
    position: relative;
    z-index: 1;
}
.airbnb-hero-btn:hover {
    background: #e0314f;
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(255,56,92,0.50);
}

@media (max-width: 480px) {
    .airbnb-btn span { display: none; }
    .airbnb-btn { padding: 8px 12px; }
}


@page { size: letter; margin: 15mm; }
@media print {
    body { background: #fff !important; }
    .wrap { max-width: 100%; margin: 0; padding: 0; }
    .panel { box-shadow: none !important; border-radius: 0; border: none; padding: 10mm 8mm 12mm; }
    .top-bar { display: none !important; }
    .title { font-size: 1.6rem; }
    .hero { min-height: 180px; }
    .subtitle { font-size: 0.85rem; }
    .coords, .place-meta { font-size: 0.7rem; }
    .qr-box img { width: 80px; height: 80px; border-radius: 12px; border: 1px solid #e5e7eb; object-fit: cover; }
    .map-all-section { display: none; }
}

/* ==============================
   BADGES: distancia y horario
   ============================== */
.place-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 6px 0 4px;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}
.badge-dist {
    background: rgba(37,99,235,.10);
    color: var(--ocean-mid);
    border: 1px solid rgba(37,99,235,.18);
}
.badge-time {
    background: rgba(245,158,11,.10);
    color: #92400e;
    border: 1px solid rgba(245,158,11,.22);
}

/* ==============================
   TIP DEL ANFITRIÓN
   ============================== */
.place-tip {
    margin-top: 6px;
    padding: 7px 11px;
    background: linear-gradient(135deg, rgba(56,189,248,.08), rgba(99,102,241,.08));
    border-left: 3px solid var(--ocean-bright);
    border-radius: 0 8px 8px 0;
    font-size: .78rem;
    line-height: 1.5;
    color: var(--ocean-deep);
    opacity: .92;
}

/* ══════════════════════════════════════════
   GALERÍA DE LA CASA
   ══════════════════════════════════════════ */
.casa-gallery {
    margin-bottom: 28px;
}

.casa-gallery-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 6px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    max-height: 320px;
}

.casa-gallery-main {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}
.casa-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.casa-gallery-main:hover img { transform: scale(1.04); }

.casa-gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,35,66,0);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    transition: background .3s;
}
.casa-gallery-main:hover .casa-gallery-overlay {
    background: rgba(10,35,66,0.25);
}
.casa-gallery-overlay span {
    background: rgba(255,255,255,0.92);
    color: var(--ocean-mid);
    font-size: .78rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .3s, transform .3s;
}
.casa-gallery-main:hover .casa-gallery-overlay span {
    opacity: 1;
    transform: translateY(0);
}

.casa-gallery-thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 6px;
}

.casa-gallery-thumb {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}
.casa-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.casa-gallery-thumb:hover img { transform: scale(1.06); }

.casa-gallery-last { position: relative; }
.casa-gallery-more {
    position: absolute;
    inset: 0;
    background: rgba(10,35,66,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    backdrop-filter: blur(2px);
    transition: background .2s;
}
.casa-gallery-last:hover .casa-gallery-more {
    background: rgba(10,35,66,0.7);
}

/* Modal galería */
.gallery-modal-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 16px 0 10px;
}
.gallery-modal-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 8px;
}
.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(10,35,66,0.2);
    cursor: pointer;
    padding: 0;
    transition: background .25s, transform .25s;
}
.hero-dot.active {
    background: var(--ocean-mid);
    transform: scale(1.3);
}
/* Dentro del hero los dots son blancos */
.hero .hero-dot { background: rgba(255,255,255,0.45); }
.hero .hero-dot.active { background: #fff; }

.hero-arrow {
    background: rgba(10,35,66,0.12);
    border: none;
    color: var(--ocean-deep);
    font-size: 1.8rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    flex-shrink: 0;
}
.hero-arrow:hover { background: rgba(10,35,66,0.2); }

@media (max-width: 600px) {
    .casa-gallery-grid {
        grid-template-columns: 1fr;
        max-height: none;
    }
    .casa-gallery-main { height: 200px; }
    .casa-gallery-thumbs {
        grid-template-rows: 100px 100px;
    }
}

/* ══════════════════════════════════════════
   HEADER STATS — capacidad y rating
   ══════════════════════════════════════════ */
.header-stats {
    display: flex;
    gap: 6px;
    margin: 14px 0 12px;
    flex-wrap: wrap;
}
.hstat {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    flex: 1;
    min-width: 110px;
    box-shadow: var(--shadow-sm);
}
.hstat-icon { font-size: 1.2rem; flex-shrink: 0; }
.hstat div { display: flex; flex-direction: column; line-height: 1.3; }
.hstat strong { font-size: .8rem; color: var(--ocean-deep); font-weight: 600; }
.hstat small { font-size: .7rem; color: var(--text-soft); font-weight: 400; }

/* Ideal para */
.header-ideal {
    margin-top: 12px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}
.ideal-label {
    font-size: .75rem;
    font-weight: 600;
    color: var(--text-soft);
    flex-shrink: 0;
}
.ideal-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.ideal-chips span {
    font-size: .74rem;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--sand-mid);
    color: var(--ocean-deep);
    font-weight: 500;
    border: 1px solid var(--sand-dark);
}

/* ══════════════════════════════════════════
   SECCIÓN INFO DE LA CASA
   ══════════════════════════════════════════ */
.casa-info {
    margin-bottom: 28px;
}
.casa-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
@media (max-width: 680px) {
    .casa-info-grid { grid-template-columns: 1fr; }
    .header-stats { gap: 6px; }
    .hstat { min-width: 100%; }
}
.casa-info-card {
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow-sm);
}
.casa-info-title {
    font-size: .82rem;
    font-weight: 700;
    color: var(--ocean-deep);
    margin-bottom: 12px;
    letter-spacing: .01em;
}
.casa-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.casa-info-list li {
    font-size: .8rem;
    color: var(--text-soft);
    line-height: 1.45;
    padding-left: 2px;
}
.casa-amenities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.amenity {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: .78rem;
    color: var(--text-soft);
}
.amenity span:first-child { font-size: 1rem; flex-shrink: 0; }
.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 4px;
    transition: background .2s, transform .15s;
    box-shadow: 0 4px 14px rgba(37,211,102,0.3);
}
.contact-btn:hover {
    background: #1ebe5d;
    transform: translateY(-1px);
}