/* ================= VARIABLES Y BASE ================= */
:root {
    --color-black: #111111;
    --color-pink: #E8B0C0;
    --color-blue: #1E94BC;
    --color-white: #ffffff;
    --font-main: 'Poppins', sans-serif;
    --transition-smooth: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body { 
    font-family: var(--font-main); 
    color: var(--color-black); 
    overflow-x: hidden; 
    /* FONDO ATARDECER */
    background: linear-gradient(180deg, 
        #ffffff 0%, 
        rgba(232, 176, 192, 0.15) 30%, 
        rgba(232, 176, 192, 0.3) 60%,  
        rgba(30, 148, 188, 0.15) 100%  
    );
    background-attachment: fixed; 
}

/* ================= CLASES GENERALES ================= */
.container { max-width: 1080px; margin: 0 auto; padding: 0 2rem; }
.section-padding { padding: 3.5rem 0; }
.bg-transparent { background-color: transparent; }
.text-center { text-align: center; }

h2 { font-size: 2rem; color: var(--color-blue); margin-bottom: 1rem; }
.subtitle { font-size: 1rem; color: #666; margin-bottom: 2.5rem; }
.badge { display: inline-block; padding: 0.3rem 0.8rem; background: rgba(232,176,192,0.2); color: var(--color-pink); border-radius: 50px; font-weight: 600; font-size: 0.8rem; margin-bottom: 1rem; }

/* Botones Base */
.btn { display: inline-block; text-decoration: none; padding: 0.5rem 1.3rem; border-radius: 8px; font-family: var(--font-main); font-weight: 600; cursor: pointer; transition: var(--transition-smooth); border: none; font-size: 0.9rem; text-align: center; }
.btn-solid { background: var(--color-pink); color: var(--color-black); }
.btn-solid:hover { background: #d39cae; transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid var(--color-blue); color: var(--color-blue); }
.btn-outline:hover { background: var(--color-blue); color: var(--color-white); }
.btn-large { padding: 0.9rem 2.2rem; font-size: 1.05rem; }
.login-btn-small { padding: 0.4rem 0.9rem; font-size: 0.85rem; margin-left: 0.5rem; }
.w-100 { width: 100%; margin-top: 1rem; padding: 1rem; border-radius: 12px; font-size: 1.05rem; box-shadow: 0 4px 15px rgba(232, 176, 192, 0.4); }

/* ================= TOP BAR Y NAVEGACIÓN ================= */
.top-bar { background-color: var(--color-black); color: var(--color-white); font-size: 0.8rem; padding: 0.4rem 0; position: fixed; width: 100%; top: 0; z-index: 1001; }
.top-bar-container { max-width: 1080px; margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; }
.social-icons { display: flex; gap: 0.1rem; align-items: center; }
.social-icons a { color: var(--color-white); text-decoration: none; font-size: 1rem; transition: var(--transition-smooth); display: inline-block; margin-left: 1.3rem; }
.social-icons a:hover { color: var(--color-pink); transform: translateY(-2px); }

.navbar { background-color: rgba(255, 255, 255, 0.85); backdrop-filter: blur(8px); box-shadow: 0 4px 15px rgba(0,0,0,0.05); position: fixed; width: 100%; top: 32px; z-index: 1000; }
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1080px; margin: 0 auto; padding: 0.8rem 2rem; }
.nav-logo { height: 58px; width: auto; display: block; transition: var(--transition-smooth); }
.nav-logo:hover { opacity: 0.85; }

.nav-links { display: flex; gap: 1.8rem; align-items: center; margin-right: auto; margin-left: 2.5rem; }
.nav-links a { text-decoration: none; color: var(--color-black); font-weight: 500; transition: var(--transition-smooth); font-size: 0.95rem; }
.nav-links a:hover { color: var(--color-pink); }
.dropdown { position: relative; display: inline-block; }
.dropdown-content { display: none; position: absolute; background-color: var(--color-white); min-width: 180px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); border-radius: 8px; top: 100%; left: 0; overflow: hidden; padding: 0.5rem 0; }
.dropdown-content a { color: var(--color-black); padding: 0.7rem 1.2rem; display: block; font-size: 0.9rem; }
.dropdown-content a:hover { background-color: rgba(232,176,192,0.1); color: var(--color-blue); }
.dropdown:hover .dropdown-content { display: block; }

.auth-buttons { display: flex; gap: 0.8rem; }
.mobile-menu-btn { 
    display: none; 
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px; 
}
.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--color-black);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* ================= HERO TESTIMONIOS ================= */
.hero-testimonios {
    position: relative;
    min-height: 55vh; 
    display: flex;
    align-items: center;
    justify-content: center; 
    text-align: center; 
    padding: 2rem;
    padding-top: 140px; 
    
    background-image: url('../assets/testimonios/image.png'); /* Imagen sugerida */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--color-blue);
}

.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(17, 17, 17, 0.6); z-index: 1; }
.hero-testimonios-content { position: relative; z-index: 2; max-width: 800px; margin-top: 30px; }
.hero-testimonios h1 { font-size: 3.2rem; color: var(--color-white); margin-bottom: 1rem; text-shadow: 0 4px 15px rgba(0,0,0,0.3); }
.hero-testimonios p { font-size: 1.2rem; color: #e0e0e0; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }

/* ================= TESTIMONIOS ================= */

.compromiso-cita-corta {
    margin: 1rem 0;
}

.compromiso-cita-corta p {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: #be4d8b;
    align-items: center;
    padding: 1.5rem;


}

/* Testimonio Principal (Destacado) */
.testimonio-destacado {
    background: var(--color-white);
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 3.5rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    margin-bottom: 4rem;
    border-left: 6px solid var(--color-pink);
}

.testimonio-destacado-img {
    flex-shrink: 0;
}

.testimonio-destacado-img img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid rgba(232, 176, 192, 0.3);
}

.testimonio-destacado-texto {
    flex-grow: 1;
}

.quote-icon-large {
    font-size: 3rem;
    color: rgba(30, 148, 188, 0.2);
    margin-bottom: 1rem;
}

.quote-text {
    font-size: 1.3rem;
    color: #444;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.autor-info h4 {
    font-size: 1.4rem;
    color: var(--color-blue);
    margin: 0 0 0.2rem 0;
}

.autor-info span {
    font-size: 0.95rem;
    color: #777;
    font-weight: 500;
}

/* Grid de Testimonios Regulares */
.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.testimonio-card {
    background: var(--color-white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.02);
}

.testimonio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-color: rgba(232, 176, 192, 0.3);
}

.testimonio-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.testimonio-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(30, 148, 188, 0.2);
}

.testimonio-header h4 {
    color: var(--color-blue);
    font-size: 1.15rem;
    margin: 0 0 0.2rem 0;
}

.testimonio-header span {
    color: #888;
    font-size: 0.85rem;
}

.testimonio-body p {
    color: #555;
    font-style: italic;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ================= FOOTER Y WHATSAPP ================= */
.footer-premium { background-color: var(--color-black); color: #cccccc; padding-top: 5rem; font-size: 0.95rem; position: relative; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-bottom: 4rem; }
.footer-col h3 { color: var(--color-white); font-size: 1.3rem; margin-bottom: 0.5rem; font-weight: 600; }
.footer-logo span { color: var(--color-pink); }
.footer-line { width: 35px; height: 2px; background-color: var(--color-white); margin-bottom: 1.5rem; }
.footer-col p { margin-bottom: 1.5rem; line-height: 1.7; }
.footer-socials { display: flex; gap: 0.8rem; }
.footer-socials a { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; background-color: #222222; color: var(--color-white); border-radius: 50%; text-decoration: none; transition: var(--transition-smooth); font-size: 1.1rem; }
.footer-socials a:hover { background-color: var(--color-pink); color: var(--color-black); transform: translateY(-3px); }
.footer-links, .footer-contact { list-style: none; padding: 0; }
.footer-links li, .footer-contact li { margin-bottom: 1rem; }
.footer-links a { color: #cccccc; text-decoration: none; transition: var(--transition-smooth); }
.footer-links a:hover { color: var(--color-pink); padding-left: 6px; }
.footer-contact li { display: flex; align-items: center; gap: 1rem; }
.footer-contact i { color: var(--color-pink); font-size: 1.1rem; width: 20px; text-align: center; }
.footer-bottom { background-color: #080808; padding: 1.5rem 2rem; text-align: center; font-size: 0.85rem; color: #777; border-top: 1px solid #1a1a1a; }
.footer-bottom p { margin-bottom: 0.4rem; }
.footer-bottom a { color: #c7bebe; text-decoration: none; transition: var(--transition-smooth); font-weight: 500; }
.footer-bottom a:hover { color: var(--color-white); }
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; background-color: #25d366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; box-shadow: 0 6px 20px rgba(0,0,0,0.25); z-index: 1000; transition: var(--transition-smooth); text-decoration: none; }
.whatsapp-float:hover { transform: scale(1.1); background-color: #20b858; color: white; }

/* ================= MODALES PREMIUM ================= */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(17,17,17,0.7); z-index: 2000; align-items: center; justify-content: center; backdrop-filter: blur(10px); max-height: 90vh; overflow-y: auto; }
.modal.active { display: flex; }
.modal-content { background-color: var(--color-white); padding: 3rem 2.5rem; border-radius: 24px; width: 92%; max-width: 550px; position: relative; box-shadow: 0 25px 50px rgba(0,0,0,0.15); border: 1px solid rgba(0,0,0,0.04); }
.close-modal { position: absolute; top: 1.2rem; right: 1.5rem; font-size: 1.5rem; cursor: pointer; color: #a0a0a0; transition: var(--transition-smooth); }
.close-modal:hover { color: var(--color-pink); transform: rotate(90deg); }
.modal-content h2 { font-size: 1.8rem; color: var(--color-blue); margin-bottom: 0.3rem; text-align: center; }
.modal-subtitle { text-align: center; color: #777; font-size: 0.95rem; margin-bottom: 2.5rem; }
.form-row { display: flex; gap: 1.2rem; }
.input-group { margin-bottom: 1.5rem; width: 100%; }
.input-group label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 0.5rem; font-weight: 600; color: #888; }
.input-group input, .input-group textarea { width: 100%; padding: 0.9rem 1.2rem; background-color: #f4f6f8; border: 1px solid transparent; border-radius: 12px; font-family: var(--font-main); outline: none; transition: var(--transition-smooth); font-size: 0.95rem; color: var(--color-black); }
.input-group input:focus, .input-group textarea:focus { background-color: var(--color-white); border-color: var(--color-blue); box-shadow: 0 0 0 4px rgba(30,148,188,0.12); }

/* ================= ANIMACIONES ================= */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.slide-up { animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes slideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {

    /* ================= CORRECCIÓN DE ESPACIOS EN CELULARES ================= */
    /* Reduce a la mitad el relleno de todas las secciones */
    .section-padding {
        padding: 2.5rem 0 !important; 
    }

    /* Reduce los espacios debajo de los títulos y subtítulos */
    h2 {
        margin-bottom: 0.8rem !important;
    }
    
    .subtitle {
        margin-bottom: 1.8rem !important;
    }

    /* Evita que los márgenes gigantes de computadora se pasen al celular */
    .text-center {
        margin-bottom: 2rem !important;
    }

    .section-padding { padding: 2.5rem 0; }
    
    .mobile-menu-btn { display: flex; }
    .nav-links { display: flex; flex-direction: column; position: absolute; top: 100%; left: -100%; width: 100%; background-color: rgba(255, 255, 255, 0.98); backdrop-filter: blur(8px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); padding: 2rem 0; margin: 0; gap: 2rem; text-align: center; transition: left 0.4s ease; }
    .nav-links.active { left: 0; }
    .dropdown { width: 100%; }
    .dropdown-content { position: static; box-shadow: none; background-color: #f4f6f8; width: 100%; margin-top: 10px; display: none; }
    .dropdown-content.mostrar-movil { display: block; }
    .dropdown-content a { padding: 1rem; border-bottom: 1px solid #eaeaea; }
    .dropdown-content a:last-child { border-bottom: none; }
    
    .auth-buttons, .top-bar { display: none; }
    .navbar { top: 0; }
    .form-row { flex-direction: column; gap: 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 1.8rem; }
    .modal-content { padding: 2.5rem 1.5rem 1.5rem 1.5rem; width: 95%; }
    .close-modal { top: 1rem; right: 1.2rem; }
    
    /* Responsive Específico de Testimonios */
    .hero-testimonios { padding-top: 100px; }
    .hero-testimonios h1 { font-size: 2.2rem; }
    
    .testimonio-destacado { flex-direction: column; text-align: center; padding: 2.5rem 1.5rem; gap: 1.5rem; border-left: none; border-top: 6px solid var(--color-pink); }
    .testimonio-destacado-img img { width: 150px; height: 150px; }
    .quote-text { font-size: 1.15rem; }
    
    .testimonios-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}