/* ============================================
   HELADERÍAS - ESTILOS ESPECÍFICOS
   HELADOS CARRETERO
   ============================================ */

/* ----- HERO ----- */
.heladerias-hero {
    padding: 160px 0 100px;
    text-align: center;
    margin-top: 74px;
    background: linear-gradient(135deg, #2d6a4f 0%, #1a5a3e 50%, #0d3b2a 100%);
    position: relative;
    overflow: hidden;
}

.heladerias-hero .hero-decoracion {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.heladerias-hero .deco-icono {
    position: absolute;
    font-size: 3rem;
    opacity: 0.08;
    animation: flotar 6s ease-in-out infinite;
}

.heladerias-hero .deco-icono:nth-child(1) { top: 10%; left: 5%; font-size: 4rem; }
.heladerias-hero .deco-icono:nth-child(2) { top: 70%; left: 90%; animation-delay: 1s; font-size: 3.5rem; }
.heladerias-hero .deco-icono:nth-child(3) { top: 40%; left: 92%; animation-delay: 2s; font-size: 2.5rem; }
.heladerias-hero .deco-icono:nth-child(4) { top: 85%; left: 8%; animation-delay: 0.5s; font-size: 3rem; }

@keyframes flotar {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.heladerias-hero .hero-content {
    position: relative;
    z-index: 2;
}

.heladerias-hero .hero-tag {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    margin-bottom: 16px;
}

.heladerias-hero h1 {
    font-size: 3.8rem;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
}

.heladerias-hero .highlight {
    color: #d8e9e0;
    position: relative;
}

.heladerias-hero .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #d8e9e0;
    opacity: 0.3;
    border-radius: 4px;
}

.heladerias-hero p {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
}

/* ----- HELADERÍAS LISTA ----- */
.heladerias-lista {
    padding: 80px 0;
    background: #ffffff;
}

.heladerias-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    background: #2d6a4f;
    color: #ffffff;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.heladerias-header h2 {
    font-size: 2.5rem;
    color: #2d2d2d;
}

.heladerias-header .highlight {
    color: #2d6a4f;
}

.heladerias-header p {
    color: #888888;
    font-size: 1.1rem;
}

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

/* ----- TARJETA DE HELADERÍA ----- */
.heladeria-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #eef5f2;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
}

.heladeria-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(45, 106, 79, 0.12);
}

.heladeria-card-imagen {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #faf8f5;
}

.heladeria-card-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease;
}

.heladeria-card:hover .heladeria-card-imagen img {
    transform: scale(1.06);
}

.heladeria-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(45, 106, 79, 0.9);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.heladeria-card-info {
    padding: 20px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.heladeria-card-info h3 {
    font-size: 1.15rem;
    color: #2d2d2d;
    margin-bottom: 6px;
    font-weight: 600;
}

.heladeria-direccion {
    color: #666666;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.heladeria-direccion i {
    color: #2d6a4f;
    margin-right: 6px;
}

.heladeria-descripcion {
    color: #888888;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* ----- MARCAS ----- */
.heladeria-marcas {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.marca-tag {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.marca-tag:first-child {
    background: #2d6a4f;
    color: #ffffff;
}

.marca-tag:last-child {
    background: #7a4a2a;
    color: #ffffff;
}

/* ----- BOTÓN MAPA ----- */
.btn-mapa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #4285F4;
    color: #ffffff;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.85rem;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
    align-self: flex-start;
}

.btn-mapa:hover {
    background: #3367D6;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.4);
}

.btn-mapa i {
    margin-right: 4px;
}

/* ----- MAPA GENERAL ----- */
.heladerias-mapa-general {
    padding: 80px 0;
    background: #faf8f5;
}

.mapa-general-content {
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
}

.mapa-general-content h2 {
    font-size: 2.2rem;
    color: #2d2d2d;
    margin-bottom: 8px;
}

.mapa-general-content .highlight {
    color: #2d6a4f;
}

.mapa-general-content p {
    color: #888888;
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.mapa-iframe-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

.mapa-iframe-container iframe {
    display: block;
    width: 100%;
    height: 350px;
    border: none;
}

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

@media (max-width: 992px) {
    .heladerias-hero h1 { font-size: 2.8rem; }
    
    .heladerias-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .heladeria-card-imagen {
        height: 190px;
    }
}

@media (max-width: 768px) {
    .heladerias-hero {
        padding: 120px 0 60px;
        margin-top: 64px;
    }
    
    .heladerias-hero h1 {
        font-size: 2.2rem;
    }
    
    .heladerias-header h2,
    .mapa-general-content h2 {
        font-size: 1.8rem;
    }
    
    .heladerias-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 450px;
    }
    
    .heladeria-card-imagen {
        height: 200px;
    }
    
    .mapa-iframe-container iframe {
        height: 250px;
    }
    
    .btn-mapa {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .heladerias-hero h1 {
        font-size: 1.8rem;
    }
    
    .heladerias-grid {
        max-width: 320px;
    }
    
    .heladeria-card-imagen {
        height: 170px;
    }
    
    .heladeria-card-info {
        padding: 16px 16px 20px;
    }
    
    .heladeria-card-info h3 {
        font-size: 1rem;
    }
    
    .heladeria-descripcion {
        font-size: 0.85rem;
    }
    
    .mapa-iframe-container iframe {
        height: 200px;
    }
}