:root{
    --Off-White: #FCFCFA;
    --carbon: #2C2E2D;
    --blanco: #FFFFFF;
    --beige: #F5F1EB;
    --Lino-Claro: #F4EFEA;
    --Verde-Salvia: #677B66;
}

/* Globales */
html{
    font-size: 62.5%;
    box-sizing: border-box;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

.seccion-hero,
.seccion-presentacion,
.seccion-captura,
footer{
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body{
    font-size: 16px;
    font-family: "Montserrat", sans-serif;
    background-color: var(--Off-White);
}

h1, h2, h3{
    font-family: "Cormorant Garamond", serif;
    color: var(--carbon);
}

p{
    line-height: 1.6;
    color: var(--carbon);
}

/* Botón */
.boton-principal {
    background-color: var(--Verde-Salvia);
    color: var(--blanco);
    padding: 1.4rem 3rem;
    margin-top: 2rem;
    font-size: 1.6rem;
    border-radius: .5rem;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;

    box-shadow: 0 8px 20px rgba(0,0,0,0.18),
                0 2px 6px rgba(0,0,0,0.08);
}

/* Tipografia */
h1{
    font-size: 3.8rem;
}
h2{
    font-size: 3rem;
}
h3{
    font-size: 3rem;
}

/* CONTENEDOR GLOBAL */
.container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 0 1.6rem;
}

/* HERO */
.seccion-hero {
    background-color: var(--Off-White);
    padding: 4rem 0 0 0;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 4rem;
}

.hero-contenido {
    max-width: 520px;
}

.text-hero{
    font-size: 2.5rem;
    font-style: italic;
    margin-bottom: .3rem;
}

.hero-contenido h1 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    line-height: 4rem;
}

.hero-contenido p {
    font-size: 1.6rem;
    line-height: 2.2rem;
    margin-top: 1.5rem;
}

.hero-descripcion{
    font-size: 1.7rem;
    line-height: 2.6rem;
    margin-top: 1.5rem;
    max-width: 46ch;
}

.hero-imagen {
    width: 400px;
    height: 400px;
    background-image: url(../img/Arni_M_M.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* PRESENTACIÓN */
.seccion-presentacion {
    background-color: var(--Off-White);
    padding: 3rem 0 1rem 0;
}

.presentacion-wrapper {
    max-width: 900px;
    margin: 0 auto;

    display: flex;
    align-items: center;

    gap: 3rem;
}

.presentacion-img{
    background-image: url(../img/Perfil_Arni.png);
    background-color: #d6cbc4;

    width: 180px;
    height: 180px;

    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

    border-radius: 50%;

    box-shadow: 
        10px 20px 40px rgba(0,0,0,0.18),
        4px 8px 16px rgba(0,0,0,0.10);

    flex-shrink: 0; /* importante */
}

.presentacion-texto h2{
    font-size: 3.2rem;
    margin-bottom: .5rem;
}

.presentacion-texto h3{
    font-size: 2rem;
    font-weight: 500;
}

.presentacion-texto p {
    margin-top: 1.5rem;
    line-height: 2.4rem;

    max-width: 57ch;
}

/* PROBLEMAS */
.seccion-problemas {
    background-color: var(--Lino-Claro);
    padding: 3rem 0 4rem 0;
    text-align: center;
}

.sub {
    margin-bottom: 3rem;
}

.problemas-lista {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    text-align: left;
}

.problemas-lista li {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* FORMULARIO */
.seccion-captura {
    border-top: 1px solid var(--Off-White);
    box-shadow: 0 -10px 20px rgba(0,0,0,0.03);
    background-color: var(--Off-White);
    padding: 4rem 0 1rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tarjeta-formulario{
    max-width: 700px;
    margin: 0 auto;
    background: var(--blanco);
    padding: 5rem;
    border-radius: .8rem;
    box-shadow: 0px 10px 30px rgba(0,0,0,0.05);
}

form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 400px;
    margin: 3rem auto;
}

input {
    padding: 1.2rem;
    border: 1px solid #ccc;
    border-radius: 5px;

    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

button {
    border: none;
    cursor: pointer;
}

/* CIERRE */
.footer-texto {
    text-align: center;
    padding: 1rem 2rem 1rem 2rem;
    background: var(--Off-White);
}

.footer-texto .italic {
    font-style: italic;
    font-size: 2.5rem;
    line-height: 3rem;
    font-family: "Cormorant Garamond", serif;
    margin-bottom: 2rem;
}

.footer-texto .autor {
    margin-top: 0;
    font-size: 1.8rem;
}

.ola-footer {
    background: var(--beige);
    clip-path: ellipse(100% 80% at 50% 100%);
    padding: 6rem 2rem 2rem 2rem;
    text-align: center;
}

.copyright {
    margin: 0;
    font-size: 1.5rem;
}

/* WHATSAPP */
.whatsapp-flotante {
    position: fixed;
    bottom: 10rem;
    right: 2rem;
    background: var(--Verde-Salvia);
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 50%;
    
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;

    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* BURBUJA */
.whatsapp-flotante::after {
    content: "Agenda tu cita o\A resuelve dudas aquí";
    position: absolute;
    right: 7rem;
    background: var(--beige);
    padding: 1rem 1.4rem;
    border-radius: 1rem;
    font-size: 1.4rem;
    white-space: pre-line;
    line-height: 1.8rem;
    text-align: center;
    width: 17rem;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);

    opacity: 1; /* SIEMPRE visible */
    color: var(--carbon);
}

.whatsapp-flotante::before {
    content: "";
    position: absolute;
    right: 5.8rem;
    width: 0;
    height: 0;
    border-top: .8rem solid transparent;
    border-bottom: .8rem solid transparent;
    border-left: 1rem solid #f3efe9;
}


@media (max-width: 768px){
.hero-wrapper{
    flex-direction: column;
    text-align: center;
}

.hero-contenido{
    width: 100%;
    padding: 0 1rem;
}

.text-hero{
    font-size: 1.8rem;
}

.hero-contenido h1{
    font-size: 2.4rem;
    line-height: 3rem;
}

.hero-contenido p{
    font-size: 1.5rem;
    line-height: 2.4rem;
    max-width: 32ch;
    margin-left: auto;
    margin-right: auto;
}

.hero-descripcion{
    text-align: justify;
}

.hero-imagen{
    width: 260px;
    height: 200px;
    margin-top: 1rem;
}

/* PRESENTACIÓN */
.presentacion-wrapper {
    flex-direction: column-reverse;
    text-align: center;
}

.presentacion-img{
    margin-bottom: 1.5rem;
}

.presentacion-texto{
    width: 100%;
    text-align: center;
}

.presentacion-texto h2{
    font-size: 2.5rem;
}

.presentacion-texto h3{
    font-size: 2rem;
}

.presentacion-texto p{
    font-size: 1.4rem;
    line-height: 2.3rem;

    max-width: 34ch;
    margin-left: auto;
    margin-right: auto;

    text-align: justify;
}

/* PROBLEMAS */
.problemas-lista{
    grid-template-columns: 1fr;
    justify-items: center;
}

.problemas-lista li{
    max-width: 30rem;
    width: 100%;
}

.seccion-problemas h2{
    font-size: 2.5rem;
}

.sub{
    font-size: 1.4rem;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0 0.5rem;

    text-align: center;
}

.seccion-problemas{
    scroll-snap-align: center;
    scroll-snap-stop: always;
}


/* FORMULARIO */
.tarjeta-formulario{
    padding: 3rem 2rem;
}

.tarjeta-formulario p{
    padding: 0;
    margin: 2rem 0 1.5rem 0;
}

.text-form{
    text-align: justify;
    text-justify: inter-word;
}

.text-btn{
    padding-top: 0;
    padding-bottom: 0;
}

form{
    max-width: 100%;
}

/* WHATSAPP BURBUJA */
.whatsapp-flotante::after,
.whatsapp-flotante::before{
    display: none;
}

}