
:root {
    --orange: #383d31;
    --softorange: #fffffd;
    --cremita: #e1dad0;
    --cremita2: #fdfaf8;
}

.color_cremita2 {
    color: var(--cremita2);
}

body {
    background-color: rgb(255, 255, 255);
    /* color: var(--cremita); */
    color: white;
    font-family: 'Raleway', sans-serif;
}

button {
    font-family: 'Raleway', sans-serif !important;
}

.bg1 {
    background-color: var(--orange);
}

.mw900 {
    max-width: 900px;
    margin: auto;
}

.text_color1 {
    color: #e7ddd3;
}
/* ************************************************************************** */
/* ************************************************************************** */

.navbar-custom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;

    transform: translateY(0);
    transition: transform 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease;
    opacity: 1;
}

/* ocultar al scrollear */
.navbar-hidden {
    transform: translateY(-100%);
    opacity: 0;
}

/* opcional: sombra cuando está activa */
.navbar-active {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* contenedor interno */
.navbar-inner{
    position: relative;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* texto/logo mobile izquierdo */
.navbar-brand-mobile{
    display: none;
    color: white;
    text-decoration: none;
    font-weight: 600;
}

/* menú desktop */
.nav-menu{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6rem;
    text-align: center;
}

.nav-menu a{
    color: var(--cremita) !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.2rem;
}

.nav-menu a:hover{
    opacity: 0.85;
}

/* botón hamburguesa */
.nav-toggle{
    display: none;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    z-index: 10001;
}

.nav-toggle span{
    display: block;
    width: 26px;
    height: 2px;
    background: white;
    margin: 6px auto;
    transition: 0.25s ease;
}

/* animación a X */
.nav-toggle.active span:nth-child(1){
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2){
    opacity: 0;
}

.nav-toggle.active span:nth-child(3){
    transform: translateY(-8px) rotate(-45deg);
}

/* MOBILE */
@media (max-width: 1200px) {

    .navbar-inner{
        justify-content: flex-start;
        padding: 0 16px;
    }

    .navbar-brand-mobile{
        display: inline-block;
    }

    .nav-toggle{
        display: block;
    }

    .nav-menu{
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100vh;
        background: var(--green, #383d31);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.4rem;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: 0.25s ease;
        z-index: 10000;
    }

    .nav-menu.active{
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-menu a{
        font-size: 1.6rem;
        font-weight: 500;
        color: var(--cremita);
        text-decoration: none;
    }
}

/* DESKTOP */
@media (min-width: 1201px) {
    .nav-menu{
        position: static;
        height: auto;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        flex-direction: row;
        background: transparent;
    }
}

body.menu-open{
    overflow: hidden;
}

/* ************************************************************************** */
/* isotipo */
.navbar-isotipo{
    position: absolute;
    top: 50%;
    z-index: 10001;
    display: block;
    width: auto;
    height: 70px;
    transform: translateY(-50%);
}

/* MOBILE */
@media (max-width: 1200px) {
    .navbar-isotipo{
        left: 50%;
        height: 65px;
        transform: translate(-50%, -50%);
    }
}

/* DESKTOP */
@media (min-width: 1201px) {
    .navbar-isotipo{
        /* left: 0; */
        left: 1vw;
        height: 65px;
        transform: translateY(-50%);
    }
}

@media (min-width: 1400px) {
    .navbar-isotipo{
        left: 5vw;
    }
}

@media (min-width: 1600px) {
    .navbar-isotipo{
        left: 10vw;
    }
}

.navbar-inner{
    position: relative;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ************************************************************************** */
/* ************************************************************************** */

.fondo_svg1 {
    background-color: var(--orange);
    height: 10px;
}

/* 👇 esto es lo importante */
.wave-top {
    display: block;
    margin-top: -10px; /* mismo valor que el fondo */
    position: relative;
    z-index: 2;
}

/* ************************************************************************** */
/* ************************************************************************** */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    color: #e7ddd3;
    text-shadow: 0 0 5px #383d31;

    background-image: 
        linear-gradient(rgba(73, 73, 73, 0.3), rgba(99, 92, 92, 0.3)),
        url('../img/hero.avif');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .hero {
        background-image: 
        linear-gradient(rgba(73, 73, 73, 0.3), rgba(99, 92, 92, 0.3)),
        url('../img/hero_small.avif');
        background-position:  center;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 100vh; /* antes 90vh */
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
}

.hero-text {
    position: relative;
    width: 100%;
    padding-bottom: 120px; /* reserva espacio para la imagen abajo */
}

.hero-text-cont{
    line-height: 1em;
    font-size: 3.4em; 
}

@media (max-width: 450px) {

    .hero-text {
        padding-top: 40vh;
    }

    .hero-text-cont{
        line-height: 1.2em;
        font-size: 2.5em;
    }
}


.hero-isotipo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
    max-width: 120px; /* ajustalo si querés */
    height: auto;
}
/* ************************************************************************** */
/* ************************************************************************** */
/* SOMOS */

.somos{
    padding-top: 80px;
    padding-bottom: 50px;
}

.btn1 {
    background-color: var(--cremita);
    color: var(--orange);
    border-radius: 25px;
    border: 1px solid var(--softorange);
    font-weight: 600 !important;
    padding: 8px 45px;
    margin-top: 40px;
    margin-bottom: 50px;
    transition: 0.2s;
}

.btn1:hover{
    background-color: #5A5E53;
    border-color: #ffffff;
    color: white;
}


.contenedor_estrella{
    position: relative;
    height: 40px;
}

.estrella_svg{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: auto;
    display: block;
}

.s2{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.s2 > .mx-auto{
    margin-top: auto !important;
    margin-bottom: 130px;
}

/* ************************************************************************** */
/* ************************************************************************** */
/* QUE HACEMOS */

.s2 {
    position: relative; /* CLAVE */
    background-image: url('../img/fondo1.avif');
    background-position: center;
    background-size: cover;
    min-height: 800px;
    overflow: hidden; /* evita scroll raro */
    /* top: -4px; */
    background-color: #ffffff;

}

/* SVGs */
.s2 svg {
    display: block;
    width: 100%;
    height: auto;
}

/* SVG de abajo */
#comp-mmy6ytnw-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
}

.s2_cont {
    position: relative;
    z-index: 2;
    /* background color con transparencia: */
    background-color: rgb(56, 61, 49, 0.9);
    /* background-color: #383d31; */
    color: #e7ddd3;
    text-align: center;
    font-size: 1.5rem;
    padding: 20px 10px;
    margin: auto;
    margin-top: 50px;
    margin-bottom: 100px; /* ajustar según la altura del svg */
    max-width: 700px;
}

/* ************************************************************************** */
/* ************************************************************************** */
/* ALCANCE PROPUESTA */

.s3 {
    /* background-color: white; */
    background-color: var(--cremita);
    text-align: center;
    color: #383d31;
    padding-top: 50px;
    /* padding-bottom:20px; */
}

.cuadro_wrapper {
    padding: 8px;
}

.cuadro {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 240px;
    position: relative;
    overflow: hidden;
}

.cuadro_overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.0);

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;

    transition: all 0.4s ease;
    z-index: 1; /* 👈 debajo del título */
}

.cuadro_texto {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    font-weight: 500;
    padding: 0 40px;
}

.cuadro_titulo {
    position: absolute;
    top: 6px;
    right: 10px;
    font-size: 1.25em;
    background-color: var(--orange);
    /* color: var(--cremita2); */
    color: var(--cremita);
    font-weight: 800;
    padding: 0;
    line-height: 1.2em;

    z-index: 2; /* 👈 arriba del overlay */
    backdrop-filter: blur(4px);
}

@media (hover: hover) {

    .cuadro:hover .cuadro_overlay {
        background: rgba(255,255,255,0.7);
    }

    .cuadro:hover .cuadro_texto {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {

    .cuadro_overlay {
        background: rgba(255,255,255,0.7);
    }

    .cuadro_texto {
        opacity: 1;
        transform: none;
    }
}

.cuadro1 {
    background-image: url('../img/card01.avif');
}
.cuadro2 {
    background-image: url('../img/card02.avif');
}
.cuadro3 {
    background-image: url('../img/card03.avif');
}
.cuadro4 {
    background-image: url('../img/card04.avif');
}
.cuadro5 {
    background-image: url('../img/card05.avif');
}
.cuadro6 {
    background-image: url('../img/card06.avif');
}

.btn2 {
    background-color: #383d31;
    color: var(--cremita);
    border-radius: 25px;
    border: 1px solid #383d31;
    font-weight: 500;
    padding: 8px 45px;
    margin-top: 40px;
    margin-bottom: 50px;
    transition: 0.2s;
}

.btn2:hover{
    background-color: #848568;
    border-color: #848568;
}
/* ************************************************************************** */
/* SOBRE MI */

/* columna texto */
.sobre-mi-texto {
    padding: 120px 240px 60px;
    text-align: left;
    font-size: 1.3em;
}

.sobre-mi-p{
    font-weight: 400;
    /* font-size: 0.95em; */
    line-height: 1em;
    margin-bottom: 2em;
    letter-spacing: 0.03em;
}

/* imagen */
.foto_micaela {
    background-image: url('../img/micaela_justel1.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;
}


@media (max-width: 1600px) {

    .sobre-mi-texto {
        padding: 30px 50px 20px;
    }

}

@media (max-width: 992px) {

    .sobre-mi-texto {
        padding: 60px 50px 40px;
        text-align: center;
    }

}

/* ************************************************************************** */
/* FOOTER */

.footer {
    background-color: black;
    padding-top: 30px;
    color: var(--cremita);
}

.copy {
    font-size: 16px;
    font-weight: 100;
    /* color: rgba(145, 145, 145, 0.753); */
    color: rgba(179, 179, 179, 0.418);
}

.huma {
    color: rgba(131, 131, 131, 0.418);
    /* font-size: 0.9em; */
}

@media (max-width: 400px) {

    .copy {
    font-size: 12px;
}

    .huma {
        font-size: 0.8em;
    }
}

/* ************************************************************************** */
a {
    color: inherit;           /* usa el color del contenedor */
    text-decoration: none;    /* sin subrayado */
    transition: all 0.2s ease;
}

a:hover,
a:focus,
a:active {
    /* color: inherit; */
    color: rgba(160, 160, 160, 0.61);
    text-decoration: none;
}

/* opcional: evitar color violeta de visitados */
a:visited {
    color: inherit;
}


.icon:hover {
    transition: all 0.2s ease;
    transform: scale(1.1);
    cursor: pointer;
    color: #ffffff;
}

/* ************************************************************************** */
.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    background-color: var(--cremita);
    color: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;

    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
}

.whatsapp-float.whatsapp-visible {
    opacity: 0.6;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.whatsapp-float:hover {
    transform: scale(1.01);
    box-shadow: 0 6px 18px rgba(0,0,0,0.32);
    opacity: 1;
}

.whatsapp-float svg {
    width: 45px;
    height: 45px;
    fill: var(--orange);
}

@media (max-width: 768px) {
    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
    }

    .whatsapp-float svg {
        width: 40px;
        height: 40px;
    }
}