/* ============================================
:ROOT
RESET
CONTENEDOR
TIPOGRAFÍA
============================================ */

:root{

/* ===== PALETA ===== */
--verde-principal:#2E8B57;
--verde-oscuro:#205C3B;
--verde-brote:#A2D149;
--verde-brote-suave:#EAF6D6;

--amarillo:#FFE600;
--coral:#E74C3C;

/* ===== BASE ===== */
--bg:#FBFCF9;
--bg-alt:#F1F7EC;

--texto:#2C3A33;
--texto-suave:#5C6B62;

--borde:#E1EBDC;

/* ===== TIPOGRAFÍA ===== */
--font-display:'Quicksand',sans-serif;
--font-body:'Mulish',sans-serif;

/* ===== LAYOUT ===== */
--max-width:1180px;
--radius:18px;

--shadow:
0 12px 30px rgba(46,139,87,.10);

--transition:.25s ease;

}

/* RESET */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{
font-family:var(--font-body);
color:var(--texto);
background:var(--bg);
line-height:1.7;
-webkit-font-smoothing:antialiased;
}

img{
display:block;
max-width:100%;
}

a{
color:inherit;
text-decoration:none;
}

.container{
width:100%;
max-width:var(--max-width);
margin:auto;
padding-inline:24px;
}

/* TIPOGRAFÍA */

h1,
h2,
h3,
h4{
font-family:var(--font-display);
font-weight:700;
line-height:1.15;
color:var(--verde-oscuro);
}

h1{
font-size:clamp(2.5rem,6vw,4.2rem);
}

h2{
font-size:clamp(1.9rem,4vw,2.8rem);
}

h3{
font-size:1.3rem;
}

p{
color:var(--texto-suave);
}

.lead{
font-size:1.08rem;
}

.eyebrow{
display:inline-flex;
align-items:center;
gap:10px;
margin-bottom:16px;
color:var(--verde-principal);
font-family:var(--font-display);
font-size:.78rem;
font-weight:700;
letter-spacing:.08em;
text-transform:uppercase;
}

.eyebrow::before{
content:"";
width:24px;
height:3px;
border-radius:999px;
background:var(--verde-brote);
}

/* ============================================
TOPBAR
============================================ */

.topbar{
background:var(--verde-oscuro);
color:#fff;
}

.topbar .container{
display:flex;
justify-content:space-between;
align-items:center;
gap:15px;
padding-block:10px;
}

.topbar-links{
display:flex;
flex-wrap:wrap;
gap:22px;
}

.topbar-links a{
color:#EAF6D6;
font-size:.88rem;
font-weight:600;
transition:var(--transition);
}

.topbar-links a:hover{
color:var(--amarillo);
}

/*============================================
ACCIONES TOPBAR
============================================*/

.topbar-actions{
display:flex;
align-items:center;
gap:10px;
}

.topbar-btn{
display:flex;
align-items:center;
justify-content:center;
padding:7px 16px;
border:2px solid rgba(255,255,255,.75);
border-radius:30px;
color:#fff;
font-size:.82rem;
font-weight:600;
transition:.3s;
}

.topbar-btn:hover{
background:#fff;
color:var(--verde-oscuro);
}

.topbar-btn-solid{
background:var(--verde-brote);
border-color:var(--verde-brote);
}

.topbar-btn-solid:hover{
background:#fff;
color:var(--verde-oscuro);
}

.topbar-socials{
display:flex;
align-items:center;
gap:12px;
margin-left:auto;
}

.topbar-socials a{
display:flex;
align-items:center;
justify-content:center;
width:32px;
height:32px;
border-radius:50%;
background:rgba(255,255,255,.08);
transition:var(--transition);
}

.topbar-socials a:hover{
background:var(--verde-brote);
transform:translateY(-2px);
}

.topbar-socials svg{
width:16px;
height:16px;
fill:#fff;
}

@media(max-width:768px){

.topbar .container{
justify-content:space-between;
}

.topbar-actions{
gap:6px;
}

.topbar-btn{
padding:6px 12px;
font-size:.72rem;
}

.topbar-socials{
gap:8px;
}

.topbar-socials a{
width:28px;
height:28px;
}

}

/* ============================================
NAVBAR
============================================ */

.main-nav{
position:sticky;
top:0;
z-index:999;
background:rgba(255,255,255,.70);
backdrop-filter:blur(10px);
-webkit-backdrop-filter:blur(10px);
border-bottom:1px solid rgba(0,0,0,.05);
transition:
background .35s ease,
box-shadow .35s ease,
backdrop-filter .35s ease;
}

.main-nav.is-stuck{
background:rgba(255,255,255,.85);
backdrop-filter:blur(16px);
-webkit-backdrop-filter:blur(16px);
box-shadow:0 8px 28px rgba(0,0,0,.08);
}

.main-nav .container{
display:flex;
align-items:center;
justify-content:space-between;
gap:30px;
padding:18px 0;
}

.nav-brand{
display:flex;
align-items:center;
gap:14px;
flex-shrink:0;
white-space:nowrap;
font-family:var(--font-display);
font-size:1.15rem;
font-weight:700;
color:var(--verde-oscuro);
transition:var(--transition);
}

.nav-brand:hover{
opacity:.9;
}

.nav-brand img{
display:block;
width:auto;
height:42px;
transition:var(--transition);
drop-shadow(0 2px 6px rgba(0,0,0,.08));
}

.nav-brand span{
display:block;
line-height:1;
}

.nav-links{
display:flex;
align-items:center;
gap:8px;
margin-left:auto;
}

.nav-links a{
padding:10px 16px;
border-radius:999px;
font-family:var(--font-display);
font-weight:600;
color:var(--verde-oscuro);
transition:
background .25s,
color .25s,
transform .25s;
}

.nav-links a:hover{
background:var(--verde-brote-suave);
transform:translateY(-1px);
}

.nav-links a.active{
background:var(--verde-brote-suave);
color:var(--coral);
}

.nav-tienda{
background:linear-gradient(
135deg,
var(--verde-principal),
var(--verde-oscuro)
);
color:#fff!important;
box-shadow:0 4px 14px rgba(46,139,87,.20);
}

.nav-tienda:hover{
transform:translateY(-2px);
box-shadow:0 8px 22px rgba(46,139,87,.30);
}

.nav-toggle{
display:none;
border:none;
background:none;
cursor:pointer;
}

.nav-toggle svg{
width:28px;
height:28px;
stroke:var(--verde-oscuro);
}

/* ============================================
BOTONES
============================================ */

.btn{
display:inline-flex;
align-items:center;
justify-content:center;
margin-top:20px;
padding:14px 26px;
border:2px solid transparent;
border-radius:999px;
font-family:var(--font-display);
font-weight:700;
cursor:pointer;
transition:var(--transition);
}

.btn:hover{
transform:translateY(-2px);
}

.btn-primary{
background:var(--verde-principal);
color:#fff;
box-shadow:0 10px 24px rgba(46,139,87,.20);
}

.btn-primary:hover{
background:var(--verde-oscuro);
}

.btn-secondary{
border-color:var(--verde-principal);
color:var(--verde-principal);
}

.btn-secondary:hover{
background:var(--verde-brote-suave);
}

.btn-accent{
background:var(--coral);
color:#fff;
}

.btn-accent:hover{
filter:brightness(.92);
}

/* ============================================
AUDIENCIAS
============================================ */

.audience-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
gap:30px;
}

.audience-card{
padding:40px 34px;
background:#fff;
border:1px solid var(--borde);
border-radius:var(--radius);
transition:var(--transition);
}

.audience-card:hover{
transform:translateY(-6px);
border-color:var(--verde-brote);
box-shadow:var(--shadow);
}

.audience-card h2{
margin-bottom:18px;
font-size:clamp(1.6rem,3vw,2.1rem);
}

.audience-card p{
max-width:500px;
}

/* ============================================
SECCIONES
============================================ */

section{
padding:clamp(60px,8vw,100px) 0;
}

.section-alt{
background:var(--bg-alt);
}

.section-head{
max-width:760px;
margin:0 auto 50px;
text-align:center;
}

.section-head .eyebrow::before{
display:none;
}

/* ============================================
CTA
============================================ */

.cta-band{
position:relative;
overflow:hidden;
display:flex;
align-items:center;
justify-content:space-between;
gap:30px;
padding:50px;
border-radius:26px;
background:linear-gradient(
135deg,
var(--verde-principal),
var(--verde-oscuro)
);
color:#fff;
}

.cta-band::after{
content:"";
position:absolute;
top:-80px;
right:-80px;
width:260px;
height:260px;
border-radius:50%;
background:var(--amarillo);
opacity:.10;
pointer-events:none;
}

.cta-band>*{
position:relative;
z-index:1;
}

.cta-band h2{
margin-bottom:8px;
color:#fff;
}

.cta-band p{
color:#EAF6D6;
}

/* ============================================
FOOTER
============================================ */

.site-footer{
padding:60px 0 24px;
background:var(--verde-oscuro);
color:#EAF6D6;
}

.footer-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:34px;
margin-bottom:34px;
}

.footer-grid img{
height:46px;
margin-bottom:14px;
}

.footer-grid h4{
margin-bottom:16px;
color:#fff;
}

.footer-grid a,
.footer-grid p{
margin-bottom:10px;
color:#C9E4B5;
font-size:.94rem;
}

.footer-grid a:hover{
color:var(--amarillo);
}

.footer-bottom{
display:flex;
justify-content:space-between;
flex-wrap:wrap;
gap:16px;
padding-top:24px;
border-top:1px solid rgba(255,255,255,.10);
font-size:.85rem;
color:#AFCFA0;
}

.footer-bottom a:hover{
color:var(--amarillo);
}

/* ============================================
SECCIONES
============================================ */

section{
padding:clamp(60px,8vw,100px) 0;
}

.section-alt{
background:var(--bg-alt);
}

.section-head{
max-width:760px;
margin:0 auto 50px;
text-align:center;
}

.section-head .eyebrow::before{
display:none;
}

/* ============================================
CTA
============================================ */

.cta-band{
position:relative;
overflow:hidden;
display:flex;
align-items:center;
justify-content:space-between;
gap:30px;
padding:50px;
border-radius:26px;
background:linear-gradient(
135deg,
var(--verde-principal),
var(--verde-oscuro)
);
color:#fff;
}

.cta-band::after{
content:"";
position:absolute;
top:-80px;
right:-80px;
width:260px;
height:260px;
border-radius:50%;
background:var(--amarillo);
opacity:.10;
pointer-events:none;
}

.cta-band>*{
position:relative;
z-index:1;
}

.cta-band h2{
margin-bottom:8px;
color:#fff;
}

.cta-band p{
color:#EAF6D6;
}

/* ============================================
FOOTER
============================================ */

.site-footer{
padding:60px 0 24px;
background:var(--verde-oscuro);
color:#EAF6D6;
}

.footer-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:34px;
margin-bottom:34px;
}

.footer-grid img{
height:46px;
margin-bottom:14px;
}

.footer-grid h4{
margin-bottom:16px;
color:#fff;
}

.footer-grid a,
.footer-grid p{
margin-bottom:10px;
color:#C9E4B5;
font-size:.94rem;
}

.footer-grid a:hover{
color:var(--amarillo);
}

.footer-bottom{
display:flex;
justify-content:space-between;
flex-wrap:wrap;
gap:16px;
padding-top:24px;
border-top:1px solid rgba(255,255,255,.10);
font-size:.85rem;
color:#AFCFA0;
}

.footer-bottom a:hover{
color:var(--amarillo);
}

/*==========================================================
DOCUMENTOS LEGALES
==========================================================*/

.page-doc{
    padding:5rem 0 3rem;
    text-align:center;
    background:linear-gradient(180deg,#f7faf7 0%,#ffffff 100%);
}

.page-doc .eyebrow{
    justify-content:center;
    margin-bottom:1rem;
}

.page-doc h1{
    max-width:900px;
    margin:0 auto 1.2rem;
    font-size:clamp(2rem,4vw,3.2rem);
    line-height:1.2;
    color:var(--color-primary);
}

.page-doc > .container > p{
    color:var(--color-text-light);
    font-size:1rem;
    margin:0;
}

/*==========================================================
CONTENIDO LEGAL
==========================================================*/

.legal-content{

    max-width:920px;
    margin:0 auto 5rem;
    padding:3rem 3.5rem;
    background:#fff;
    border:1px solid rgba(0,0,0,.06);
    border-radius:20px;
    box-shadow:0 12px 35px rgba(0,0,0,.05);
}

.legal-content p{
    margin:0 0 1.25rem;
    line-height:1.9;
    text-align:justify;
    color:var(--color-text);
}

.legal-content b{
    color:var(--color-primary);
    font-weight:700;
}

.legal-content ul{
    margin:1rem 0 1.5rem 1.4rem;
}

.legal-content li{
    margin-bottom:.75rem;
    line-height:1.8;
}

.legal-content h2,
.legal-content h3{
    margin:2.5rem 0 1rem;
    color:var(--color-primary);
}

.legal-content hr{
    margin:3rem 0;
    border:none;
    border-top:1px solid rgba(0,0,0,.08);
}

/*==========================================================
RESPONSIVE
==========================================================*/

@media (max-width:768px){

    .page-doc{
        padding:3.5rem 0 2rem;
    }

    .legal-content{
        padding:2rem 1.5rem;
        border-radius:16px;
    }
}