/* ============================================
   PASTELERÍA - ESTILOS CON EFECTOS
   HELADOS CARRETERO
   ============================================ */

/* ----- HERO CON EFECTO PARALLAX ----- */
.pasteleria-hero {
    padding: 160px 0 100px;
    text-align: center;
    margin-top: 74px;
    background: linear-gradient(135deg, #f8efe4 0%, #e8d5b7 50%, #d4a574 100%);
    position: relative;
    overflow: hidden;
}

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

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

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

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

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

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

.pasteleria-hero .highlight {
    color: #5c3d2e;
    position: relative;
}

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

.pasteleria-hero p {
    font-size: 1.3rem;
    color: rgba(44, 44, 44, 0.8);
    margin-bottom: 30px;
}

/* ----- INTRODUCCIÓN CON FONDO TEXTURADO ----- */
.pasteleria-intro {
    padding: 80px 0;
    background: #ffffff;
    position: relative;
}

.pasteleria-intro::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.03'%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;
}

.pasteleria-intro-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

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

.pasteleria-intro-content h2 {
    font-size: 2.5rem;
    color: #2d2d2d;
    margin-bottom: 8px;
}

.pasteleria-intro-content .highlight {
    color: #2d6a4f;
    position: relative;
}

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

.pasteleria-intro-content p {
    font-size: 1.05rem;
    color: #666666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.intro-cifras {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 20px;
}

.intro-cifra {
    text-align: center;
}

.intro-cifra .numero {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #2d6a4f;
}

.intro-cifra .label {
    font-size: 0.85rem;
    color: #888888;
}

/* ----- PRODUCTOS CON EFECTO INCLINADO ----- */
.pasteleria-productos {
    padding: 80px 0;
    background: #faf8f5;
}

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

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

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

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

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

.pasteleria-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.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
}

.pasteleria-card:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(2deg) translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.pasteleria-imagen {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #faf8f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.pasteleria-card:hover .pasteleria-imagen img {
    transform: scale(1.08);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 106, 79, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.pasteleria-card:hover .card-overlay {
    opacity: 1;
}

.card-overlay span {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 24px;
    border: 2px solid #ffffff;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.card-overlay span:hover {
    background: #ffffff;
    color: #2d6a4f;
}

.pasteleria-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #2d6a4f;
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.pasteleria-info {
    padding: 16px 20px 20px;
}

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

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

.pasteleria-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0ece8;
}

.precio {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2d6a4f;
}

.pasteleria-color {
    width: 30px;
    height: 4px;
    border-radius: 4px;
}

/* ----- PRÓXIMAMENTE ----- */
.pasteleria-imagen.proximamente {
    background: #f5f5f5;
}

.proximamente-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #bbbbbb;
}

.proximamente-content i {
    font-size: 3rem;
    margin-bottom: 8px;
    color: #cccccc;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.proximamente-content span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #aaaaaa;
}

.proximamente-sub {
    font-size: 0.7rem !important;
    color: #bbbbbb !important;
    background: #eeeeee;
    padding: 2px 12px;
    border-radius: 50px;
    margin-top: 4px;
}

/* ----- LISTA COMPLETA ----- */
.pasteleria-lista {
    padding: 80px 0;
    background: #ffffff;
}

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

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

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

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

.pasteleria-lista-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.pasteleria-lista-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    border: 1px solid #eef5f2;
}

.pasteleria-lista-item:hover {
    transform: translateX(6px) translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-color: #2d6a4f;
}

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

.lista-info {
    display: flex;
    flex-direction: column;
}

.lista-nombre {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d2d2d;
}

.lista-desc {
    font-size: 0.75rem;
    color: #aaaaaa;
}

/* ----- HOSTELERÍA CON EFECTO FLOTANTE ----- */
.pasteleria-hosteleria {
    padding: 80px 0;
    background: #2d6a4f;
    position: relative;
    overflow: hidden;
}

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

.flotante {
    position: absolute;
    font-size: 3rem;
    opacity: 0.1;
    animation: flotarLento 8s ease-in-out infinite;
}

@keyframes flotarLento {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(15deg); }
}

.hosteleria-content {
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

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

.section-tag.light {
    background: rgba(255,255,255,0.15);
    color: #ffffff;
}

.hosteleria-content h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 12px;
}

.hosteleria-content .highlight-light {
    color: #f5d0a9;
}

.hosteleria-content p {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.hosteleria-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin: 20px 0 30px;
}

.hosteleria-item {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 14px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    cursor: default;
}

.hosteleria-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

.hosteleria-item i {
    display: block;
    font-size: 1.5rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 4px;
}

.hosteleria-item span {
    color: rgba(255,255,255,0.9);
    font-size: 0.8rem;
    font-weight: 500;
}

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

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

@media (max-width: 992px) {
    .pasteleria-hero h1 { font-size: 2.8rem; }
    
    .pasteleria-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .pasteleria-lista-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hosteleria-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .pasteleria-hero {
        padding: 120px 0 60px;
        margin-top: 64px;
    }
    
    .pasteleria-hero h1 {
        font-size: 2.2rem;
    }
    
    .pasteleria-intro-content h2,
    .productos-header h2,
    .lista-header h2,
    .hosteleria-content h2 {
        font-size: 1.8rem;
    }
    
    .intro-cifras {
        gap: 24px;
    }
    
    .intro-cifra .numero {
        font-size: 1.6rem;
    }
    
    .pasteleria-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .pasteleria-lista-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .pasteleria-lista-item {
        padding: 10px 14px;
    }
    
    .hosteleria-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pasteleria-card {
        transform: none !important;
    }
    
    .pasteleria-card:hover {
        transform: translateY(-5px) !important;
    }
}

@media (max-width: 480px) {
    .pasteleria-hero h1 {
        font-size: 1.8rem;
    }
    
    .pasteleria-grid {
        max-width: 280px;
    }
    
    .pasteleria-lista-grid {
        grid-template-columns: 1fr;
    }
    
    .hosteleria-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .hosteleria-item {
        padding: 10px 8px;
    }
    
    .hosteleria-item i {
        font-size: 1.2rem;
    }
    
    .hosteleria-item span {
        font-size: 0.7rem;
    }
    
    .intro-cifras {
        gap: 16px;
        flex-wrap: wrap;
    }
}