/* NAV sin fixed */
html { scroll-behavior: smooth; }

/* Ya no necesitamos compensar anclas */
section, .about, .mission-vision, .how, .benefits, .founders, .faq {
    scroll-margin-top: 0;
}


/* Asegura que el header y su menú estén por sobre el hero */

.site-nav{
    position: static;                 /* antes: fixed */
    background: #0f172a;              /* sólido para buen contraste sobre el hero */
    box-shadow: 0 2px 10px rgba(2,6,23,.08);
    z-index: 10;
}


.site-nav{
    position: relative;         /* importante para que z-index aplique */
    z-index: 9999;
}

.nav__container{
    max-width: 1160px;
    margin: 0 auto;
    height: 72px;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
}

/* En desktop queda igual */
.nav__menu{
    display: flex;
    align-items: center;
    gap: 18px;
}


.nav__brand{
    color: #fff;
    font-weight: 900;
    font-size: 20px;
    text-decoration: none;
    letter-spacing: .2px;
}

.nav__menu a{
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    transition: background .15s ease, transform .05s ease;
}
.nav__menu a:hover{ background: rgba(255,255,255,.12); transform: translateY(-1px); }
.nav__menu a[href="#ser_fundador"]{ background: var(--accent); color:#1d2329; }
.nav__menu a[href="#ser_fundador"]:hover{ background:#e6bd00; }

/* Burger mobile simplificada (sin absolute) */
.nav__toggle{ display: none; }
.nav__burger{
    width: 36px; height: 28px;
    display: none;
    flex-direction: column; justify-content: space-between;
    cursor: pointer;
}
.nav__burger span{ height:3px; width:100%; background:#fff; border-radius:999px; }

@media (max-width: 980px){
    .nav__container{ grid-template-columns: auto auto; }
    .nav__burger{ display:flex; justify-self:end; }

    .nav__menu{
        position: absolute;       /* se posiciona respecto a .site-nav */
        top: 72px;
        left: 0; right: 0;
        z-index: 10000;
        background: rgba(15,23,42,.96);
        backdrop-filter: saturate(140%) blur(4px);
        display: none;            /* tu estado cerrado */
        grid-template-columns: 1fr;
        gap: 2px;
        padding: 12px 0 8px;
    }

    .nav__menu a{ padding: 12px 14px; border-radius: 8px; }
    .nav__toggle:checked ~ .nav__menu{ display: grid; } /* abre debajo del header */
}




/*BANNER PRINCIPAL*/

.hero {
    position: relative;
    width: 100%;

    /* ✅ Alto más contenido en pantallas grandes */
    height: 100vh;

    /* ✅ Foco y tamaño de la imagen */
    background: url('../img/puerta_cerrada_arriendahora.png') center 35% / cover no-repeat;

    display: flex;
    align-items: center;
    overflow: hidden;
}

.overlay {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* opcional: oscurece un poco la imagen */
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 700px;
    color: #ffffff;
    padding: 0 4rem;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-content .highlight {
    color: #ffd000;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.hero-content .soon {
    margin-bottom: 2rem;
}

.hero-content .btn {
    display: inline-block;
    background-color: #ffd000;
    color: #1d2329;
    font-weight: 600;
    padding: 0.9rem 1.6rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.hero-content .btn:hover {
    background-color: #e6bd00;
}



/* SECCIÓN QUIÉNES SOMOS */
.about {
    background: #f8fafc;
    padding: 80px 20px;
    color: var(--text);
}

.about__container {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about__image img {
    width: 100%;
    border-radius: 22px;
    box-shadow: var(--shadow);
    object-fit: cover;
}

.about__title {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    margin-bottom: 20px;
}

.about__text {
    font-size: clamp(16px, 1.6vw, 18px);
    line-height: 1.8;
    margin-bottom: 18px;
    color: var(--muted);
}

.btn-about {
    display: inline-block;
    background-color: var(--accent);
    color: #1d2329;
    font-weight: 700;
    padding: 0.9rem 1.6rem;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.1s ease;
}

.btn-about:hover {
    background-color: #e6bd00;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 860px) {
    .about__container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about__image {
        order: -1;
    }
    .about__image img {
        max-width: 90%;
        margin: 0 auto 20px;
    }
}




/* SECCIÓN MISIÓN Y VISIÓN */
.mission-vision {
    background: #ffffff;
    padding: 80px 20px;
    color: var(--text);
}

.mission-vision__container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.mission-vision__title {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    margin-bottom: 50px;
}

.mission-vision__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

@media (max-width: 860px) {
    .mission-vision__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.mv-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 38px rgba(2, 6, 23, 0.1);
}

.mv-card__icon {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff6cc;
    color: #b8860b;
    font-size: 28px;
    margin-bottom: 20px;
}

.mv-card__icon--blue {
    background: #eaf2ff;
    color: #2451b5;
}

.mv-card__title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 16px;
}

.mv-card__text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--muted);
}



/* SECCIÓN CÓMO FUNCIONA */
.how{
    background:#f8fafc;
    padding:80px 20px;
    color:var(--text);
}

.how__container{
    max-width:1160px;
    margin:0 auto;
}

.how__title{
    text-align:center;
    font-size:clamp(28px,3vw,40px);
    font-weight:800;
    margin:0 0 40px;
}

/* Grid 2 columnas */
.how__grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:36px;
}

@media (max-width: 900px){
    .how__grid{ grid-template-columns:1fr; }
}

/* Columna */
.how-col{
    background:#fff;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    padding:28px;
}

.how-col__head{
    margin-bottom:14px;
}

.how-col__title{
    font-size:20px;
    font-weight:800;
    margin:6px 0 0;
}

.how-col__pill{
    display:inline-block;
    font-size:12px;
    font-weight:800;
    letter-spacing:.4px;
    text-transform:uppercase;
    background:#fff6cc;       /* acorde a iconos amarillos */
    color:#7a5b00;
    padding:6px 10px;
    border-radius:999px;
}

.how-col__pill--alt{
    background:#eaf2ff;
    color:#1f3e8a;
}

/* Steps */
.steps{
    list-style:none;
    padding:0;
    margin:12px 0 0;
    display:flex;
    flex-direction:column;
    gap:14px;
}

.step{
    display:flex;
    gap:12px;
    align-items:flex-start;
    padding:14px;
    border:1px solid var(--ring);
    border-radius:14px;
    background:#fff;
    transition:transform .15s ease, box-shadow .15s ease;
}
.step:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 24px rgba(2,6,23,.06);
}

.step__badge{
    min-width:36px;
    height:36px;
    border-radius:999px;
    display:grid;
    place-items:center;
    font-weight:800;
    background:var(--accent);
    color:#1d2329;
}

.step__title{
    font-size:16px;
    font-weight:800;
    margin:2px 0 4px;
}

.step__text{
    color:var(--muted);
    line-height:1.7;
    margin:0;
}

/* Trust / seguridad */
.trust{
    margin-top:36px;
    background:#fff;
    border:1px solid var(--ring);
    border-radius:18px;
    box-shadow:var(--shadow);
    padding:22px;
    display:grid;
    grid-template-columns:auto 1fr auto;
    gap:16px;
    align-items:center;
}
.trust__icon{
    font-size:28px;
    color:#1f3e8a;
    background:#eaf2ff;
    width:52px; height:52px;
    display:grid; place-items:center;
    border-radius:999px;
}
.trust__title{ font-weight:800; margin:0 0 4px; }
.trust__text{ color:var(--muted); margin:0; line-height:1.7; }
.trust__cta{
    display:inline-block;
    background:var(--accent);
    color:#1d2329;
    font-weight:800;
    padding:.8rem 1.2rem;
    border-radius:12px;
    text-decoration:none;
    transition:background .2s ease, transform .05s ease;
}
.trust__cta:hover{ background:#e6bd00; }
.trust__cta:active{ transform:translateY(1px); }

@media (max-width: 700px){
    .trust{
        grid-template-columns:1fr;
        text-align:center;
    }
    .trust__cta{ justify-self:center; }
}



/* SECCIÓN FAQ */
.faq{
    background:#ffffff;
    padding:80px 20px;
    color:var(--text);
}
.faq__container{
    max-width:1100px;
    margin:0 auto;
}
.faq__title{
    text-align:center;
    font-size:clamp(28px,3vw,40px);
    font-weight:800;
    margin:0 0 34px;
}

.faq__group{
    margin-bottom:28px;
}
.faq__heading{
    font-size:18px;
    font-weight:800;
    letter-spacing:.2px;
    margin:0 0 12px;
}

/* Item */
.faq-item{
    background:var(--card);
    border:1px solid var(--ring);
    border-radius:16px;
    box-shadow:var(--shadow);
    padding:0;
    overflow:hidden;
    margin:10px 0;
}

.faq-item__q{
    list-style:none;
    cursor:pointer;
    user-select:none;
    padding:16px 18px;
    font-weight:700;
    position:relative;
}
.faq-item__q::marker{ display:none; }
.faq-item__q::-webkit-details-marker{ display:none; }

/* Flecha */
.faq-item__q::after{
    content:"\f078"; /* fa-chevron-down */
    font-family:"Font Awesome 6 Free";
    font-weight:900;
    position:absolute;
    right:18px;
    top:50%;
    transform:translateY(-50%) rotate(0deg);
    transition:transform .2s ease;
    opacity:.8;
}

.faq-item[open] .faq-item__q::after{
    transform:translateY(-50%) rotate(180deg);
}

.faq-item__a{
    color:var(--muted);
    line-height:1.8;
    padding:0 18px 16px 18px;
    border-top:1px solid var(--ring);
    background:#fff;
}

/* CTA final */
.faq__cta{
    text-align:center;
    margin-top:24px;
}
.faq-btn{
    display:inline-block;
    background:var(--accent);
    color:#1d2329;
    font-weight:800;
    padding:.9rem 1.4rem;
    border-radius:12px;
    text-decoration:none;
    transition:background .2s ease, transform .05s ease;
}
.faq-btn:hover{ background:#e6bd00; }
.faq-btn:active{ transform:translateY(1px); }





/*SECCIÓN PREINSCRIPCIÓN*/

/* Vars rápidas para mantener consistencia */
:root{
    --text:#0f172a;            /* azul muy oscuro */
    --muted:#6b7280;           /* gris texto secundario */
    --card:#f8fafc;            /* gris muy claro de card */
    --accent:#ffd000;          /* amarillo botón/acentos */
    --shadow:0 10px 30px rgba(2,6,23,.06);
    --radius:22px;
}

/* Sección */
.benefits{
    padding: 64px 20px;
    background: #fff;
    color: var(--text);
}

.benefits__container{
    max-width: 920px;
    margin: 0 auto;
}

.benefits__title{
    text-align: center;
    font-size: clamp(26px, 3.2vw, 40px);
    font-weight: 800;
    letter-spacing: .2px;
    margin: 0 0 36px;
}

/* Grid */
.benefits__grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 36px;
}

@media (max-width: 860px){
    .benefits__grid{ grid-template-columns: 1fr; }
}

/* Card */
.benefit-card{
    background: var(--card);
    border-radius: var(--radius);
    padding: 42px 38px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}

.benefit-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 16px 38px rgba(2,6,23,.10);
}

/* Icono redondo superior */
.benefit-card__icon{
    width: 88px;
    height: 88px;
    margin: 0 auto 18px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 38px;          /* tamaño del emoji/icono */
    background: #fff6cc;      /* círculo amarillo suave */
}

.benefit-card__icon--blue{
    background: #eaf2ff;      /* círculo azul suave */
}

/* Heading con emoji izquierda */
.benefit-card__heading{
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 800;
    margin: 6px 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.benefit-card__emoji{
    font-size: 22px;
}

/* Descripción */
.benefit-card__text{
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.7;
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto;
}


/*FORMULARIO*/

:root{
    --text:#0f172a;        /* azul muy oscuro */
    --muted:#6b7280;       /* gris secundario */
    --card:#ffffff;        /* fondo tarjeta */
    --bg:#f8fafc;          /* fondo suave de sección */
    --brand:#8b5e34;       /* botón dorado-marrón */
    --brand-hover:#784f2c;
    --ring:#e5e7eb;        /* borde inputs */
    --ring-focus:#4f46e5;  /* foco accesible */
    --radius:18px;
    --shadow:0 12px 28px rgba(2,6,23,.08);
}

*{box-sizing:border-box}

.founders{
    background: var(--bg);
    padding: 56px 16px 72px;
    color: var(--text);
}

.founders__container{
    max-width: 670px;
    margin: 0 auto;
    text-align: center;
}

.founders__title{
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 10px;
}

.founders__subtitle{
    color: var(--muted);
    font-size: clamp(15px, 2.2vw, 18px);
    margin: 0 0 28px;
}

.founders-card{
    background: var(--card);
    border-radius: 24px;
    box-shadow: var(--shadow);
    text-align: left;
    padding: 28px;
}

@media (min-width: 640px){
    .founders-card{ padding: 32px; }
}

.grid-2{
    display: grid;
    gap: 16px;
}

@media (min-width: 640px){
    .grid-2{ grid-template-columns: 1fr 1fr; }
}

.form-group{ margin-bottom: 18px; }

label{ display:block; font-weight:600; margin-bottom:8px; }

.muted{ color: var(--muted); font-weight: 500; }

.hint{
    color: var(--muted);
    font-size: 12px;
    margin: -2px 0 8px;
}

input[type="text"],
input[type="email"],
select,
textarea{
    width: 100%;
    height: 48px;
    border: 1px solid var(--ring);
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    background: #fff;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

textarea{
    height: auto;
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

input:focus,
select:focus,
textarea:focus{
    border-color: var(--ring-focus);
    box-shadow: 0 0 0 4px rgba(79,70,229,.12);
}

.check{
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    margin: 10px 0;
    cursor: pointer;
    user-select: none;
}
.check input{ width: 18px; height: 18px; }

.charcount{
    font-size: 12px;
    color: var(--muted);
    margin-top: 6px;
}

.btn-primary{
    margin-top: 18px;
    width: 100%;
    height: 54px;
    border: 0;
    border-radius: 12px;
    background: var(--brand);
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    transition: background .2s, transform .05s;
}
.btn-primary:hover{ background: var(--brand-hover); }
.btn-primary:active{ transform: translateY(1px); }


/*FOOTER*/

:root{
    --footer-bg:#0f1722;          /* fondo oscuro azulado */
    --footer-text:#e5eef7;        /* texto claro */
    --footer-muted:#a7b1bd;       /* texto secundario */
    --footer-link:#dfe7ef;        /* links */
    --footer-link-hover:#ffffff;  /* hover links */
    --divider:#1c2733;            /* línea divisoria */
}

.site-footer{
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 56px 16px 36px;
}

.footer__container{
    max-width: 1160px;
    margin: 0 auto;
}

.footer__grid{
    display: grid;
    gap: 36px;
    grid-template-columns: 1.3fr 1fr 1fr;
}

@media (max-width: 960px){
    .footer__grid{
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px){
    .footer__grid{
        grid-template-columns: 1fr;
    }
}

/* Col 1 */
.footer__logo{
    display: inline-block;
    font-family: "Pacifico", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 34px;
    color: #fff;
    text-decoration: none;
    margin-bottom: 8px;
}

.footer__desc{
    color: var(--footer-text);
    opacity: .9;
    max-width: 640px;
    line-height: 1.7;
    margin: 6px 0 18px;
}

.footer__social{
    display: flex;
    gap: 16px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer__social a{
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #162231;          /* círculo suave */
    color: #dfe7ef;
    text-decoration: none;
    transition: transform .15s ease, background .15s ease, color .15s ease;
}

.footer__social a:hover{
    background: #1e2c3e;
    color: #fff;
    transform: translateY(-2px);
}

/* Col 2/3 */
.footer__title{
    font-size: 20px;
    margin: 6px 0 12px;
}

.footer__links{
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__links li{
    margin: 10px 0;
}

.footer__links a{
    color: var(--footer-link);
    text-decoration: none;
    transition: color .15s ease, transform .15s ease;
}

.footer__links a:hover{
    color: var(--footer-link-hover);
    transform: translateX(2px);
}

/* Divider + copy */
.footer__divider{
    border: 0;
    height: 1px;
    background: var(--divider);
    margin: 26px 0 18px;
}

.footer__copy{
    text-align: center;
    color: var(--footer-muted);
    font-size: 14px;
}

/* (Opcional) Ajustes de espaciado del primer bloque en pantallas grandes */
.footer__brand{
    padding-right: 40px;
}



/* TÉRMINOS Y CONDICIONES */
.terms {
    background:#f8fafc;
    padding:80px 20px;
    color:var(--text);
}
.terms__container {
    max-width:900px;
    margin:0 auto;
}
.terms__title {
    font-size:clamp(28px,3vw,40px);
    font-weight:800;
    margin-bottom:20px;
}
.terms h2 {
    margin-top:32px;
    font-size:20px;
    font-weight:700;
}
.terms p, .terms li {
    line-height:1.8;
    color:var(--muted);
}
.terms ul {
    margin:10px 0 20px 20px;
}



@media (max-width: 768px){
    .hero{
        aspect-ratio: 9 / 16;
        max-height: none;
        min-height: 0;
        background-position: center 25%;  /* ajusta foco si lo necesitas */
        height: 70vh;
    }

}

/* Fallback para navegadores sin aspect-ratio (técnica padding) */
.hero::before{
    content: "";
    display: block;
    padding-top: 56.25%;           /* 16:9 => 9/16*100 */
}
@media (max-width: 768px){
    .hero::before{ padding-top: 177.78%; }  /* 9:16 => 16/9*100 */
}
/* El contenido debe posicionarse encima del ::before */
.overlay{
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background: rgba(0,0,0,.40);   /* oscurece para legibilidad */
}

/* Tipografías fluidas y consistentes */
.hero-content h1{
    font-size: clamp(1.6rem, 4.8vw, 2.8rem);
    line-height: 1.15;
}
.hero-content p{
    font-size: clamp(.98rem, 2.6vw, 1.2rem);
}
.hero-content{ padding: 0 clamp(1rem, 4vw, 4rem); }
