/* ================================================================
   VARIABLES GLOBALES
================================================================ */
:root {
    /* Colores principales */
    --primary: #667eea;
    --primary-dark: #764ba2;
    --primary-light: #eeedfe;
    --primary-text: #3c3489;
    --accent: #ffc107;
    --accent-dark: #ff9800;
    --accent-soft: #f8c832;

    /* Texto */
    --text-main: #1a1a1a;
    --text-muted: #6c757d;
    --text-body: #212529;
    --text-secondary: #495057;
    --text-soft: #555;
    --text-dark-soft: #333;
    --text-light-muted: #999;

    /* Enlaces */
    --link: #007bff;
    --link-hover: #0d6efd;

    /* Bordes y fondos */
    --border: #dee2e6;
    --border-light: #e9ecef;
    --bg-light: #f8f9fa;
    --surface-soft: #f0f0f0;

    /* Radios */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-pill: 50px;

    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 5px 20px rgba(0, 0, 0, 0.15);

    /* Gradientes */
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    --gradient-soft: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
}

/* ================================================================
   1. RESET Y BASE
================================================================ */
* { box-sizing: border-box; }

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}
a:hover { text-decoration: underline; }
a:hover img { opacity: 0.8; }

.card-text { color: black; }
.content { margin-bottom: 100px; }

.container-fluid { padding-top: 0; }
.container-fluid.py-4 {
    padding-top: 1rem !important;
    padding-bottom: 0.5rem !important;
}

.display-4 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem !important;
}
.lead {
    font-size: 1rem !important;
    margin-bottom: 0 !important;
}
h2.h3 { margin-bottom: 1rem !important; }
.container.my-5 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

/* ================================================================
   2. NAVBAR
================================================================ */
.navbar {
    background: var(--gradient);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    margin-bottom: 1rem;
    overflow-x: clip;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white !important;
    transition: transform 0.3s ease;
}
.navbar-brand:hover { transform: scale(1.05); }
.navbar-brand img {
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.4rem 0.75rem !important;
    margin: 0 0.1rem;
    border-radius: 5px;
    white-space: nowrap;
    transition: all 0.3s ease;
}
.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white !important;
    transform: translateY(-2px);
}

.dropdown-menu {
    border: none;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    margin-top: 0.5rem;
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
}
.dropdown-item {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.dropdown-item:hover {
    background: var(--gradient);
    color: white;
    padding-left: 1.3rem;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: auto;
    padding: 0.3rem 0.6rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}
.language-selector a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 4px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}
.language-selector a:hover {
    transform: scale(1.15);
    background-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
.language-selector img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.language-divider {
    width: 1px;
    height: 16px;
    background-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
    padding: 0.4rem;
}
.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.desplegable {
    position: relative;
    display: inline-block;
}
.desplegable-content {
    display: none;
    position: absolute;
    top: 0;
    left: 80px;
    min-width: 200px;
    padding: 0.5rem 0;
    background-color: white;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
}
.desplegable:hover > .desplegable-content { display: block; }
.desplegable-content a {
    display: block;
    padding: 0.6rem 1.2rem;
    color: var(--text-dark-soft);
}
.desplegable-content a:hover {
    background: var(--gradient);
    color: white !important;
    padding-left: 1.5rem;
}

.dropdown-menu::-webkit-scrollbar { width: 8px; }
.dropdown-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.dropdown-menu::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: 10px;
}

/* ================================================================
   3. FOOTER
================================================================ */
body:not(.gara-page) footer {
    background: var(--gradient);
    color: white;
    margin-top: 4rem;
    padding: 3rem 0 1.5rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

body:not(.gara-page) .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}
body:not(.gara-page) .footer-links a {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}
body:not(.gara-page) .footer-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white !important;
    transform: translateY(-2px);
}

body:not(.gara-page) .footer-divider {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0.5rem;
}

body:not(.gara-page) .social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
body:not(.gara-page) .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transition: all 0.3s ease;
}
body:not(.gara-page) .social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px) scale(1.1);
}
body:not(.gara-page) .social-icons img {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
}

body:not(.gara-page) .footer-copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 2rem;
}

/* ================================================================
   4. COMPONENTES GENERALES
================================================================ */
.form-control { border-radius: 25px; }
.form-control:focus {
    box-shadow: none !important;
    border-color: #ced4da !important;
}

.custom-card-img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    margin: 0 auto;
}

.category-box {
    width: 240px;
    height: 240px;
}

.category-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    transition: background 0.3s ease;
}
.category-overlay:hover {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
}

/* Cards genéricas (Bootstrap) */
.card {
    border: 1px solid var(--border-light);
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.15s, transform 0.3s;
}
.card:hover { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); }
.card a,
.card a:hover {
    color: inherit;
    text-decoration: none;
}
.card-title a { color: var(--text-main); }
.card-text a { color: var(--text-soft); }
.card-text a:hover {
    color: var(--text-main);
    text-decoration: underline;
}

.island-card {
    border: none;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.island-card .card-body { padding: 0.85rem; }
.island-card .card-text { margin-bottom: 0.5rem; }
.island-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}
.island-img {
    height: 160px;
    object-fit: cover;
}

/* Guías / cards de guía */
.guide-page-header {
    padding: 1.5rem 0 0.5rem;
}
.guide-page-title {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.35rem;
}
.guide-page-subtitle {
    color: var(--text-soft);
    font-size: 1.02rem;
    max-width: 900px;
}
.guide-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}
.guide-filter-chip {
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text-secondary);
    padding: 0.45rem 0.8rem;
    font-weight: 600;
    transition: all 0.2s ease;
}
.guide-filter-chip:hover,
.guide-filter-chip.active {
    background: var(--gradient-accent);
    border-color: var(--accent-dark);
    color: #fff;
    text-decoration: none;
}

.guide-card {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    background: #fff;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.guide-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 26px rgba(102, 126, 234, 0.16);
}
.guide-card__image {
    height: 210px;
    object-fit: cover;
}
.guide-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1rem;
}
.guide-card__eyebrow {
    color: var(--primary-text);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    font-weight: 700;
}
.guide-card__title {
    font-size: 1.03rem;
    line-height: 1.35;
    font-weight: 700;
    color: var(--text-main);
    min-height: 2.7em;
}
.guide-card__excerpt {
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.45;
    flex-grow: 1;
}
.guide-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.guide-card__tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.28rem 0.55rem;
    background: var(--primary-light);
    color: var(--primary-text);
    font-size: 0.78rem;
    font-weight: 600;
}
.guide-card__tag:hover {
    background: var(--primary);
    color: #fff;
    text-decoration: none;
}

.tag-filter-button {
    margin-right: 5px;
    margin-bottom: 5px;
}
.tag-filter-button.active {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
    color: var(--text-body) !important;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag-badge {
    background: var(--primary-light);
    color: var(--primary-text);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}
.tag-badge:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-1px);
}

.ia-badge,
.planner-badge {
    display: inline-block;
    background: var(--gradient);
    color: white;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    letter-spacing: 0.05em;
}
.ia-badge {
    font-size: 0.72rem;
    margin-bottom: 0.75rem;
}
.planner-badge {
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

/* ================================================================
   5. BÚSQUEDA Y AUTOCOMPLETE
================================================================ */
.search-hero {
    background: var(--gradient-soft);
    border-radius: 15px;
    padding: 1rem 1.25rem;
    margin: 0.75rem auto;
    max-width: 700px;
}

.search-input-wrapper,
.search-box-container {
    position: relative;
}
.search-box-container { margin-bottom: 20px; }

.search-input {
    border: 2px solid var(--primary);
    border-radius: var(--radius-pill);
    padding: 0.6rem 1.1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}
.search-input:focus {
    border-color: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.2);
    outline: none;
}

.search-button {
    border: none;
    border-radius: var(--radius-pill);
    padding: 0.6rem 1.25rem;
    font-weight: 600;
    background: var(--gradient-accent);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    transition: all 0.3s ease;
}
.search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.search-box {
    width: 100%;
    padding: 12px 45px 12px 20px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 25px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.search-box:focus {
    border-color: var(--link-hover);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light-muted);
    pointer-events: none;
}

.search-clear {
    position: absolute;
    right: 45px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    z-index: 10;
    padding: 5px;
    background: none;
    border: none;
    color: var(--text-light-muted);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.suggestions-popup,
.autocomplete-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    z-index: 1050;
    margin-top: 5px;
    max-height: 450px;
    overflow-y: auto;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}
.suggestions-popup.show,
.autocomplete-suggestions.show { display: block; }

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.75rem 1rem;
    color: var(--text-body);
    text-decoration: none;
    border-bottom: 1px solid var(--surface-soft);
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.suggestion-item:hover { background-color: var(--bg-light) !important; }
.suggestion-item:last-child { border-bottom: none; }

.suggestion-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}
.suggestion-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.suggestion-type {
    margin-left: auto;
    padding: 0.2rem 0.6rem;
    background-color: var(--surface-soft);
    border-radius: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
}
.suggestion-ver-todos {
    justify-content: center;
    background-color: var(--bg-light);
    font-weight: 600;
    color: var(--link-hover);
}
.suggestion-ver-todos:hover { background-color: var(--border-light) !important; }

.suggestion-no-results,
.search-loading {
    padding: 1.5rem;
    text-align: center;
    color: var(--text-muted);
}

.suggestion-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* ================================================================
   6. PÁGINAS DE DETALLE (PLAYA / RESTAURANTE / SITIO)
================================================================ */
.playa-titulo,
.restaurante-titulo,
.sitio-titulo {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.descripcion-playa,
.descripcion-sitio {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark-soft);
}

/* descripcion-restaurante: card enriquecida (también usada por playa/sitio) */
.descripcion-restaurante {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-body);
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}
.descripcion-restaurante h2,
.descripcion-restaurante h3 {
    margin-top: 1.5rem;
    color: var(--primary-text);
}

.breadcrumb-playa,
.breadcrumb-restaurante,
.breadcrumb-sitio {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.breadcrumb-playa a,
.breadcrumb-sitio a { color: var(--link); }
.breadcrumb-restaurante a {
    color: var(--primary);
    transition: color 0.2s;
}
.breadcrumb-playa a:hover,
.breadcrumb-restaurante a:hover,
.breadcrumb-sitio a:hover { text-decoration: underline; }
.breadcrumb-restaurante .separator { margin: 0 0.4rem; color: #cbd5e1; }

/* Galería estándar */
.playa-imagenes,
.sitio-imagenes,
.restaurante-imagenes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.playa-imagen,
.restaurante-imagen,
.img-gallery {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease;
}
.playa-imagen:hover,
.restaurante-imagen:hover,
.img-gallery:hover { transform: scale(1.02); }

/* ====== HERO unificado (restaurante / playa / sitio) ====== */
.restaurante-hero,
.playa-hero,
.sitio-hero {
    position: relative;
    height: 480px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}
.restaurante-hero img,
.playa-hero img,
.sitio-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.restaurante-hero:hover img,
.playa-hero:hover img,
.sitio-hero:hover img { transform: scale(1.03); }

.restaurante-hero-overlay,
.playa-hero-overlay,
.sitio-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.1) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 2.5rem;
}
.restaurante-hero-content,
.playa-hero-content,
.sitio-hero-content {
    color: #fff;
    width: 100%;
}
.restaurante-hero-content h1,
.playa-hero-content h1,
.sitio-hero-content h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    margin: 0 0 0.5rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.restaurante-hero-meta,
.playa-hero-meta,
.sitio-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 1rem;
    opacity: 0.95;
}
.restaurante-hero-meta span,
.playa-hero-meta span,
.sitio-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* Badge de pago flotante en hero */
.hero-pago-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 2;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}
.hero-pago-badge.gratis { color: #155724; }
.hero-pago-badge.pago   { color: #856404; }

/* ====== INFO RÁPIDA EN RESTAURANTE ====== */
.quick-facts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.quick-fact-card {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}
.quick-fact-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--primary-light);
    display: grid;
    place-items: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}
.quick-fact-label {
    margin: 0 0 0.15rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
}
.quick-fact-card strong {
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.35;
}

/* ====== GALERÍA estilo Airbnb ====== */
.galeria-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 8px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 2rem;
}
.galeria-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.4s;
}
.galeria-grid img:hover {
    opacity: 0.92;
    transform: scale(1.02);
}
.galeria-grid .img-principal { grid-row: span 2; }

/* ====== INFO BOX / SECCIÓN CARD ====== */
.info-box,
.info-card {
    background: var(--bg-light);
    border-left: 4px solid var(--link);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 2rem;
}
.info-box.restaurante,
.restaurante-article .info-box {
    border-left-color: #28a745;
}
.info-box h4,
.info-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.seccion-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}
.seccion-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--primary-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Info items */
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--bg-light);
    font-size: 0.95rem;
}
.info-item:last-child { border-bottom: none; }
.info-item-icon {
    width: 36px;
    height: 36px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}
.info-item-content { flex: 1; }
.info-item-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}
.info-item-value {
    font-weight: 600;
    color: var(--text-main);
}
.info-item-value a { color: var(--primary); }
.info-item-value a:hover { text-decoration: underline; }

/* ====== NIVEL ECONÓMICO ====== */
.nivel-economico {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
}
.nivel-bajo  { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.nivel-medio { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.nivel-alto  { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* ====== INDICADORES DE PAGO (sitios) ====== */
/* Versión normal (en info, sidebar, etc.) */
.pago-indicador {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}
.pago-gratis { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.pago-pago   { background-color: #fff3cd; color: #856404; border: 1px solid #ffeaa7; }

/* Versión mini (en tarjetas) */
.pago-gratis-mini,
.pago-pago-mini {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}
.pago-gratis-mini { background: #d4edda; color: #155724; }
.pago-pago-mini   { background: #fff3cd; color: #856404; }

/* ====== RATING ====== */
.rating-stars {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
}
.stars { color: #fbbf24; letter-spacing: 2px; }

/* ====== BOTONES CTA ====== */
.cta-buttons {
    display: grid;
    gap: 0.6rem;
    margin-top: 1rem;
}
.btn-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.2rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}
.btn-cta-primary {
    background: var(--gradient);
    color: #fff;
}
.btn-cta-primary:hover {
    opacity: 0.92;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: #fff;
}
.btn-cta-secondary {
    background: #fff;
    color: var(--text-body);
    border: 1.5px solid var(--border-light);
}
.btn-cta-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ====== SHARE BUTTONS ====== */
.share-buttons {
    display: flex;
    gap: 0.5rem;
}
.share-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s;
}
.share-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* ================================================================
   PORTADA HEY GARA
================================================================ */
:root {
    --bg: #f7f2e8;
    --paper: #fffdf8;
    --ink: #1d2a25;
    --muted: #68736d;
    --green: #235347;
    --green-2: #dce9e2;
    --sand: #eee2cf;
    --line: #dfd8ca;
    --shadow: 0 16px 50px rgba(45, 55, 48, .08);
}
html { scroll-behavior: smooth; }
body.gara-page {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}
body.gara-page button,
body.gara-page input { font: inherit; }
body.gara-page button { cursor: pointer; }
body.gara-page a { color: inherit; }
.shell { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.main-nav { display: flex; align-items: center; gap: 18px; margin-left: auto; margin-right: 20px; }
.main-nav a { color: var(--muted); font-size: .92rem; text-decoration: none; }
.main-nav a:hover, .main-nav a:focus { color: var(--ink); text-decoration: underline; }
.footer-links { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-bottom: 12px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover, .footer-links a:focus { text-decoration: underline; color: var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.brand-dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: white; font-size: 1rem; }
.lang { display: flex; gap: 8px; font-size: .88rem; }
.lang a { padding: 7px 9px; text-decoration: none; border-radius: 9px; color: var(--muted); }
.lang a.active { background: var(--paper); color: var(--ink); font-weight: 700; }
.hero { padding: 54px 0 32px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .88rem; color: var(--green); background: var(--green-2); padding: 8px 12px; border-radius: 999px; }
body.gara-page h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.8rem, 6vw, 5.5rem); line-height: .98; letter-spacing: -.045em; margin: 20px 0 22px; max-width: 800px; }
.hero-copy { font-size: 1.15rem; color: var(--muted); max-width: 680px; }
.hero-note { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); transform: rotate(1deg); }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--green); display: grid; place-items: center; color: white; font-weight: 800; margin-bottom: 14px; }
.hero-note p { margin: 0; color: #46514b; }
.local-line { margin-top: 14px !important; color: var(--green) !important; font-weight: 700; }
.planner-wrap { padding: 28px 0 70px; }
.planner-card { background: var(--paper); border: 1px solid var(--line); border-radius: 30px; padding: clamp(22px, 4vw, 44px); box-shadow: var(--shadow); max-width: 880px; margin: 0 auto; }
.progress { display: flex; gap: 8px; margin-bottom: 30px; }
.progress span { height: 5px; flex: 1; border-radius: 99px; background: #e8e1d5; }
.progress span.active, .progress span.done { background: var(--green); }
.step { display: none; }
.step.active { display: block; }
.step-kicker { color: var(--green); font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.step h2 { margin: .4rem 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.03em; }
.step-sub { color: var(--muted); margin: 0 0 24px; }
.option-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.option-btn, .tag-btn { border: 1px solid var(--line); background: white; color: var(--ink); border-radius: 16px; padding: 16px; text-align: left; transition: .16s ease; }
.option-btn:hover, .tag-btn:hover { border-color: #9bb4aa; transform: translateY(-1px); }
.option-btn.selected, .tag-btn.selected { background: var(--green); color: white; border-color: var(--green); }
.option-icon { font-size: 1.25rem; margin-right: 8px; }
.days-box { display: grid; grid-template-columns: 1fr 160px; gap: 18px; align-items: end; }
.days-range { width: 100%; accent-color: var(--green); }
.days-number { background: var(--sand); border-radius: 18px; padding: 16px; text-align: center; font-size: 2rem; font-family: Georgia, "Times New Roman", serif; }
.field-label { display: block; font-weight: 700; margin: 22px 0 8px; }
.date-field { width: 100%; max-width: 320px; border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; background: white; color: var(--ink); }
.group { margin-top: 26px; }
.group-title { font-weight: 800; margin-bottom: 10px; }
.tag-wrap { display: flex; flex-wrap: wrap; gap: 9px; }
.tag-btn { padding: 10px 13px; border-radius: 999px; }
.pace-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pace-grid .option-btn { text-align: center; padding: 13px 8px; }
.nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; }
.btn { border: 0; border-radius: 14px; padding: 13px 18px; font-weight: 800; }
.btn-primary { background: var(--green); color: white; }
.btn-primary:disabled { opacity: .35; cursor: not-allowed; }
.btn-secondary { background: transparent; color: var(--muted); }
.trust { max-width: 880px; margin: 18px auto 0; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: .88rem; }
.how { padding: 54px 0 76px; }
.how h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.03em; margin: 0 0 10px; }
.how-intro { color: var(--muted); max-width: 650px; }
.steps-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.mini { padding: 22px; border-top: 1px solid var(--line); }
.mini strong { display: block; margin-bottom: 7px; }
.mini span { color: var(--muted); }
.local-block { background: var(--green); color: white; border-radius: 28px; padding: clamp(26px, 5vw, 52px); margin-bottom: 70px; }
.local-block h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.6rem); margin: 0 0 12px; letter-spacing: -.035em; }
.local-block p { max-width: 740px; color: #dce9e2; font-size: 1.05rem; }
.loading { display: none; text-align: center; padding: 70px 20px; max-width: 720px; margin: 0 auto; }
.dots { display: flex; justify-content: center; gap: 8px; margin-bottom: 18px; }
.dots i { width: 9px; height: 9px; background: var(--green); border-radius: 50%; animation: pulse 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }
@keyframes pulse { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1); } }
.error { display: none; max-width: 880px; margin: 15px auto; color: #8c2d26; background: #f8ddd8; padding: 14px 16px; border-radius: 14px; }
body.gara-page > .shell footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: .9rem; }

@media (max-width: 760px) {
    .hero { grid-template-columns: 1fr; gap: 24px; padding-top: 30px; }
    .hero-note { transform: none; }
    .option-grid { grid-template-columns: 1fr; }
    .pace-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-three { grid-template-columns: 1fr; }
    .days-box { grid-template-columns: 1fr; }
    .topbar { padding: 16px 0; flex-wrap: wrap; gap: 12px; }
    .main-nav { order: 3; width: 100%; margin: 0; justify-content: center; gap: 12px; flex-wrap: wrap; }
}

.info-page {
    max-width: 880px;
    margin: 0 auto;
    padding: 44px 0 70px;
}
.info-page h1 {
    margin-bottom: 14px;
}
.info-card-page {
    margin-top: 34px;
    color: var(--ink);
    line-height: 1.7;
}
.info-card-page h2 {
    margin: 1.8rem 0 0.75rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.info-card-page p:last-child,
.info-card-page ul:last-child {
    margin-bottom: 0;
}
.info-card-page li + li {
    margin-top: 0.45rem;
}
.info-card-page a {
    color: var(--green);
    font-weight: 700;
    text-decoration: underline;
}
.contact-card {
    max-width: 720px;
}
.contact-field {
    display: block;
    width: 100%;
    max-width: none;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 13px 14px;
    background: white;
    color: var(--ink);
    font: inherit;
}
textarea.contact-field {
    resize: vertical;
}
.contact-submit {
    margin-top: 24px;
}
.contact-success,
.contact-error {
    padding: 18px 20px;
    border-radius: 14px;
}
.contact-success {
    background: var(--green-2);
    color: var(--ink);
}
.contact-success h2 {
    margin-top: 0;
}
.contact-error {
    margin-bottom: 22px;
    background: #f8ddd8;
    color: #8c2d26;
}

/* ====== SERVICIOS GRID ====== */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.6rem;
}
.servicio-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--bg-light);
    border-radius: 8px;
    font-size: 0.88rem;
    color: var(--text-body);
}
.servicio-item .check {
    color: var(--primary);
    font-weight: bold;
}

/* ====== SIDEBAR STICKY ====== */
@media (min-width: 992px) {
    .sidebar-sticky {
        position: sticky;
        top: 90px;
    }
}

/* ====== MAPA ====== */
.map-container,
.map-wrapper {
    overflow: hidden;
    margin-bottom: 1rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    height: 400px;
    width: 100%;
}

/* Para iframes embebidos (OpenStreetMap embed, Google Maps embed, etc.) */
.map-container iframe,
.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Para mapas Leaflet (la clase .leaflet-container se añade al MISMO div) */
.map-container.leaflet-container,
.map-wrapper.leaflet-container,
.leaflet-container.map-container,
.leaflet-container.map-wrapper {
    height: 400px !important;
    width: 100% !important;
}

/* Fondo azul "agua" mientras cargan las tiles */
.leaflet-container {
    background: #aadaff;
}

.map-thumb-marker-wrap {
    background: transparent !important;
    border: none !important;
}

.map-thumb-marker {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    padding: 3px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    border: 2px solid rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-thumb-marker img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* ====== TARJETAS "CERCANOS" (restaurantes / lugares) ======
   Mismo diseño compartido entre .restaurante-cerca-card y .lugar-cerca-card */
.restaurantes-cerca-grid,
.lugares-cerca-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.restaurante-cerca-card,
.lugar-cerca-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.restaurante-cerca-card:hover,
.lugar-cerca-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    color: inherit;
}

.restaurante-cerca-img,
.lugar-cerca-img {
    position: relative;
    height: 150px;
    overflow: hidden;
}
.restaurante-cerca-img img,
.lugar-cerca-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.restaurante-cerca-card:hover .restaurante-cerca-img img,
.lugar-cerca-card:hover .lugar-cerca-img img {
    transform: scale(1.05);
}

.dist-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.restaurante-cerca-body,
.lugar-cerca-body {
    padding: 0.85rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.restaurante-cerca-nombre,
.lugar-cerca-nombre {
    font-size: 0.98rem;
    font-weight: 700;
    margin: 0 0 0.4rem;
    color: var(--text-main);
    line-height: 1.3;
}
.restaurante-cerca-tipo,
.restaurante-cerca-meta,
.lugar-cerca-tipo,
.lugar-cerca-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0.15rem 0;
}
/* Las meta de "lugar" pueden incluir badges → necesitan flex */
.lugar-cerca-tipo,
.lugar-cerca-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* Sección "cerca de" (restaurantes / lugares) */
.seccion-restaurantes-cerca,
.seccion-lugares-cerca {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}
.seccion-lugares-cerca + .seccion-lugares-cerca {
    margin-top: 2.5rem;
    border-top: none;
}
.seccion-restaurantes-cerca h2,
.seccion-lugares-cerca h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.seccion-restaurantes-cerca .subtitulo,
.seccion-lugares-cerca .subtitulo {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* ================================================================
   7. GUÍA IA
================================================================ */
.guia-hero,
.planner-hero {
    background: var(--gradient-soft);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    margin-bottom: 2rem;
    text-align: center;
}
.guia-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}
.planner-hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}
.planner-hero p {
    font-size: 1.1rem;
    color: var(--text-soft);
    margin-bottom: 0;
}

.ai-journey {
    background: linear-gradient(135deg, rgba(255,245,209,0.8) 0%, rgba(255,223,126,0.9) 100%);
    border: 1px solid rgba(233, 236, 239, 0.8);
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(31, 41, 55, 0.08);
    padding: 2rem;
}

.ai-journey-header {
    margin-bottom: 1.5rem;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.9rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(102, 126, 234, 0.12);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.ai-journey-header h2 {
    font-size: clamp(1.6rem, 2vw, 2.4rem);
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.ai-journey-header p {
    color: var(--text-soft);
    font-size: 1rem;
    margin-bottom: 0;
}

.ai-tool-card {
    height: 100%;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(102, 126, 234, 0.12);
    border-radius: 22px;
    padding: 1.5rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.ai-tool-card.primary {
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,255,0.94));
}

.ai-tool-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--primary-light);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.ai-tool-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.7rem;
}

.ai-tool-card p {
    color: var(--text-soft);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.ai-tool-card ul {
    margin: 0 0 1rem 1.1rem;
    padding: 0;
    color: var(--text-body);
    line-height: 1.8;
}

.ai-quick-form {
    margin-top: 0.75rem;
}

.ai-quick-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.ai-quick-form textarea {
    width: 100%;
    resize: vertical;
    min-height: 120px;
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 0.9rem 1rem;
    font: inherit;
    background: white;
    color: var(--text-body);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ai-quick-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
}

.ai-note {
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--border-light);
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.guia-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}
.guia-meta-badge {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 0.3rem 0.9rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.guia-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem 2.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
    line-height: 1.85;
    font-size: 1rem;
    color: var(--text-body);
}
.guia-card p {
    margin-bottom: 0.75rem;
    color: var(--text-dark-soft);
}

.guia-h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 1.5rem 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
}
.guia-h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 1.5rem 0 0.5rem;
}
.guia-h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 1rem 0 0.3rem;
}
.guia-hr {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 1.5rem 0;
}

/* Cabecera de guía (artículo) */
.guia-imagen {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-md);
}
.guia-titulo {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-top: 1.75rem;
    margin-bottom: 1.25rem;
    line-height: 1.25;
}

.guia-contenido {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-dark-soft);
}
.guia-contenido p { margin-bottom: 1.4rem; }
.guia-contenido h2 {
    font-size: 1.65rem;
    font-weight: 600;
    margin-top: 2.25rem;
    margin-bottom: 0.9rem;
    color: var(--text-main);
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--accent-soft);
    display: inline-block;
}
.guia-contenido h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 1.75rem;
    margin-bottom: 0.7rem;
    color: #2c3e50;
}

/* Sección de recomendaciones */
.recomendaciones-section {
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
    padding: 3rem 0;
    margin-top: 4rem;
}
.recomendaciones-titulo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.75rem;
    color: var(--text-main);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-soft);
    display: inline-block;
}

.recomendacion-card {
    display: block;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    transition: box-shadow 0.18s, transform 0.18s;
    color: inherit;
    text-decoration: none;
}
.recomendacion-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}
.recomendacion-imagen {
    width: 100%;
    height: 190px;
    object-fit: cover;
}
.recomendacion-contenido { padding: 1.25rem; }
.recomendacion-titulo {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.4rem;
}
.recomendacion-descripcion {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.55;
    margin: 0;
}

/* Tarjeta inline de sitio (en guías IA) */
.sitio-card-inline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    margin: 3px 2px;
    padding: 5px 12px 5px 5px;
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    color: var(--text-body);
    text-decoration: none;
    vertical-align: middle;
    transition: all 0.2s ease;
}
.sitio-card-inline:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary-text);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.15);
}
.sitio-card-inline img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 7px;
    flex-shrink: 0;
}
.sitio-card-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.sitio-card-nombre {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.2;
}
.sitio-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}
.sitio-card-badge {
    font-size: 0.72rem;
    background: var(--primary-light);
    color: #534ab7;
    padding: 1px 7px;
    border-radius: 20px;
    white-space: nowrap;
}
.sitio-card-ver {
    font-size: 0.72rem;
    color: var(--primary);
    white-space: nowrap;
}

/* Acciones de guía */
.guia-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1rem;
}

.btn-compartir,
.btn-imprimir,
.btn-nueva-guia,
.btn-prev-planner,
.btn-next-planner,
.btn-generate-planner,
.btn-copiar {
    border-radius: var(--radius-pill);
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-compartir {
    padding: 0.7rem 1.5rem;
    border: 1.5px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
}
.btn-compartir:hover {
    background: var(--primary-light);
    color: var(--primary-text);
}

.btn-imprimir {
    padding: 0.7rem 1.5rem;
    border: 1.5px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}
.btn-imprimir:hover {
    border-color: #adb5bd;
    color: var(--text-secondary);
}

.btn-nueva-guia {
    padding: 0.7rem 1.5rem;
    border: none;
    background: var(--gradient-accent);
    color: var(--text-body);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.25);
}
.btn-nueva-guia:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.35);
    color: var(--text-body);
}

.share-box {
    display: none;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1rem 1.2rem;
    margin-bottom: 1rem;
}
.share-box-url {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.share-url-text {
    flex: 1;
    color: var(--text-secondary);
    word-break: break-all;
    font-family: monospace;
    font-size: 0.85rem;
}

.intro-section {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}
.intro-section p { margin-bottom: 0.5rem; }

.btn-copiar {
    padding: 0.35rem 0.9rem;
    border: 1px solid var(--primary);
    background: white;
    color: var(--primary);
    font-size: 0.82rem;
    white-space: nowrap;
}
.btn-copiar:hover { background: var(--primary-light); }

.valoracion-section {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.5rem;
    margin-top: 1.5rem;
    text-align: center;
}
.valoracion-section p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.estrellas {
    display: flex;
    justify-content: center;
    gap: 8px;
}
.estrella-btn {
    padding: 0;
    background: none;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.3;
    transition: all 0.15s ease;
}
.estrella-btn:hover,
.estrella-btn.activa {
    opacity: 1;
    transform: scale(1.2);
}

/* ================================================================
   8. PLANIFICADOR
================================================================ */
.planner-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    max-width: 700px;
    margin: 0 auto;
}

.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 2rem;
}
.step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    transition: all 0.3s ease;
}
.step-dot.active {
    background: var(--primary);
    transform: scale(1.4);
}
.step-dot.done { background: var(--primary-dark); }

.step { display: none; }
.step.active { display: block; }

.step-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.3rem;
}
.step-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.3rem;
}

.option-grid { display: grid; gap: 10px; }
.option-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.option-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.option-btn {
    padding: 0.9rem 0.75rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    background: white;
    text-align: center;
    color: var(--text-body);
    font-size: 0.9rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}
.option-btn:hover,
.option-btn.selected {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary-text);
}
.option-btn.selected { font-weight: 500; }

.option-icon {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
}

.days-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0.5rem 0 0.25rem;
}
.days-selector input[type="range"] {
    flex: 1;
    accent-color: var(--primary);
}
.days-value {
    min-width: 70px;
    text-align: center;
    line-height: 1;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}
.days-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 1.5rem;
}

.date-field {
    width: 100%;
    padding: 0.7rem 1.1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 1rem;
    color: var(--text-body);
    background: white;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}
.date-field:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
}

.tag-group { margin-bottom: 1.3rem; }
.tag-group-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.6rem;
}

.tag-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-btn {
    padding: 0.35rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    background: white;
    font-size: 0.85rem;
    color: var(--text-body);
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}
.tag-btn:hover,
.tag-btn.selected {
    border-color: var(--primary);
    color: var(--primary-text);
}
.tag-btn.selected {
    background: var(--primary-light);
    font-weight: 500;
}

.nav-btns {
    display: flex;
    gap: 10px;
    margin-top: 1.8rem;
}

.btn-prev-planner {
    padding: 0.7rem 1.5rem;
    border: 1.5px solid var(--border);
    background: transparent;
    font-size: 0.95rem;
    color: var(--text-muted);
}
.btn-prev-planner:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-next-planner {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    background: var(--gradient);
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
}
.btn-next-planner:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}
.btn-next-planner:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-generate-planner {
    flex: 1;
    padding: 0.8rem 1.5rem;
    border: none;
    background: var(--gradient-accent);
    color: var(--text-body);
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}
.btn-generate-planner:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.summary-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.4rem;
    margin-bottom: 1rem;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
}
.summary-row:last-child { border-bottom: none; }
.summary-label { color: var(--text-muted); }
.summary-value {
    max-width: 60%;
    text-align: right;
    font-weight: 500;
    color: var(--text-main);
}

/* ================================================================
   9. NAVEGACIÓN ISLA / BANNER ALOJAMIENTO / SECCIONES
================================================================ */
.nav-pills-isla {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 1rem 0 1.5rem;
    padding: 0;
    list-style: none;
}
.nav-pills-isla a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    background: #fff;
    color: var(--text-dark-soft);
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.nav-pills-isla a:hover {
    background: var(--accent-soft);
    border-color: var(--accent-soft);
    color: var(--text-main);
    text-decoration: none;
}
.nav-pills-isla .pill-icon { font-size: 1rem; }

.banner-alojamiento {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fffbea;
    border: 1px solid var(--accent-soft);
    border-radius: 10px;
    padding: 14px 20px;
    margin: 1.5rem 0 0.5rem;
    text-decoration: none !important;
    color: var(--text-dark-soft) !important;
    transition: background 0.15s, box-shadow 0.15s;
}
.banner-alojamiento:hover {
    background: #fff5c2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-decoration: none;
}
.banner-alojamiento .banner-ico {
    font-size: 2rem;
    flex-shrink: 0;
}
.banner-alojamiento .banner-text strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}
.banner-alojamiento .banner-text span {
    font-size: 0.8rem;
    color: #666;
}
.banner-alojamiento .banner-arrow {
    margin-left: auto;
    font-size: 1.2rem;
    color: var(--text-light-muted);
}

.banner-ia-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #fff9e6 0%, #fff2c8 100%);
    border: 1px solid #f2d46a;
    border-radius: 16px;
    padding: 14px 16px;
    margin: 0 0 1.25rem;
    box-shadow: 0 10px 25px rgba(248, 186, 32, 0.12);
}
.banner-ia-cta:hover {
    transform: translateY(-1px);
}
.banner-ia-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8c94b, #f0a500);
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.banner-ia-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}
.banner-ia-copy strong {
    font-size: 0.98rem;
    color: var(--text-main);
}
.banner-ia-copy span {
    font-size: 0.88rem;
    color: #5a5a5a;
}
.btn-ia-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: var(--gradient);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    white-space: nowrap;
}
.btn-ia-cta:hover {
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(83, 74, 183, 0.18);
}

.seccion-fichas { margin-top: 2.5rem; }
.seccion-fichas h4 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-soft);
    display: inline-block;
}

.btn-ver-mas {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 20px;
    background: var(--accent-soft);
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    transition: background 0.15s;
}
.btn-ver-mas:hover {
    background: #e6b800;
    color: var(--text-main);
    text-decoration: none;
}
.text-end-fichas {
    text-align: right;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.municipio-form {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
}

/* ================================================================
   10. BOTÓN MAPA Y LEYENDA
================================================================ */
.btn-mapa {
    padding: 0.7rem 1.5rem;
    border: 1.5px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
}
.btn-mapa:hover {
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
}
.btn-mapa.activo { background: #e76f51; }

.btn-mapa-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text-soft);
    transition: background 0.15s, border-color 0.15s;
    margin-top: 8px;
}
.btn-mapa-link:hover {
    background: #f1f3f5;
    border-color: #adb5bd;
    text-decoration: none;
    color: var(--text-dark-soft);
}

.mapa-leyenda {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.leyenda-punto {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-right: 0.4rem;
    vertical-align: middle;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* ================================================================
   11. UTILIDADES Y ESTADOS
================================================================ */
.btn-cerca-mi {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1000;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: bold;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}
.btn-cerca-mi:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.loading-location {
    position: fixed;
    top: 50%;
    left: 50%;
    display: none;
    z-index: 2000;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transform: translate(-50%, -50%);
}

.loading-overlay {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 1999;
    background: rgba(0, 0, 0, 0.5);
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}
.loading-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    animation: bounce-dot 1.4s ease-in-out infinite;
}
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

.alert-eventos {
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-md);
    padding: 0.9rem 1.2rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #5f4500;
    line-height: 1.5;
}

/* Página 404 */
.error-404-container {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}
.error-number {
    margin: 0;
    line-height: 1;
    font-size: 8rem;
    font-weight: bold;
    color: var(--accent);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
    animation: bounce 2s infinite;
}
.palm-tree {
    display: inline-block;
    font-size: 4rem;
    animation: sway 3s ease-in-out infinite;
}
.search-box-404 {
    max-width: 500px;
    margin: 2rem auto;
}

/* ================================================================
   12. ANIMACIONES
================================================================ */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

@keyframes sway {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
}

@keyframes bounce-dot {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

/* ================================================================
   13. RESPONSIVE
================================================================ */
@media (max-width: 1200px) {
    .nav-emoji { display: none; }
    .nav-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.6rem !important;
    }
    .navbar-brand { font-size: 1rem; }
    .navbar-brand img {
        width: 40px;
        height: 32px;
    }
}

@media (max-width: 1199px) {
    .navbar-collapse {
        flex-wrap: wrap;
        width: 100%;
    }
    .navbar-nav {
        width: 100%;
        justify-content: center;
        gap: 0.15rem;
    }
}

@media (max-width: 991px) {
    .nav-emoji { display: inline; }
    .language-selector {
        margin-top: 1rem;
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
        width: fit-content;
    }
    .navbar-nav { align-items: stretch; }
    .nav-link { padding: 0.6rem 1rem !important; }
    .dropdown-menu { max-height: 50vh; }
    .desplegable-content {
        position: static;
        display: block;
        margin-top: 0.5rem;
        margin-left: 1rem;
        box-shadow: none;
        background-color: rgba(255, 255, 255, 0.05);
    }
}

@media (min-width: 992px) {
    .navbar-nav {
        margin: 0 auto;
        gap: 0;
        flex-wrap: nowrap;
    }
    .navbar-collapse { flex-grow: 0; }
    .language-selector { margin-left: 1rem; }
}

@media (min-width: 1400px) {
    .nav-emoji { display: inline; }
    .nav-link {
        padding: 0.5rem 0.9rem !important;
        font-size: 1rem;
    }
}

@media (max-width: 1100px) {
    .quick-facts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .playa-titulo,
    .restaurante-titulo,
    .sitio-titulo {
        font-size: 2rem;
    }

    .playa-imagenes,
    .restaurante-imagenes,
    .sitio-imagenes {
        grid-template-columns: 1fr;
    }

    /* Galería tipo Airbnb en móvil */
    .galeria-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .galeria-grid .img-principal {
        grid-row: auto;
        height: 280px;
    }
    .galeria-grid img:not(.img-principal) {
        height: 150px;
    }

    /* Hero en móvil */
    .restaurante-hero,
    .playa-hero,
    .sitio-hero { height: 360px; }
    .restaurante-hero-overlay,
    .playa-hero-overlay,
    .sitio-hero-overlay { padding: 1.5rem; }

    /* Badge de pago en hero */
    .hero-pago-badge {
        top: 1rem;
        right: 1rem;
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    /* Mapa en móvil un poco más bajo */
    .map-container,
    .map-wrapper,
    .map-container.leaflet-container,
    .map-wrapper.leaflet-container,
    .leaflet-container.map-container,
    .leaflet-container.map-wrapper {
        height: 300px !important;
    }

    /* Tarjetas cercanas */
    .restaurantes-cerca-grid,
    .lugares-cerca-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    .restaurante-cerca-img,
    .lugar-cerca-img { height: 120px; }

    .guia-titulo { font-size: 1.75rem; }
    .guia-imagen { height: 220px; }
    .guia-contenido { font-size: 1rem; }

    footer {
        margin-top: 2rem;
        padding: 2rem 0 1rem;
    }
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    .footer-divider { display: none; }

    .btn-cerca-mi {
        right: 20px;
        bottom: 20px;
        padding: 10px 20px;
        font-size: 14px;
    }

    .error-number { font-size: 5rem; }
}

@media (max-width: 576px) {
    .quick-facts-grid {
        grid-template-columns: 1fr;
    }
    .option-grid.cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .guia-card { padding: 1.25rem; }
    .guia-hero { padding: 1.5rem 1rem; }
    .guia-hero h1 { font-size: 1.5rem; }
    .guia-actions { flex-direction: column; }
    .sitio-card-inline { font-size: 0.85rem; }

    .restaurantes-cerca-grid,
    .lugares-cerca-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   14. PRINT
================================================================ */
@media print {
    .guia-actions,
    .valoracion-section,
    .share-box,
    .navbar,
    footer,
    .btn-mapa,
    #mapa-wrapper,
    .cta-buttons,
    .share-buttons {
        display: none !important;
    }

    .guia-card,
    .seccion-card,
    .descripcion-restaurante {
        box-shadow: none;
        border: none;
        padding: 0;
    }

    .sitio-card-inline {
        border: 1px solid #ccc;
    }
}
