/* =====================================================
   VARIABLES
===================================================== */

.stars {
        color: #D4AF37;
        font-size: 25px;
        letter-spacing: 3px;
    } 

:root {

    --navy: #150e37;

    --navy-dark: #0b0b38;

    --turquoise: #70d9df;

    --turquoise-light: #dff8fa;

    --turquoise-section: #b7edf0;

    --purple: #c994ff;

    --green: #7fae7c;

    --white: #ffffff;

    --black: #111111;

    --gray: #666666;

    --light-gray: #f6f8f8;

}


/* =====================================================
   RESET
===================================================== */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

    scroll-padding-top: 100px;

}


body {

    font-family:
        "Overpass",
        sans-serif;

    font-weight: 400;

    color: var(--navy);

    overflow-x: hidden;

}


a {

    text-decoration: none;

    color: inherit;

}


img {

    max-width: 100%;

    display: block;

}


button {

    font-family: inherit;

}


/* =====================================================
   CONTENEDOR
===================================================== */

.main-container {

    width: 100%;

    max-width: 1280px;

    margin: auto;

    padding-left: 30px;

    padding-right: 30px;

}


/* =====================================================
   HEADER
===================================================== */

.header {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 135px;

    z-index: 1000;

    background: transparent;

    transition:
        height .35s ease,
        background-color .35s ease,
        box-shadow .35s ease;

}


/* HEADER DESPUÉS DEL SCROLL */

.header.scrolled {

    height: 100px;

    background:
        rgba(255,255,255,.97);

    box-shadow:
        0 3px 18px rgba(0,0,0,.10);

    backdrop-filter:
        blur(8px);

}


/* =====================================================
   NAV
===================================================== */

.nav-container {

    width: 100%;

    max-width: 1280px;

    height: 100%;

    margin: auto;

    padding:
        0 30px;

    display: flex;

    align-items: center;

}


/* =====================================================
   LOGO
===================================================== */

.logo {

    display: flex;

    align-items: center;

    flex-shrink: 0;

}


.logo img {

    width: 225px;

    height: auto;

    transition:
        width .35s ease;

}


.header.scrolled .logo img {

    width: 190px;

}


/* =====================================================
   MENU
===================================================== */

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;

    margin-left: auto;
    margin-right: auto;
}


.nav-menu a {

    color: var(--navy);

    font-family: "Sora";

    font-size: 16px;

    font-weight: 600;

    white-space: nowrap;

    transition:
        color .25s ease;

}


.nav-menu a:hover {

    color: #55bfc7;

}


/* =====================================================
   REDES
===================================================== */

.social-menu {

    display: flex;

    align-items: center;

    gap: 27px;

}


.social-menu a {

    font-size: 19px;

    color: var(--navy);

    transition:
        transform .25s ease,
        color .25s ease;

}


.social-menu a:hover {

    color: #55bfc7;

    transform:
        translateY(-2px);

}


/* =====================================================
   HERO
===================================================== */

.hero {

    min-height: 665px;

    padding-top: 220px;

    background:

        linear-gradient(
            110deg,
            #ffffff 0%,
            #effcfc 18%,
            #d2f5f6 38%,
            #a8e9ed 62%,
            #71d8df 100%
        );

}


/* =====================================================
   HERO CONTENT
===================================================== */

.hero-content h1 {

    max-width: 1200px;

    font-size: 41px;

    line-height: 1.04;

    font-family: "Sora";

    font-weight: 500;

    letter-spacing: 0px;

    color: var(--navy);

    margin-bottom: 28px;

}


.hero-content p {

    max-width: 1160px;

    font-size: 20px;

    line-height: 1.75;

    font-weight: 400;

    color: var(--navy);

}


/* =====================================================
   ABOUT
===================================================== */

.about-section {

    margin-top: 88px;

    display: grid;

    grid-template-columns:
        1.65fr
        1fr;

    align-items: center;

    gap: 70px;

    padding-bottom: 70px;

}


/* =====================================================
   ABOUT TEXTO
===================================================== */

.about-text h2 {

    font-size: 41px;

    line-height: 1.1;

    font-family: "Sora";

    font-weight: 500;

    margin-bottom: 70px;

}


.about-description {

    max-width: 860px;

}


.about-description p {


    font-size: 20px;

    line-height: 1.38;

    color: #101010;

    margin-bottom: 4px;

}


.about-description strong {

    font-weight: 700;

}


/* =====================================================
   ABOUT IMAGEN
===================================================== */

.about-image-container {

    position: relative;

    display: flex;

    justify-content: center;

    align-items: center;

}


.doctor-image {

    width: 330px;

    height: 330px;

    overflow: hidden;

    border-radius: 14px;

    position: relative;

    z-index: 2;

}


.doctor-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


/* =====================================================
   LINEA MORADA
===================================================== */

.purple-line {

    position: absolute;

    width: 310px;

    height: 120px;

    top: -40px;

    left: 0;

    border-top:
        6px solid var(--purple);

    border-radius:
        60% 40% 0 0;

    transform:
        rotate(-28deg);

    z-index: 1;

}


/* =====================================================
   MISION / VISION
===================================================== */

.mission-section {

    background:
        #b6edf0;

    padding:
        65px 0 75px;

}


.mission-grid {

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 100px;

}


.mission-card {

    text-align: center;

}


.mission-icon {

    width: 65px;

    height: 65px;

    margin:
        0 auto 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        rgba(255,255,255,.45);

    color:
        var(--navy);

    font-size: 25px;

}


.mission-card h2 {

    font-size: 52px;

    line-height: 1.1;

    font-family: "Sora";

    font-weight: 500;

    margin-bottom: 22px;

}


.mission-card p {

    max-width: 480px;

    margin: auto;

    font-size: 18px;

    line-height: 1.65;

    color: #171717;

}


/* =====================================================
   SERVICIOS
===================================================== */

.services-section {

    padding:
        60px 0 60px;

    background:
        #ffffff;

}


.section-heading {

    max-width: 800px;

    margin:
        0 auto 65px;

    text-align: center;

}


.section-heading span,
.section-label {

    display: block;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 2px;

    color:
        #63aeb3;

    margin-bottom: 16px;

}


.section-heading h2 {

    font-size: 52px;

    font-family: "Sora";

    font-weight: 500;

    margin-bottom: 20px;

    letter-spacing: -1px;

}


.section-heading p {

    font-size: 18px;

    line-height: 1.65;

    color: #555;

}


/* =====================================================
   TESTIMONIOS
===================================================== */

.testimonios-section {

    padding:
        50px 0 50px;

    background:
        #ffffff;

}


.testimonios-heading {

    max-width: 800px;

    margin:
        0 auto 65px;

    text-align: center;

}


.testimonios-heading span,
.testimonios-label {

    display: block;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 2px;

    color:
        #63aeb3;

    margin-bottom: 16px;

}


.testimonios-heading h2 {

    font-size: 52px;

    font-family: "Sora";

    font-weight: 500;

    margin-bottom: 20px;

    letter-spacing: -1px;

}


.testimonios-heading p {

    font-size: 18px;

    line-height: 1.65;

    color: #555;

}


/* =====================================================
   GRID SERVICIOS
===================================================== */

.services-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 22px;

}


.service-card {

    min-height: 340px;

    padding:
        35px 28px;

    border:
        1px solid #e4eeee;

    border-radius: 18px;

    background:
        #ffffff;

    box-shadow:
        0 8px 30px rgba(17,40,50,.06);

    transition:
        transform .3s ease,
        box-shadow .3s ease;

}


.service-card:hover {

    transform:
        translateY(-8px);

    box-shadow:
        0 18px 40px rgba(17,40,50,.12);

}


.service-icon {

    width: 65px;

    height: 65px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 28px;

    border-radius: 15px;

    background:
        #ddf7f8;

    color:
        #3a9ba2;

    font-size: 27px;

}


.service-card h3 {

    font-size: 21px;

    line-height: 1.3;

    margin-bottom: 17px;

}


.service-card p {

    color: #666;

    font-size: 16px;

    line-height: 1.6;

    margin-bottom: 25px;

}


.service-link {

    font-size: 14px;

    font-weight: 700;

    color:
        #3b989e;

}


.service-link i {

    margin-left: 7px;

}


/* =====================================================
   EMPRESAS
===================================================== */

.companies-section {

    padding:
        60px 0;

    background:
        #dff7f8;

}


.companies-grid {

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 90px;

    align-items: center;

}


.companies-text h2 {

    font-family: "Sora";

    font-weight: 500;

    font-size: 50px;

    line-height: 1.08;

    margin-bottom: 30px;

}


.companies-text p {

    max-width: 550px;

    font-size: 18px;

    line-height: 1.7;

    color: #333;

    margin-bottom: 18px;

}


.companies-image {

    overflow: hidden;

    border-radius: 20px;

}


.companies-image img {

    width: 100%;

    height: 430px;

    object-fit: cover;

}


/* =====================================================
   BOTON
===================================================== */

.primary-button {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-top: 20px;

    padding:
        16px 27px;

    border-radius: 30px;

    background:
        var(--navy);

    color:
        white;

    font-size: 15px;

    font-weight: 700;

    transition:
        transform .25s ease,
        background .25s ease;

}


.primary-button:hover {

    transform:
        translateY(-2px);

    background:
        #222267;

}


/* =====================================================
   CONTACTO
===================================================== */

.contact-section {

    padding:
        50px 0;

    background:
        #ffffff;

}


.contact-box {

    display: grid;

    grid-template-columns:
        1.2fr
        .8fr;

    gap: 90px;

    padding:
        70px;

    border-radius: 25px;

    background:

        linear-gradient(
            120deg,
            #dff8fa,
            #b4eaed
        );

}


.contact-text h2 {

    font-family: "Sora";

    font-weight: 500;

    max-width: 650px;

    font-size: 41px;

    line-height: 1.1;

    margin-bottom: 25px;

}


.contact-text p {

    max-width: 600px;

    font-size: 18px;

    line-height: 1.65;

    color: #333;

}


/* =====================================================
   INFORMACION CONTACTO
===================================================== */

.contact-information {

    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 20px;

}


.contact-item {

    display: flex;

    align-items: center;

    gap: 18px;

}


.contact-icon {

    width: 55px;

    height: 55px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        white;

    color:
        var(--navy);

}


.contact-item strong {

    display: block;

    font-size: 14px;

    margin-bottom: 5px;

}


.contact-item span {

    display: block;

    font-size: 15px;

    color: #555;

}


/* =====================================================
   FOOTER
===================================================== */

.footer {

    padding:
        65px 0 25px;

    background:
        var(--navy);

    color:
        white;

}


.footer-grid {

    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1fr;

    gap: 70px;

    padding-bottom: 50px;

}


.footer-brand img {

    width: 190px;

    filter:
        brightness(0) invert(1);

    opacity: .9;

}


.footer-brand p {

    margin-top: 15px;

    color: #b8d9da;

    font-size: 14px;

}


.footer-links {

    display: flex;

    flex-direction: column;

    gap: 12px;

}


.footer-links h3,
.footer-social h3 {

    margin-bottom: 10px;

    font-size: 17px;

}


.footer-links a {

    color: #c6dddd;

    font-size: 14px;

    transition:
        color .2s ease;

}


.footer-links a:hover {

    color: white;

}


.footer-social > div {

    display: flex;

    gap: 18px;

}


.footer-social a {

    width: 40px;

    height: 40px;

    border:
        1px solid rgba(255,255,255,.3);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    transition:
        background .25s ease;

}


.footer-social a:hover {

    background:
        rgba(255,255,255,.15);

}


.footer-bottom {

    border-top:
        1px solid rgba(255,255,255,.15);

    padding-top: 25px;

}


.footer-bottom p {

    color:
        #a9c5c7;

    font-size: 12px;

    text-align: center;

}


/* =====================================================
   BOTON FLOTANTE
===================================================== */

.floating-button {

    position: fixed;

    right: 30px;

    bottom: 30px;

    width: 54px;

    height: 54px;

    border: none;

    border-radius: 50%;

    background:
        #05051c;

    color:
        white;

    font-size: 18px;

    cursor: pointer;

    z-index: 900;

    box-shadow:
        0 5px 20px rgba(0,0,0,.25);

}


/* =====================================================
   MENU MOVIL
===================================================== */

.menu-button {

    display: none;

    margin-left: auto;

    width: 42px;

    height: 42px;

    border: none;

    background: transparent;

    cursor: pointer;

}


.menu-button span {

    display: block;

    width: 26px;

    height: 2px;

    margin: 5px auto;

    background:
        var(--navy);

    transition:
        transform .3s ease;

}


.mobile-menu {

    display: none;

}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1100px) {


    .nav-menu {

        gap: 18px;

        margin-right: 30px;

    }


    .nav-menu a {

        font-size: 15px;

    }


    .social-menu {

        gap: 15px;

    }


    .hero-content h1 {

        font-size: 41px;

    }


    .services-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


/* =====================================================
   TABLET PEQUEÑA
===================================================== */

@media (max-width: 850px) {


    .header {

        height: 90px;

    }


    .logo img {

        width: 180px;

    }


    .nav-menu,
    .social-menu {

        display: none;

    }


    .menu-button {

        display: block;

    }


    .hero {

        padding-top: 150px;

    }


    .hero-content h1 {

        font-size: 48px;

    }


    .about-section {

        grid-template-columns:
            1fr;

    }


    .about-image-container {

        margin-top: 30px;

    }


    .mission-grid {

        grid-template-columns:
            1fr;

        gap: 60px;

    }


    .companies-grid {

        grid-template-columns:
            1fr;

    }


    .contact-box {

        grid-template-columns:
            1fr;

        gap: 50px;

        padding: 50px;

    }


    .footer-grid {

        grid-template-columns:
            1fr
            1fr;

    }


    /* MENU MOVIL */

    .mobile-menu {

        position: fixed;

        top: 90px;

        left: 0;

        width: 100%;

        z-index: 999;

        display: flex;

        flex-direction: column;

        padding: 25px 30px;

        background:
            white;

        box-shadow:
            0 8px 20px rgba(0,0,0,.1);

        transform:
            translateY(-150%);

        transition:
            transform .35s ease;

    }


    .mobile-menu.active {

        transform:
            translateY(0);

    }


    .mobile-menu > a {

        padding: 16px 0;

        border-bottom:
            1px solid #eee;

        font-weight: 700;

    }


    .mobile-social {

        display: flex;

        gap: 25px;

        padding-top: 20px;

        font-size: 20px;

    }

}


/* =====================================================
   TELEFONO
===================================================== */

@media (max-width: 600px) {


    .main-container {

        padding-left: 20px;

        padding-right: 20px;

    }


    .header {

        height: 75px;

    }


    .header.scrolled {

        height: 70px;

    }


    .logo img {

        width: 150px;

    }


    .header.scrolled .logo img {

        width: 145px;

    }


    .mobile-menu {

        top: 75px;

    }


    .hero {

        padding-top: 120px;

        min-height: auto;

    }


    .hero-content h1 {

        font-size: 39px;

        letter-spacing: -1.2px;

    }


    .hero-content p {

        font-size: 18px;

        line-height: 1.55;

    }


    .about-section {

        margin-top: 65px;

    }


    .about-text h2 {

        font-size: 40px;

        margin-bottom: 35px;

    }


    .about-description p {

        font-size: 17px;

        line-height: 1.5;

    }


    .doctor-image {

        width: 280px;

        height: 280px;

    }


    .purple-line {

        width: 250px;

        left: 5px;

    }


    .mission-section {

        padding:
            55px 0;

    }


    .mission-card h2 {

        font-size: 40px;

    }


    .mission-card p {

        font-size: 16px;

    }


    .services-section,
    .companies-section,
    .contact-section {

        padding:
            75px 0;

    }


    .section-heading h2 {

        font-size: 40px;

    }


    .services-grid {

        grid-template-columns:
            1fr;

    }


    .companies-text h2 {

        font-size: 39px;

    }


    .companies-image img {

        height: 300px;

    }


    .contact-box {

        padding: 35px 25px;

        border-radius: 20px;

    }


    .contact-text h2 {

        font-size: 36px;

    }


    .footer-grid {

        grid-template-columns:
            1fr;

        gap: 40px;

    }


    .floating-button {

        right: 18px;

        bottom: 18px;

        width: 48px;

        height: 48px;

    }

}