* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.texto-destacado {
    color: #00AFC1;
    font-weight: bold;
}
body {
    font-family: Arial, Helvetica, sans-serif;
    color: #141414;
    line-height: 1.6;
    background: #fff;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1140px, calc(100% - 40px));
    margin: 0 auto;
}


/* HEADER */

.site-header {
    background: #fff;
    border-top: 1px solid #cdcdcd;
    border-bottom: 1px solid #cdcdcd;
    box-shadow: 0 0 13px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 10;
}

.header-inner {
    min-height: 190px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    padding: 28px 0 24px;
    gap: 40px;
}

.logo {
    flex: 0 0 auto;
}

.logo img {
    width: 520px;
    height: auto;
}

.navbar {
    flex: 1;
    margin-top: 0;
    margin-bottom: 14px;

    display: flex;
    justify-content: flex-end;
    align-items: center;

    flex-wrap: nowrap;
    white-space: nowrap;
    font-size: 16px;
}

/* Enlaces principales */

.navbar > a,
.nav-dropdown > a {
    position: relative;
    padding: 0 12px;
}

/* Separadores "/" */

.navbar > a:not(:last-child)::after,
.nav-dropdown > a::after {
    content: "/";
    color: #aaa;
    position: absolute;
    right: -2px;
}

/* Hover y página activa */

.navbar a:hover,
.navbar .active {
    color: #1eb0bc;
}

/* Contenedor de Evaluaciones */

.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    cursor: pointer;
}

/* Menú desplegable cerrado */

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);

    width: max-content;
    min-width: 180px;
    max-width: min(420px, calc(100vw - 30px));
    background: #1eb0bc;
    text-align: center;
    z-index: 20;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;
}

/* Menú abierto mediante JavaScript */

.nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Enlaces internos del desplegable */

.dropdown-menu a {
    display: block;
    color: #fff;
    padding: 14px 16px;
    line-height: 1.35;
    text-transform: none;
}

.dropdown-menu a:hover {
    background: #fff;
    color: #1eb0bc;
}

/* Botón hamburguesa oculto en escritorio */

.menu-button {
    display: none;
}


/* HERO */

.hero {
    width: 100%;
    height: 530px;
    overflow: hidden;
    position: relative;
}

.hero-slider,
.slide {
    width: 100%;
    height: 100%;
}

.slide {
    display: none;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* WELCOME */

.welcome {
    padding: 55px 0 45px;
    text-align: center;
}

.welcome-text {
    font-size: 30px;
    line-height: 1.8;
    color: #333;
    font-weight: 300;
}

.welcome-text span {
    color: #009fad;
}


/* THERAPY */

.therapy {
    padding-bottom: 100px;
}

.section-divider {
    width: 100%;
    height: 1px;
    background: #eee;
    position: relative;
    margin-bottom: 55px;
}

.section-divider::after {
    content: "";
    width: 16px;
    height: 16px;
    background: #1eb0bc;
    position: absolute;
    left: 50%;
    top: -8px;
    transform: translateX(-50%);
}

.section-title {
    text-align: center;
    font-size: 44px;
    font-weight: 300;
    margin-bottom: 22px;
}

.section-description {
    max-width: 1000px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 20px;
    line-height: 1.45;
}

.therapy-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 70px;
    align-items: start;
}

.therapy-card {
    text-align: left;
}
.therapy-card {
    overflow: hidden;
}
.therapy-card h2 {
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 8px;
}

.therapy-card p {
    font-size: 18px;
    line-height: 1.55;
}

.therapy-card img {
    width: 210px;
    height: 210px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}
.therapy-image-link {
    width: 210px;
    height: 210px;
    margin: 0 auto 28px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    display: block;
}

.therapy-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.therapy-hover-icon {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #1eb0bc;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.25s ease, transform 0.25s ease;
    font-size: 22px;
}

.therapy-image-link:hover img {
    opacity: 0.45;
    transform: scale(1.08);
}

.therapy-image-link:hover .therapy-hover-icon {
    opacity: 1;
    transform: scale(1);
}
/* Links */
.link-color {
    color: #1eb0bc;
}

.link-color:hover {
    color: #14818a;
}

/* FOOTER */

.footer-top {
    background: #f2f2f2;
    padding: 70px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
}

.footer-grid h3 {
    font-size: 22px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.footer-grid p,
.footer-grid > div > a {
    font-size: 18px;
    color: #444;
}

.footer-grid a {
    color: #1eb0bc;
}

.footer-bottom {
    background: #252525;
    color: #fff;
    padding: 14px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.facebook-link {
    font-size: 24px;
    font-weight: bold;
}
.social-links {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 18px;
}

.social-links a{
    width:46px;
    height:46px;

    display:flex;
    justify-content:center;
    align-items:center;

    border:2px solid #1eb0bc;
    border-radius:50%;

    color:#1eb0bc;
    background:white;

    font-size:22px;

    transition:.25s;
}

.social-links a:hover{
    background:#1eb0bc;
    color:white;
}

.social-links a:focus-visible {
    outline: 3px solid rgba(30, 176, 188, 0.35);
    outline-offset: 3px;
}
/*==========================
QUIÉNES SOMOS
==========================*/

.about{
    padding:80px 0 100px;
}

.about-grid{

    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));

    gap:70px 90px;

    margin-top:70px;
}

.professional-card{

    text-align:center;
}

.professional-card img{

    width:240px;
    height:240px;

    margin:0 auto 28px;

    border-radius:50%;

    object-fit:cover;
    object-position:center;
}

.professional-card h2{

    font-size:32px;
    font-weight:300;

    margin-bottom:22px;
}

.professional-card p{

    max-width:520px;

    margin:auto;

    text-align:justify;

    font-size:18px;

    line-height:1.8;
}
.curriculum {
    max-width: 500px;      /* ancho máximo del texto */
    margin: 0 auto;        /* centra el bloque */
    text-align: justify;   /* justifica el texto */
    line-height: 1.8;
    font-size: 18px;
}
.descripciones{
    max-width: 1200px;      /* ancho máximo del texto */
    margin: 0 auto;        /* centra el bloque */
    text-align: justify;   /* justifica el texto */
    line-height: 1.8;
    font-size: 18px;

}
/*==========================
Services
==========================*/
.evaluations-page {
    padding: 80px 0 100px;
}

.evaluation-block {
    margin-top: 70px;
    overflow: hidden;
}

.evaluation-block h2 {
    color: #1eb0bc;
    font-size: 34px;
    font-weight: 300;
    margin-bottom: 25px;
}

.evaluation-block img {
    float: left;
    width: 340px;
    max-width: 45%;
    height: auto;
    margin: 0 35px 20px 0;
    border-radius: 6px;
}

.evaluation-block:nth-of-type(even) img {
    float: right;
    margin: 0 0 20px 35px;
}

.evaluation-block p {
    font-size: 19px;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 18px;
}
/* RESPONSIVE */

@media (max-width: 900px) {
    .header-inner {
        min-height: auto;
        padding: 25px 0;

        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 20px;
    }

    .logo img {
        width: 280px;
        max-width: 100%;
        height: auto;
    }
    .logo {
        width: 100%;
        padding-right: 70px;
    }
    .menu-button {
        display: block;
        position: absolute;
        right: 20px;
        top: 25px;

        width: 54px;
        height: 54px;
        border: none;
        background: #1eb0bc;
        color: #fff;
        font-size: 26px;
        cursor: pointer;
    }

    .navbar {
        display: none;
        width: 100%;
        flex: none;

        flex-direction: column;
        align-items: stretch;

        gap: 0;
        margin: 0;
        white-space: normal;
    }

    .navbar.open{
        display:flex;
    }

    .navbar > a,
    .nav-dropdown > a {
    display: block;
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid #e6e6e6;
    }

    .navbar > a::after,
    .nav-dropdown > a::after {
    display: none;
    }

    .nav-dropdown {
    position: relative;
    width: 100%;
    padding-bottom: 0;
    }

    /* Dropdown cerrado */

    .dropdown-menu {
    position: static;
    width: 100%;
    transform: none;

    background: #1eb0bc;
    text-align: left;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    max-height: 0;
    overflow: hidden;

    transition:
        max-height 0.3s ease,
        opacity 0.2s ease,
        visibility 0.2s ease;
    }

    /* Dropdown abierto por JavaScript */

    .nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: 400px;
    }

    .dropdown-menu a {
    display: block;
    width: 100%;
    padding: 13px 25px;

    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .dropdown-menu a:hover {
    background: #fff;
    color: #1eb0bc;
    }

    .hero {
        height: 360px;
    }

    .welcome-text {
        font-size: 24px;
    }

    .therapy-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    /* Services */
    .evaluation-block img,
    .evaluation-block:nth-of-type(even) img {
        float: none;
        display: block;
        width: 100%;
        max-width: 450px;
        margin: 0 auto 30px;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .professional-card p,
    .curriculum {
        text-align: left;
    }
}

@media (max-width: 560px) {
    .hero {
        height: 260px;
    }

    .welcome-text {
        font-size: 20px;
    }

    .section-title {
        font-size: 34px;
    }

    .section-description {
        font-size: 17px;
    }

    .therapy-grid {
        grid-template-columns: 1fr;
    }

    .therapy-card {
        text-align: center;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 10px;
    }
}