/* ===================================
   BLOCKS - GENERAL STYLES
   ================================== */

/* ===================================
   POPUP CONTACTO BLOCK
   ================================== */

/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Popup Container */
.popup-container {
    background: var(--color-fondo, #474747);
    border-radius: 16px;
    max-width: 400px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(189, 216, 235, 0.2);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.popup-overlay.show .popup-container {
    transform: scale(1) translateY(0);
}

/* Popup Header */
.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 16px 24px;
    border-bottom: 1px solid rgba(189, 216, 235, 0.1);
}

.popup-titulo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-titulo, #bdd8eb);
    margin: 0;
}

.popup-close {
    background: transparent;
    border: none;
    color: var(--color-texto, #fff);
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    background: rgba(189, 216, 235, 0.1);
    color: var(--color-titulo, #bdd8eb);
}

/* Popup Content */
.popup-content {
    padding: 20px 24px 24px 24px;
}

.popup-subtitulo {
    color: var(--color-texto, #fff);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 24px 0;
    text-align: center;
}

.popup-subtitulo strong {
    color: var(--color-titulo, #bdd8eb);
}

/* Contact Buttons */
.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Contact Button Text */
.contact-btn-text {
    color: #000000 !important;
}

.contact-btn:hover .contact-btn-text {
    color: var(--color-titulo, #bdd8eb) !important;
}

/* Button Variants */
.btn-form {
    background: #2f2d2d;
    color: #000000 !important;
    border-color: #2f2d2d;
}

.btn-form:hover {
    background: #3a3838;
    color: var(--color-titulo, #bdd8eb) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(47, 45, 45, 0.3);
}

.btn-phone {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.3);
}

.btn-phone:hover {
    background: rgba(34, 197, 94, 0.2);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
    border-color: rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
    transform: translateY(-2px);
}

.btn-email {
    background: #2f2d2d;
    color: #000000 !important;
    border-color: #2f2d2d;
}

.btn-email:hover {
    background: #3a3838;
    color: var(--color-titulo, #bdd8eb) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(47, 45, 45, 0.3);
}

/* Responsive */
@media (max-width: 480px) {
    .popup-container {
        margin: 10px;
        max-width: none;
        border-radius: 12px;
    }
    
    .popup-header {
        padding: 16px 20px 12px 20px;
    }
    
    .popup-titulo {
        font-size: 1.3rem;
    }
    
    .popup-content {
        padding: 16px 20px 20px 20px;
    }
    
    .popup-subtitulo {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .contact-btn {
        padding: 12px 14px;
        font-size: 0.9rem;
    }
    
    .contact-icon {
        width: 18px;
        height: 18px;
    }
}

/* Prevent body scroll when popup is open */
body.popup-open {
    overflow: hidden;
}

/* ===================================
   FAQ BLOCK
   ================================== */

.faq-accordion {
    max-width: 100%;
    margin: 0 auto;
}

.faq-accordion .faq-item {
    border: 1px solid rgba(137, 196, 255, 0.2);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(137, 196, 255, 0.05);
    backdrop-filter: blur(10px);
}

.faq-accordion .faq-item:hover {
    border-color: rgba(137, 196, 255, 0.4);
    background: rgba(137, 196, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(137, 196, 255, 0.1);
}

.faq-accordion .faq-question {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-texto);
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.faq-accordion .faq-question:hover {
    color: var(--color-titulo);
}

.faq-accordion .faq-question:focus {
    outline: none;
    color: var(--color-titulo);
}

/* Icono toggle */
.faq-accordion .faq-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(137, 196, 255, 0.15);
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
}

.faq-accordion .faq-item:hover .faq-toggle {
    background: rgba(137, 196, 255, 0.25);
    transform: scale(1.05);
}

/* Iconos plus y minus */
.faq-accordion .faq-icon-plus {
    display: block;
    color: var(--color-titulo);
    transition: all 0.3s ease;
}

.faq-accordion .faq-icon-minus {
    display: none;
    color: var(--color-titulo);
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Estado activo */
.faq-accordion .faq-item.active .faq-icon-plus {
    display: none;
}

.faq-accordion .faq-item.active .faq-icon-minus {
    display: block;
}

.faq-accordion .faq-item.active .faq-toggle {
    background: var(--color-titulo);
}

.faq-accordion .faq-item.active .faq-icon-minus {
    color: var(--color-fondo);
}

/* Respuesta FAQ */
.faq-accordion .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background: rgba(255, 255, 255, 0.02);
    padding: 0 24px;
}

.faq-accordion .faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 24px 24px 24px;
}

.faq-accordion .faq-answer p {
    margin: 0;
    padding-top: 16px;
    color: var(--color-texto);
    line-height: 1.6;
    font-size: 16px;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease 0.15s;
}

.faq-accordion .faq-item.active .faq-answer p {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .faq-accordion .faq-question {
        padding: 16px 20px;
        font-size: 15px;
    }
    
    .faq-accordion .faq-answer {
        padding: 0 20px;
    }
    
    .faq-accordion .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }
    
    .faq-accordion .faq-toggle {
        width: 28px;
        height: 28px;
    }
    
    .faq-accordion .faq-icon-plus,
    .faq-accordion .faq-icon-minus {
        width: 20px;
        height: 20px;
    }
    
    .faq-accordion .faq-answer p {
        font-size: 14px;
    }
}

/* ===================================
   NEWSLETTER BLOCK
   ================================== */

 

/* ===================================
   SOLICITAR INFO BLOCK
   ================================== */

.solicitar-info-container {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-image: url('/wp-content/uploads/2025/09/Captura-desde-2025-09-14-14-31-40.png');
    background-size: cover;
background-position: top;
    background-repeat: no-repeat;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solicitar-info-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(47, 45, 45, 0.4);
  
    -webkit-backdrop-filter: blur(2px);
    z-index: 1;
}

.solicitar-info-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 40px;
    color: white;
    max-width: 800px;
    width: 100%;
}

.solicitar-info-titulo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin: 0 0 20px 0;
    letter-spacing: 1px;
   
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.solicitar-info-descripcion {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 30px 0;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.solicitar-info-btn {
    background: var(--color-titulo, #bdd8eb);
    color: var(--color-fondo, #474747);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(189, 216, 235, 0.3);
    
}

.solicitar-info-btn:hover {
    background: rgba(189, 216, 235, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(189, 216, 235, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .solicitar-info-content {
        padding: 40px 20px;
    }
    
    .solicitar-info-titulo {
        font-size: 2rem;
        margin-bottom: 16px;
    }
    
    .solicitar-info-descripcion {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    
    .solicitar-info-btn {
        padding: 14px 24px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .solicitar-info-titulo {
        font-size: 1.6rem;
    }
    
    .solicitar-info-descripcion {
        font-size: 0.95rem;
    }
}

/* ===================================
   CONTACTO DUDAS BLOCK
   ================================== */

/* Add contacto-dudas styles here when needed */
.contacto-dudas-block {
    /* Contacto dudas specific styles */
}