/* ========================================
   SMILEY PRECIOS v2.2 MINIMALISTA
   Sin FAQ | Sin Tabla | Max 10 elementos
   ======================================== */

:root {
    --smiley-red: #ff0000;
    --smiley-green: #33cc33;
    --smiley-yellow: #fbbf24;
    --smiley-orange: #ff6b35;
    --smiley-dark: #1a202c;
    --smiley-gray: #4a5568;
}

/* ==================== 
   SECCIÓN PRINCIPAL
   ==================== */
.smiley-precios-seccion {
    max-width: 1400px;
    margin: 0 auto 40px;
    padding: 32px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* ==================== 
   HEADER
   ==================== */
.smiley-precios-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f3f4f6;
}

.smiley-precios-titulo {
    font-size: 32px;
    font-weight: 800;
    color: var(--smiley-dark);
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.smiley-precios-subtitulo {
    font-size: 18px;
    color: var(--smiley-gray);
    margin: 0;
    line-height: 1.5;
}

/* ==================== 
   GRID DE TARJETAS
   ==================== */
.smiley-precios-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
}

/* ==================== 
   CARD MINIMALISTA
   ==================== */
.smiley-precio-card {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid var(--smiley-red);
    flex: 0 0 calc(33.333% - 19px);
    max-width: 400px;
    min-width: 320px;
    animation: fadeInUp 0.5s ease-out backwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.smiley-precio-card:nth-child(1) { animation-delay: 0.1s; }
.smiley-precio-card:nth-child(2) { animation-delay: 0.2s; }
.smiley-precio-card:nth-child(3) { animation-delay: 0.3s; }

.smiley-precio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.smiley-precio-card.destacada {
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.15);
}

/* ==================== 
   BADGES
   ==================== */
.smiley-precio-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    z-index: 10;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge-popular {
    background: linear-gradient(135deg, var(--smiley-red) 0%, #cc0000 100%);
    color: white;
    padding: 7px 14px;
    border-radius: 18px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

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

.badge-urgency {
    background: linear-gradient(135deg, var(--smiley-orange) 0%, #ff4500 100%);
    color: white;
    padding: 7px 14px;
    border-radius: 18px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.4);
    animation: urgencyPulse 1.5s ease-in-out infinite;
}

@keyframes urgencyPulse {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 4px 10px rgba(255, 107, 53, 0.4);
    }
    50% { 
        transform: scale(1.06); 
        box-shadow: 0 6px 18px rgba(255, 107, 53, 0.6);
    }
}

/* ==================== 
   IMAGEN
   ==================== */
.smiley-precio-imagen {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.smiley-precio-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.smiley-precio-capacidad {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 7px 12px;
    border-radius: 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--smiley-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ==================== 
   CONTENIDO
   ==================== */
.smiley-precio-contenido {
    padding: 22px;
}

.smiley-precio-nombre {
    font-size: 22px;
    font-weight: 700;
    color: var(--smiley-dark);
    margin: 0 0 12px 0;
    line-height: 1.3;
}

/* ==================== 
   RATING
   ==================== */
.smiley-precio-rating {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 11px;
}

.rating-stars {
    font-size: 14px;
    line-height: 1;
}

.rating-score {
    font-size: 16px;
    font-weight: 700;
    color: var(--smiley-dark);
}

.rating-count {
    font-size: 13px;
    color: var(--smiley-gray);
}

/* ==================== 
   QUOTE MINIMALISTA
   ==================== */
.smiley-precio-quote {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 3px solid var(--smiley-yellow);
    padding: 10px 14px;
    border-radius: 7px;
    font-size: 13px;
    font-style: italic;
    color: #92400e;
    margin-bottom: 16px;
    line-height: 1.4;
}

.quote-author {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-top: 3px;
    font-style: normal;
}

/* ==================== 
   PRECIO
   ==================== */
.smiley-precio-monto {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f3f4f6;
}

.precio-principal {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin-bottom: 7px;
}

.smiley-precio-numero {
    font-size: 34px;
    font-weight: 900;
    color: var(--smiley-red);
    line-height: 1;
}

.smiley-precio-periodo {
    font-size: 14px;
    color: var(--smiley-gray);
    font-weight: 500;
}

.precio-context {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
}

.precio-comparacion {
    text-decoration: line-through;
    color: #9ca3af;
    font-weight: 600;
}

.precio-savings {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #065f46;
    padding: 3px 10px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 11px;
}

/* ==================== 
   AMENIDADES (MAX 5)
   ==================== */
.smiley-precio-amenidades {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.smiley-precio-amenidades li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--smiley-dark);
    border-bottom: 1px solid #f3f4f6;
    line-height: 1.4;
}

.smiley-precio-amenidades li:last-child {
    border-bottom: none;
}

/* ==================== 
   INFO CLAVE (1 sola línea)
   ==================== */
.smiley-precio-info-simple {
    text-align: center;
    padding: 10px 14px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #065f46;
    margin-bottom: 16px;
    border: 1px solid #bbf7d0;
}

/* ==================== 
   CTA DESTACADO
   ==================== */
.smiley-precio-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 14px 20px;
    background: var(--smiley-red);
    color: white;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.25);
    margin-bottom: 14px;
}

.smiley-precio-cta:hover {
    background: var(--smiley-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(51, 204, 51, 0.35);
}

/* ==================== 
   TRUST SIGNALS MINIMALISTAS
   ==================== */
.smiley-trust-signals {
    display: flex;
    justify-content: space-around;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    font-size: 11px;
    color: var(--smiley-gray);
    text-align: center;
    font-weight: 600;
}

.smiley-trust-signals span {
    flex: 1;
    line-height: 1.3;
}

/* ==================== 
   RESPONSIVE TABLET
   ==================== */
@media (max-width: 1200px) {
    .smiley-precio-card {
        flex: 0 0 calc(50% - 14px);
    }
}

@media (max-width: 1024px) {
    .smiley-precios-seccion {
        padding: 26px;
    }
    
    .smiley-precios-titulo {
        font-size: 28px;
    }
    
    .smiley-precios-subtitulo {
        font-size: 16px;
    }
}

/* ==================== 
   RESPONSIVE MÓVIL
   ==================== */
@media (max-width: 768px) {
    .smiley-precios-seccion {
        padding: 20px;
    }
    
    .smiley-precios-header {
        margin-bottom: 24px;
        padding-bottom: 16px;
    }
    
    .smiley-precios-titulo {
        font-size: 24px;
    }
    
    .smiley-precios-subtitulo {
        font-size: 15px;
    }
    
    .smiley-precio-card {
        flex: 0 0 100%;
        max-width: none;
        min-width: 0;
    }
    
    .smiley-precios-grid {
        gap: 22px;
    }
    
    .smiley-precio-imagen {
        height: 180px;
    }
    
    .smiley-precio-contenido {
        padding: 20px;
    }
    
    .smiley-precio-nombre {
        font-size: 20px;
    }
    
    .smiley-precio-numero {
        font-size: 30px;
    }
    
    .smiley-precio-amenidades li {
        font-size: 13px;
        padding: 7px 0;
    }
    
    .smiley-precio-cta {
        font-size: 14px;
        padding: 13px 18px;
    }
    
    .smiley-trust-signals {
        flex-direction: column;
        gap: 10px;
        text-align: left;
    }
}

/* ==================== 
   MÓVIL PEQUEÑO
   ==================== */
@media (max-width: 480px) {
    .smiley-precios-seccion {
        padding: 16px;
    }
    
    .smiley-precios-titulo {
        font-size: 22px;
    }
    
    .smiley-precios-subtitulo {
        font-size: 14px;
    }
    
    .smiley-precio-badges {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .badge-popular,
    .badge-urgency {
        font-size: 11px;
        padding: 6px 11px;
    }
    
    .smiley-precio-imagen {
        height: 160px;
    }
    
    .smiley-precio-numero {
        font-size: 28px;
    }
    
    .smiley-precio-quote {
        font-size: 12px;
        padding: 9px 12px;
    }
    
    .smiley-precio-info-simple {
        font-size: 12px;
        padding: 9px 12px;
    }
}

/* ==================== 
   PRINT
   ==================== */
@media print {
    .smiley-precio-badges,
    .smiley-trust-signals {
        display: none;
    }
    
    .smiley-precio-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #e5e7eb;
    }
}