
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@1,400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { background: red; }

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    background: none;
}

body {
    font-family: 'Oswald', sans-serif;
    margin: 0;
    width: 100%;
}

.header {
    position: relative;
    z-index: 100;
    width: 100%;
    height: 80px; /* <------------- aquí cambiar */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
    background-color: rgba(255,255,255,0.8); /* blanco transparente */
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
    box-sizing: border-box;
}
/* Logo */
.header-logo img {
    height:50px;
    width: auto;
    transition: transform 0.3s;
}
.header-logo img:hover {
    transform: scale(1.05);
}
/* MENÚ PRINCIPAL CENTRADO */
.header-nav {
    display: flex;
    justify-content: center;  /* CENTRAR MENÚ */
    width: 100%;
}

.header-nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
    align-items: center;
    padding: 0;
    margin: 0;
}

.header-nav ul li {
    position: relative;
}

/* Menú centrado con tipografía profesional */
.header-nav ul li a {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #1a4729;
    text-decoration: none;
    position: relative;
    padding-bottom: 6px;
    transition: color 0.3s ease, transform 0.3s ease;
}
/* Hover profesional: color y ligero movimiento */
.header-nav ul li a:hover {
    color: #3c7f4e;
    transform: translateY(-2px);
}


/* Efecto underline animado */
.header-nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 0%;
    background-color: #3c7f4e;
    transition: 0.3s;
}

.header-nav ul li a:hover::after {
    width: 100%;
}

/* ---------------------- */
/* SUBMENÚ                */
/* ---------------------- */

.submenu {
    position: absolute;
    top: 100%;
    left: 0;

    display: block !important;      /* 🔥 FORZAR QUE SEA BLOQUE (VERTICAL) */
    flex-direction: column !important;  /* 🔥 POR SI ALGÚN FLEX LO AFECTA */

    background: rgba(255,255,255,0.95);  /* 🔥 BLANCO TRANSLÚCIDO */
    backdrop-filter: blur(6px);          /* 🔥 EFECTO GLASSMORPHISM */

    list-style: none;
    padding: 6px 0;
    margin: 0;
    width: 180px;

    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: 0.25s ease;
    z-index: 999;
}

/* SUBMENÚ OPCIONES */
.submenu li a {
    display: block;
    padding: 15px 5px; /* espacio reducido */
}

.submenu li a:hover {
    background: rgba(202, 250, 192, 0.5);
}

/* MOSTRAR SUBMENÚ */
.submenu-parent:hover .submenu {
    opacity: 1;
    visibility: visible;
}

/* Redes sociales con tooltip */
.header-social{
    display: flex;          /* organiza los iconos en fila */
    align-items: center;    /* centra verticalmente los iconos */
    gap: 10px;              /* espacio entre iconos */
    flex-wrap: nowrap;      /* evita que se muevan a otra fila */
}

.header-social a {
    position: relative;
}

.header-social a img {
    width: 28px;
    margin-left: 5px;
    cursor: pointer;
    transition: transform 0.3s;
}

.header-social a img:hover {
    transform: scale(1.15);
}
/* Tooltip */
.header-social a::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1a4e2b;
    color: white;
    font-size: 12px;
    padding: 3px 6px;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.header-social a:hover::after {
    opacity: 1;
}

/* ------------------------------ */
/* HERO SECCIÓN PRINCIPAL */
/* ------------------------------ */
.hero-total {
    flex: 1;
    display: flex;
    position: relative;
    /* height: 100%; */
    min-height: calc(100vh - 80px);
    width: 100%;
    background-image: url('../images/fondo-parque.png');
    background-position:center; /* centra la imagen */ 
    background-size:cover; /* cubre toda la ventana */ 
    background-repeat: no-repeat; /* evita repetición */
    overflow: auto;
    box-sizing: border-box;
}
/* Texto flotante sobre la foto */
.hero-left-float {
    padding-left: 240px;
    max-width: calc(100% - 40px);
    position: absolute;
    align-self: start;
    margin-top: 10px;          
    color: white;
    text-align: left;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 1px 1px 4px black;
    white-space: normal;     /* Una sola línea */
    z-index: 2;
}

/* Grid de 3 columnas */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* 3 columnas iguales */
    width: 100%;
    /* height: calc(100vh - 80px); */
    gap: 0;
    overflow: hidden;
    z-index: 1;
    /* border: 2px solid rgb(39, 3, 138); */
}

/* Columna izquierda (vacía si se usa texto flotante) */
.hero-left {
    align-self: start; /* si se desea contenido arriba */
}
/* Columna central: foto y texto inferior */
.hero-center {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 50px;
    align-self: start;
}

.hero-asesora {
    position: relative;
    width: 380px;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.35);
    display: block;
    
}

.hero-text-bottom {
    position: absolute;
    bottom: 0px;
    text-align: center;
    font-size: 20px;
    width: 380px;
    font-weight: bold;
    color: white;
    background: linear-gradient(to top, rgba(0,0,0,0.70), rgba(0, 0, 0, 0.50));
    padding-bottom: 5px;
    /* padding: 5px; */
    border-radius: 0 0 10px 10px;
}

/* Nombre de la asesora */
.hero-text-bottom .nombre-asesora {
    color: white; /* dorado elegante */
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 20px;
    font-weight: 700;
    display: block;
}

/* Cargo debajo del nombre */
.hero-text-bottom .cargo-asesora {
    color: white;
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 16px;
    font-weight: 500;
    display: block;
}

/* Columna derecha */
.hero-right {
    text-align: left;
    color: white;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.3;
    text-shadow: 1px 1px 4px black;
    align-self: start;
    margin-top: 60px;
}

/* Hero total relativo para posicionar el sello */
.hero-total {
    position: relative;
}

/* CONTENEDOR DEL STICKER */
.sticker-img {
    position: absolute;
    top: 50%;
    right: clamp(10px, 10%, 150px);
    transform: translateY(-50%);
    width: 280px;
    height: 280px;

    background: url("../images/sticker.png") no-repeat center;
    background-size: contain;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    z-index: 30;
}

/* TEXTO SOBRE LA IMAGEN */
.sticker-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    color: #070707;
    font-family: Arial, sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;

    text-shadow: 0 2px 4px rgba(0,0,0,0.45);
}

.sticker-text .desde {
    font-size: 12px;
}

.sticker-text .precio {
    font-size: 30px;
    margin: 8px 0;
}

.sticker-text .mensual {
    font-size: 12px;
    margin-bottom: 6px;
}

/* Call to action */
.sticker-text .cta {
    font-size: 14px;
    background: rgba(37, 37, 36, 0.25);
    padding: 3px 8px;
    border-radius: 10px;
    margin-top: 2px;
}

/* Boton amburguesa */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: #1a4729;
    border-radius: 2px;
}


/* Responsive */

@media (max-width: 1366px) {
    .hero-left-float {
        margin-top: 10px;
        margin-left: 10px;       
    }
    .hero-center {
        padding-top: 50px;
    }

    .hero-asesora {
        width: 310px;
    }

    .hero-text-bottom {
        width: 310px;
        font-weight: bold;
        color: white;
    }
    .hero-text-bottom .nombre-asesora {
        font-size: 20px;
        font-weight: 700;
    }

    .hero-right {
        margin-top: 50px;
    }

    .sticker-img {
       top:60%;
    }

}

@media (max-width: 1024px) {
    .hero-left-float {
        margin-left: -80px;       
    }

    .sticker-img {
       right: 30px;
    }
}

/* Celular wperez vertical*/
@media only screen 
  and (max-device-width: 900px)
  and (orientation: landscape) {
    .hero-left-float {
        margin-top: 14px;
        margin-left: -200px;
        font-size: 14px;       
    }
    .hero-asesora {
        width: 200px;
    }
    .hero-text-bottom{
        width: 200px;
    } 
    .hero-text-bottom .nombre-asesora {
        font-size: 14px;
    }
    .hero-text-bottom .cargo-asesora {
        font-size: 12px;
    }
    .hero-right {
        margin-top: 50px;
        font-size: 14px;
        line-height: 1.3;
        margin-left: 10px;
    }
    .sticker-img {
        right: 6px;
        width: 200px;
    }
    .sticker-text .desde {
        padding-top: 5px;
        padding-right: 12px;
        font-size: 10px;
    }
    .sticker-text .precio {
        font-size: 24px;
        margin: 8px 0;
    }
    .sticker-text .mensual {
        font-size: 10px;
        margin-bottom: 6px;
    }
    .sticker-text .cta {
        font-size: 12px;
    }

    /* Mostrar hamburguesa */
    .menu-toggle {
        display: flex;
    }

    /* Ocultar redes */
    .header-social {
        display: none;
    }

    /* Menú principal móvil */
    .header-nav {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(6px);
        display: none;
        flex-direction: column;
    }

    .header-nav.active {
        display: flex;
    }

    .header-nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .header-nav ul li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .header-nav ul li a {
        display: block;
        padding: 15px;
    }

    /* SUBMENÚ ACORDEÓN */
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .submenu-parent.active .submenu {
        max-height: 500px; /* suficiente */
    }

    /* Quitar hover en móvil */
    .submenu-parent:hover .submenu {
        opacity: 1;
        visibility: visible;
    }

}

@media only screen 
  and (max-device-width: 500px)
  and (orientation: portrait) {
    .hero-left-float {
        font-size: 14px;
        line-height: 1.5;
        padding-left: 25%;
        max-width:100%;
        padding-top: 20px;
    }
    .hero-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .hero-asesora {
        margin-top: 0px;
        width: 290px;
    }
    .hero-text-bottom{
        width: 290px;
    } 
    .hero-text-bottom .nombre-asesora {
        font-size: 14px;
    }
    .hero-text-bottom .cargo-asesora {
        font-size: 12px;
    }
    .hero-right {
        margin-top: 0px;
        font-size: 14px;
        line-height: 1.3;
        text-align: center;
    }
    .sticker-img {
        right: -10px;
        width: 160px;
    }
    .sticker-text .desde {
        padding-top: 5px;
        padding-right: 20px;
        font-size: 9px;
    }
    .sticker-text .precio {
        font-size: 22px;
        margin: 2px 0;
    }
    .sticker-text .mensual {
        font-size: 10px;
        margin-bottom: 2px;
        margin-top: 0px;
    }
    .sticker-text .cta {
        font-size: 12px;
    }

    /* Mostrar hamburguesa */
    .menu-toggle {
        display: flex;
    }

    /* Ocultar redes */
    .header-social {
        display: none;
    }

    /* Menú principal móvil */
    .header-nav {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(6px);
        display: none;
        flex-direction: column;
    }

    .header-nav.active {
        display: flex;
    }

    .header-nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .header-nav ul li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .header-nav ul li a {
        display: block;
        padding: 15px;
    }

    /* SUBMENÚ ACORDEÓN */
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .submenu-parent.active .submenu {
        max-height: 500px; /* suficiente */
    }

    /* Quitar hover en móvil */
    .submenu-parent:hover .submenu {
        opacity: 1;
        visibility: visible;
    }

}

/* iPad Pro vertical: 1024x1366 */
@media only screen 
  and (min-device-width: 1024px) 
  and (max-device-width: 1366px)
  and (orientation: portrait) {
    
    .hero-asesora {
        width: 680px;
    }
    .hero-text-bottom{
        width: 680px;
    }

}


