/*
    Theme Name: Fernando Molina
    Theme URI: 
    Author: Fernando Molina Torres
    Author URI: http://fernandomolina.es
    Description: Theme Diseñado para Fernando Molina
    Version: 1.0
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Tags: Fernando Molina, dental, flexbox, css grid, mobile first
    Text Domain: fernandomolina
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap&family=Lato:wght@400;700;900&family=Merriweather+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
    /** Fuentes **/

    --fuente-principal: 'Poppins', sans-serif;
    --fuente-secundaria: 'Arial', sans-serif;
    --fuente-terciaria: 'Lato', sans-serif;

    /* Colores */
    --primario: #06769B;
    --primario-claro: #5CA5C5; 
    --primario-oscuro: #045A70;
    --secundario: #5B9DBE;
    --secundario-oscuro: #357E9B;
    --terciario: #056482;
    --gris-oscuro: #495057;
    --gris-claro: #E9ECEF;
    --blanco: #fff;
    --negro: #000;
    --naranja: #F57C00;
    --naranja-oscuro: #DC6F00;
    --amarillo: #FFEB3B;
}

html {
    box-sizing: border-box;
    font-size: 62.5%;
}

*, *:before, *:after {
box-sizing: inherit;
}

body {
    font-family: var(--fuente-principal);
    font-size: 1.8rem;
    line-height: 2;
}

body, html {
    overflow-x: hidden; 
}

/** Headins */
h1, h2, h3, h4, h5 {
    font-family: var(--fuente-principal);
    margin: 2rem 0;
    line-height: 1.2;
}

/* Estilos específicos para cada encabezado */
/* Título h1 */
h1 {
    font-size: 3.6rem;
}

@media (min-width: 768px) {
    h1 {
        font-size: 5rem; 
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: 6rem; 
    }
}

/* Título h2 */
h2 {
    font-family: var(--fuente-secundaria); 
    font-size: 3rem;
    font-weight: 800;
}

@media (min-width: 768px) {
    h2 {
        font-size: 4rem;
    }
}

@media (min-width: 1024px) {
    h2 {
        font-size: 4.8rem;
    }
}

/* Título h3 */
h3 {
    font-family: var(--fuente-terciaria);
    font-size: 2.4rem; 
    font-weight: 700;
}

@media (min-width: 768px) {
    h3 {
        font-size: 3rem; 
    }
}

@media (min-width: 1024px) {
    h3 {
        font-size: 3.6rem; 
    }
}

/* Título h4 */
h4 {
    font-size: 2rem; 
}

@media (min-width: 768px) {
    h4 {
        font-size: 2.4rem;
    }
}

/* Título h5 */
h5 {
    font-size: 1.8rem;
}

@media (min-width: 768px) {
    h5 {
        font-size: 2rem; 
    }
}


/* Globales */
p {
    margin: 0;
    font-size: 1.8rem;
}

a {
    text-decoration: none;
    color: var(--primario-oscuro);
    font-weight: 500;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.contenedor {
    width: min(95%, 120rem);
    margin: 0 auto;
}

.contenedor-grande {
    width: min(95%, 140rem);
    margin: 0 auto;
}

.contenedor-margin {
    width: min(95%, 120rem);
    margin: 2rem auto;
}

.contenedor-small {
    width: min(95%, 90rem);
    margin: 0 auto;
}

.contenedor-extra-small {
    width: min(95%, 60rem);
    margin: 0 auto;
}
.contenedor-formulario {
    width: min(95%, 80rem);
    margin: 0 auto;
}

.boton {
    background-color: var(--primario);
    color: var(--blanco);
    padding: 1rem 2rem;
    border-radius: .5rem;
    display: inline-block;
    transition: all .3s ease-in-out;
    font-weight: 700;
    text-align: center;
    position: sticky;
    z-index: 9;
}

.boton:hover {
    background-color: var(--primario-oscuro);
}

.boton-cta {
    background-color: var(--naranja);
    color: var(--blanco);
    padding: 1rem 2rem;
    border-radius: .5rem;
    display: inline-block;
    transition: all .3s ease-in-out;
    font-weight: 700;
    text-align: center;
}

.boton-cta:hover {
    background-color: var(--naranja-oscuro);
}

/* Estilos base para textos primarios y secundarios */
.text-primary, .text-primary-small {
    font-family: var(--fuente-principal);
    font-weight: 900;
    color: white;
    font-size: 3rem;
    line-height: 1.2;
    -webkit-text-stroke: 1.5px #07769b;
    text-stroke: 1.5px #07769b;
    padding: 0;
}

/* Ajustes para pantallas medianas (tabletas) */
@media (min-width: 768px) {
    .text-primary {
        font-size: 4.8rem; 
        -webkit-text-stroke: 2px #07769b;
        text-stroke: 2px #07769b;
    }

    .text-primary-small {
        font-size: 3.6rem; 
    }
}

/* Ajustes para pantallas grandes (escritorios) */
@media (min-width: 1024px) {
    .text-primary {
        font-size: 6rem; 
    }

    .text-primary-small {
        font-size: 4.2rem; 
    }
}

.text-azul {
    -webkit-text-stroke: 1.5px var(--primario);
    color: var(--blanco);
    font-weight: 800;
    font-size: clamp(3.4rem, 4vw, 5rem); 
}

@media (min-width: 768px) {
    .text-azul {
        -webkit-text-stroke: 2px #06769B;
    }
}

.text-blanco {
    color: var(--blanco);
}

.text-center {
    text-align: center;
}

.text-fluido {
    font-size: clamp(3rem, 12vw, 6rem);
}

@media (min-width:1024px) {
    .text-fluido {
        font-size: clamp(3rem, 10vw, 9rem);
    }
}
.text-fluido-medium {
    font-size: clamp(4rem, 5vw, 8rem);
}


.text-fluido-small {
    font-size: clamp(3rem, 3vw, 6rem);
}

@media (min-width:1024px) {
    .text-fluido-small {
        font-size: clamp(3rem, 2.5vw, 6rem);
    }
}

.text-fluido-extra-small {
    font-size: clamp(2rem, 2vw, 3rem);
}

@media (min-width:1024px) {
    .text-fluido-extra-small {
        font-size: clamp(2rem, 2vw, 3rem);
    }
}

.text-margin {
    margin: 2rem auto;
}

.text-margin-big {
    margin: 2rem auto 8rem auto;
}
/*
.text-stroke {
    font-family: Arial Black;
    letter-spacing: 0px;
    font-size: 50px;
    -webkit-text-stroke: 2px #06769B;
    color: #FFFFFF;
}
*/
.margin-bottom {
    margin-bottom: 4rem;
}

.mayuscula {
    text-transform: uppercase; 
}

.h2-small, .h3-small {
    font-family: var(--fuente-secundaria);
    color: var(--negro);
}

.h2-small {
    font-size: 2.6rem; 
}

@media (min-width: 768px) {
    .h2-small {
        font-size: 3.2rem; 
    }
}

/* Estilo para .h3-small */
.h3-small {
    font-size: 2.2rem; 
}

@media (min-width: 768px) {
    .h3-small {
        font-size: 2.6rem; 
    }
}

/*
.subrayado {
    text-decoration: underline;
    text-decoration-color: var(--primario);
    text-decoration-thickness: 3px; 
} 
*/

.subrayado {
    position: relative;
    display: inline-block;
    padding: 1rem .2rem;
    transition: all .3s ease;
}
.subrayado:hover {
    color: white;
}
.subrayado::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primario);
    transition: all .3s ease;
    z-index: -1;
}
.subrayado:hover::before {
    height: 100%;
}
.subrayado::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primario);
    transition: all .3s ease;
    z-index: -1;
}
.subrayado:hover::after {
    height: 100%;
}

.centrado {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.aligncenter {
    margin: 0 auto;
}

/* Fondos */
.fondo-azul {
    background-color: var(--secundario);
    padding: 4rem 2rem;
    position: relative;
}

.fondo-gris {
    padding: 4rem 2rem;
    background-color: #f5f5f5;
}

/* Línea divisoria */
.linea-divisoria {
    border: none;
    border-top: 1px dashed var(--primario);
    margin: 20px 0;
    width: 100%;
}

.divisor {
    height: 2px;
    background: #e0e0e0;
    margin: 2rem 0;
}

/* Botón Linkedin */
button {
    position: relative;
    width: 130px;
    height: 35px;
    border-radius: 30px;
    background-color: white;
    border: 1px var(--blanco) solid;
    overflow: hidden;
}

.text1 {
    font-size: 15px;
    font-weight: 600;
    margin-left: 22%;
}

.text2 {
    position: absolute;
    top: 25%;
    left: -50px;
    font-weight: 700;
    font-size: 14px;
    color: white;
}

.icon-linkedin {
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.5s;
}

.icon-linkedin::before {
    position: absolute;
    left: -100px;
    top: 0;
    z-index: -1;
    content: '';
    width: 130px;
    height: 33px;
    border-radius: 30px;
    background-color: #2867b2;
}

button:hover .icon-linkedin {
    transform: translateX(96px);
    transition: transform 0.5s;
    cursor: pointer;
}

button:hover .text2 {
    transform: translateX(100px);
    transition: transform 0.6s;
}

button:active {
    transform: scale(1.03);
}

/* Texto oculto (Accesibilidad) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Banner Cookies */
.cmplz-cookiebanner .cmplz-header {
    text-align: center;
}

/* Enlaces */
.enlace-negro {
    color: var(--negro);
    font-weight: 400;
}