:root {
            --principal: #075d69;
            --principal-oscuro: #064852;
            --principal-claro: #e6f3f3;
            --texto: #14363c;
            --texto-suave: #607579;
            --fondo: #f5f9f8;
            --blanco: #ffffff;
            --linea: #dbe8e6;
            --whatsapp: #25d366;
            --sombra:
                0 20px 50px rgba(14, 53, 59, 0.11);
            --sombra-suave:
                0 12px 30px rgba(14, 53, 59, 0.08);
            --radio: 22px;
            --radio-grande: 30px;
            --contenedor:
                min(1180px, calc(100% - 40px));
        }


        * {
            box-sizing: border-box;
        }


        html {
            scroll-behavior: smooth;
        }


        body {
            margin: 0;
            color: var(--texto);
            background: var(--fondo);
            font-family:
                Arial,
                Helvetica,
                sans-serif;
            line-height: 1.6;
        }


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


        a {
            color: inherit;
        }


        .contenedor {
            width: var(--contenedor);
            margin-left: auto;
            margin-right: auto;
        }


        .boton {
            min-height: 49px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 12px 21px;
            border: 1px solid transparent;
            border-radius: 999px;
            color: var(--blanco);
            background: var(--principal);
            font-weight: bold;
            text-decoration: none;
            transition:
                transform 0.2s ease,
                background 0.2s ease;
        }


        .boton:hover {
            transform: translateY(-2px);
            background: var(--principal-oscuro);
        }


        

        /*
        |--------------------------------------------------------------------------
        | Presentación
        |--------------------------------------------------------------------------
        */

        .presentacion {
            position: relative;
            overflow: hidden;
            padding: 95px 0;
            color: var(--blanco);
            background:
                radial-gradient(
                    circle at 83% 18%,
                    rgba(100, 220, 210, 0.35),
                    transparent 26%
                ),
                linear-gradient(
                    135deg,
                    #073b47,
                    #075d69 58%,
                    #11838c
                );
        }


        .presentacion::after {
            content: "";
            position: absolute;
            right: -110px;
            bottom: -180px;
            width: 450px;
            height: 450px;
            border: 70px solid rgba(255, 255, 255, 0.06);
            border-radius: 50%;
        }


        .presentacion-contenido {
            position: relative;
            z-index: 2;
            max-width: 860px;
        }


        .miga {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 9px;
            margin-bottom: 24px;
            color: rgba(255, 255, 255, 0.73);
            font-size: 0.87rem;
        }


        .miga a {
            color: var(--blanco);
            text-decoration: none;
        }


        .miga a:hover {
            text-decoration: underline;
        }


        .etiqueta {
            margin: 0 0 12px;
            color: #acece7;
            font-size: 0.77rem;
            font-weight: bold;
            letter-spacing: 0.14em;
            text-transform: uppercase;
        }


        .presentacion h1 {
            margin: 0;
            font-size: clamp(2.7rem, 6vw, 5rem);
            line-height: 1;
            letter-spacing: -0.05em;
        }


        .presentacion p {
            max-width: 720px;
            margin: 22px 0 0;
            color: rgba(255, 255, 255, 0.85);
            font-size: 1.09rem;
        }


        /*
        |--------------------------------------------------------------------------
        | Profesionales de salud
        |--------------------------------------------------------------------------
        */

        .seccion {
            padding: 85px 0 95px;
        }


        .encabezado {
            max-width: 780px;
            margin-bottom: 42px;
        }


        .encabezado .etiqueta {
            color: var(--principal);
        }


        .encabezado h2 {
            margin: 0;
            font-size: clamp(2rem, 4vw, 3.4rem);
            line-height: 1.08;
            letter-spacing: -0.04em;
        }


        .encabezado p {
            margin: 17px 0 0;
            color: var(--texto-suave);
            font-size: 1.02rem;
        }


        .profesionales-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 22px;
        }


        .profesional {
            display: flex;
            flex-direction: column;
            overflow: hidden;
            border: 1px solid var(--linea);
            border-radius: var(--radio);
            background: var(--blanco);
            box-shadow: var(--sombra-suave);
            transition:
                transform 0.25s ease,
                box-shadow 0.25s ease;
        }


        .profesional:hover {
            transform: translateY(-6px);
            box-shadow: var(--sombra);
        }


        .profesional-foto {
            position: relative;
            min-height: 285px;
            display: grid;
            place-items: center;
            overflow: hidden;
            pointer-events: none;
            background:
                radial-gradient(
                    circle at 30% 20%,
                    rgba(255, 255, 255, 0.82),
                    transparent 25%
                ),
                linear-gradient(
                    145deg,
                    #dcefee,
                    #b5d9d8
                );
        }


        .profesional-foto::after {
            content: "";
            position: absolute;
            inset: 0;
            background:
                linear-gradient(
                    180deg,
                    transparent 55%,
                    rgba(5, 55, 64, 0.2)
                );
        }


        .profesional-foto img {
            position: absolute;
            z-index: 2;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }


        .profesional-iniciales {
            position: relative;
            z-index: 1;
            width: 120px;
            height: 120px;
            display: grid;
            place-items: center;
            border: 9px solid rgba(255, 255, 255, 0.6);
            border-radius: 50%;
            color: var(--blanco);
            background: var(--principal);
            font-size: 2rem;
            font-weight: bold;
            box-shadow:
                0 18px 40px rgba(7, 93, 105, 0.25);
        }


        .profesional-contenido {
            flex: 1;
            display: flex;
            flex-direction: column;
            padding: 25px;
        }


        .profesional-contenido h3 {
            margin: 0;
            font-size: 1.2rem;
            line-height: 1.3;
        }
        
        .profesion-salud {
            width: fit-content;
            display: inline-flex;
            margin-top: 10px;
            padding: 5px 10px;
            border: 1px solid #c7e2e4;
            border-radius: 999px;
            color: var(--principal);
            background: var(--principal-claro);
            font-size: 0.74rem;
            font-weight: bold;
            line-height: 1.3;
        }


        .especialidad {
            display: block;
            margin-top: 7px;
            color: var(--principal);
            font-size: 0.9rem;
            font-weight: bold;
            text-decoration: none;
        }


        .especialidad:hover {
            text-decoration: underline;
        }


        .profesional-contenido p {
            margin: 14px 0 23px;
            color: var(--texto-suave);
            font-size: 0.92rem;
        }


        .profesional-enlace {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-top: auto;
            color: var(--principal);
            font-weight: bold;
            text-decoration: none;
        }


        .profesional-enlace:hover {
            text-decoration: underline;
        }


        /*
        |--------------------------------------------------------------------------
        | Mensaje de orientación
        |--------------------------------------------------------------------------
        */

        .orientacion {
            margin-top: 50px;
            padding: 36px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 30px;
            border-radius: var(--radio);
            color: var(--blanco);
            background: var(--principal);
            box-shadow: var(--sombra);
        }


        .orientacion h2 {
            margin: 0 0 7px;
            font-size: 1.65rem;
        }


        .orientacion p {
            margin: 0;
            color: rgba(255, 255, 255, 0.81);
        }


        .orientacion .boton {
            flex: none;
            color: var(--principal);
            background: var(--blanco);
        }


        .orientacion .boton:hover {
            background: var(--principal-claro);
        }


        /*
        |--------------------------------------------------------------------------
        | Footer
        |--------------------------------------------------------------------------
        */

        .pie {
            padding: 48px 0 25px;
            color: rgba(255, 255, 255, 0.75);
            background: #082f37;
        }


        .pie-grid {
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr;
            gap: 40px;
        }


        .pie h3 {
            margin: 0 0 13px;
            color: var(--blanco);
            font-size: 1rem;
        }


        .pie p {
            max-width: 500px;
            margin: 0;
            font-size: 0.9rem;
        }


        .pie-enlaces {
            display: grid;
            gap: 8px;
        }


        .pie-enlaces a {
            font-size: 0.9rem;
            text-decoration: none;
        }


        .pie-enlaces a:hover {
            color: var(--blanco);
            text-decoration: underline;
        }


        .pie-inferior {
            margin-top: 35px;
            padding-top: 21px;
            border-top:
                1px solid rgba(255, 255, 255, 0.12);
            font-size: 0.82rem;
        }


        /*
        |--------------------------------------------------------------------------
        | WhatsApp
        |--------------------------------------------------------------------------
        */

        .whatsapp-flotante {
            position: fixed;
            z-index: 1400;
            right: 20px;
            bottom: 20px;
            min-height: 55px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 12px 19px;
            border-radius: 999px;
            color: #063416;
            background: var(--whatsapp);
            font-weight: bold;
            text-decoration: none;
            box-shadow:
                0 18px 40px rgba(37, 211, 102, 0.32);
        }


        /*
        |--------------------------------------------------------------------------
        | Responsive
        |--------------------------------------------------------------------------
        */

        @media (max-width: 950px) {

            


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


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


            .pie-grid > div:first-child {
                grid-column: 1 / -1;
            }

        }


        @media (max-width: 620px) {

            :root {
                --contenedor:
                    min(100% - 28px, 1180px);
            }


            

            .presentacion {
                padding: 72px 0;
            }


            .seccion {
                padding: 65px 0 75px;
            }


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


            .orientacion {
                display: block;
                padding: 28px 23px;
            }


            .orientacion .boton {
                width: 100%;
                margin-top: 22px;
            }


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


            .pie-grid > div:first-child {
                grid-column: auto;
            }


            .whatsapp-flotante {
                right: 14px;
                bottom: 14px;
                width: 55px;
                padding: 0;
                font-size: 0;
            }

        }
