```css
/* =========================================================
   ESTILOS GENERALES
   Dra. Sandra Sorbara
   Psicología | Salud Mental | Docencia | Investigación
========================================================= */


/* =========================================================
   VARIABLES DE COLORES
========================================================= */

:root {

    --crema: #F8F1EB;
    --crema-claro: #FFF9F4;
    --beige: #EFE1D6;
    --beige-oscuro: #E2CFC1;

    --terracota: #B9785E;
    --terracota-oscuro: #925A45;

    --rosa-empolvado: #D8B7A8;

    --marron: #5A4035;
    --marron-suave: #6B5A52;

    --blanco: #FFFFFF;

    --sombra: rgba(90, 64, 53, 0.12);

    --transicion: all 0.4s ease;

}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}


body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--crema);
    color: var(--marron-suave);
    line-height: 1.7;
    overflow-x: hidden;
}


img {
    max-width: 100%;
    display: block;
}


a {
    text-decoration: none;
    color: inherit;
}


button,
input,
textarea,
select {
    font-family: inherit;
}


/* =========================================================
   CONTENEDOR
========================================================= */

.container {
    width: 90%;
    max-width: 1180px;
    margin: auto;
}


/* =========================================================
   HEADER / NAVBAR
========================================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 78px;

    background: rgba(255, 249, 244, 0.94);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-shadow: 0 4px 20px rgba(90, 64, 53, 0.08);

    z-index: 1000;

    transition: var(--transicion);
}


.navbar {
    width: 90%;
    max-width: 1250px;
    height: 100%;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* LOGO */

.logo {
    font-family: 'DM Serif Display', serif;
    font-size: 25px;
    color: var(--marron);
    letter-spacing: 0.3px;
}


.logo span {
    color: var(--terracota);
}


/* =========================================================
   MENÚ
========================================================= */

.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
}


.nav-menu li a {
    position: relative;

    font-size: 13px;
    font-weight: 600;

    color: var(--marron-suave);

    padding: 8px 0;

    transition: var(--transicion);
}


.nav-menu li a::after {
    content: '';

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: var(--terracota);

    transition: var(--transicion);
}


.nav-menu li a:hover {
    color: var(--terracota);
}


.nav-menu li a:hover::after {
    width: 100%;
}


/* =========================================================
   MENÚ HAMBURGUESA
========================================================= */

.menu-toggle {
    display: none;

    font-size: 25px;

    color: var(--marron);

    cursor: pointer;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 100vh;

    position: relative;

    display: flex;
    align-items: center;

    padding: 120px 5% 80px;

    overflow: hidden;

    background:

        radial-gradient(
            circle at 85% 20%,
            rgba(216, 183, 168, 0.35),
            transparent 30%
        ),

        linear-gradient(
            135deg,
            #FFF9F4,
            #F8F1EB,
            #EFE1D6
        );
}


/* DECORACIÓN HERO */

.hero::before {
    content: '';

    position: absolute;

    width: 450px;
    height: 450px;

    border-radius: 50%;

    background: rgba(185, 120, 94, 0.08);

    top: -180px;
    right: -120px;
}


.hero::after {
    content: '';

    position: absolute;

    width: 300px;
    height: 300px;

    border-radius: 50%;

    background: rgba(216, 183, 168, 0.15);

    bottom: -150px;
    left: -100px;
}


.hero-container {
    width: 90%;
    max-width: 1180px;

    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 70px;

    position: relative;

    z-index: 2;
}


/* TEXTO HERO */

.hero-text {
    max-width: 600px;
}


.etiqueta {
    display: inline-block;

    font-size: 11px;

    letter-spacing: 2.5px;

    font-weight: 600;

    color: var(--terracota);

    margin-bottom: 20px;
}


.hero h1 {
    font-family: 'DM Serif Display', serif;

    font-size: clamp(60px, 7vw, 100px);

    line-height: 0.95;

    color: var(--marron);

    font-weight: 400;

    margin-bottom: 25px;
}


.hero h1 span {
    color: var(inherit);
    font-style: normal;
}


.hero-subtitle {
    font-size: 19px;

    color: var(--marron);

    font-weight: 600;

    margin-bottom: 18px;
}


.hero-description {
    max-width: 550px;

    font-size: 16px;

    color: var(--marron-suave);

    margin-bottom: 35px;
}


/* =========================================================
   BOTONES GENERALES
========================================================= */

.hero-buttons {
    display: flex;

    gap: 15px;

    flex-wrap: wrap;
}


.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 13px 25px;

    border-radius: 30px;

    font-size: 13px;

    font-weight: 600;

    cursor: pointer;

    transition: var(--transicion);
}


.btn-principal {
    background: var(--terracota);

    color: var(--blanco);

    box-shadow:
        0 8px 20px rgba(185, 120, 94, 0.25);
}


.btn-principal:hover {
    background: var(--terracota-oscuro);

    transform: translateY(-3px);

    box-shadow:
        0 12px 25px rgba(146, 90, 69, 0.25);
}


.btn-secundario {
    border: 1px solid var(--terracota);

    color: var(--terracota);

    background: transparent;
}


.btn-secundario:hover {
    background: var(--terracota);

    color: var(--blanco);

    transform: translateY(-3px);
}


/* =========================================================
   FOTO HERO
========================================================= */

.hero-image {
    display: flex;

    justify-content: center;
    align-items: center;
}


.imagen-marco {
    position: relative;

    width: 400px;
    height: 500px;
}


.imagen-marco::before {
    content: '';

    position: absolute;

    width: 100%;
    height: 100%;

    border: 2px solid var(--terracota);

    border-radius: 200px 200px 20px 20px;

    top: 20px;
    left: 20px;

    opacity: 0.5;
}


.imagen-marco img {
    position: relative;

    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 200px 200px 20px 20px;

    box-shadow:
        0 25px 50px rgba(90, 64, 53, 0.22);
}


/* =========================================================
   INDICADOR SCROLL
========================================================= */

.scroll-indicator {
    position: absolute;

    bottom: 30px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 5px;

    color: var(--terracota);

    font-size: 11px;

    letter-spacing: 1px;

    z-index: 3;
}


.scroll-indicator i {
    animation: bajar 1.8s infinite;
}


@keyframes bajar {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }

}


/* =========================================================
   SECCIONES GENERALES
========================================================= */

.section {
    padding: 110px 0;

    background: var(--crema);
}


.section-clara {
    background: var(--crema-claro);
}


.section-header {
    text-align: center;

    max-width: 750px;

    margin: 0 auto 65px;
}


.section-label {
    display: block;

    font-size: 11px;

    letter-spacing: 3px;

    color: var(--terracota);

    font-weight: 700;

    margin-bottom: 12px;
}


.section-header h2 {
    font-family: 'DM Serif Display', serif;

    font-size: 48px;

    font-weight: 400;

    color: var(--marron);

    margin-bottom: 15px;
}


.section-header p {
    max-width: 650px;

    margin: auto;
}


.linea {
    width: 70px;

    height: 3px;

    background: var(--terracota);

    margin: 0 auto 20px;

    border-radius: 5px;
}


/* =========================================================
   SOBRE MÍ
========================================================= */

.sobre-grid {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 80px;

    align-items: center;
}


.sobre-imagen {
    position: relative;
}


.sobre-imagen::after {
    content: '';

    position: absolute;

    width: 100%;
    height: 100%;

    border: 2px solid var(--rosa-empolvado);

    left: 18px;
    top: 18px;

    border-radius: 15px;

    z-index: 0;
}


.sobre-imagen img {
    position: relative;

    z-index: 1;

    width: 100%;

    max-height: 550px;

    object-fit: cover;

    border-radius: 15px;

    box-shadow:
        0 20px 40px var(--sombra);
}


.sobre-texto h3 {
    font-family: 'DM Serif Display', serif;

    font-size: 34px;

    line-height: 1.25;

    font-weight: 400;

    color: var(--marron);

    margin-bottom: 25px;
}


.sobre-texto p {
    margin-bottom: 20px;
}


.firma {
    font-family: 'DM Serif Display', serif;

    font-size: 28px;

    font-style: italic;

    color: var(--terracota);

    margin-top: 30px;
}


/* =========================================================
   FORMACIÓN / TIMELINE
========================================================= */

.timeline {
    position: relative;

    max-width: 850px;

    margin: auto;
}


.timeline::before {
    content: '';

    position: absolute;

    left: 35px;
    top: 0;

    width: 2px;
    height: 100%;

    background: var(--beige-oscuro);
}


.timeline-item {
    position: relative;

    display: flex;

    gap: 35px;

    margin-bottom: 50px;
}


.timeline-icon {
    position: relative;

    z-index: 2;

    width: 70px;
    height: 70px;

    flex-shrink: 0;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--terracota);

    color: var(--blanco);

    font-size: 22px;

    box-shadow:
        0 8px 20px rgba(185, 120, 94, 0.25);
}


.timeline-content {
    background: var(--crema-claro);

    padding: 25px 30px;

    border-radius: 15px;

    flex: 1;

    box-shadow:
        0 8px 25px var(--sombra);

    transition: var(--transicion);
}


.timeline-content:hover {
    transform: translateX(8px);

    box-shadow:
        0 15px 30px rgba(90, 64, 53, 0.15);
}


.timeline-content h3 {
    font-family: 'DM Serif Display', serif;

    font-size: 25px;

    font-weight: 400;

    color: var(--marron);

    margin-bottom: 8px;
}


/* =========================================================
   CARDS ÁREAS
========================================================= */

.cards-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}


.card {
    padding: 35px 30px;

    background: var(--blanco);

    border-radius: 18px;

    text-align: center;

    box-shadow:
        0 8px 25px var(--sombra);

    transition: var(--transicion);

    border-bottom: 3px solid transparent;
}


.card:hover {
    transform: translateY(-10px);

    border-bottom-color: var(--terracota);

    box-shadow:
        0 18px 35px rgba(90, 64, 53, 0.16);
}


.card-icon {
    width: 70px;
    height: 70px;

    margin: 0 auto 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--beige);

    color: var(--terracota);

    font-size: 26px;

    transition: var(--transicion);
}


.card:hover .card-icon {
    background: var(--terracota);

    color: var(--blanco);

    transform: rotate(5deg) scale(1.05);
}


.card h3 {
    font-family: 'DM Serif Display', serif;

    font-size: 25px;

    font-weight: 400;

    color: var(--marron);

    margin-bottom: 12px;
}


/* =========================================================
   Psicoterapia
========================================================= */

#psicoterapia {
    background: var(--crema-claro);
}


/* CONTENEDOR DE DOS COLUMNAS */

.psicoterapia-grid {

    display: grid;

    grid-template-columns: 1.15fr 0.85fr;

    gap: 80px;

    align-items: center;

}


/* =========================================================
   COLUMNA IZQUIERDA - TEXTO
========================================================= */

.psicoterapia-grid .investigacion-texto {

    max-width: 650px;

}


.psicoterapia-grid .investigacion-texto h3 {

    font-family: 'DM Serif Display', serif;

    font-size: 42px;

    font-weight: 400;

    color: var(--marron);

    line-height: 1.25;

    margin-bottom: 28px;

}


.psicoterapia-grid .investigacion-texto p {

    font-size: 16px;

    line-height: 1.8;

    color: var(--marron-suave);

    margin-bottom: 22px;

}


.psicoterapia-grid .investigacion-texto .btn {

    margin-top: 15px;

}


/* =========================================================
   COLUMNA DERECHA - LISTA
========================================================= */

.psicoterapia-lista {

    background: var(--blanco);

    padding: 35px 40px;

    border-radius: 20px;

    box-shadow:

        0 15px 35px

        var(--sombra);

    border: 1px solid rgba(185, 120, 94, 0.10);

}


/* CADA ELEMENTO */

.psicoterapia-item {

    display: flex;

    align-items: flex-start;

    gap: 15px;

    padding: 20px 0;

    border-bottom: 1px solid var(--beige-oscuro);

}


.psicoterapia-item:last-child {

    border-bottom: none;

}


/* ICONO CHECK */

.psicoterapia-item i {

    flex-shrink: 0;

    width: 28px;

    height: 28px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: var(--beige);

    color: var(--terracota);

    font-size: 13px;

    margin-top: 2px;

}


/* TEXTO DE LA LISTA */

.psicoterapia-item span {

    font-size: 15px;

    line-height: 1.7;

    color: var(--marron-suave);

}


/* =========================================================
   EFECTO HOVER
========================================================= */

.psicoterapia-item {

    transition: var(--transicion);

}


.psicoterapia-item:hover {

    padding-left: 8px;

}


.psicoterapia-item:hover i {

    background: var(--terracota);

    color: var(--blanco);

}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 900px) {

    .psicoterapia-grid {

        grid-template-columns: 1fr;

        gap: 50px;

    }


    .psicoterapia-grid .investigacion-texto {

        max-width: 100%;

    }


    .psicoterapia-lista {

        max-width: 700px;

        width: 100%;

        margin: 0 auto;

    }

}


/* =========================================================
   RESPONSIVE - CELULAR
========================================================= */

@media (max-width: 600px) {

    .psicoterapia-grid {

        gap: 35px;

    }


    .psicoterapia-grid .investigacion-texto h3 {

        font-size: 34px;

    }


    .psicoterapia-grid .investigacion-texto p {

        font-size: 15px;

    }


    .psicoterapia-lista {

        padding: 25px 22px;

    }


    .psicoterapia-item {

        padding: 18px 0;

    }


    .psicoterapia-item span {

        font-size: 14px;

    }

}
/* =========================================================
   PUBLICACIONES
========================================================= */

.publicaciones-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 30px;
}


.publicacion {
    background: var(--blanco);

    padding: 40px;

    border-radius: 18px;

    box-shadow:
        0 10px 30px var(--sombra);

    transition: var(--transicion);

    position: relative;

    overflow: hidden;
}


.publicacion::before {
    content: '';

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background: var(--terracota);
}


.publicacion:hover {
    transform: translateY(-8px);

    box-shadow:
        0 20px 40px rgba(90, 64, 53, 0.16);
}


.publicacion-icon {
    width: 60px;
    height: 60px;

    background: var(--beige);

    color: var(--terracota);

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 23px;

    margin-bottom: 20px;
}


.publicacion h3 {
    font-family: 'DM Serif Display', serif;

    font-size: 27px;

    font-weight: 400;

    color: var(--marron);

    line-height: 1.3;

    margin-bottom: 15px;
}


.leer-mas {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--terracota);

    font-size: 13px;

    font-weight: 700;

    margin-top: 20px;
}


.leer-mas:hover {
    color: var(--terracota-oscuro);
}


/* =========================================================
   CURSOS - SECCIÓN
========================================================= */

.cursos-section {

    padding: 100px 0;

    background:
        linear-gradient(
            135deg,
            #f8f1eb 0%,
            #f2e5dc 50%,
            #ead8cc 100%
        );

    overflow: hidden;
}


.cursos-section .container {
    width: 90%;

    max-width: 1200px;

    margin: 0 auto;
}


.cursos-section .section-header {
    max-width: 850px;

    margin: 0 auto 60px;

    text-align: center;
}


.cursos-section .section-header h2 {
    margin-bottom: 20px;
}


.cursos-section .section-header p {
    max-width: 760px;

    margin: 0 auto;

    line-height: 1.8;
}


/* =========================================================
   GRILLA DE CURSOS
========================================================= */

.curso-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 30px;

    width: 100%;

    margin-top: 50px;

    align-items: stretch;
}


/* =========================================================
   TARJETA DE CURSO
========================================================= */

.curso-card {

    position: relative;

    display: flex;

    flex-direction: column;

    height: 100%;

    background:
        rgba(255, 255, 255, 0.92);

    border-radius: 18px;

    overflow: hidden;

    border:
        1px solid rgba(166, 113, 83, 0.12);

    box-shadow:
        0 10px 30px rgba(91, 65, 52, 0.10);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}


.curso-card:hover {

    transform:
        translateY(-8px);

    box-shadow:
        0 18px 40px rgba(91, 65, 52, 0.18);
}


/* =========================================================
   NÚMERO DEL CURSO
========================================================= */

.curso-numero {

    position: absolute;

    top: 20px;
    right: 25px;

    font-family:
        'DM Serif Display',
        serif;

    font-size: 42px;

    color:
        rgba(178, 107, 76, 0.14);

    line-height: 1;

    z-index: 2;
}


/* =========================================================
   IMAGEN / CABECERA CURSO
========================================================= */

.curso-imagen {

    height: 190px;

    min-height: 190px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #ead8cc,
            #f5ebe5
        );
}


.curso-imagen i {

    font-size: 58px;

    color: #8d5d4b;
}


/* =========================================================
   CUERPO CURSO
========================================================= */

.curso-body {

    display: flex;

    flex-direction: column;

    flex: 1;

    padding:
        38px 35px 35px;
}


/* =========================================================
   ETIQUETA CURSO
========================================================= */

.curso-tag {

    display: inline-block;

    width: fit-content;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.5px;

    color: #a5684c;

    background: #f3e5db;

    padding:
        7px 13px;

    border-radius: 30px;

    margin-bottom: 18px;
}


/* =========================================================
   TÍTULO CURSO
========================================================= */

.curso-body h3 {

    font-family:
        'DM Serif Display',
        serif;

    font-size: 27px;

    line-height: 1.25;

    font-weight: 400;

    color: #5a4034;

    margin:
        0 45px 15px 0;
}


/* =========================================================
   DESCRIPCIÓN CURSO
========================================================= */

.curso-descripcion {

    color: #765f53;

    font-size: 14px;

    line-height: 1.8;

    margin-bottom: 22px;
}


/* =========================================================
   DETALLE DESPLEGABLE ANTIGUO
   Compatible con toggleCurso()
========================================================= */

.curso-detalle {

    display: none;

    margin:
        15px 0;

    padding: 18px;

    background: #f8f1eb;

    border-left:
        3px solid #b9785f;

    border-radius: 8px;

    animation:
        aparecerCurso
        0.4s ease;
}


.curso-detalle.mostrar {

    display: block;
}


.curso-detalle p {

    margin: 0;

    font-size: 14px;

    line-height: 1.7;

    color: #5f514a;
}


/* =========================================================
   BOTÓN VER PROGRAMA
========================================================= */

.btn-programa {

    width: 100%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding:
        14px 18px;

    border: none;

    border-top:
        1px solid #eadbd0;

    border-bottom:
        1px solid #eadbd0;

    background: transparent;

    color: #8f5a42;

    font-family:
        'Montserrat',
        sans-serif;

    font-size: 13px;

    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease;

    margin-bottom: 20px;
}


.btn-programa:hover {

    background: #f8f0eb;

    color: #704735;
}


.btn-programa i {

    transition:
        transform 0.3s ease;
}


.btn-programa.activo i {

    transform:
        rotate(180deg);
}


/* =========================================================
   CONTENIDO DEL PROGRAMA
========================================================= */

.programa-contenido {

    display: none;

    background: #faf6f2;

    border-radius: 10px;

    padding: 22px;

    margin-bottom: 22px;

    animation:
        aparecerPrograma
        0.35s ease;
}


.programa-contenido.mostrar {

    display: block;
}


.programa-contenido h4 {

    font-family:
        'DM Serif Display',
        serif;

    font-size: 21px;

    font-weight: 400;

    color: #5a4034;

    margin:
        0 0 12px;
}


.programa-contenido p {

    font-size: 13px;

    line-height: 1.7;

    color: #765f53;

    margin-bottom: 15px;
}


.programa-contenido ul {

    margin: 0;

    padding-left: 20px;
}


.programa-contenido li {

    color: #765f53;

    font-size: 13px;

    line-height: 1.7;

    margin-bottom: 7px;
}


/* =========================================================
   BOTONES CURSOS
========================================================= */

.curso-botones {

    display: flex;

    flex-direction: column;

    gap: 10px;

    margin-top: auto;
}


.curso-botones .btn {

    width: 100%;
}


.curso-body .btn {

    width: 100%;

    text-align: center;
}


.curso-body .btn-principal {

    display: inline-flex;

    justify-content: center;

    align-items: center;

    width: 100%;

    margin-top: auto;
}


.curso-body .btn + .btn {

    margin-top: 10px;
}


/* =========================================================
   ANIMACIONES CURSOS
========================================================= */

@keyframes aparecerCurso {

    from {

        opacity: 0;

        transform:
            translateY(-10px);
    }

    to {

        opacity: 1;

        transform:
            translateY(0);
    }

}


@keyframes aparecerPrograma {

    from {

        opacity: 0;

        transform:
            translateY(-8px);
    }

    to {

        opacity: 1;

        transform:
            translateY(0);
    }

}


/* =========================================================
   PAGOS
========================================================= */

.pagos-section {

    padding: 100px 0;

    background:
        linear-gradient(
            135deg,
            #F8F1EB,
            #EFE1D6
        );
}


/* SELECCIÓN DEL CURSO */

.seleccion-curso {

    max-width: 600px;

    margin:
        0 auto 50px;

    text-align: center;
}


.seleccion-curso label {

    display: block;

    font-weight: 600;

    color: var(--marron);

    margin-bottom: 12px;
}


.seleccion-curso select {

    width: 100%;

    padding: 15px;

    border:
        1px solid var(--beige-oscuro);

    border-radius: 10px;

    background: var(--crema-claro);

    color: var(--marron);

    font-size: 14px;

    cursor: pointer;

    outline: none;
}


.seleccion-curso select:focus {

    border-color:
        var(--terracota);
}


/* =========================================================
   GRILLA DE PAGOS
========================================================= */

.pagos-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 30px;

    max-width: 1100px;

    margin:
        50px auto 0;
}


/* =========================================================
   TARJETA DE PAGO
========================================================= */

.pago-card {

    padding:
        40px 30px;

    text-align: center;

    background:
        var(--blanco);

    border-radius: 18px;

    border:
        1px solid #ead8cc;

    box-shadow:
        0 8px 25px rgba(83, 55, 42, 0.08);

    transition:
        0.3s ease;
}


.pago-card:hover {

    transform:
        translateY(-6px);

    box-shadow:
        0 15px 35px rgba(83, 55, 42, 0.14);
}


.pago-icon {

    width: 75px;
    height: 75px;

    margin:
        0 auto 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        var(--beige);

    color:
        var(--terracota);

    font-size: 30px;
}


.pago-card > i {

    font-size: 42px;

    color: #a46f58;

    margin-bottom: 20px;
}


.pago-card h3 {

    font-family:
        'DM Serif Display',
        serif;

    font-size: 26px;

    font-weight: 400;

    color: var(--marron);

    margin-bottom: 15px;
}


.pago-card p {

    font-size: 14px;

    line-height: 1.7;

    color: #5f514a;

    margin-bottom: 25px;
}


.pago-card .btn {

    width: 100%;
}


/* =========================================================
   DATOS DE TRANSFERENCIA
========================================================= */

.datos-transferencia {

    display: none;

    margin-top: 20px;

    padding: 20px;

    background: var(--crema);

    border-radius: 10px;

    text-align: left;
}


.datos-transferencia.mostrar {

    display: block;

    animation:
        aparecerTransferencia
        0.4s ease;
}


.datos-transferencia p {

    margin-bottom: 5px;

    font-size: 13px;

    color: var(--marron-suave);

    line-height: 1.5;
}


.datos-transferencia strong {

    color: var(--marron);
}


/* =========================================================
   AVISO DE PAGO
========================================================= */

.pago-aviso {

    max-width: 800px;

    margin:
        50px auto 25px;

    display: flex;

    align-items: center;

    gap: 15px;

    padding:
        20px 25px;

    background:
        rgba(255, 255, 255, 0.7);

    border-radius: 12px;

    color:
        var(--marron-suave);
}


.pago-aviso i {

    color:
        var(--terracota);

    font-size: 22px;
}


.pago-aviso p {

    margin: 0;

    font-size: 14px;
}


/* =========================================================
   CONTACTO SOBRE TRANSFERENCIA
========================================================= */

.pago-contacto {

    text-align: center;

    margin-top: 25px;
}


.btn-whatsapp {

    background:
        #25D366;

    color:
        white;
}


.btn-whatsapp:hover {

    background:
        #1ebe5d;

    color:
        white;

    transform:
        translateY(-3px);
}


/* =========================================================
   CONTACTO
========================================================= */

.contacto-section {

    background:
        linear-gradient(
            135deg,
            #EFE1D6,
            #F8F1EB
        );
}


.contacto-grid {

    display: grid;

    grid-template-columns:
        0.8fr 1.2fr;

    gap: 70px;

    align-items: start;
}


.contacto-info {

    display: flex;

    flex-direction: column;

    gap: 25px;
}


.contacto-item {

    display: flex;

    align-items: center;

    gap: 20px;

    background:
        rgba(255, 255, 255, 0.65);

    padding: 20px;

    border-radius: 15px;
}


.contacto-item > i {

    width: 50px;
    height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        var(--terracota);

    color:
        var(--blanco);

    border-radius: 50%;

    font-size: 20px;
}


.contacto-item h4 {

    color:
        var(--marron);

    margin-bottom: 3px;
}


.contacto-item p {

    font-size: 14px;
}


/* =========================================================
   FORMULARIO
========================================================= */

.contacto-formulario {

    background:
        var(--blanco);

    padding:
        40px;

    border-radius:
        20px;

    box-shadow:
        0 15px 35px var(--sombra);
}


form {

    display: flex;

    flex-direction: column;

    gap: 15px;
}


input,
textarea {

    width: 100%;

    padding:
        15px 18px;

    border:
        1px solid var(--beige-oscuro);

    border-radius:
        10px;

    outline:
        none;

    background:
        var(--crema-claro);

    color:
        var(--marron);

    font-size:
        14px;

    transition:
        var(--transicion);
}


input:focus,
textarea:focus {

    border-color:
        var(--terracota);

    box-shadow:
        0 0 0 3px rgba(185, 120, 94, 0.1);
}


textarea {

    resize:
        vertical;
}


.contacto-formulario button {

    border:
        none;
}


/* =========================================================
   WHATSAPP
========================================================= */

.whatsapp {

    position: fixed;

    right: 25px;

    bottom: 25px;

    width: 60px;
    height: 60px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        #25D366;

    color:
        white;

    font-size:
        30px;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.2);

    z-index:
        999;

    transition:
        var(--transicion);
}


.whatsapp:hover {

    transform:
        scale(1.1);
}


/* =========================================================
   BOTÓN VOLVER ARRIBA
========================================================= */

.btn-top {

    position: fixed;

    right: 25px;

    bottom: 100px;

    width: 45px;
    height: 45px;

    border:
        none;

    border-radius:
        50%;

    background:
        var(--terracota);

    color:
        var(--blanco);

    cursor:
        pointer;

    display:
        none;

    align-items:
        center;

    justify-content:
        center;

    z-index:
        998;

    box-shadow:
        0 8px 20px var(--sombra);

    transition:
        var(--transicion);
}


.btn-top:hover {

    background:
        var(--terracota-oscuro);

    transform:
        translateY(-3px);
}


.btn-top.mostrar {

    display:
        flex;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {

    background:
        var(--marron);

    color:
        var(--crema-claro);

    padding:
        50px 0 20px;
}


.footer-content {

    display:
        flex;

    justify-content:
        space-between;

    align-items:
        center;

    gap:
        30px;

    padding-bottom:
        35px;
}


.footer h3 {

    font-family:
        'DM Serif Display',
        serif;

    font-size:
        28px;

    font-weight:
        400;
}


.footer p {

    font-size:
        13px;

    opacity:
        0.8;
}


.social {

    display:
        flex;

    gap:
        12px;
}


.social a {

    width:
        42px;

    height:
        42px;

    border-radius:
        50%;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    background:
        rgba(255, 255, 255, 0.1);

    transition:
        var(--transicion);
}


.social a:hover {

    background:
        var(--terracota);

    transform:
        translateY(-3px);
}


.footer-bottom {

    padding-top:
        20px;

    border-top:
        1px solid rgba(255, 255, 255, 0.15);

    text-align:
        center;
}


/* =========================================================
   ANIMACIÓN GENERAL
========================================================= */

@keyframes aparecer {

    from {

        opacity:
            0;

        transform:
            translateY(30px);
    }

    to {

        opacity:
            1;

        transform:
            translateY(0);
    }

}


/* =========================================================
   ANIMACIÓN TRANSFERENCIA
========================================================= */

@keyframes aparecerTransferencia {

    from {

        opacity:
            0;

        transform:
            translateY(-10px);
    }

    to {

        opacity:
            1;

        transform:
            translateY(0);
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .nav-menu {
        gap:
            15px;
    }


    .nav-menu li a {
        font-size:
            11px;
    }


    .hero-container {
        gap:
            40px;
    }


    .imagen-marco {

        width:
            330px;

        height:
            430px;
    }


    .cards-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .curso-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   TABLET PEQUEÑA
========================================================= */

@media (max-width: 800px) {

    .menu-toggle {

        display:
            block;
    }


    .nav-menu {

        position:
            absolute;

        top:
            78px;

        left:
            0;

        width:
            100%;

        background:
            var(--crema-claro);

        flex-direction:
            column;

        align-items:
            center;

        padding:
            25px;

        gap:
            18px;

        box-shadow:
            0 10px 25px var(--sombra);

        transform:
            translateY(-150%);

        transition:
            var(--transicion);
    }


    .nav-menu.active {

        transform:
            translateY(0);
    }


    .hero {

        padding-top:
            130px;
    }


    .hero-container {

        grid-template-columns:
            1fr;

        text-align:
            center;
    }


    .hero-text {

        max-width:
            700px;

        margin:
            auto;
    }


    .hero-buttons {

        justify-content:
            center;
    }


    .hero-description {

        margin-left:
            auto;

        margin-right:
            auto;
    }


    .hero-image {

        order:
            -1;
    }


    .imagen-marco {

        width:
            280px;

        height:
            350px;
    }


    .sobre-grid,
    .investigacion-grid,
    .contacto-grid {

        grid-template-columns:
            1fr;

        gap:
            50px;
    }


    .sobre-imagen {

        max-width:
            600px;

        margin:
            auto;
    }


    .cards-grid {

        grid-template-columns:
            1fr 1fr;
    }


    .curso-grid {

        grid-template-columns:
            1fr;

        max-width:
            700px;

        margin-left:
            auto;

        margin-right:
            auto;
    }


    .pagos-grid {

        grid-template-columns:
            1fr;

        max-width:
            550px;
    }

}


/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 600px) {

    .container {

        width:
            88%;
    }


    .section {

        padding:
            80px 0;
    }


    .section-header {

        margin-bottom:
            45px;
    }


    .section-header h2 {

        font-size:
            38px;
    }


    .hero h1 {

        font-size:
            65px;
    }


    .hero-subtitle {

        font-size:
            16px;
    }


    .hero-description {

        font-size:
            14px;
    }


    .hero-buttons {

        flex-direction:
            column;

        align-items:
            center;
    }


    .hero-buttons .btn {

        width:
            220px;
    }


    .cards-grid,
    .publicaciones-grid {

        grid-template-columns:
            1fr;
    }


    .curso-grid {

        grid-template-columns:
            1fr;
    }


    .curso-body {

        padding:
            30px 22px;
    }


    .curso-body h3 {

        font-size:
            24px;
    }


    .curso-numero {

        font-size:
            34px;

        right:
            18px;
    }


    .timeline::before {

        left:
            27px;
    }


    .timeline-item {

        gap:
            20px;
    }


    .timeline-icon {

        width:
            55px;

        height:
            55px;

        font-size:
            18px;
    }


    .timeline-content {

        padding:
            20px;
    }


    .timeline-content h3 {

        font-size:
            21px;
    }


    .investigacion-texto h3 {

        font-size:
            32px;
    }


    .contacto-formulario {

        padding:
            25px;
    }


    .footer-content {

        flex-direction:
            column;

        text-align:
            center;
    }


    .whatsapp {

        width:
            55px;

        height:
            55px;

        right:
            18px;

        bottom:
            18px;
    }


    .btn-top {

        right:
            18px;

        bottom:
            85px;
    }


    .pago-aviso {

        flex-direction:
            column;

        text-align:
            center;
    }

}


/* =========================================================
   PANTALLAS MUY PEQUEÑAS
========================================================= */

@media (max-width: 400px) {

    .logo {

        font-size:
            21px;
    }


    .hero h1 {

        font-size:
            55px;
    }


    .section-header h2 {

        font-size:
            34px;
    }


    .imagen-marco {

        width:
            240px;

        height:
            310px;
    }

}
