/* =====================================
   VARIABLES DE MARCA
===================================== */

:root {
    --primary: #1E3A5F;
    --primary-dark: #16324A;
    --secondary: #2C5282;
    --light-bg: #F4F6F8;
    --border: #E5E7EB;
    --text: #1A1A1A;
    --white: #FFFFFF;
}

/* =====================================
   RESET
===================================== */

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.3;
}

section {
    padding: 90px 0;
}

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

/* =====================================
   HEADER
===================================== */

.header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 22px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 600;
    font-size: 18px;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary);
}

.btn-nav {
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 9px 20px;
    border-radius: 4px;
    font-size: 14px;
}

/* =====================================
   HERO HOME
===================================== */

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

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text h1 {
    font-size: 46px;
    margin-bottom: 12px;
}

.hero-text h2 {
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: 500;
}

.hero-text p {
    margin-bottom: 35px;
    max-width: 520px;
    font-size: 17px;
}

.hero-buttons {
    display: flex;
    gap: 18px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: 0.3s ease;
}

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

.hero-image img {
    width: 400px;
    border-radius: 10px;
}

/* =====================================
   SERVICES / CARDS
===================================== */

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

.services-preview h2 {
    text-align: center;
    margin-bottom: 50px;
}

.service-card {
    background-color: var(--white);
    padding: 35px;
    border-radius: 8px;
    border: 1px solid var(--border);
    margin-bottom: 25px;
    transition: 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

/* =====================================
   FOOTER
===================================== */

.footer {
    padding: 45px 0;
    background-color: var(--light-bg);
    text-align: center;
    font-size: 14px;
}

.footer a {
    display: inline-block;
    margin-top: 12px;
    color: var(--secondary);
    text-decoration: none;
}

/* =====================================
   ABOUT HERO MODERNO
===================================== */

.about-hero-modern {
    height: 520px;
    background:
        linear-gradient(
            rgba(30, 58, 95, 0.80),
            rgba(30, 58, 95, 0.80)
        ),
        url('../assets/img/about-hero.png');
    background-size: cover;
    background-position: center 12%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.about-hero-content-modern {
    text-align: center;
    color: #FFFFFF;
}

.about-hero-content-modern h1 {
    font-size: 56px;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.about-hero-content-modern p {
    font-size: 20px;
    max-width: 720px;
    margin: 0 auto;
    color: #E5EDF5;
}

/* =====================================
   FAQ HERO (AHORA IGUAL A ABOUT)
===================================== */

.faq-hero {
    height: 520px;
    background:
        linear-gradient(
            rgba(30, 58, 95, 0.80),
            rgba(30, 58, 95, 0.80)
        ),
        url('../assets/img/faq.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.faq-hero .container {
    text-align: center;
    color: #FFFFFF;
}

.faq-hero h1 {
    font-size: 56px;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.faq-hero p {
    font-size: 20px;
    max-width: 720px;
    margin: 0 auto;
    color: #E5EDF5;
}

/* =====================================
   RESPONSIVE
===================================== */

@media (max-width: 900px) {

    section {
        padding: 70px 0;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-image img {
        width: 280px;
    }

    .about-hero-modern,
    .faq-hero {
        height: 420px;
    }

    .about-hero-content-modern h1,
    .faq-hero h1 {
        font-size: 38px;
    }

    .about-hero-content-modern p,
    .faq-hero p {
        font-size: 17px;
    }
}

/* =====================================
   FAQ REFINAMIENTO PREMIUM
===================================== */

/* Más aire debajo del hero */
.faq-hero + section {
    padding-top: 110px;
}

/* Mejor jerarquía en títulos de bloque */
.services-preview h2 {
    font-size: 34px;
    margin-bottom: 40px;
    letter-spacing: 0.3px;
}

/* Separación elegante entre bloques */
.services-preview h2:not(:first-child) {
    margin-top: 90px;
}

/* Cards FAQ más refinadas */
.service-card {
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #EAEFF4;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

/* Hover más suave y elegante */
.service-card:hover {
    box-shadow: 0 12px 35px rgba(20, 40, 70, 0.08);
    transform: translateY(-4px);
}

/* Pregunta más marcada */
.service-card h3 {
    font-size: 20px;
    margin-bottom: 14px;
    color: var(--primary);
}

/* Texto con mejor lectura */
.service-card p {
    font-size: 16.5px;
    line-height: 1.8;
    color: #3A3A3A;
}

/* Contenedor FAQ más estrecho para lectura premium */
.services-preview .container {
    max-width: 900px;
}

/* Responsive refinado */
@media (max-width: 900px) {

    .services-preview h2 {
        font-size: 26px;
    }

    .service-card {
        padding: 28px;
    }

    .services-preview h2:not(:first-child) {
        margin-top: 60px;
    }
}

/* =====================================
   FAQ ACCORDION PREMIUM
===================================== */

.faq-section .container {
    max-width: 900px;
}

.faq-item {
    border-bottom: 1px solid #E8EDF3;
    padding: 28px 0;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    text-align: left;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question span {
    font-size: 24px;
    transition: transform 0.3s ease;
}

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

.faq-answer p {
    margin-top: 15px;
    font-size: 16.5px;
    line-height: 1.8;
    color: #3A3A3A;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    opacity: 1;
}

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


/* =====================================
   CONSULTA HERO
===================================== */

.consulta-hero-modern {
    height: 520px;
    background:
        linear-gradient(
            rgba(30, 58, 95, 0.75),
            rgba(30, 58, 95, 0.75)
        ),
        url('../assets/img/consulta-hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.consulta-hero-modern .about-hero-content-modern {
    text-align: center;
    color: #FFFFFF;
}

/* =====================================
   MENU MOVIL
===================================== */

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--primary);
    transition: 0.3s ease;
}

@media (max-width: 900px) {

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 80px;
        right: 0;
        width: 100%;
        background-color: #FFFFFF;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding: 40px 0;
        border-top: 1px solid var(--border);
        display: none;
    }

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

}

/* =====================================
   INDEX SECTIONS FIX
===================================== */

/* ABOUT PREVIEW */

.about-preview {
    background-color: #FFFFFF;
    text-align: center;
}

.about-preview h2 {
    margin-bottom: 25px;
    font-size: 36px;
}

.about-preview p {
    max-width: 760px;
    margin: 0 auto 25px auto;
    font-size: 17px;
}

.link-simple {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
}

.link-simple:hover {
    text-decoration: underline;
}

/* SERVICES GRID */

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

/* PROCESS SECTION */

.process {
    background-color: #FFFFFF;
    text-align: center;
}

.process h2 {
    font-size: 40px;
    margin-bottom: 60px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.step {
    padding: 20px;
}

.step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background-color: var(--primary);
    color: #FFFFFF;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 18px;
}

.step p {
    font-size: 16px;
    color: #444;
}

/* CTA */

.cta {
    background-color: var(--light-bg);
    text-align: center;
}

.cta h2 {
    font-size: 38px;
    margin-bottom: 20px;
}

.cta p {
    margin-bottom: 30px;
}

/* RESPONSIVE */

@media (max-width: 900px) {

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

    .process-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .process h2,
    .cta h2 {
        font-size: 28px;
    }
}
/* =====================================
   AGENDAR PAGE
===================================== */

.agendar-section {
    background-color: #FFFFFF;
    padding: 80px 0;
}

.agendar-container {
    max-width: 650px;
}

.agendar-container h1 {
    text-align: center;
    font-size: 38px;
    margin-bottom: 15px;
}

.agendar-intro {
    text-align: center;
    margin-bottom: 40px;
    color: #555;
}

.agendar-info {
    background-color: var(--light-bg);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 40px;
    font-size: 15px;
}

.agendar-form label {
    display: block;
    margin-top: 20px;
    font-weight: 500;
}

.agendar-form input,
.agendar-form select {
    width: 100%;
    padding: 14px;
    margin-top: 8px;
    border-radius: 6px;
    border: 1px solid var(--border);
    font-size: 16px;
}

.radio-group {
    margin-top: 10px;
}

.radio-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 400;
}

.agendar-btn {
    width: 100%;
    margin-top: 30px;
    padding: 16px;
    font-size: 16px;
}

@media (max-width: 900px) {

    .agendar-container h1 {
        font-size: 28px;
    }

}

.status-realizada { color:#1E3A5F; font-weight:bold; }
