/* =========================================
   VARIABLES Y CONFIGURACIÓN GLOBAL
========================================= */
:root {
    /* Brand Colors */
    --color-blue: #0B489D;
    --color-red: #FF0000;

    /* Neutrals */
    --color-white: #FFFFFF;
    --color-bg-light: #F8F9FB;
    /* Very soft gray/blue for backgrounds */
    --color-text-main: #333333;
    --color-text-muted: #666666;
    --color-border: #E5E7EB;

    /* Shadows */
    --shadow-soft: 0 10px 30px rgba(11, 72, 157, 0.08);
    --shadow-hover: 0 15px 40px rgba(11, 72, 157, 0.15);
    --shadow-form: 0 20px 50px rgba(0, 0, 0, 0.08);

    /* Typography */
    --font-main: 'Montserrat', sans-serif;

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-pill: 16px;
    /* Eliminado estilo cápsula para un look más editorial */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =========================================
   UTILITIES
========================================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--color-bg-light);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-blue);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: var(--font-main);
}

.btn-primary {
    background-color: var(--color-red);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.btn-primary:hover {
    background-color: #D60000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-blue);
    color: var(--color-blue);
}

.btn-outline:hover {
    background-color: var(--color-blue);
    color: var(--color-white);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* =========================================
   FLOATING WHATSAPP
========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* =========================================
   SECTION 1: HERO
========================================= */
.hero {
    position: relative;
    min-height: 88vh;
    /* Ligeramente más compacto */
    display: flex;
    align-items: center;
    padding: 30px 0 110px;
    /* Mayor padding inferior para aislar las ondas del contenido */
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
}

.hero-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.6) 60%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 10;
    /* Asegurar que todo el contenido esté por encima de las ondas */
    width: 90%;
    max-width: 1300px;
}

.hero-content {
    flex: 1;
    max-width: 480px;
    /* Reducido para no tapar el rostro del niño en el centro */
}

.hero-logo {
    max-width: 150px;
    margin-bottom: 0.8rem;
    /* Reducido */
}

.hero-title {
    font-size: 2.6rem;
    /* Reducido ~20% */
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-blue);
    margin-bottom: 0.8rem;
    /* Reducido */
    text-shadow: 0px 0px 20px rgba(255, 255, 255, 0.9);
}



.hero-bottom-curve {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
    /* Ondas por debajo del contenido principal */
    pointer-events: none;
}

.hero-bottom-curve svg {
    width: 100%;
    height: auto;
    max-height: 100px;
    /* Altura reducida ~40% para ser más discreta */
}

/* Formulario */
.hero-form-wrapper {
    flex: 0 0 450px;
    position: relative;
    z-index: 2;
}

.form-card {
    background: var(--color-white);
    padding: 25px 30px;
    /* Reducido padding interno */
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-form);
}

.form-card h2 {
    font-size: 1.3rem;
    /* Reducido ligeramente */
    color: var(--color-blue);
    margin-bottom: 1rem;
    /* Reducido */
    text-align: center;
}

.form-group {
    margin-bottom: 0.8rem;
    /* Reducido */
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    font-size: 0.8rem;
    /* Reducido */
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 4px;
    /* Reducido */
}

input,
select,
textarea {
    width: 100%;
    padding: 9px 12px;
    /* Reducido padding */
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 0.9rem;
    /* Reducido */
    background-color: #FAFAFA;
    transition: all 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-blue);
    background-color: var(--color-white);
    box-shadow: 0 0 0 3px rgba(11, 72, 157, 0.1);
}

.form-card .btn {
    width: 100%;
    margin-top: 5px;
    /* Reducido */
    padding: 12px 20px;
    /* Botón más compacto */
}

/* =========================================
   SECTION 2: QUIÉNES SOMOS
========================================= */
.about {
    padding: 60px 0;
    /* Reducido 40% el espacio superior e inferior */
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('marca de agua.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.06;
    /* Marca de agua sutil del 6% */
    pointer-events: none;
    z-index: 0;
}

.about-container,
.about-features-grid {
    position: relative;
    z-index: 1;
    /* Posicionar por encima de la marca de agua */
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
    /* Más compacto */
    margin-bottom: 50px;
    /* Reducido espacio vertical */
}

.about-image {
    flex: 1.1;
    position: relative;
    padding: 10px;
}

.about-image img {
    border-radius: 15px 120px 15px 120px;
    box-shadow: 0 25px 50px rgba(11, 72, 157, 0.12);
}

.about-image::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(11, 72, 157, 0.08) 0%, rgba(11, 72, 157, 0) 100%);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: -1;
}

.about-content {
    flex: 1;
}

.about-content strong {
    color: var(--color-text-main);
    font-weight: 700;
    display: block;
    margin-bottom: 12px;
    font-size: 1.15rem;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* Sedes Grid (Integradas en columna derecha) */
.sedes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
    /* Espaciado superior para separar del texto anterior */
}

.sede-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--color-white);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.sede-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 0, 0, 0.2);
    /* Borde rojo sutil en hover */
}

.sede-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 0, 0, 0.08);
    /* Fondo rojo corporativo sutil */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF0000;
    /* Icono rojo corporativo */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.sede-card:hover .sede-icon {
    background-color: #FF0000;
    color: var(--color-white);
}

.sede-icon svg {
    width: 20px;
    height: 20px;
}

.sede-info h3 {
    font-size: 1.05rem;
    color: var(--color-blue);
    margin-bottom: 2px;
    font-weight: 700;
}

.sede-info p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Features Grid */
.about-features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.about-feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--color-white);
    padding: 20px 15px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.about-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 0, 0, 0.2);
    /* Borde rojo sutil en hover */
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 0, 0, 0.06);
    /* Fondo rojo corporativo sutil */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF0000;
    /* Icono rojo corporativo */
    margin-bottom: 12px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.about-feature-card:hover .feature-icon {
    background-color: #FF0000;
    color: var(--color-white);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-info h4 {
    font-size: 0.95rem;
    color: var(--color-blue);
    margin-bottom: 4px;
    font-weight: 700;
}

.feature-info p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.3;
}

/* Responsive about section */
@media (max-width: 1024px) {
    .about-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .about-container {
        gap: 40px;
    }

    .sedes-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .about-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .about-features-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   SECTION 3: NIVELES EDUCATIVOS
========================================= */
.levels {
    padding: 80px 0;
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-top: 50px;
    width: 100%;
}

.level-card-premium {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.level-img-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    margin-bottom: 20px;
    padding: 8px;
}

.level-backdrop {
    position: absolute;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    border-radius: 120px 120px 24px 24px;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), background-color 0.4s ease;
    z-index: 1;
}

.level-card-premium.theme-red .level-backdrop {
    background-color: rgba(255, 0, 0, 0.06);
    border: 2px dashed rgba(255, 0, 0, 0.3);
    top: 16px;
    left: 0px;
}

.level-card-premium.theme-blue .level-backdrop {
    background-color: rgba(11, 72, 157, 0.06);
    border: 2px dashed rgba(11, 72, 157, 0.3);
    top: 16px;
    right: 0px;
}

.level-img-frame {
    position: relative;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    border-radius: 120px 120px 24px 24px;
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 10px 25px rgba(11, 72, 157, 0.08);
    background-color: var(--color-white);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.level-card-premium.theme-red .level-img-frame {
    border: 3px solid var(--color-white);
    outline: 1.5px solid rgba(255, 0, 0, 0.15);
}

.level-card-premium.theme-blue .level-img-frame {
    border: 3px solid var(--color-white);
    outline: 1.5px solid rgba(11, 72, 157, 0.15);
}

.level-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.level-details {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.level-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-blue);
    margin: 0;
    transition: color 0.3s ease;
}

.level-age-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-muted);
    position: relative;
    padding-left: 14px;
}

.level-age-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.level-card-premium.theme-red .level-age-text::before {
    background-color: var(--color-red);
}

.level-card-premium.theme-blue .level-age-text::before {
    background-color: var(--color-blue);
}

/* Hover effects */
.level-card-premium:hover {
    transform: translateY(-8px);
}

.level-card-premium:hover .level-img-frame {
    box-shadow: 0 15px 35px rgba(11, 72, 157, 0.18);
}

.level-card-premium:hover .level-img-frame img {
    transform: scale(1.08);
}

.level-card-premium.theme-red:hover .level-backdrop {
    transform: translate(-6px, 4px);
    background-color: rgba(255, 0, 0, 0.09);
    border-color: rgba(255, 0, 0, 0.5);
}

.level-card-premium.theme-blue:hover .level-backdrop {
    transform: translate(6px, 4px);
    background-color: rgba(11, 72, 157, 0.09);
    border-color: rgba(11, 72, 157, 0.5);
}

.level-card-premium:hover .level-name {
    color: var(--color-red);
}

.level-card-premium.theme-blue:hover .level-name {
    color: var(--color-blue);
}

/* Responsive adjustments for Niveles Educativos */
@media (max-width: 1024px) {
    .levels-grid {
        gap: 16px;
    }

    .level-name {
        font-size: 1.1rem;
    }

    .level-age-text {
        font-size: 0.85rem;
    }

    .level-backdrop,
    .level-img-frame {
        border-radius: 90px 90px 20px 20px;
    }
}

@media (max-width: 768px) {
    .levels-grid {
        gap: 10px;
        margin-top: 30px;
    }

    .level-img-container {
        margin-bottom: 12px;
        padding: 4px;
    }

    .level-backdrop,
    .level-img-frame {
        border-radius: 70px 70px 16px 16px;
        width: calc(100% - 8px);
        height: calc(100% - 8px);
    }

    .level-card-premium.theme-red .level-backdrop {
        top: 8px;
        left: 0px;
    }

    .level-card-premium.theme-blue .level-backdrop {
        top: 8px;
        right: 0px;
    }

    .level-name {
        font-size: 0.95rem;
    }

    .level-age-text {
        font-size: 0.8rem;
        padding-left: 10px;
    }

    .level-age-text::before {
        width: 4px;
        height: 4px;
    }
}

@media (max-width: 480px) {
    .levels-grid {
        gap: 6px;
    }

    .level-img-container {
        padding: 2px;
    }

    .level-backdrop,
    .level-img-frame {
        border-radius: 50px 50px 12px 12px;
        width: calc(100% - 4px);
        height: calc(100% - 4px);
    }

    .level-card-premium.theme-red .level-backdrop {
        top: 4px;
        left: 0px;
    }

    .level-card-premium.theme-blue .level-backdrop {
        top: 4px;
        right: 0px;
    }

    .level-name {
        font-size: 0.75rem;
    }

    .level-age-text {
        font-size: 0.65rem;
        padding-left: 8px;
    }

    .level-age-text::before {
        width: 3px;
        height: 3px;
    }
}

/* =========================================
   SECTION 4: NUESTRAS SEDES (VIDEOS)
========================================= */
.sedes-section {
    padding: 80px 0;
    background-color: var(--color-white);
}

.sedes-videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.sede-video-card {
    background-color: var(--color-bg-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sede-video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.sede-video-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-blue);
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.sede-video-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--color-red);
    margin: 8px auto 0;
    border-radius: 2px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* Aspect Ratio 16:9 */
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    background-color: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .sedes-section {
        padding: 60px 0;
    }

    .sedes-videos-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 30px;
    }

    .sede-video-card {
        padding: 20px;
    }

    .sede-video-title {
        font-size: 1.25rem;
    }
}

/* =========================================
   SECTION 5: SERVICIOS
========================================= */
.services {
    padding: 50px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.service-card {
    display: flex;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-image {
    width: 40%;
    background-size: cover;
    background-position: center;
}

.service-content {
    width: 60%;
    padding: 24px 20px;
}

.service-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(11, 72, 157, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue);
    margin-bottom: 12px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--color-blue);
    color: var(--color-white);
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

.service-content h3 {
    font-size: 1.25rem;
    color: var(--color-blue);
    margin-bottom: 8px;
}

.service-content p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* =========================================
   SECTION 6: BANNER DE CIERRE
========================================= */
.cta-banner {
    position: relative;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: var(--color-white);
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(11, 72, 157, 0.7), rgba(0, 0, 0, 0.4));
}

.cta-container {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* =========================================
   FOOTER
========================================= */
.footer {
    background-color: var(--color-blue);
    color: rgba(255, 255, 255, 0.85);
    padding: 40px 0 30px;
    border-top: none;
}

.footer-container {
    display: flex;
    /* justify-content: space-between; */
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo img {
    max-width: 180px;
}

.footer-info {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-block {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

.footer-block strong {
    color: var(--color-white);
    display: inline-block;
    margin-bottom: 5px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--color-red);
    color: var(--color-white);
    transform: translateY(-3px);
}

.social-links svg {
    width: 18px;
    height: 18px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 10px;
    line-height: 1.45;
}

.contact-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 3px;
}



.footer-action {
    display: flex;
    align-items: center;
}

.footer .btn-outline {
    border-color: var(--color-white);
    color: var(--color-white);
}

.footer .btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-blue);
}

/* =========================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
========================================= */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 850px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 20px;
    }

    .hero-text-overlay {
        width: 100%;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0.4) 100%);
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-form-wrapper {
        width: 100%;
        flex: auto;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-logo {
        margin: 0 auto 2rem;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .cta-title {
        font-size: 2.5rem;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .footer-info {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .contact-item {
        justify-content: center;
        text-align: left;
    }
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .service-card {
        flex-direction: column;
    }

    .service-image {
        width: 100%;
        height: 200px;
    }

    .service-content {
        width: 100%;
    }

    .hero-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
        text-align: center;
    }
}



p {
    font-size: 16px !important;
}


.hero-subtitle {
    font-size: 1.3rem !important;
    line-height: 1.3 !important;
    color: var(--color-text-main);
    font-weight: 600;
    margin-bottom: 0.5rem;
    /* Reducido drásticamente */
    line-height: 1.5;
    text-shadow: 0px 0px 15px rgba(255, 255, 255, 0.9);
}