/* ==========================================================================
   TASADORES OFICIALES - SISTEMA DE DISEÑO PRÉMIUM (VANILLA CSS)
   Max-width: 1600px | Mobile First | Tipografía Inter
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --navy-950: #070f1e;
    --navy-900: #0b192c;
    --navy-800: #14284b;
    --navy-700: #1e3a6a;
    --navy-50: #f0f4fc;

    --gold-600: #b45309;
    --gold-500: #d97706;
    --gold-400: #f59e0b;
    --gold-100: #fef3c7;
    --gold-50: #fffbeb;

    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-50: #ecfdf5;

    --surface-body: #f8fafc;
    --surface-card: #ffffff;
    --surface-subtle: #f1f5f9;

    --border-subtle: #e2e8f0;
    --border-focus: #cbd5e1;
    --border-hover: #94a3b8;

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-inverse: #ffffff;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.12), 0 4px 8px -2px rgba(15, 23, 42, 0.05);

    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset y Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    background-color: var(--surface-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--gold-600);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

/* Contenedor Principal Desahogado */
.container-custom {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

@media (min-width: 768px) {
    .container-custom {
        padding: 0 2rem;
    }
}

@media (min-width: 1200px) {
    .container-custom {
        padding: 0 3.5rem;
    }
}

/* Top Trust Bar */
.top-trust-bar {
    background-color: var(--navy-950);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.8125rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-trust-bar .container-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--gold-400);
    font-weight: 600;
}

/* Header & Navbar - Estricto en una sola línea */
.site-header {
    background-color: var(--surface-card);
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.top-trust-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 1rem;
}

.top-trust-bar .trust-meta {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    font-size: 0.8125rem;
}

.navbar-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    flex-wrap: nowrap;
    gap: 1rem;
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    color: #ffffff;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.25);
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--navy-900);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.logo-title span {
    color: var(--gold-500);
}

.logo-subtitle {
    font-size: 0.6875rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Enlaces de menú en una sola línea */
.nav-links {
    display: none;
    align-items: center;
    gap: 0.65rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    white-space: nowrap;
}

@media (min-width: 992px) {
    .nav-links {
        display: flex;
    }
}

.nav-links li {
    position: relative;
}

.nav-links a, .dropdown-toggle-link {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.55rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    text-decoration: none;
    cursor: pointer;
}

.nav-links a:hover, .dropdown-toggle-link:hover, .nav-links a.active {
    color: var(--gold-600);
    background-color: var(--surface-subtle);
}

/* Desplegable Guías */
.nav-dropdown {
    position: relative;
}

.nav-chevron {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-chevron {
    transform: rotate(180deg);
}

.dropdown-menu-custom {
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    min-width: 250px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(11, 25, 44, 0.12);
    padding: 0.4rem 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.2s ease;
    z-index: 1050;
}

.nav-dropdown:hover .dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu-custom li a {
    display: flex;
    align-items: center;
    padding: 0.6rem 1rem;
    color: var(--navy-900);
    font-size: 0.8125rem;
    border-radius: 0;
    white-space: nowrap;
}

.dropdown-menu-custom li a:hover {
    background-color: var(--surface-subtle);
    color: var(--gold-600);
}

/* Botón Buscar en Menú */
.btn-nav-search {
    background-color: var(--navy-900) !important;
    color: #ffffff !important;
    padding: 0.4rem 0.85rem !important;
    border-radius: var(--radius-full) !important;
    font-size: 0.8125rem !important;
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-nav-search:hover {
    background-color: var(--gold-600) !important;
    color: #ffffff !important;
}

/* Botón Hamburguesa Móvil */
.mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--surface-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    font-size: 1.35rem;
    color: var(--navy-900);
    cursor: pointer;
}

@media (max-width: 991px) {
    .mobile-toggle {
        display: flex;
    }
    
    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        border-bottom: 2px solid var(--gold-500);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        padding: 1rem 1.25rem;
        gap: 0.35rem;
        white-space: normal;
        z-index: 1000;
    }
    
    .nav-links.mobile-open li {
        width: 100%;
    }
    
    .nav-links.mobile-open a, 
    .nav-links.mobile-open .dropdown-toggle-link {
        width: 100%;
        padding: 0.65rem 0.75rem;
        border-bottom: 1px solid var(--border-subtle);
    }
    
    .dropdown-menu-custom {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
    }
}


/* Hero Section */
.hero-portal {
    background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--navy-800) 100%);
    color: #ffffff;
    padding: 4.5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-portal::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    color: var(--gold-400);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.4rem 1.1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    color: #ffffff;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.25rem;
    }
}

.hero-title .text-gold {
    background: linear-gradient(135deg, #fde68a, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 780px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

/* Buscador Interactivo en Hero */
.hero-search-box {
    max-width: 780px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 0.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .hero-search-box {
        flex-direction: row;
        align-items: center;
        padding: 0.5rem 0.75rem;
    }
}

.search-input-group {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
}

.search-input-group i {
    font-size: 1.25rem;
    color: var(--text-muted);
}

.search-input-group input, .search-input-group select {
    width: 100%;
    border: none;
    outline: none;
    font-size: 1rem;
    color: var(--text-primary);
    background: transparent;
    font-family: inherit;
}

.search-divider {
    display: none;
    width: 1px;
    height: 32px;
    background-color: var(--border-subtle);
}

@media (min-width: 640px) {
    .search-divider {
        display: block;
    }
}

.btn-search-submit {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    padding: 0.85rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);
}

.btn-search-submit:hover {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    color: #ffffff;
    transform: translateY(-1px);
}

/* Accesos rápidos en Hero (Píldoras) */
.hero-quick-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.quick-pill {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition-fast);
}

.quick-pill:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

/* Tarjetas de Categoría */
.categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: -2.5rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.category-card {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-400);
}

.category-icon-box {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background: var(--navy-50);
    color: var(--navy-800);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    transition: var(--transition-fast);
}

.category-card:hover .category-icon-box {
    background: var(--gold-500);
    color: #ffffff;
}

.category-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 0.5rem;
}

.category-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.55;
    flex-grow: 1;
    margin-bottom: 1.25rem;
}

.category-meta {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gold-600);
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

/* Parrilla de Provincias */
.section-provincias {
    padding: 4.5rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-tag {
    color: var(--gold-600);
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy-900);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
}

.provinces-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .provinces-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (min-width: 1024px) {
    .provinces-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1280px) {
    .provinces-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.province-card {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1rem;
    text-decoration: none;
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.province-card:hover {
    border-color: var(--gold-400);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.province-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 0.25rem;
}

.province-count {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.province-badge {
    background-color: var(--gold-50);
    color: var(--gold-600);
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    border: 1px solid var(--gold-100);
}

/* ==========================================================================
   Comunidades Autónomas (Organización Principal)
   ========================================================================== */
.section-comunidades {
    padding: 4.5rem 0;
    background: var(--surface-body);
}

.comunidades-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .comunidades-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .comunidades-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1400px) {
    .comunidades-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.comunidad-card {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    text-decoration: none;
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.comunidad-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gold-500);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.comunidad-card:hover {
    border-color: var(--gold-400);
    background: #ffffff;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.comunidad-card:hover::before {
    opacity: 1;
}

.comunidad-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.comunidad-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--navy-900);
    line-height: 1.25;
}

.comunidad-badge {
    background-color: var(--gold-50);
    color: var(--gold-600);
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.75rem;
    border: 1px solid var(--gold-200);
    white-space: nowrap;
}

.comunidad-desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.comunidad-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 600;
    border-top: 1px solid var(--border-subtle);
    padding-top: 0.6rem;
    margin-top: 0.25rem;
}

/* ==========================================================================
   OpenStreetMap & Leaflet.js Styling
   ========================================================================== */
.map-container {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    background-color: #e5e7eb;
}

#map-detail {
    height: 380px;
    width: 100%;
    z-index: 1;
}

#map-listado {
    height: 420px;
    width: 100%;
    z-index: 1;
    margin-bottom: 2.5rem;
}

/* Asegurar que los controles de Leaflet no se superpongan a headers fijos */
.leaflet-pane {
    z-index: 400 !important;
}
.leaflet-top, .leaflet-bottom {
    z-index: 500 !important;
}

/* Personalización de los Popups de Leaflet */
.leaflet-popup-content-wrapper {
    border-radius: var(--radius-md) !important;
    box-shadow: 0 10px 25px rgba(11, 25, 44, 0.2) !important;
    border: 1px solid var(--border-subtle);
    padding: 0.25rem !important;
}

.leaflet-popup-content {
    font-family: inherit !important;
    margin: 0.85rem 1rem !important;
    line-height: 1.4 !important;
}

.osm-popup-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 0.25rem;
}

.osm-popup-badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--gold-600);
    background: var(--gold-50);
    padding: 0.15rem 0.4rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.4rem;
}

.osm-popup-address {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.osm-popup-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    background: var(--navy-900);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background 0.2s ease;
}

.osm-popup-btn:hover {
    background: var(--gold-600);
    color: #ffffff;
}

.map-card-header {
    background: #ffffff;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.map-card-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--navy-900);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}


/* Tarjetas de Establecimiento (Listado) */
.establishments-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .establishments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .establishments-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.establishment-card {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-normal);
}

.establishment-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-hover);
}

.establishment-card.featured {
    border-color: var(--gold-400);
    background: linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.1);
}

.est-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.est-cat-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
    background: var(--navy-50);
    color: var(--navy-800);
}

.est-cat-badge.numismatica {
    background: #eef2ff;
    color: #3730a3;
}

.est-cat-badge.compro-oro {
    background: var(--gold-100);
    color: var(--gold-600);
}

.est-cat-badge.tasacion-joyas {
    background: #fdf2f8;
    color: #9d174d;
}

.verified-stamp {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--emerald-600);
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--emerald-50);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
}

.est-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.est-rating {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
}

.stars {
    color: #eab308;
}

.est-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.est-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    line-height: 1.45;
}

.est-info-list li i {
    color: var(--gold-600);
    font-size: 1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.est-actions {
    display: flex;
    gap: 0.625rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}

.btn-call {
    flex: 1;
    background: var(--navy-900);
    color: #ffffff;
    text-align: center;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.btn-call:hover {
    background: var(--navy-700);
    color: #ffffff;
}

.btn-map {
    background: var(--surface-subtle);
    color: var(--text-primary);
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: 1px solid var(--border-subtle);
}

.btn-map:hover {
    background: #e2e8f0;
    color: var(--text-primary);
}

/* Bloques Educativos / Cornerstone */
.section-guide {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    padding: 2.5rem;
    margin: 3.5rem auto;
    box-shadow: var(--shadow-sm);
}

.guide-badge {
    background: var(--gold-100);
    color: var(--gold-600);
    font-weight: 700;
    font-size: 0.8125rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: 1rem;
}

.guide-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 1.25rem;
}

.guide-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .guide-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.guide-step-card {
    background: var(--surface-body);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.25rem;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: var(--navy-900);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.step-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 0.5rem;
}

.step-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Footer */
.site-footer {
    background-color: var(--navy-950);
    color: #94a3b8;
    padding: 4rem 0 2rem;
    margin-top: 5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-brand h4 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    color: #94a3b8;
}

.footer-col h5 {
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-col ul a {
    color: #94a3b8;
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

.footer-col ul a:hover {
    color: var(--gold-400);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8125rem;
}
