/* ============================================
   IVONNE'S BILINGUAL CHILDCARE - STYLES
   ============================================ */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700&family=Open+Sans:wght@400;500&display=swap');

/* ============================================
   ROOT VARIABLES & COLORS
   ============================================ */
:root {
    /* Primary Colors */
    --color-primary: #456B7A;
    --color-accent: #C85A3C;
    --color-yellow: #F4CE6F;
    
    /* Neutral Colors */
    --color-white: #FFFFFF;
    --color-light-gray: #F5F5F5;
    --color-gray: #E8E8E8;
    --color-dark-gray: #7F8C8D;
    --color-text: #2C3E50;
    --color-dark: #1A1A1A;
    
    /* Backgrounds */
    --color-bg-light: #F0F7FB;
    --color-bg-gray: #F9F9F9;
    
    /* Fonts */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* ============================================
   GLOBAL STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-accent);
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 var(--spacing-2xl);
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.responsive-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #B04A2C;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 90, 60, 0.3);
}

.btn-secondary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: #354555;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(69, 107, 122, 0.3);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-gray);
    padding: var(--spacing-md) 0;
}

.header.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
}

.logo-section {
    flex-shrink: 0;
}

/* Estilo para el Logo Circular y Grande */
.logo {
    width: 120px;           /* 1. Define el ANCHO (hazlo más grande aquí) */
    height: 120px;          /* 2. Define el ALTO (debe ser igual al ancho) */
    border-radius: 50%;     /* 3. Esto recorta la imagen en un CÍRCULO perfecto */
    object-fit: cover;      /* 4. Asegura que la foto no se aplaste ni estire */
    border: 3px solid #fff; /* 5. (Opcional) Un borde blanco elegante */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* 6. Una sombrita suave para resaltar */
      
   /* height: 50px; */
    /* width: auto; */
}

.nav-desktop {
    display: none;
    gap: var(--spacing-lg);
    align-items: center;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    color: var(--color-text);
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--color-primary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.language-selector {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    padding: 0.5rem 0.75rem;
    border: none;
    border-radius: var(--radius-md);
    background-color: var(--color-gray);
    color: var(--color-text);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.875rem;
}

.lang-btn.active {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.lang-btn:hover:not(.active) {
    background-color: #D0D0D0;
}

.phone-link {
    display: none;
    color: var(--color-primary);
    font-weight: 700;
}

@media (min-width: 640px) {
    .phone-link {
        display: block;
    }
}

.phone-link:hover {
    color: var(--color-accent);
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--color-text);
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
    border-top: 1px solid var(--color-gray);
    background-color: var(--color-light-gray);
}

.nav-mobile.active {
    display: flex;
}

@media (min-width: 768px) {
    .nav-mobile {
        display: none !important;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(135deg, #F0F7FB 0%, var(--color-white) 100%);
    padding: var(--spacing-2xl) 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.hero-title {
    font-size: 2.25rem;
    color: var(--color-primary);
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-dark-gray);
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

@media (min-width: 640px) {
    .hero-ctas {
        flex-direction: row;
    }
}

.trust-line {
    font-size: 0.875rem;
    color: var(--color-dark-gray);
    margin-bottom: 0;
}

.hero-image {
    display: none;
}

@media (min-width: 768px) {
    .hero-image {
        display: block;
    }
}

/* ============================================
   BADGES
   ============================================ */
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
}

.badge-yellow {
    background-color: var(--color-yellow);
    color: var(--color-text);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-title {
    font-size: 1.875rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-dark-gray);
}

/* ============================================
   BENEFITS SECTION
   ============================================ */
.benefits-section {
    padding: var(--spacing-2xl) 0;
    background-color: var(--color-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.benefit-card {
    background-color: var(--color-light-gray);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.benefit-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.benefit-title {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.benefit-description {
    color: var(--color-dark-gray);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    padding: var(--spacing-2xl) 0;
    background-color: var(--color-bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
}

.about-image {
    order: 2;
}

@media (min-width: 768px) {
    .about-image {
        order: 1;
    }
}

.about-text {
    order: 1;
}

@media (min-width: 768px) {
    .about-text {
        order: 2;
    }
}

.about-description p {
    color: var(--color-dark-gray);
    line-height: 1.8;
}

.credentials {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.credential-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--color-text);
}

.credential-item span:first-child {
    color: var(--color-accent);
    font-weight: 700;
}

/* ============================================
   PROGRAM SECTION
   ============================================ */
.program-section {
    padding: var(--spacing-2xl) 0;
    background-color: var(--color-white);
}

.program-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

@media (min-width: 768px) {
    .program-content {
        grid-template-columns: 1fr 1fr;
    }
}

.program-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    color: var(--color-text);
    font-size: 1.05rem;
}

.feature-item::before {
    content: '';
    display: inline-block;
    color: var(--color-accent);
    font-weight: 700;
    flex-shrink: 0;
}

/* ============================================
   STEPS SECTION
   ============================================ */
.steps-section {
    padding: var(--spacing-2xl) 0;
    background-color: var(--color-light-gray);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step-card {
    background-color: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.step-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--color-accent);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.step-title {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.step-description {
    color: var(--color-dark-gray);
    margin-bottom: 0;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    padding: var(--spacing-2xl) 0;
    background-color: var(--color-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background-color: var(--color-bg-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
}

.testimonial-text {
    color: var(--color-text);
    font-style: italic;
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.testimonial-author {
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 0;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: var(--spacing-2xl) 0;
    background-color: var(--color-light-gray);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: var(--spacing-md);
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: var(--spacing-lg);
    background-color: var(--color-white);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--color-light-gray);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--color-accent);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 var(--spacing-lg) var(--spacing-lg) var(--spacing-lg);
    color: var(--color-dark-gray);
    margin-bottom: 0;
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */
.final-cta-section {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, #2C3E50 100%);
    color: var(--color-white);
    text-align: center;
}

.cta-title {
    font-size: 2.25rem;
    margin-bottom: var(--spacing-md);
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 3rem;
    }
}

.cta-subtitle {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

.cta-alternative {
    margin-top: var(--spacing-md);
    opacity: 0.9;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: var(--spacing-2xl) 0;
    background-color: var(--color-white);
}

.contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    background-color: var(--color-light-gray);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    color: var(--color-text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-gray);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(69, 107, 122, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-message {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background-color: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
}

.form-message.error {
    display: block;
    background-color: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-column h3,
.footer-column h4 {
    margin-bottom: var(--spacing-md);
    font-size: 1rem;
}

.footer-column p {
    margin-bottom: var(--spacing-sm);
    font-size: 0.95rem;
    opacity: 0.95;
}

.footer-column a {
    color: var(--color-white);
    opacity: 0.95;
}

.footer-column a:hover {
    color: var(--color-yellow);
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: var(--spacing-lg);
    text-align: center;
    opacity: 0.9;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 0;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 640px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
button:focus,
a:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .footer,
    .mobile-menu-btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
    }
}
