/* HERO */
.privacy-hero{
position:relative;
overflow:hidden;
min-height:55vh;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
padding:60px 20px;
color:white;

/* imagen optimizada */
background:url("/img/LogoGlobstep.jpeg");
background-size:cover;
background-position:center 55%;
background-repeat:no-repeat;
}

/* OVERLAY PROFESIONAL */
.privacy-overlay{
position:absolute;
inset:0;
background:linear-gradient(
to bottom,
rgba(15,23,42,.75),
rgba(15,23,42,.85)
);
z-index:0;
}

/* CONTENIDO */
.privacy-hero-content{
position:relative;
z-index:2;
max-width:700px;
}

/* TITULO */
.privacy-hero h1{
font-size:42px;
font-weight:700;
margin-bottom:10px;
letter-spacing:-0.5px;

/* animación */
opacity:0;
transform:translateY(30px);
animation:fadeUp .8s ease forwards;
}

/* SUBTEXTO */
.privacy-hero p{
font-size:17px;
opacity:.9;

/* animación */
opacity:0;
transform:translateY(30px);
animation:fadeUp .8s ease forwards;
animation-delay:.2s;
}

/* FECHA */
.privacy-update{
font-size:14px;
opacity:.7;
margin-top:10px;

/* animación */
animation-delay:.4s;
}

/* ANIMACIÓN */
@keyframes fadeUp{
to{
opacity:1;
transform:translateY(0);
}
}

/* LAYOUT */

.privacy-layout{
display:grid;
grid-template-columns:250px 1fr;
gap:60px;
max-width:1200px;
margin:auto;
padding:60px 20px;
}

/* INDICE */

.privacy-index{
position:sticky;
top:120px;
height:fit-content;
}

.privacy-index h3{
font-size:18px;
margin-bottom:15px;
}

.privacy-index a{
display:block;
margin-bottom:10px;
text-decoration:none;
color:#475569;
font-size:14px;
transition:.2s;
}

.privacy-index a:hover{
color:#dc2626;
}

/* CONTENIDO */

/* .privacy-content{
max-width:800px;
}

.privacy-content section{
margin-bottom:50px;
}

.privacy-content h2{
font-size:24px;
margin-bottom:10px;
color:#0f172a;
}

.privacy-content ul{
padding-left:20px;
}

.privacy-email{
background:#f1f5f9;
padding:12px 16px;
border-radius:8px;
display:inline-block;
margin-top:10px;
font-weight:500;
} */

.privacy-content section{
background:white;
padding:28px 30px;
border-radius:14px;
box-shadow:0 10px 25px rgba(0,0,0,0.04);
border:1px solid #e2e8f0;
margin-bottom:30px;
transition:.3s ease;
}

/* hover sutil */
.privacy-content section:hover{
transform:translateY(-4px);
box-shadow:0 15px 35px rgba(0,0,0,0.08);
}

.privacy-content h2{
font-size:22px;
margin-bottom:12px;
color:#0f172a;
position:relative;
padding-left:14px;
}

/* línea decorativa */
.privacy-content h2::before{
content:"";
position:absolute;
left:0;
top:50%;
transform:translateY(-50%);
width:4px;
height:20px;
background:#dc2626;
border-radius:2px;
}

.privacy-content p{
color:#475569;
font-size:15px;
margin-bottom:10px;
}

.privacy-content ul{
list-style:none;
padding-left:0;
margin-top:10px;
}

.privacy-content li{
position:relative;
padding-left:22px;
margin-bottom:8px;
color:#475569;
}

/* check elegante */
.privacy-content li::before{
content:"✔";
position:absolute;
left:0;
top:0;
color:#dc2626;
font-size:13px;
}

.privacy-email{
background:#0f172a;
color:white;
padding:10px 16px;
border-radius:8px;
display:inline-block;
margin-top:12px;
font-size:14px;
letter-spacing:.3px;
}

.privacy-content section{
opacity:0;
transform:translateY(30px);
animation:fadeInUp .6s ease forwards;
}

.privacy-content section:nth-child(1){animation-delay:.1s;}
.privacy-content section:nth-child(2){animation-delay:.2s;}
.privacy-content section:nth-child(3){animation-delay:.3s;}
.privacy-content section:nth-child(4){animation-delay:.4s;}
.privacy-content section:nth-child(5){animation-delay:.5s;}

@keyframes fadeInUp{
to{
opacity:1;
transform:translateY(0);
}
}

.privacy-index{
background:white;
padding:20px;
border-radius:12px;
border:1px solid #e2e8f0;
box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

.privacy-index a{
padding:6px 10px;
border-radius:6px;
}

.privacy-index a:hover{
background:#f1f5f9;
color:#dc2626;
}


/* FOOTER */

.footer{
text-align:center;
padding:40px;
font-size:14px;
color:#64748b;
}

/* BARRA PROGRESO */

.reading-bar{
position:fixed;
top:0;
left:0;
height:4px;
background:#dc2626;
width:0%;
z-index:999;
}

/* RESPONSIVE */

@media(max-width:900px){

.privacy-layout{
grid-template-columns:1fr;
}

.privacy-index{
display:none;
}

}

@media(max-width:768px){

.privacy-hero{
min-height:45vh;
padding:50px 15px;
background-position:center 60%;
}

.privacy-hero h1{
font-size:30px;
}

.privacy-hero p{
font-size:15px;
}

}