/*
 Theme Name: Blocksy Child
 Theme URI: https://creativethemes.com/blocksy/
 Description: Child theme for Blocksy - Versión Mejorada
 Author: Tú
 Template: blocksy
 Version: 2.2.0
*/

/* =========================
   VARIABLES GLOBALES
   ========================= */
:root {
    --color-primary: #fc3a00;
    --color-primary-dark: #d93200;
    --color-primary-light: #fd6133;
    --color-accent: #fc3a00;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    
    --color-text: #1a1a2e;
    --color-text-light: #4a5568;
    --color-text-muted: #718096;
    
    --color-bg: #ffffff;
    --color-bg-alt: #f8f9fa;
    --color-bg-soft: #f1f3f5;
    
    --color-border: #e2e8f0;
    --color-border-light: #f0f4f8;
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.06);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================
   CITY LANDING PAGE
   ========================= */

.city-landing {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 60px 24px 80px !important;
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
}

/* =========================
   HERO SECTION
   ========================= */

.city-hero {
    text-align: center;
    margin-bottom: 80px;
    padding: 48px 24px;
    background: linear-gradient(135deg, 
        rgba(252, 58, 0, 0.03) 0%, 
        rgba(255, 107, 53, 0.02) 100%);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.city-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(252, 58, 0, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.city-title {
    font-size: clamp(2rem, 5vw, 3.5rem) !important;
    font-weight: 800 !important;
    margin-bottom: 20px !important;
    background: linear-gradient(135deg, var(--color-text) 0%, #4a5568 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
    position: relative;
}

.city-description {
    font-size: 1.1rem !important;
    color: var(--color-text-light) !important;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7 !important;
    font-weight: 400 !important;
    text-align: left !important;
}

/* =========================
   SECTION TITLES
   ========================= */

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
    font-weight: 700 !important;
    margin: 60px 0 32px !important;
    color: var(--color-text) !important;
    letter-spacing: -0.01em !important;
    position: relative;
    padding-bottom: 16px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
    border-radius: 2px;
}

/* =========================
   MAPA
   ========================= */

.city-map-section {
    margin: 60px 0;
}

#city-map {
    width: 100%;
    height: 480px;
    margin: 24px 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border-light);
}

/* =========================
   CTA SUPERIOR
   ========================= */

.city-add-business-top {
    max-width: 1000px;
    margin: 40px auto !important;
    padding: 20px 28px !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
    border-radius: var(--radius-md) !important;
    border: 2px solid var(--color-border) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.city-add-business-top:hover {
    border-color: var(--color-primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.city-add-business-top p {
    margin: 0 !important;
    font-size: 1.1rem !important;
    color: var(--color-text) !important;
    font-weight: 600 !important;
}

.city-add-top-btn {
    padding: 12px 24px !important;
    background: var(--color-primary) !important;
    color: white !important;
    border-radius: var(--radius-sm) !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    transition: all var(--transition-fast) !important;
    box-shadow: 0 2px 8px rgba(252, 58, 0, 0.2);
}

.city-add-top-btn:hover {
    background: var(--color-primary-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(252, 58, 0, 0.3) !important;
    color: white !important;
}

/* =========================
   NEGOCIOS ABIERTOS AHORA
   ========================= */

.city-open-now {
    max-width: 1100px;
    margin: 40px auto 60px auto;
    padding: 40px 32px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 2px solid #a7f3d0;
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.15);
}

.open-now-header {
    text-align: center;
    margin-bottom: 32px;
}

.open-now-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: #10b981;
    color: white;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    animation: pulse-white 2s ease-in-out infinite;
}

@keyframes pulse-white {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
    }
}

.section-title-small {
    font-size: 1.75rem;
    font-weight: 700;
    color: #047857;
    margin: 0 0 8px 0;
}

.open-now-subtitle {
    font-size: 0.95rem;
    color: #059669;
    font-weight: 500;
    margin: 0;
    text-align: center;
}

/* GRID DE NEGOCIOS ABIERTOS */
.open-now-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.open-card {
    background: white;
    padding: 20px;
    border-radius: var(--radius-md);
    border: 2px solid #d1fae5;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
}

.open-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
    border-color: #10b981;
}

.open-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.open-card-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

.open-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: #10b981;
    color: white;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    white-space: nowrap;
    flex-shrink: 0;
}

.open-dot {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: pulse-white 2s ease-in-out infinite;
}

.open-card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.rating-stars-small {
    font-size: 1rem;
}

.rating-value-small {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text);
}

.open-card-address {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.5;
}

.open-now-more {
    text-align: center;
    margin-top: 24px;
    font-size: 0.95rem;
    color: #059669;
    font-weight: 600;
}


/* =========================
   BUSINESS GRID
   ========================= */

.business-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)) !important;
    gap: 32px !important;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .business-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Open Now responsive */
    .city-open-now {
        padding: 32px 20px;
        margin: 32px auto 48px auto;
    }
    
    .open-now-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .section-title-small {
        font-size: 1.5rem;
    }
}

/* =========================
   BUSINESS CARD - DISEÑO MEJORADO
   ========================= */

.business-card {
    position: relative;
    background: var(--color-bg) !important;
    border: 1px solid var(--color-border-light) !important;
    border-radius: var(--radius-lg) !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-sm) !important;
    transition: all var(--transition-base) !important;
    display: flex;
    flex-direction: column;
}

.business-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: var(--shadow-xl) !important;
    border-color: var(--color-primary-light) !important;
}

/* RANK BADGE MEJORADO */
.business-rank-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white !important;
    padding: 8px 16px !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    border-radius: var(--radius-sm) !important;
    z-index: 10 !important;
    box-shadow: 0 4px 12px rgba(252, 58, 0, 0.3);
    letter-spacing: 0.02em;
}

/* TOP 3 BADGES PREMIUM */
.business-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 8px 16px !important;
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    color: white !important;
    border-radius: var(--radius-sm) !important;
    z-index: 99 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.03em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.badge-gold {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
    animation: shimmer 3s ease-in-out infinite;
}

.badge-silver {
    background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 50%, #c0c0c0 100%);
    color: #1a1a2e !important;
}

.badge-bronze {
    background: linear-gradient(135deg, #cd7f32 0%, #e6a56c 50%, #cd7f32 100%);
}

@keyframes shimmer {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.15); }
}

/* LAYOUT DE LA CARD */
.business-card-inner {
    display: flex !important;
    flex-direction: column !important;
    height: 100%;
}

/* IMAGEN */
.business-image {
    position: relative;
    overflow: hidden;
}

.business-image img {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    transition: transform var(--transition-slow) !important;
}

.business-card:hover .business-image img {
    transform: scale(1.05);
}

.business-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.15), transparent);
    pointer-events: none;
}

/* PLACEHOLDER GENÉRICO Y DISCRETO - NO COMPITE CON CTA */
.business-placeholder {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transition: all var(--transition-base);
}

/* Patrón geométrico sutil */
.placeholder-pattern {
    width: 100%;
    height: 100%;
    position: relative;
    background-image: 
        linear-gradient(30deg, rgba(252, 58, 0, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(252, 58, 0, 0.03) 87.5%, rgba(252, 58, 0, 0.03)),
        linear-gradient(150deg, rgba(252, 58, 0, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(252, 58, 0, 0.03) 87.5%, rgba(252, 58, 0, 0.03)),
        linear-gradient(30deg, rgba(252, 58, 0, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(252, 58, 0, 0.03) 87.5%, rgba(252, 58, 0, 0.03)),
        linear-gradient(150deg, rgba(252, 58, 0, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(252, 58, 0, 0.03) 87.5%, rgba(252, 58, 0, 0.03)),
        linear-gradient(60deg, rgba(252, 58, 0, 0.02) 25%, transparent 25.5%, transparent 75%, rgba(252, 58, 0, 0.02) 75%, rgba(252, 58, 0, 0.02)),
        linear-gradient(60deg, rgba(252, 58, 0, 0.02) 25%, transparent 25.5%, transparent 75%, rgba(252, 58, 0, 0.02) 75%, rgba(252, 58, 0, 0.02));
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
}

/* Icono central minimalista */
.placeholder-pattern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(252, 58, 0, 0.08);
    border-radius: 12px;
    border: 2px solid rgba(252, 58, 0, 0.12);
    transition: all var(--transition-base);
}

/* Icono de tienda/negocio */
.placeholder-pattern::after {
    content: '🏪';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    opacity: 0.4;
    transition: all var(--transition-base);
}

/* Hover sutil - no llamativo */
.business-card:hover .business-placeholder {
    background: linear-gradient(135deg, #f1f3f5 0%, #e3e6e9 100%);
}

.business-card:hover .placeholder-pattern::before {
    background: rgba(252, 58, 0, 0.1);
    border-color: rgba(252, 58, 0, 0.15);
    transform: translate(-50%, -50%) scale(1.05);
}

.business-card:hover .placeholder-pattern::after {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1.05);
}

/* CONTENIDO */
.business-content {
    padding: 24px !important;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* NOMBRE DEL NEGOCIO */
.business-name {
    margin-bottom: 12px !important;
}

.business-name a {
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    color: var(--color-text) !important;
    line-height: 1.3 !important;
    display: block;
    transition: color var(--transition-fast) !important;
}

.business-name a:hover {
    color: var(--color-primary) !important;
}

/* RATINGS */
.business-ratings {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 8px 0 !important;
    flex-wrap: wrap;
}

.rating-google {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: var(--color-text) !important;
    padding: 4px 10px;
    background: var(--color-bg-soft);
    border-radius: var(--radius-sm);
}

.reviews-count {
    font-size: 0.9rem !important;
    color: var(--color-text-muted) !important;
}

.business-rating-users {
    margin: 8px 0 16px 0 !important;
    padding: 8px 0;
    border-bottom: 1px solid var(--color-border-light);
}

/* SNIPPET */
.business-snippet {
    margin: 12px 0 16px 0 !important;
    color: var(--color-text-light) !important;
    line-height: 1.6 !important;
    font-size: 0.95rem !important;
    flex-grow: 1;
}

/* ICONOS DE INFORMACIÓN */
.business-icons {
    margin: 16px 0 20px 0 !important;
    padding: 16px 0 0 0;
    border-top: 1px solid var(--color-border-light);
}

.business-icon-item {
    display: flex !important;
    align-items: flex-start !important;
    margin-bottom: 10px !important;
    font-size: 0.9rem !important;
    color: var(--color-text-light) !important;
    line-height: 1.5 !important;
}

.business-icon-item .icon {
    width: 24px !important;
    margin-right: 10px !important;
    font-size: 1.1rem !important;
    flex-shrink: 0;
}

.business-icon-item a {
    color: var(--color-primary) !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.business-icon-item a:hover {
    color: var(--color-primary-dark) !important;
    text-decoration: underline !important;
}

/* CTA MINI */
.cta-mini {
    font-size: 0.85rem !important;
    color: var(--color-text-muted) !important;
    margin-bottom: 10px !important;
    font-weight: 500 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* BOTÓN PRINCIPAL */
.business-btn {
    display: inline-block !important;
    width: 100%;
    background: var(--color-primary) !important;
    color: white !important;
    padding: 14px 24px !important;
    border-radius: var(--radius-sm) !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    text-align: center !important;
    box-shadow: 0 2px 8px rgba(252, 58, 0, 0.2) !important;
    transition: all var(--transition-fast) !important;
    border: none;
}

.business-btn:hover {
    background: var(--color-primary-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 16px rgba(252, 58, 0, 0.3) !important;
    color: white !important;
}

/* =========================
   INTRO SECCIONES
   ========================= */

.city-intro-mejores,
.city-tips {
    max-width: 900px;
    margin: 60px auto !important;
    padding: 32px !important;
    background: var(--color-bg) !important;
    border-radius: var(--radius-lg) !important;
    border: 1px solid var(--color-border-light) !important;
    box-shadow: var(--shadow-sm);
    line-height: 1.8 !important;
    color: var(--color-text-light) !important;
}

.city-intro-mejores p,
.city-tips p {
    margin-bottom: 16px !important;
    font-size: 1.05rem !important;
}

/* =========================
   FAQ SECTION
   ========================= */

.city-faq {
    max-width: 800px !important;
    margin: 80px auto !important;
    padding: 0 20px !important;
}

.city-faq .section-title {
    text-align: center !important;
    margin-bottom: 40px !important;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-card {
    background: var(--color-bg) !important;
    border-radius: var(--radius-md) !important;
    border: 1px solid var(--color-border) !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.faq-card:hover {
    box-shadow: var(--shadow-md);
}

.faq-card h3 {
    padding: 20px 24px !important;
    margin: 0 !important;
    cursor: pointer !important;
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: var(--color-bg-alt) !important;
    transition: all var(--transition-fast) !important;
    color: var(--color-text) !important;
}

.faq-card h3:hover {
    background: var(--color-bg-soft) !important;
}

.faq-card h3::after {
    content: "+" !important;
    font-size: 1.5rem !important;
    font-weight: 300 !important;
    color: var(--color-primary) !important;
    transition: transform var(--transition-base) !important;
}

.faq-card h3.active {
    background: var(--color-bg) !important;
}

.faq-card h3.active::after {
    content: "−" !important;
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0 !important;
    overflow: hidden !important;
    padding: 0 24px !important;
    transition: all var(--transition-slow) !important;
    color: var(--color-text-light) !important;
}

.faq-content.open {
    padding: 20px 24px 24px 24px !important;
    max-height: 2000px !important;
}

.faq-content p {
    line-height: 1.7 !important;
    margin-bottom: 12px !important;
}

/* =========================
   CTA INFERIOR
   ========================= */

.city-add-business-cta {
    margin: 80px auto 60px auto !important;
    padding: 48px 32px !important;
    text-align: center !important;
    border-radius: var(--radius-xl) !important;
    background: linear-gradient(135deg, 
        rgba(252, 58, 0, 0.05) 0%, 
        rgba(255, 107, 53, 0.03) 100%) !important;
    max-width: 800px !important;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border-light);
}

.city-add-business-cta h2 {
    margin-bottom: 12px !important;
    font-size: 2rem !important;
    color: var(--color-text) !important;
    font-weight: 700 !important;
}

.city-add-business-cta p {
    font-size: 1.1rem !important;
    margin-bottom: 28px !important;
    color: var(--color-text-light) !important;
}

.city-cta-btn {
    display: inline-block !important;
    padding: 16px 40px !important;
    background: var(--color-primary) !important;
    color: white !important;
    border-radius: var(--radius-sm) !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    transition: all var(--transition-fast) !important;
    box-shadow: 0 4px 16px rgba(252, 58, 0, 0.25);
}

.city-cta-btn:hover {
    background: var(--color-primary-dark) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 24px rgba(252, 58, 0, 0.35) !important;
    color: white !important;
}

/* =========================
   HOMEPAGE SECTOR
   ========================= */

.homepage.homepage-sector {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 100px;
}

/* =========================
   HERO COMPACTO - NUEVA VERSIÓN
   ========================= */

.home-hero-compact {
    padding: 48px 0 32px 0;
    text-align: center;
}

.hero-compact-container {
    max-width: 900px;
    margin: 0 auto;
}

.hero-compact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.hero-badge-compact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--color-bg-soft);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-light);
}

.hero-badge-compact .badge-icon {
    font-size: 1.1rem;
}

.hero-title-compact {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-text);
    letter-spacing: -0.02em;
    margin: 0;
}

.hero-highlight {
    background: linear-gradient(
        135deg,
        var(--sector-color),
        color-mix(in srgb, var(--sector-color) 70%, #000)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description-compact {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--color-text-light);
    margin: 0;
    max-width: 600px;
}

.hero-stats-compact {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: var(--color-bg-soft);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    flex-wrap: wrap;
    justify-content: center;
}

.stat-compact {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.stat-number-compact {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--sector-color);
}

.stat-label-compact {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.stat-separator-compact {
    color: var(--color-border);
    font-size: 1.2rem;
}

/* =========================
   PROVINCIAS PRIORITARIAS
   ========================= */

.home-provinces-priority {
    margin: 60px auto 80px auto;
}

.provinces-priority-header {
    text-align: center;
    margin-bottom: 40px;
}

.provinces-priority-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text);
}

.provinces-priority-header p {
    color: var(--color-text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.provinces-priority-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.province-priority-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--color-bg);
    border: 2px solid var(--color-border-light);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.province-priority-card:hover {
    transform: translateY(-3px);
    border-color: var(--sector-color);
    box-shadow: var(--shadow-lg);
}

.province-priority-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--sector-color) 10%, var(--color-bg-alt)),
        color-mix(in srgb, var(--sector-color) 15%, var(--color-bg-soft))
    );
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    border: 2px solid color-mix(in srgb, var(--sector-color) 20%, var(--color-border));
}

.province-priority-content {
    flex: 1;
}

.province-priority-content h3 {
    margin: 0 0 6px 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.2;
}

.province-priority-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.priority-stat {
    font-weight: 500;
}

.priority-dot {
    color: var(--color-border);
}

.province-priority-arrow {
    font-size: 1.5rem;
    color: var(--sector-color);
    font-weight: 700;
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

.province-priority-card:hover .province-priority-arrow {
    transform: translateX(6px);
}

/* =========================
   SECCIONES GENÉRICAS
   ========================= */

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 60px;
    height: 4px;
    border-radius: 2px;
    background: var(--sector-color);
}

.section-header p {
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-top: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================
   CÓMO FUNCIONA - MEJORADO
   ========================= */

.home-how-it-works {
    margin-bottom: 100px;
}

.home-how-it-works h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 48px;
    color: var(--color-text);
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.how-card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    position: relative;
}

.how-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: color-mix(in srgb, var(--sector-color) 30%, var(--color-border));
}

.how-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--sector-color),
        color-mix(in srgb, var(--sector-color) 80%, black)
    );
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--sector-color) 30%, transparent);
}

.how-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text);
}

.how-card p {
    color: var(--color-text-light);
    line-height: 1.7;
    margin: 0;
}

/* =========================
   CIUDADES - MEJORADO
   ========================= */

.home-cities {
    margin-bottom: 100px;
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.city-card {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform var(--transition-base);
}

.city-card:hover {
    transform: translateY(-4px);
}

.city-card-inner {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.city-card:hover .city-card-inner {
    border-color: color-mix(in srgb, var(--sector-color) 40%, var(--color-border));
    box-shadow: var(--shadow-md);
}

.city-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.city-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--sector-color) 10%, var(--color-bg-alt)),
        color-mix(in srgb, var(--sector-color) 15%, var(--color-bg-soft))
    );
    font-size: 1.4rem;
    border: 2px solid color-mix(in srgb, var(--sector-color) 20%, var(--color-border));
}

.city-count {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.city-card-inner h3 {
    margin-bottom: 8px;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-text);
}

.city-link-text {
    font-size: 0.9rem;
    color: var(--sector-color);
    margin: 0;
    font-weight: 600;
}

.province-stats-text {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin: 4px 0 8px 0;
    font-weight: 500;
}

.no-cities {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* =========================
   ÚLTIMOS NEGOCIOS AÑADIDOS
   ========================= */

.home-latest {
    margin-bottom: 100px;
}

.latest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.latest-card {
    text-decoration: none;
    color: inherit;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-light);
    padding: 0;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.latest-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--color-primary) 35%, var(--color-border));
    box-shadow: var(--shadow-md);
}

.latest-card:hover .latest-thumb-img {
    transform: scale(1.05);
}

.latest-thumb {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f1f5f9;
}

.latest-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.latest-thumb--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #cbd5e1;
}

.latest-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    z-index: 1;
}

.latest-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 20px 20px;
}

.latest-content h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.3;
}

.latest-city {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin: 0;
}

.latest-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.latest-rating .rating-star {
    font-size: 1rem;
}

.latest-rating .rating-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text);
}

.latest-address {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.4;
}

.latest-date {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 600;
    margin: 4px 0 0 0;
    padding-top: 8px;
    border-top: 1px solid var(--color-border-light);
}

.no-latest {
    text-align: center !important;
    padding: 60px 20px;
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* =========================
   TOP DESGUACES POR PROVINCIA
   ========================= */

.home-top-provincias {
    margin-bottom: 100px;
}

.top-provincias-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.top-provincia-block {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.top-provincia-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--color-border-light);
}

.top-provincia-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
}

.top-provincia-header h3 a {
    color: var(--color-text);
    text-decoration: none;
}

.top-provincia-header h3 a:hover {
    color: var(--sector-color);
}

.ver-todos-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sector-color);
    text-decoration: none;
    white-space: nowrap;
}

.ver-todos-link:hover {
    text-decoration: underline;
}

.top-provincia-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.top-negocio-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-light);
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
}

.top-negocio-card:hover {
    border-color: color-mix(in srgb, var(--sector-color) 35%, var(--color-border));
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.top-negocio-rank {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--sector-color) 12%, transparent);
    color: var(--sector-color);
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-negocio-info {
    flex: 1;
    min-width: 0;
}

.top-negocio-info h4 {
    margin: 0 0 3px 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-negocio-city {
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

.top-negocio-rating {
    flex-shrink: 0;
    text-align: right;
}

.top-negocio-stars {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-text);
}

.top-negocio-reviews {
    display: block;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    margin-top: 2px;
}

.no-popular {
    text-align: center !important;
    padding: 40px 20px;
    color: var(--color-text-muted);
    font-size: 1rem;
}

/* =========================
   BENEFICIOS - MEJORADO
   ========================= */

.home-benefits {
    margin-bottom: 100px;
}

.home-benefits h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 48px;
    color: var(--color-text);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.benefit-card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: color-mix(in srgb, var(--sector-color) 30%, var(--color-border));
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text);
}

.benefit-card p {
    color: var(--color-text-light);
    line-height: 1.7;
    margin: 0;
}

/* =========================
   CTA FINAL - MEJORADO
   ========================= */

.home-cta {
    margin: 80px auto 0 auto;
    padding: 0;
    border-radius: var(--radius-xl);
    background: linear-gradient(
        135deg,
        var(--sector-color),
        color-mix(in srgb, var(--sector-color) 85%, black)
    );
    max-width: 900px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.cta-content {
    padding: 60px 40px;
    text-align: center;
    position: relative;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.home-cta h2 {
    margin-bottom: 16px;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    color: white;
    font-weight: 700;
    position: relative;
}

.home-cta p {
    font-size: 1.15rem;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    position: relative;
}

.cta-btn {
    display: inline-block;
    background: white;
    color: var(--sector-color);
    text-decoration: none;
    padding: 16px 40px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1.05rem;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    position: relative;
}

.cta-btn:hover {
    background: var(--color-bg-soft);
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.3);
    color: var(--sector-color);
}

/* =========================
   RESPONSIVE HOMEPAGE
   ========================= */

/* =========================
   RESPONSIVE HOMEPAGE
   ========================= */

@media (max-width: 768px) {
    .homepage.homepage-sector {
        padding: 0 16px 60px;
    }
    
    /* Hero compacto responsive */
    .home-hero-compact {
        padding: 32px 0 24px 0;
    }
    
    .hero-title-compact {
        font-size: 1.75rem;
        line-height: 1.25;
    }
    
    .hero-description-compact {
        font-size: 1rem;
    }
    
    .hero-stats-compact {
        flex-direction: column;
        gap: 12px;
        padding: 16px 20px;
    }
    
    .stat-separator-compact {
        display: none;
    }
    
    /* Provincias prioritarias responsive */
    .home-provinces-priority {
        margin: 40px auto 60px auto;
    }
    
    .provinces-priority-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .province-priority-card {
        padding: 16px 20px;
    }
    
    .province-priority-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .province-priority-content h3 {
        font-size: 1.05rem;
    }
    
    /* Grids responsive */
    .how-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .city-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .top-provincias-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .top-provincia-block {
        padding: 20px;
    }

    .top-negocio-info h4 {
        white-space: normal;
    }

    .latest-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .latest-thumb {
        height: 160px;
    }
    
    /* CTA responsive */
    .home-cta {
        margin-top: 60px;
    }
    
    .cta-content {
        padding: 40px 24px;
    }
    
    /* Secciones con menos margen */
    .home-how-it-works,
    .home-latest,
    .home-top-provincias,
    .home-benefits {
        margin-bottom: 60px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .provinces-priority-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .top-provincias-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================
   SINGLE BUSINESS PAGE
   ========================= */

.business-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

/* BREADCRUMB EN NEGOCIO */
.business-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--color-bg-soft);
    border-radius: var(--radius-md);
    margin-bottom: 32px;
    border: 1px solid var(--color-border-light);
    flex-wrap: wrap;
}

.breadcrumb-municipality {
    color: var(--color-primary);
    font-weight: 600;
}

/* =========================
   BUSINESS HERO
   ========================= */

.business-hero {
    display: grid;
    grid-template-columns: 45% 55%;
    background: var(--color-bg);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 60px;
    border: 1px solid var(--color-border-light);
}

.business-hero-media {
    background-size: cover;
    background-position: center;
    min-height: 360px;
    position: relative;
}

.business-hero-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-bg-soft) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.business-hero-content {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.business-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(252, 58, 0, 0.08) 0%, rgba(252, 58, 0, 0.12) 100%);
    color: var(--color-primary);
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    width: fit-content;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.business-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--color-text);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.business-hero .business-snippet {
    font-size: 1.15rem;
    color: var(--color-text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.business-hero .business-address {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin: -8px 0 20px 0;
    line-height: 1.5;
}

.business-hero .business-address svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-primary);
}

/* RATINGS EN HERO */
.business-meta {
    margin-bottom: 28px;
    padding: 20px 0;
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* INDICADOR DE ESTADO ABIERTO/CERRADO */
.business-status {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    width: fit-content;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.status-open {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #a7f3d0;
}

.status-closed {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid #fecaca;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.status-open .status-indicator {
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    animation: pulse-green 2s ease-in-out infinite;
}

.status-closed .status-indicator {
    background: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

@keyframes pulse-green {
    0%, 100% {
        box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.1);
    }
}

.status-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.status-text {
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
}

.status-open .status-text {
    color: #047857;
}

.status-closed .status-text {
    color: #dc2626;
}

.status-next {
    font-size: 0.85rem;
    font-weight: 500;
}

.status-closed .status-next {
    color: #991b1b;
}

.business-rating,
.business-rating-internal {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.business-rating:last-child,
.business-rating-internal:last-child {
    margin-bottom: 0;
}

.business-rating .rating-value,
.business-rating-internal .rating-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
}

.rating-stars {
    color: #fbbf24;
    font-size: 1.3rem;
}

.rating-count {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.business-rating-internal .label {
    font-weight: 600;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* HERO BUTTONS - NUEVA ESTRUCTURA */
.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-top: 8px;
}

/* AVISO DE CERRADO */
.closed-warning {
    display: flex;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border: 2px solid #fca5a5;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
    animation: warningPulse 2s ease-in-out infinite;
}

@keyframes warningPulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
    }
    50% {
        box-shadow: 0 6px 20px rgba(239, 68, 68, 0.25);
    }
}

.warning-icon {
    font-size: 2rem;
    flex-shrink: 0;
    animation: warningShake 3s ease-in-out infinite;
}

@keyframes warningShake {
    0%, 90%, 100% {
        transform: rotate(0deg);
    }
    92%, 96% {
        transform: rotate(-10deg);
    }
    94%, 98% {
        transform: rotate(10deg);
    }
}

.warning-content {
    flex: 1;
}

.warning-content strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: #991b1b;
    margin-bottom: 6px;
}

.warning-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #7f1d1d;
}

/* ACCIONES PRIMARIAS */
.primary-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.actions-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
    text-align: center;
}

.primary-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: var(--color-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 12px rgba(252, 58, 0, 0.25);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(252, 58, 0, 0.35);
    color: white;
}

.btn-primary svg {
    flex-shrink: 0;
}

/* Cómo llegar — terciario: outline, no compite con los CTAs principales */
.btn-maps {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-border);
    box-shadow: none;
}

.btn-maps svg {
    stroke: var(--color-text-light);
}

.btn-maps:hover {
    background: var(--color-bg-alt);
    border-color: var(--color-text-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    color: var(--color-text);
    transform: translateY(-1px);
}

.btn-website {
    background: linear-gradient(135deg, #4285f4, #3367d6);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.btn-website:hover {
    background: linear-gradient(135deg, #3367d6, #2451b7);
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.4);
}

/* BOTÓN CITA PREVIA — Destacado: acción principal, naranja vibrante */
.btn-cita {
    background: linear-gradient(135deg, #fc3a00, #e63600);
    box-shadow: 0 4px 16px rgba(252, 58, 0, 0.4);
    grid-column: 1 / -1;
    position: relative;
    font-size: 1.05rem;
    padding: 18px 28px;
    animation: btn-cita-pulse 2.5s ease-in-out infinite;
}

.btn-cita::after {
    content: 'Online';
    position: absolute;
    top: -8px;
    right: -8px;
    background: #34a853;
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(52, 168, 83, 0.4);
}

.btn-cita:hover {
    background: linear-gradient(135deg, #e63600, #cc2f00);
    box-shadow: 0 6px 24px rgba(252, 58, 0, 0.5);
    animation: none;
}

@keyframes btn-cita-pulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(252, 58, 0, 0.4); }
    50% { box-shadow: 0 4px 24px rgba(252, 58, 0, 0.6), 0 0 0 6px rgba(252, 58, 0, 0.1); }
}

/* Llamar para cita — secundario: sólido pero discreto */
.btn-phone {
    background: var(--color-text);
    box-shadow: 0 4px 12px rgba(26, 26, 46, 0.2);
}

.btn-phone:hover {
    background: #2d2d4a;
    box-shadow: 0 6px 20px rgba(26, 26, 46, 0.3);
}

/* SEPARADOR */
.actions-divider {
    position: relative;
    text-align: center;
    margin: 8px 0;
}

.actions-divider::before,
.actions-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--color-border);
}

.actions-divider::before {
    left: 0;
}

.actions-divider::after {
    right: 0;
}

.actions-divider span {
    display: inline-block;
    padding: 0 16px;
    background: white;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

/* ACCIONES SECUNDARIAS */
.secondary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--color-bg-soft);
    color: var(--color-text);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    border: 2px solid var(--color-border);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary svg {
    flex-shrink: 0;
}

.btn-count {
    display: inline-block;
    padding: 2px 8px;
    background: var(--color-border);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}
    color: var(--color-text);
}

/* =========================
   BUSINESS LAYOUT (2 COLUMNAS)
   ========================= */

.business-layout {
    display: grid;
    grid-template-columns: 65% 35%;
    gap: 40px;
}

.business-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.business-sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* =========================
   CARDS Y SECCIONES
   ========================= */

.business-info-card,
.business-strengths,
.business-services,
.business-description,
.business-howto,
.business-faq,
.business-reviews,
.business-map,
.business-owner-cta,
.related-business {
    background: var(--color-bg);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-sm);
}

.business-info-card h2,
.business-strengths h2,
.business-services h2,
.business-description h2,
.business-howto h2,
.business-faq h2,
.business-reviews h2,
.business-map h2,
.business-owner-cta h2,
.related-business h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-text);
}

/* INFORMACIÓN DE CONTACTO */
.business-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.business-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-sm);
}

.business-info-list li strong {
    min-width: 120px;
    font-weight: 600;
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.business-info-list li span,
.business-info-list li a {
    color: var(--color-text);
    font-size: 0.95rem;
}

.business-info-list li a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.business-info-list li a:hover {
    text-decoration: underline;
}

.business-schedule {
    white-space: pre-line;
    font-family: inherit;
    margin: 0;
    line-height: 1.6;
}

.business-map-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    background: var(--color-bg-soft);
    color: var(--color-text);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid var(--color-border);
    transition: all var(--transition-fast);
}

.business-map-link:hover {
    background: var(--color-bg-alt);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* PUNTOS FUERTES Y SERVICIOS */
.business-strengths ul,
.business-services ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.business-strengths li,
.business-services li {
    padding-left: 28px;
    position: relative;
    line-height: 1.6;
    color: var(--color-text-light);
}

.business-strengths li::before,
.business-services li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--color-success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

/* DESCRIPCIÓN Y CONTENIDO */
.business-description-content,
.business-howto-content {
    color: var(--color-text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

.business-description-content p,
.business-howto-content p {
    margin-bottom: 16px;
}

.business-description-content p:last-child,
.business-howto-content p:last-child {
    margin-bottom: 0;
}

/* FAQ NEGOCIO */
.business-faq .faq-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.business-faq .faq-card {
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: all var(--transition-base);
}

.business-faq .faq-card:hover {
    box-shadow: var(--shadow-sm);
}

.business-faq .faq-card h3 {
    padding: 16px 20px;
    margin: 0;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-fast);
}

.business-faq .faq-card h3:hover {
    background: var(--color-bg-soft);
}

.business-faq .faq-card h3::after {
    content: "+";
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--color-primary);
    transition: transform var(--transition-base);
}

.business-faq .faq-card.active h3::after {
    content: "−";
    transform: rotate(180deg);
}

.business-faq .faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: all var(--transition-slow);
    color: var(--color-text-light);
    line-height: 1.7;
}

.business-faq .faq-card.active .faq-answer {
    max-height: 1000px;
    padding: 16px 20px 20px 20px;
}

/* PRECIO ITV EN LA ESTACIÓN (bloque CCAA) */
.business-precio-ccaa {
    border-left: 4px solid var(--color-primary);
}

.precio-disclaimer {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #fff8f0;
    border: 1px solid #fde0c0;
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 20px;
}

.precio-disclaimer-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    line-height: 1.4;
}

.precio-disclaimer p {
    margin: 0;
    font-size: 0.9rem;
    color: #7c4a1a;
    line-height: 1.6;
}

.precio-estacion-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 20px;
    font-size: 0.95rem;
}

.precio-estacion-table thead th {
    background: var(--color-text);
    color: white;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.precio-estacion-table thead th:first-child {
    border-radius: var(--radius-sm) 0 0 0;
}

.precio-estacion-table thead th:last-child {
    border-radius: 0 var(--radius-sm) 0 0;
}

.precio-estacion-table tbody td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--color-border-light);
    vertical-align: middle;
}

.precio-estacion-table tbody tr:nth-child(even) {
    background: var(--color-bg-alt);
}

.precio-estacion-table tbody tr:hover {
    background: #fff5f0;
}

.precio-nota-cell {
    font-size: 0.82rem;
    color: var(--color-text-light);
}

.precio-fecha-nota {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 12px;
}

.precio-fecha-nota a {
    color: var(--color-primary);
}

.precio-ver-completo-link {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.precio-ver-completo-link:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

/* REVIEWS */
.reviews-summary {
    padding: 16px 20px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-sm);
    margin-bottom: 28px;
    font-size: 1.05rem;
    color: var(--color-text-light);
}

.reviews-empty-cta {
    padding: 24px;
    background: linear-gradient(135deg, #fff8f0 0%, #fff3e6 100%);
    border: 1px dashed var(--color-primary, #fc3a00);
    border-radius: var(--radius-sm);
    margin-bottom: 28px;
    text-align: center;
}

.reviews-empty-cta p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--color-text);
}

.reviews-list {
    margin-bottom: 40px;
}

.reviews-form {
    padding-top: 32px;
    border-top: 2px solid var(--color-border-light);
}

.reviews-form h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-text);
}

/* MAPA */
#business-map-canvas {
    width: 100%;
    height: 280px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    border: 1px solid var(--color-border-light);
}

/* CTA PROPIETARIO */
.business-owner-cta {
    text-align: center;
    background: linear-gradient(135deg, rgba(252, 58, 0, 0.04) 0%, rgba(252, 58, 0, 0.08) 100%);
}

.business-owner-cta h2 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.business-owner-cta p {
    color: var(--color-text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.owner-cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: var(--color-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    box-shadow: 0 2px 8px rgba(252, 58, 0, 0.2);
}

.owner-cta-btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(252, 58, 0, 0.3);
    color: white;
}

/* NEGOCIOS RELACIONADOS */
.related-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.related-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--color-text);
    transition: all var(--transition-fast);
    border: 1px solid var(--color-border-light);
}

.related-card:hover {
    border-color: color-mix(in srgb, var(--sector-color, #fc3a00) 40%, var(--color-border));
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.related-card-content {
    flex: 1;
    min-width: 0;
}

.related-title {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.3;
    color: var(--color-text);
}

.related-address {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.related-rating {
    flex-shrink: 0;
    text-align: right;
}

.related-stars {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
}

.related-reviews {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 1px;
}

.related-view-all {
    display: block;
    text-align: center;
    margin-top: 16px;
    padding: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sector-color, #fc3a00);
    text-decoration: none;
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.related-view-all:hover {
    background: color-mix(in srgb, var(--sector-color, #fc3a00) 6%, transparent);
    border-color: var(--sector-color, #fc3a00);
}

/* =========================
   RESPONSIVE IMPROVEMENTS
   ========================= */

/* =========================
   RESPONSIVE IMPROVEMENTS
   ========================= */

@media (max-width: 768px) {
    .city-landing {
        padding: 40px 16px 60px !important;
    }
    
    .city-hero {
        padding: 32px 20px;
        margin-bottom: 50px;
    }
    
    .city-title {
        font-size: 2rem !important;
    }
    
    .city-description {
        font-size: 1.1rem !important;
    }
    
    .city-add-business-top {
        flex-direction: column !important;
        gap: 16px !important;
        text-align: center;
    }
    
    .business-grid {
        gap: 24px !important;
    }
    
    #city-map {
        height: 350px;
    }
    
    .faq-card h3 {
        font-size: 1.05rem !important;
        padding: 16px 18px !important;
    }
    
    .faq-content.open {
        padding: 16px 18px 20px 18px !important;
    }
    
    /* Single Business Responsive */
    .business-wrapper {
        padding: 24px 16px 60px;
    }
    
    .business-breadcrumb {
        padding: 12px 16px;
        gap: 8px;
        margin-bottom: 24px;
    }
    
    .business-hero {
        grid-template-columns: 1fr;
        margin-bottom: 40px;
    }
    
    .business-hero-media {
        min-height: 240px;
    }
    
    .business-hero-content {
        padding: 32px 24px;
    }
    
    .business-title {
        font-size: 1.75rem;
    }
    
    .business-hero .business-snippet {
        font-size: 1rem;
    }
    
    .hero-buttons {
        gap: 24px;
    }
    
    /* Closed warning responsive */
    .closed-warning {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }
    
    .warning-icon {
        font-size: 2.5rem;
    }
    
    .primary-buttons-grid {
        grid-template-columns: 1fr;
    }
    
    .secondary-actions {
        flex-direction: column;
    }
    
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .btn-secondary:hover .btn-count {
        background: rgba(255, 255, 255, 0.25);
        color: white;
    }
    
    .business-layout {
        justify-content: center;
    }
    
    .business-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .business-info-card,
    .business-strengths,
    .business-services,
    .business-description,
    .business-howto,
    .business-faq,
    .business-reviews,
    .business-map,
    .business-owner-cta,
    .related-business {
        padding: 24px 20px;
    }
    
    .business-info-list li {
        flex-direction: column;
        gap: 6px;
    }
    
    .business-info-list li strong {
        min-width: auto;
    }
    
    .business-status {
        width: 100%;
        justify-content: flex-start;
    }
    
    #business-map-canvas {
        height: 220px;
    }

    /* Precio ITV table responsive */
    .precio-estacion-table {
        font-size: 0.85rem;
    }

    .precio-estacion-table thead th,
    .precio-estacion-table tbody td {
        padding: 8px 10px;
    }

    .precio-nota-cell {
        font-size: 0.75rem;
    }

    .precio-disclaimer {
        flex-direction: column;
        gap: 8px;
        padding: 12px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .business-layout {
        grid-template-columns: 60% 40%;
        gap: 32px;
    }
    
    .business-hero {
        grid-template-columns: 1fr;
    }
    
    .business-hero-media {
        min-height: 280px;
    }
}

/* =========================
   ACCESIBILIDAD Y MEJORAS UX
   ========================= */

/* Focus states mejorados */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Mejora de legibilidad */
p, li {
    max-width: 75ch;
}

/* Transiciones para reducir movimiento */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================
   PROVINCE LANDING PAGE
   ========================= */

.province-landing {
    /* Hereda todos los estilos de city-landing */
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin: -20px auto 40px auto;
    max-width: 600px;
}

/* GRID DE MUNICIPIOS */
.province-municipalities {
    margin: 60px auto;
}

.municipalities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.municipality-card {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform var(--transition-base);
}

.municipality-card:hover {
    transform: translateY(-4px);
}

.municipality-card-inner {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.municipality-card:hover .municipality-card-inner {
    border-color: color-mix(in srgb, var(--color-primary) 40%, var(--color-border));
    box-shadow: var(--shadow-md);
}

.municipality-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.municipality-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--color-primary) 10%, var(--color-bg-alt)),
        color-mix(in srgb, var(--color-primary) 15%, var(--color-bg-soft))
    );
    font-size: 1.5rem;
    border: 2px solid color-mix(in srgb, var(--color-primary) 20%, var(--color-border));
}

.municipality-count {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    background: var(--color-bg-soft);
    border-radius: var(--radius-sm);
}

.municipality-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
}

.municipality-link-text {
    font-size: 0.9rem;
    color: var(--color-primary);
    margin: 0;
    font-weight: 600;
}

.municipality-empty {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin: 0;
    font-style: italic;
}

.no-municipalities {
    text-align: center;
    padding: 80px 20px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--color-border);
}

.no-municipalities p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* ESTADÍSTICAS DE PROVINCIA */
.province-stats {
    margin: 60px auto;
    max-width: 900px;
}

.stats-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 40px 32px;
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--color-primary) 5%, var(--color-bg)),
        var(--color-bg)
    );
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: var(--color-border);
}

/* =========================
   BREADCRUMB / VOLVER A PROVINCIA
   ========================= */

.city-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--color-bg-soft);
    border-radius: var(--radius-md);
    margin-bottom: 32px;
    border: 1px solid var(--color-border-light);
    flex-wrap: wrap;
}

.breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--color-text-light);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.breadcrumb-link:hover {
    background: var(--color-bg);
    color: var(--color-primary);
}

.breadcrumb-province {
    color: var(--color-primary);
    font-weight: 600;
}

.breadcrumb-icon {
    font-size: 1rem;
}

.breadcrumb-separator {
    color: var(--color-border);
    font-weight: 300;
}

.breadcrumb-current {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
}

/* =========================
   MUNICIPIOS RELACIONADOS
   ========================= */

.related-municipalities {
    max-width: 1100px;
    margin: 80px auto 0 auto;
    padding: 48px 40px;
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--color-primary) 3%, var(--color-bg)),
        var(--color-bg)
    );
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-md);
}

.related-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.related-header .section-title {
    margin: 0;
}

.view-all-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--color-bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    transition: all var(--transition-fast);
}

.view-all-link:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.related-municipalities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.related-municipality-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-municipality-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.related-muni-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.related-muni-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.related-municipality-card h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.3;
}

.related-muni-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid var(--color-border-light);
}

.related-muni-count {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 600;
}

.related-muni-arrow {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform var(--transition-fast);
}

.related-municipality-card:hover .related-muni-arrow {
    transform: translateX(4px);
}

.related-municipalities-footer {
    margin-top: 32px;
    text-align: center;
}

.btn-view-all-municipalities {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--color-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--color-primary) 30%, transparent);
}

.btn-view-all-municipalities:hover {
    background: color-mix(in srgb, var(--color-primary) 90%, black);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px color-mix(in srgb, var(--color-primary) 40%, transparent);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .city-breadcrumb {
        padding: 12px 16px;
        gap: 8px;
    }
    
    .breadcrumb-link {
        font-size: 0.85rem;
        padding: 4px 8px;
    }
    
    .related-municipalities {
        padding: 32px 24px;
        margin-top: 60px;
    }
    
    .related-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .related-municipalities-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}
@media (max-width: 768px) {
    .municipalities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 24px;
        padding: 32px 24px;
    }
    
    .stat-divider {
        width: 100%;
        height: 1px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .province-stats .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* =========================
   PROVINCE STATS CARDS
   ========================= */

.province-stats {
    max-width: 1100px;
    margin: 40px auto 60px auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.stat-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: color-mix(in srgb, var(--color-primary) 30%, var(--color-border));
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--color-primary) 10%, var(--color-bg-alt)),
        color-mix(in srgb, var(--color-primary) 15%, var(--color-bg-soft))
    );
    font-size: 1.75rem;
    flex-shrink: 0;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.stat-card .stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-light);
}

/* =========================
   MUNICIPALITY RATING IN CARD
   ========================= */

.municipality-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
}

.rating-star-small {
    font-size: 1rem;
}

.rating-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-light);
}

/* =========================
   FORMULARIOS: NUEVA EMPRESA / RECLAMAR
   ========================= */

.claim-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px 100px;
}

.claim-container {
    max-width: 640px;
    margin: 0 auto;
}

.claim-container--wide {
    max-width: 800px;
    margin: 0 auto;
}

/* Cabecera */
.claim-header {
    text-align: center;
    margin-bottom: 40px;
}

.claim-header h1 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 12px;
}

.claim-header p {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.claim-ficha-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sector-color);
    text-decoration: none;
}

.claim-ficha-link:hover {
    text-decoration: underline;
}

/* Mensajes de estado */
.claim-success {
    text-align: center;
    padding: 60px 24px;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-sm);
}

.claim-success-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.claim-success h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 12px;
}

.claim-success p {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 28px auto;
}

.claim-back-btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--sector-color);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.claim-back-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--sector-color) 40%, transparent);
}

.claim-error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 28px;
}

.claim-error p {
    margin: 0;
    color: #991b1b;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Formulario */
.claim-page .claim-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.claim-fieldset {
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: 28px;
    background: var(--color-bg);
    box-shadow: var(--shadow-sm);
}

.claim-fieldset legend {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
    padding: 0 12px;
    margin-left: -4px;
}

.claim-field {
    margin-bottom: 20px;
}

.claim-field:last-child {
    margin-bottom: 0;
}

.claim-field label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 6px;
}

.claim-field .required {
    color: #dc2626;
    font-weight: 700;
}

.claim-field .optional {
    color: var(--color-text-muted);
    font-weight: 400;
    font-size: 0.85rem;
}

.claim-field input,
.claim-field select,
.claim-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    color: var(--color-text);
    background: var(--color-bg);
    transition: all var(--transition-fast);
    box-sizing: border-box;
}

.claim-field input:focus,
.claim-field select:focus,
.claim-field textarea:focus {
    outline: none;
    border-color: var(--sector-color);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--sector-color) 12%, transparent);
}

.claim-field input::placeholder,
.claim-field textarea::placeholder {
    color: var(--color-text-muted);
    opacity: 0.7;
}

.claim-field textarea {
    resize: vertical;
    min-height: 80px;
}

.claim-field select {
    cursor: pointer;
}

/* Grid de 2 columnas */
.claim-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.claim-row-2 .claim-field {
    margin-bottom: 0;
}

/* Botón de envío */
.claim-submit-wrap {
    text-align: center;
    padding-top: 8px;
}

.claim-submit-btn {
    display: inline-block;
    width: 100%;
    max-width: 400px;
    padding: 16px 32px;
    background: var(--sector-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--sector-color) 35%, transparent);
}

.claim-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px color-mix(in srgb, var(--sector-color) 45%, transparent);
    opacity: 0.95;
}

.claim-submit-btn:active {
    transform: translateY(0);
}

.claim-page .claim-disclaimer {
    margin: 16px 0 0 0;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .claim-page {
        padding: 24px 16px 60px;
    }

    .claim-fieldset {
        padding: 20px 16px;
    }

    .claim-row-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .claim-row-2 .claim-field {
        margin-bottom: 20px;
    }

    .claim-row-2 .claim-field:last-child {
        margin-bottom: 0;
    }

    .claim-success {
        padding: 40px 20px;
    }

    .claim-header h1 {
        font-size: 1.5rem;
    }
}

/* =========================
   CTA COMPROBAR ITV (HOME)
   ========================= */

.home-cta-itv {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.cta-itv-link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 28px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 14px;
    text-decoration: none;
    color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(26, 26, 46, 0.25);
}

.cta-itv-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(26, 26, 46, 0.35);
}

.cta-itv-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.cta-itv-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cta-itv-text strong {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.cta-itv-text span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

.cta-itv-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    background: #fc3a00;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 8px;
    white-space: nowrap;
    transition: background 0.2s;
}

.cta-itv-link:hover .cta-itv-btn {
    background: #e03300;
}

/* Responsive mobile */
@media (max-width: 640px) {
    .home-cta-itv {
        padding: 0 16px;
    }

    .cta-itv-link {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
        gap: 12px;
    }

    .cta-itv-text {
        align-items: center;
    }

    .cta-itv-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
}

/* ── CTA Precios ITV (variante del CTA Comprobar) ── */

.home-cta-precios {
    margin-top: 16px;
}

.cta-precios-link {
    background: linear-gradient(135deg, #065f46 0%, #047857 100%) !important;
    box-shadow: 0 4px 20px rgba(6, 95, 70, 0.25) !important;
}

.cta-precios-link:hover {
    box-shadow: 0 8px 30px rgba(6, 95, 70, 0.35) !important;
}

/* =========================
   HOME MAP SECTION
   ========================= */

.home-map-section {
    margin: 60px auto 80px auto;
    max-width: 1200px;
}

.map-header {
    text-align: center;
    margin-bottom: 32px;
}

.map-header h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text);
}

.map-header p {
    color: var(--color-text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

#home-map {
    width: 100%;
    height: 500px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.map-legend {
    text-align: center;
    margin-top: 16px;
    padding: 0 16px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.legend-icon {
    font-size: 1.2rem;
}

/* Popup estilos */
.map-popup h4 {
    margin: 0 0 8px 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text);
}

.popup-city {
    margin: 4px 0;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.popup-rating {
    margin: 4px 0 8px 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.popup-link {
    display: inline-block;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 8px;
}

.popup-link:hover {
    text-decoration: underline;
}

/* =========================
   TOP 6 PROVINCES GRID + SELECT
   ========================= */

.provinces-top-6 {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto 40px auto;
}

.provinces-select-wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.provinces-select-wrapper label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
}

.provinces-select-wrapper select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-bg);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%231a1a2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 50px;
    transition: all var(--transition-fast);
}

.provinces-select-wrapper select:hover {
    border-color: var(--color-primary);
}

.provinces-select-wrapper select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary) 12%, transparent);
}

/* ===========================
   PROVINCES AUTOCOMPLETE
   =========================== */
.provinces-autocomplete-wrapper {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.provinces-autocomplete-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
    text-align: center;
}

.provinces-autocomplete {
    display: flex;
    align-items: center;
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0 20px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.provinces-autocomplete:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary) 12%, transparent);
}

.provinces-search-icon {
    flex-shrink: 0;
    color: #94a3b8;
    margin-right: 14px;
}

#home-finder-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 16px 0;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-text);
    background: transparent;
}

#home-finder-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.provinces-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
    background: #fff;
    border: 2px solid var(--color-border);
    border-top: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    max-height: 320px;
    overflow-y: auto;
    list-style: none;
    margin: 0;
    padding: 0;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    display: none;
}

.provinces-suggestions.open {
    display: block;
}

.provinces-suggestion-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid #f1f5f9;
}

.provinces-suggestion-item:last-child {
    border-bottom: none;
}

.provinces-suggestion-item:hover,
.provinces-suggestion-item.active {
    background: color-mix(in srgb, var(--color-primary) 8%, transparent);
}

.provinces-suggestion-name {
    font-weight: 600;
    color: var(--color-text);
    font-size: 1rem;
}

.provinces-suggestion-count {
    font-size: 0.85rem;
    color: #94a3b8;
    white-space: nowrap;
}

.provinces-no-results {
    padding: 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.95rem;
}

@media (max-width: 1200px) {
    .provinces-top-6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .provinces-top-6 {
        grid-template-columns: 1fr;
    }
    
    .provinces-select-wrapper {
        max-width: 100%;
    }

    .provinces-autocomplete-wrapper {
        max-width: 100%;
    }
    
    #home-map {
        height: 400px;
    }
}

/* =========================
   SERVICES/TRÁMITES SECTION
   ========================= */

.home-services {
    margin: 80px auto;
    max-width: 1200px;
    padding: 0 24px;
}

.services-header {
    text-align: center;
    margin-bottom: 48px;
}

.services-header h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text);
}

.services-header p {
    color: var(--color-text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.service-card {
    background: var(--color-bg);
    border: 2px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all var(--transition-base);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 12px 0;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
}

.services-footer {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 2px solid #fbbf24;
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    text-align: center;
}

.services-note {
    margin: 0;
    font-size: 0.95rem;
    color: #78350f;
    line-height: 1.6;
    text-align: center !important;
}

.services-note strong {
    font-weight: 700;
    color: #78350f;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 28px 24px;
    }
    
    .services-footer {
        padding: 20px 24px;
    }
}
/* =========================
   SERVICE LANDINGS - VARIABLES
   ========================= */

:root {
    --service-primary: #fc3a00;
    --service-secondary: #fc3a00;
    --service-success: #10b981;
    --service-dark: #1a1a2e;
    --service-light: #f8f9fa;
}

/* =========================
   SERVICE LANDING CONTAINER
   ========================= */

.service-landing {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

/* =========================
   SERVICE HERO
   ========================= */

.service-hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px;
    overflow: hidden;
    margin-bottom: 100px;
}

.service-hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        #fc3a00 0%,
        #d93200 50%,
        #a12800 100%
    );
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.05) 35px, rgba(255,255,255,.05) 70px);
    opacity: 0.3;
}

.service-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.service-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.service-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    color: white;
    margin: 0 0 24px 0;
    letter-spacing: -0.02em;
}

.hero-lead {
    font-size: 1.35rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 40px 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn-primary-large,
.btn-secondary-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary-large {
    background: white;
    color: var(--service-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.btn-secondary-large {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary-large:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
}

.hero-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats .stat-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hero-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    line-height: 1;
}

.hero-stats .stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

/* =========================
   SERVICE INTRO
   ========================= */

.service-intro {
    padding: 100px 24px;
    background: linear-gradient(180deg, #f8f9fa 0%, white 100%);
}

.intro-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.section-eyebrow {
    display: inline-block;
    padding: 6px 14px;
    background: var(--service-primary);
    color: white;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.intro-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 24px 0;
    color: var(--service-dark);
    line-height: 1.2;
}

.intro-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 20px;
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-box {
    background: white;
    padding: 28px;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.feature-box:hover {
    border-color: var(--service-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(252, 58, 0, 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--service-primary), #d93200);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 16px;
}

.feature-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--service-dark);
}

.feature-box p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* =========================
   SERVICE PROCESS TIMELINE
   ========================= */

.service-process {
    padding: 100px 24px;
    background: white;
}

.service-process h2 {
    text-align: center;
    font-size: 2.75rem;
    font-weight: 800;
    margin: 0 0 80px 0;
    color: var(--service-dark);
}

.process-timeline {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 12.5%;
    right: 12.5%;
    height: 3px;
    background: linear-gradient(90deg, var(--service-primary), var(--service-secondary));
    z-index: 0;
}

.process-step {
    position: relative;
    text-align: center;
}

.step-number {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--service-primary), #d93200);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(252, 58, 0, 0.3);
    position: relative;
    z-index: 1;
    border: 4px solid white;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: var(--service-dark);
}

.step-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* =========================
   POPULAR PARTS GRID
   ========================= */

.service-popular-parts {
    padding: 100px 24px;
    background: linear-gradient(180deg, #f8f9fa 0%, white 100%);
}

.service-popular-parts h2 {
    text-align: center;
    font-size: 2.75rem;
    font-weight: 800;
    margin: 0 0 60px 0;
    color: var(--service-dark);
}

.parts-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.part-card {
    background: white;
    padding: 24px 20px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    text-align: center;
    font-size: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    cursor: default;
}

.part-card:hover {
    border-color: var(--service-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(252, 58, 0, 0.15);
}

.part-card span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--service-dark);
}

/* =========================
   SERVICE FINDER
   ========================= */

.service-finder {
    padding: 100px 24px;
    background: white;
}

.finder-header {
    text-align: center;
    margin-bottom: 60px;
}

.finder-header h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin: 0 0 16px 0;
    color: var(--service-dark);
}

.finder-header p {
    font-size: 1.25rem;
    color: #64748b;
    margin: 0;
}

.finder-grid {
    max-width: 1200px;
    margin: 0 auto 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.finder-card {
    background: white;
    padding: 32px 28px;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.finder-card:hover {
    border-color: var(--service-primary);
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(252, 58, 0, 0.2);
}

.finder-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.finder-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--service-dark);
}

.finder-card p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}

.finder-arrow {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 1.5rem;
    color: var(--service-primary);
    transition: transform 0.3s ease;
}

.finder-card:hover .finder-arrow {
    transform: translateX(6px);
}

.finder-select-wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.finder-select-wrapper label {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--service-dark);
    margin-bottom: 16px;
}

.finder-select-wrapper select,
#service-province-select {
    width: 100%;
    padding: 18px 24px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--service-dark);
    background: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%231a1a2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 56px;
    transition: all 0.3s ease;
}

.finder-select-wrapper select:hover,
#service-province-select:hover {
    border-color: var(--service-primary);
}

.finder-select-wrapper select:focus,
#service-province-select:focus {
    outline: none;
    border-color: var(--service-primary);
    box-shadow: 0 0 0 4px rgba(252, 58, 0, 0.1);
}

/* =========================
   FEATURED BUSINESSES
   ========================= */

.service-featured {
    padding: 100px 24px;
    background: linear-gradient(180deg, #f8f9fa 0%, white 100%);
}

.service-featured h2 {
    text-align: center;
    font-size: 2.75rem;
    font-weight: 800;
    margin: 0 0 60px 0;
    color: var(--service-dark);
}

.featured-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.featured-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.featured-card:hover {
    border-color: var(--service-primary);
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(252, 58, 0, 0.2);
}

.featured-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: var(--service-dark);
}

.featured-location {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0 0 16px 0;
}

.featured-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.rating-stars {
    color: #fbbf24;
    font-size: 1rem;
}

.rating-value {
    font-weight: 700;
    color: var(--service-dark);
}

.featured-cta {
    display: inline-block;
    color: var(--service-primary);
    font-weight: 700;
    font-size: 0.95rem;
}

/* =========================
   FAQ SECTION
   ========================= */

.service-faq {
    padding: 100px 24px;
    background: white;
}

.service-faq h2 {
    text-align: center;
    font-size: 2.75rem;
    font-weight: 800;
    margin: 0 0 60px 0;
    color: var(--service-dark);
}

.faq-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.faq-item {
    background: linear-gradient(135deg, #f8f9fa 0%, white 100%);
    padding: 32px;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
}

.faq-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: var(--service-dark);
}

.faq-item p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
    margin: 0;
}

/* =========================
   FINAL CTA
   ========================= */

.service-cta {
    padding: 100px 24px;
    background: linear-gradient(135deg, var(--service-primary), #d93200);
    position: relative;
    overflow: hidden;
}

.service-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.03) 35px, rgba(255,255,255,.03) 70px);
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.75rem;
    font-weight: 900;
    color: white;
    margin: 0 0 16px 0;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 40px 0;
}

.btn-cta-large {
    display: inline-block;
    padding: 20px 48px;
    background: white;
    color: var(--service-primary);
    text-decoration: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-cta-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1024px) {
    .intro-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .finder-grid,
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .service-hero {
        min-height: 500px;
        padding: 60px 20px;
    }
    
    .service-hero h1 {
        font-size: 2rem;
    }
    
    .hero-lead {
        font-size: 1.1rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
    }
    
    .btn-primary-large,
    .btn-secondary-large {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .intro-features {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .parts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .finder-grid,
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .service-intro,
    .service-process,
    .service-popular-parts,
    .service-finder,
    .service-featured,
    .service-faq,
    .service-cta {
        padding: 60px 20px;
    }

    h2 {
        font-size: 2rem !important;
    }
}

/* =========================
   CITY TOP ROW – MAPA + INFO EN DOS COLUMNAS
   ========================= */

.city-top-row {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 32px;
    margin: 40px 0 60px 0;
    align-items: start;
}

.city-top-col {
    min-width: 0;
}

/* Mapa dentro del top row */
.city-top-row .city-map-section {
    margin: 0;
}

.city-top-row .city-map-section .section-title {
    margin-bottom: 16px;
    font-size: 1.3rem;
}

.city-top-row #city-map,
.city-top-row #province-map {
    width: 100%;
    height: 420px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border-light);
}

/* Panel de información lateral */
.city-info-panel {
    background: var(--color-bg);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-md);
}

.city-info-panel .section-title {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.city-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.city-info-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border-light);
    font-size: 0.95rem;
}

.city-info-list li:last-child {
    border-bottom: none;
}

.city-info-list li strong {
    color: var(--color-text);
    font-weight: 600;
}

.city-info-list li a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.city-info-list li a:hover {
    text-decoration: underline;
}

/* Stats en vertical dentro del panel */
.stats-grid-vertical {
    grid-template-columns: 1fr !important;
    gap: 16px;
}

.stats-grid-vertical .stat-card {
    padding: 20px 18px;
}

/* CTA dentro del panel */
.city-info-cta {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border-light);
    text-align: center;
}

.city-info-cta p {
    margin: 0 0 12px 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.city-info-cta .city-add-top-btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--color-primary);
    color: white;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-base);
}

.city-info-cta .city-add-top-btn:hover {
    background: color-mix(in srgb, var(--color-primary) 85%, black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========== RESPONSIVE ========== */

@media (max-width: 1024px) {
    .city-top-row {
        grid-template-columns: 1.3fr 1fr;
        gap: 24px;
    }

    .city-top-row #city-map,
    .city-top-row #province-map {
        height: 360px;
    }
}

@media (max-width: 768px) {
    .city-top-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .city-top-row #city-map,
    .city-top-row #province-map {
        height: 300px;
    }

    .city-info-panel {
        padding: 20px 18px;
    }

    .stats-grid-vertical .stat-card {
        padding: 16px 14px;
    }

    .business-top-row #business-map-canvas {
        height: 300px;
    }
}

/* =========================
   BUSINESS TOP ROW (SINGLE NEGOCIO)
   ========================= */

.business-top-row {
    margin: 32px 0 40px 0;
}

.business-top-row #business-map-canvas {
    width: 100%;
    height: 420px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border-light);
}

.business-top-row .business-map-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.9rem;
}

/* Horario dentro del panel lateral */
.city-info-schedule {
    flex-direction: column !important;
    align-items: flex-start !important;
}

.city-info-schedule strong {
    margin-bottom: 6px;
}

.city-info-panel .business-schedule {
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    font-family: inherit;
    white-space: pre-line;
    color: var(--color-text);
}

/* =========================
   HOME BLOG — Últimas entradas
   ========================= */

.home-blog {
    margin-bottom: 100px;
}

.blog-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.home-blog h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
}

.blog-view-all {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--transition-fast);
}

.blog-view-all:hover {
    color: var(--color-primary-dark);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.blog-card {
    text-decoration: none;
    color: inherit;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: color-mix(in srgb, var(--color-primary) 35%, var(--color-border));
}

.blog-card-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--color-bg-soft);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.04);
}

.blog-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 3rem;
    background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-bg-soft) 100%);
}

.blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.blog-card-category {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 8%, transparent);
    padding: 4px 10px;
    border-radius: 4px;
}

.blog-card-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
    line-height: 1.4;
}

.blog-card-excerpt {
    font-size: 0.92rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
}

.blog-card-date {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-top: auto;
}

@media (max-width: 768px) {
    .blog-header {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        align-items: center;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}