/* ============================================
   MARCAS INDIVIDUALES - HELADOS ALACANT / ANTIU XIXONA
   HELADOS CARRETERO
   ============================================ */

/* ----- HERO ----- */
.marca-hero {
    padding: 160px 0 100px;
    text-align: center;
    margin-top: 74px;
    position: relative;
    overflow: hidden;
}

.alacant-hero {
    background: linear-gradient(135deg, #1a3a2e 0%, #2d6a4f 50%, #40916c 100%);
}

.antiu-hero {
    background: linear-gradient(135deg, #4a2a1a 0%, #7a4a2a 50%, #9a6a4a 100%);
}

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

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

.hero-decoracion .deco-icono:nth-child(1) { top: 10%; left: 5%; font-size: 4rem; }
.hero-decoracion .deco-icono:nth-child(2) { top: 70%; left: 90%; animation-delay: 1s; font-size: 3.5rem; }
.hero-decoracion .deco-icono:nth-child(3) { top: 40%; left: 92%; animation-delay: 2s; font-size: 2.5rem; }
.hero-decoracion .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); }
}

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

.marca-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;
}

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

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

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

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

.marca-hero .hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ----- DESCRIPCIÓN ----- */
.marca-descripcion {
    padding: 80px 0;
    background: #ffffff;
    position: relative;
}

.marca-descripcion::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232d6a4f' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.marca-descripcion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.marca-badge {
    display: inline-block;
    background: #fdf6ed;
    color: #2d6a4f;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    border: 1px solid #d8e9e0;
}

.marca-descripcion-texto h2 {
    font-size: 2.5rem;
    color: #2d2d2d;
    margin-bottom: 8px;
}

.marca-descripcion-texto .highlight {
    color: #2d6a4f;
}

.linea-decorativa {
    width: 60px;
    height: 3px;
    background: #2d6a4f;
    margin: 12px 0 20px;
    border-radius: 4px;
}

.marca-descripcion-texto p {
    font-size: 1.05rem;
    color: #666666;
    line-height: 1.8;
    margin-bottom: 14px;
}

.marca-descripcion-texto strong {
    color: #2d6a4f;
}

/* ----- CARACTERÍSTICAS ----- */
.marca-caracteristicas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    margin-top: 20px;
}

.caracteristica-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #faf8f5;
    border-radius: 10px;
    border: 1px solid #eef5f2;
    transition: all 0.3s ease;
}

.caracteristica-item:hover {
    background: #ffffff;
    border-color: #2d6a4f;
    transform: translateX(4px);
}

.caracteristica-icono {
    width: 40px;
    height: 40px;
    background: #fdf6ed;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2d6a4f;
    font-size: 1rem;
    flex-shrink: 0;
}

.caracteristica-titulo {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d2d2d;
}

.caracteristica-desc {
    display: block;
    font-size: 0.75rem;
    color: #999999;
}

/* ----- IMAGEN ----- */
.marca-descripcion-imagen {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.marca-descripcion-imagen img {
    width: 100%;
    max-width: 450px;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    transition: all 0.5s ease;
    display: block;
    margin: 0 auto;
}

.marca-descripcion-imagen img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 50px rgba(45, 106, 79, 0.12);
}

.imagen-badge {
    position: absolute;
    bottom: -12px;
    right: 20px;
    background: #2d6a4f;
    color: #ffffff;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(45, 106, 79, 0.3);
}

/* ----- CIFRAS ----- */
.marca-cifras {
    padding: 60px 0;
    background: #faf8f5;
}

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

.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;
}

.cifras-header h2 {
    font-size: 2.2rem;
    color: #2d2d2d;
}

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

/* ========================================== */
/* CIFRAS - GRID CENTRADO */
/* ========================================== */

.cifras-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;  /* Esto centra el grid */
    padding: 0 20px; /* Espacio en los bordes */
}

.cifra-item {
    text-align: center;
    padding: 25px 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.04);
    border: 1px solid #eef5f2;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cifra-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.cifra-numero {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d6a4f;
    font-family: 'Playfair Display', serif;
}

.cifra-label {
    display: block;
    font-size: 0.95rem;
    color: #888888;
    margin-top: 4px;
}

/* ----- CTA ----- */
.marca-cta {
    padding: 60px 0;
    background: #2d6a4f;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.marca-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    animation: girar 30s linear infinite;
}

@keyframes girar {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

.cta-icono {
    font-size: 3rem;
    color: rgba(255,255,255,0.15);
    margin-bottom: 12px;
}

.marca-cta h2 {
    color: #ffffff;
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.marca-cta p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.btn-pulse {
    animation: pulsoBoton 2s ease-in-out infinite;
}

@keyframes pulsoBoton {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.3); }
    50% { box-shadow: 0 0 0 15px rgba(255,255,255,0); }
}

/* ============================================
   PRODUCTOS HELADOS ALACANT
   ============================================ */

.productos-alacant-destacados {
    padding: 60px 0 80px;
    background: #ffffff;
}

.productos-alacant-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.producto-alacant-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #eef5f2;
    transition: all 0.4s ease;
}

.producto-alacant-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(45, 106, 79, 0.10);
}

.producto-alacant-imagen {
    position: relative;
    height: 170px;
    overflow: hidden;
    background: #faf8f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.producto-alacant-imagen img {
    width: auto;
    max-width: 140px;
    height: auto;
    max-height: 130px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: all 0.5s ease;
}

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

.producto-alacant-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #f39c12;
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.producto-alacant-info {
    padding: 16px 20px 20px;
    text-align: center;
}

.producto-alacant-info h3 {
    font-size: 1.1rem;
    color: #2d2d2d;
    margin-bottom: 4px;
    font-weight: 600;
}

.producto-alacant-info p {
    color: #888888;
    font-size: 0.85rem;
    margin: 0 0 10px 0;
}

.producto-alacant-color {
    width: 40px;
    height: 4px;
    border-radius: 4px;
    margin: 0 auto;
}

/* ----- CATÁLOGO ----- */
.catalogo-alacant {
    padding: 60px 0;
}

.catalogo-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.catalogo-icono {
    font-size: 2.5rem;
    color: #2d6a4f;
    margin-bottom: 12px;
}

.catalogo-content h2 {
    font-size: 1.8rem;
    color: #2d2d2d;
    margin-bottom: 8px;
}

.catalogo-content p {
    color: #666666;
    font-size: 1.05rem;
    margin-bottom: 20px;
}

/* ============================================
   PRODUCTOS ANTIU XIXONA
   ============================================ */

.productos-antiu-destacados {
    padding: 60px 0 80px;
    background: #ffffff;
}

.productos-antiu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.producto-antiu-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #f0ece8;
    transition: all 0.4s ease;
}

.producto-antiu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(122, 74, 42, 0.10);
}

.producto-antiu-imagen {
    position: relative;
    height: 170px;
    overflow: hidden;
    background: #faf8f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.producto-antiu-imagen img {
    width: auto;
    max-width: 140px;
    height: auto;
    max-height: 130px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: all 0.5s ease;
}

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

.producto-antiu-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #7a4a2a;
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.producto-antiu-info {
    padding: 16px 20px 20px;
    text-align: center;
}

.producto-antiu-info h3 {
    font-size: 1.1rem;
    color: #2d2d2d;
    margin-bottom: 4px;
    font-weight: 600;
}

.producto-antiu-info p {
    color: #888888;
    font-size: 0.85rem;
    margin: 0 0 10px 0;
}

.producto-antiu-color {
    width: 40px;
    height: 4px;
    border-radius: 4px;
    margin: 0 auto;
}

/* ----- PRODUCTOS ESPECIALES ANTIU ----- */
.productos-antiu-especiales {
    padding: 60px 0;
}

.productos-antiu-especiales-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.producto-antiu-especial {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #f0ece8;
    transition: all 0.4s ease;
}

.producto-antiu-especial:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(122, 74, 42, 0.10);
}

.producto-antiu-especial-imagen {
    height: 150px;
    overflow: hidden;
    background: #faf8f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.producto-antiu-especial-imagen img {
    width: auto;
    max-width: 160px;
    height: auto;
    max-height: 120px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.producto-antiu-especial-info {
    padding: 14px 20px 18px;
    text-align: center;
}

.producto-antiu-especial-info h3 {
    font-size: 1.1rem;
    color: #2d2d2d;
    margin-bottom: 4px;
}

.producto-antiu-especial-info p {
    color: #888888;
    font-size: 0.85rem;
    margin: 0;
}

/* ----- CATÁLOGO ANTIU ----- */
.catalogo-antiu {
    padding: 60px 0;
    background: #ffffff;
}

.catalogo-antiu-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.catalogo-antiu-icono {
    font-size: 2.5rem;
    color: #7a4a2a;
    margin-bottom: 12px;
}

.catalogo-antiu-content h2 {
    font-size: 1.8rem;
    color: #2d2d2d;
    margin-bottom: 8px;
}

.catalogo-antiu-content p {
    color: #666666;
    font-size: 1.05rem;
    margin-bottom: 20px;
}

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

@media (max-width: 992px) {
    .productos-alacant-grid,
    .productos-antiu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .productos-antiu-especiales-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .productos-alacant-destacados,
    .productos-antiu-destacados {
        padding: 40px 0 50px;
    }
    
    .productos-alacant-grid,
    .productos-antiu-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        max-width: 400px;
    }
    
    .producto-alacant-imagen,
    .producto-antiu-imagen {
        height: 140px;
        padding: 12px;
    }
    
    .producto-alacant-imagen img,
    .producto-antiu-imagen img {
        max-width: 110px;
        max-height: 100px;
    }
    
    .producto-alacant-info,
    .producto-antiu-info {
        padding: 12px 14px 16px;
    }
    
    .producto-alacant-info h3,
    .producto-antiu-info h3 {
        font-size: 0.95rem;
    }
    
    .productos-antiu-especiales-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
    
    .producto-antiu-especial-imagen {
        height: 130px;
    }
    
    .catalogo-content h2,
    .catalogo-antiu-content h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .productos-alacant-grid,
    .productos-antiu-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .producto-alacant-imagen,
    .producto-antiu-imagen {
        height: 120px;
        padding: 10px;
    }
    
    .producto-alacant-imagen img,
    .producto-antiu-imagen img {
        max-width: 90px;
        max-height: 80px;
    }
    
    .producto-alacant-info,
    .producto-antiu-info {
        padding: 10px 10px 14px;
    }
    
    .producto-alacant-info h3,
    .producto-antiu-info h3 {
        font-size: 0.8rem;
    }
    
    .producto-alacant-info p,
    .producto-antiu-info p {
        font-size: 0.7rem;
    }
    
    .producto-antiu-especial-imagen {
        height: 110px;
        padding: 12px;
    }
    
    .producto-antiu-especial-imagen img {
        max-width: 120px;
        max-height: 90px;
    }
}

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

@media (max-width: 992px) {
    .marca-hero h1 { font-size: 2.8rem; }
    
    .marca-descripcion-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .marca-caracteristicas {
        grid-template-columns: 1fr;
    }
    
    .cifras-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .marca-descripcion-imagen img {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .marca-hero {
        padding: 120px 0 60px;
        margin-top: 64px;
    }
    
    .marca-hero h1 {
        font-size: 2.2rem;
    }
    
    .marca-hero p {
        font-size: 1.1rem;
    }
    
    .marca-descripcion {
        padding: 50px 0;
    }
    
    .marca-descripcion-texto h2 {
        font-size: 1.8rem;
    }
    
    .marca-descripcion-texto p {
        font-size: 0.95rem;
    }
    
    .cifras-header h2 {
        font-size: 1.8rem;
    }
    
    .cifras-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .cifra-numero {
        font-size: 1.8rem;
    }
    
    .marca-cta h2 {
        font-size: 1.8rem;
    }
    
    .marca-descripcion-imagen img {
        max-width: 280px;
    }
    
    .imagen-badge {
        bottom: -6px;
        right: 10px;
        font-size: 0.65rem;
        padding: 4px 12px;
    }
}

@media (max-width: 480px) {
    .marca-hero h1 {
        font-size: 1.8rem;
    }
    
    .marca-descripcion-texto h2 {
        font-size: 1.5rem;
    }
    
    .cifras-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .cifra-numero {
        font-size: 1.4rem;
    }
    
    .caracteristica-item {
        padding: 10px 12px;
    }
    
    .marca-descripcion-imagen img {
        max-width: 220px;
    }
    
    .marca-cta h2 {
        font-size: 1.4rem;
    }
}