/* Estilos específicos para el tema español */

/* Botón con estilo mexicano */
.btn-espanol {
    background: linear-gradient(45deg, #006341, #C8102E);
    border: 2px solid #FFC95B;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-espanol::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-espanol:hover::before {
    left: 100%;
}

.btn-espanol:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 99, 65, 0.4);
}

/* Tarjeta con estilo mexicano */
.card-espanol {
    background: linear-gradient(135deg, #ffffff, #FFF8F0);
    border: 1px solid #006341;
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.card-espanol::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #006341, #C8102E);
}

/* Badge mexicano mejorado */
.badge-espana {
    background: linear-gradient(45deg, #006341, #FFC95B);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 10px;
    vertical-align: middle;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 99, 65, 0.3);
}

.badge-espana::after {
    content: '🇲🇽';
    margin-left: 5px;
    font-size: 0.9rem;
}

/* Efecto de brillo para elementos importantes */
.glow-espanol {
    box-shadow: 0 0 20px rgba(255, 201, 91, 0.3);
    transition: box-shadow 0.3s ease;
}

.glow-espanol:hover {
    box-shadow: 0 0 30px rgba(255, 201, 91, 0.5);
}

/* Estilo para testimonios mexicanos */
.testimonio-espanol {
    background: linear-gradient(135deg, 
        rgba(0, 99, 65, 0.05), 
        rgba(255, 201, 91, 0.05));
    border-left: 4px solid #FFC95B;
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.testimonio-espanol::before {
    content: '"';
    font-size: 3rem;
    color: #006341;
    position: absolute;
    top: -10px;
    left: 10px;
    font-family: 'Playfair Display', serif;
}

/* Estilo para secciones con tema mexicano */
.seccion-espanol {
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        rgba(0, 99, 65, 0.02) 50%, 
        #ffffff 100%);
    border: 1px solid rgba(0, 99, 65, 0.1);
    border-radius: 0;
    padding: 30px;
    margin: 0;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.seccion-espanol::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #006341, #C8102E);
    border-radius: 0;
}

/* Efectos de hover mejorados */
.hover-espanol {
    transition: all 0.3s ease;
}

.hover-espanol:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 99, 65, 0.2);
}

/* Estilo para listas con tema mexicano */
.lista-espanol li {
    position: relative;
    padding-left: 45px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.lista-espanol li::before {
    content: attr(data-icon);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 99, 65, 0.1), rgba(255, 201, 91, 0.1));
    border: 2px solid rgba(0, 99, 65, 0.3);
    box-shadow: 0 2px 8px rgba(0, 99, 65, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

/* ===== Estilos de imagen estática ===== */
.hero-image-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
    border-radius: 0;
    transition: transform 0.3s ease;
    display: block;
}

.hero-image:hover {
    transform: scale(1.02);
}

/* ===== Estilos de botón WhatsApp ===== */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    background: #25D366;
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-link:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
    text-decoration: none;
    color: white;
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    animation: whatsappBounce 1s infinite;
}

.whatsapp-text {
    white-space: nowrap;
}

/* Animaciones de WhatsApp */
@keyframes whatsappPulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

@keyframes whatsappBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-2px);
    }
}

/* Adaptación para dispositivos móviles */
@media (max-width: 768px) {
    /* Adaptación de imagen estática */
    .hero-image-container {
        height: 180px;
        margin-bottom: 0;
    }
    
    .hero-image {
        object-fit: fill;
        object-position: center;
        display: block;
        border-radius: 0;
    }
    
    /* Adaptación de botón WhatsApp */
    .whatsapp-button {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-link {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .whatsapp-icon {
        width: 20px;
        height: 20px;
        margin-right: 8px;
    }
    
    .whatsapp-text {
        display: none;
    }
    
    .whatsapp-link:hover .whatsapp-text {
        display: inline;
    }
    
    /* Optimización de tamaño de fuente */
    h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    h2 {
        font-size: 1.5rem;
        line-height: 1.4;
    }
    
    h3 {
        font-size: 1.3rem;
        line-height: 1.4;
    }
    
    p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* Optimización de fuente de botones */
    .btn-espanol {
        font-size: 0.9rem;
        padding: 12px 20px;
        margin-top: 15px;
    }
    
    /* 让第一个按钮更突出 */
    .seccion-espanol:first-of-type .btn-espanol {
        margin-top: 20px;
        font-size: 1rem;
        padding: 15px 25px;
        box-shadow: 0 6px 20px rgba(0, 99, 65, 0.4);
        animation: firstButtonPulse 2s infinite;
    }
    
    /* 第一个按钮的脉冲动画 */
    @keyframes firstButtonPulse {
        0% {
            box-shadow: 0 6px 20px rgba(0, 99, 65, 0.4);
        }
        50% {
            box-shadow: 0 6px 20px rgba(0, 99, 65, 0.6), 0 0 0 8px rgba(0, 99, 65, 0.1);
        }
        100% {
            box-shadow: 0 6px 20px rgba(0, 99, 65, 0.4);
        }
    }
    
    /* Optimización de fuente de elementos de lista */
    .lista-espanol li {
        font-size: 0.95rem;
        line-height: 1.5;
        padding-left: 40px;
        margin-bottom: 15px;
    }
    
    .lista-espanol li::before {
        font-size: 1rem;
        width: 28px;
        height: 28px;
    }
    
    /* Optimización de fuente de comentarios */
    .comentario {
        padding: 15px;
        margin: 15px 0;
    }
    
    .autor-comentario {
        font-size: 1rem;
    }
    
    .texto-comentario {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    /* Optimización de fuente de firma */
    .firma {
        font-size: 1.1rem;
        margin-top: 20px;
    }
    
    /* Optimización de fuente de iconos */
    h2 .gift-icon {
        font-size: 1.6rem;
        margin-right: 8px;
    }
    
    p .finger-icon {
        font-size: 1rem;
        margin-left: 6px;
    }
    
    /* Optimización de espaciado de párrafos */
    .seccion-espanol {
        padding: 15px;
        margin: 0;
    }
    
    /* 减少第一个section的上边距 */
    .seccion-espanol:first-of-type {
        padding-top: 10px;
    }
    
    /* 减少第一个section中段落间距 */
    .seccion-espanol:first-of-type p {
        margin-bottom: 12px;
    }
    
    /* 减少第一个section中h2的下边距 */
    .seccion-espanol:first-of-type h2 {
        margin-bottom: 15px;
    }
    
    /* Optimización de fuente de insignias */
    .badge-espana {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
}

/* Optimización para pantallas pequeñas */
@media (max-width: 480px) {
    /* 进一步减少hero图片高度 */
    .hero-image-container {
        height: 150px;
    }
    
    h1 {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    h3 {
        font-size: 1.1rem;
    }
    
    p {
        font-size: 0.95rem;
    }
    
    .btn-espanol {
        font-size: 0.85rem;
        padding: 10px 16px;
        margin-top: 12px;
    }
    
    /* 让第一个按钮在小屏幕上更突出 */
    .seccion-espanol:first-of-type .btn-espanol {
        margin-top: 15px;
        font-size: 0.9rem;
        padding: 12px 20px;
    }
    
    .lista-espanol li {
        font-size: 0.9rem;
        padding-left: 35px;
    }
    
    .lista-espanol li::before {
        font-size: 0.9rem;
        width: 25px;
        height: 25px;
    }
    
    .texto-comentario {
        font-size: 0.9rem;
    }
    
    .seccion-espanol {
        padding: 12px;
        margin: 0;
    }
    
    /* 进一步减少第一个section的上边距 */
    .seccion-espanol:first-of-type {
        padding-top: 8px;
    }
    
    /* 进一步减少第一个section中段落间距 */
    .seccion-espanol:first-of-type p {
        margin-bottom: 10px;
    }
    
    /* 进一步减少第一个section中h2的下边距 */
    .seccion-espanol:first-of-type h2 {
        margin-bottom: 12px;
    }
    
    h2 .gift-icon {
        font-size: 1.4rem;
    }
    
    p .finger-icon {
        font-size: 0.9rem;
    }
}

/* Efectos dinámicos del botón WhatsApp para móviles */
@media (max-width: 768px) {
    .whatsapp-link {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        padding: 0;
        justify-content: center;
        animation: whatsappMobilePulse 2s infinite, whatsappMobileRotate 3s infinite;
    }
    
    .whatsapp-icon {
        margin-right: 0;
        animation: whatsappMobileBounce 1.5s infinite;
    }
}

@keyframes whatsappMobilePulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8), 0 0 0 15px rgba(37, 211, 102, 0.1);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
        transform: scale(1);
    }
}

@keyframes whatsappMobileRotate {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(5deg);
    }
    75% {
        transform: rotate(-5deg);
    }
}

@keyframes whatsappMobileBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) scale(1);
    }
    40% {
        transform: translateY(-5px) scale(1.1);
    }
    60% {
        transform: translateY(-3px) scale(1.05);
    }
}

/* ===== Optimización de combinación de colores de fuente de contenido ===== */

/* Colores de títulos */
h1, h2, h3 {
    background: linear-gradient(45deg, #2D1810, #5A4A3A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Asegurar que los iconos no se vean afectados por el efecto de texto degradado */
h2 .gift-icon,
p .finger-icon {
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
    background: none;
    color: inherit;
}

/* Texto destacado */
.destacado {
    background: linear-gradient(45deg, #006341, #FFC95B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Texto de párrafos */
p {
    color: #5A4A3A;
    line-height: 1.7;
    font-weight: 400;
}

/* Texto enfatizado */
strong {
    background: linear-gradient(45deg, #006341, #004D33);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* Autor de comentarios */
.autor-comentario {
    background: linear-gradient(45deg, #2D1810, #5A4A3A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

/* Firma */
.firma {
    background: linear-gradient(45deg, #006341, #004D33);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-top: 30px;
    text-align: right;
    font-weight: 700;
}

.firma small {
    background: linear-gradient(45deg, #7f8c8d, #95a5a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 0.9rem;
    font-weight: 400;
}

/* Contenido de testimonios */
.testimonio-espanol {
    color: #2D1810;
    font-style: italic;
    line-height: 1.6;
}

.testimonio-espanol strong {
    background: linear-gradient(45deg, #FFC95B, #F98F21);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    font-style: normal;
}

/* Elementos de lista */
.lista-espanol li {
    color: #5A4A3A;
    font-weight: 500;
    line-height: 1.6;
}

.lista-espanol li:hover {
    background: linear-gradient(45deg, #006341, #004D33);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateX(5px);
    transition: all 0.3s ease;
}

.lista-espanol li:hover::before {
    background: linear-gradient(135deg, rgba(0, 99, 65, 0.2), rgba(255, 201, 91, 0.2));
    border-color: #006341;
    box-shadow: 0 6px 15px rgba(0, 99, 65, 0.4);
    transform: scale(1.15);
    backdrop-filter: blur(10px);
}

/* Texto de comentarios */
.texto-comentario {
    color: #2D1810;
    line-height: 1.6;
    font-weight: 400;
}

.texto-comentario:hover {
    color: #5A4A3A;
    font-weight: 500;
}

/* Colores de enlaces */
a {
    background: linear-gradient(45deg, #006341, #004D33);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    background: linear-gradient(45deg, #FFC95B, #F98F21);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: underline;
}

/* Texto de botones */
.btn-primario {
    color: white !important;
    -webkit-text-fill-color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Texto de insignias */
.badge-espana {
    color: white !important;
    -webkit-text-fill-color: white !important;
}

/* Texto de énfasis especial */
.seccion-espanol p:first-of-type {
    background: linear-gradient(45deg, #006341, #004D33);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
    font-size: 1.1rem;
}

/* Números y estadísticas */
.seccion-espanol p strong {
    background: linear-gradient(45deg, #FFC95B, #F98F21);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Símbolos de citas */
.testimonio-espanol::before {
    background: linear-gradient(45deg, #006341, #004D33);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Optimización de iconos de lista - soporte para iconos emoji */
.lista-espanol li::before {
    font-weight: normal;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Estilo simplificado del icono de regalo en títulos */
h2 .gift-icon {
    font-size: 2rem;
    margin-right: 10px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    display: inline-block;
    vertical-align: middle;
}

/* Estilo simplificado del icono de dedo en párrafos */
p .finger-icon {
    display: inline-block;
    margin-left: 8px;
    font-size: 1.2rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    vertical-align: middle;
}

/* ===== Efectos de borde estático ===== */
.animated-border {
    position: relative;
    padding: 8px 15px;
    margin: 10px 0;
    background: linear-gradient(135deg, rgba(0, 99, 65, 0.05), rgba(255, 201, 91, 0.05));
    border: 2px solid #006341;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 99, 65, 0.1);
    text-align: center;
}

/* Adaptación para dispositivos móviles */
@media (max-width: 768px) {
    .animated-border {
        padding: 6px 12px;
        margin: 8px 0;
    }
} 