*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'Poppins',sans-serif;
background:#f4f6f8;
color:#222;
}

nav{
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 10%;
background:#081221;
position:fixed;
width:100%;
z-index:1000;
}

.logo{
color:white;
font-size:22px;
font-weight:700;
}

nav ul{
display:flex;
gap:30px;
list-style:none;
}

nav a{
color:white;
text-decoration:none;
}

.hero{
height:100vh;
display:flex;
justify-content:center;
align-items:center;
background:
linear-gradient(
rgba(0,0,0,.75),
rgba(0,0,0,.75)
),
url("https://images.unsplash.com/photo-1589829545856-d10d557cf95f");

background-size:cover;
background-position:center;
text-align:center;
color:white;
}

.foto img{
width:230px;
height:230px;
border-radius:50%;
object-fit:cover;
border:6px solid gold;
}

.hero h1{
margin-top:20px;
font-size:52px;
}

.hero h2{
margin-top:10px;
font-weight:300;
}

.hero p{
max-width:700px;
margin:auto;
margin-top:20px;
}

.botones{
margin-top:30px;
}

.btn{
padding:15px 30px;
background:gold;
color:black;
text-decoration:none;
border-radius:50px;
font-weight:600;
margin:10px;
}
.perfil-profesional{
padding:120px 10%;
background:#ffffff;
}

.titulo-seccion{
text-align:center;
max-width:900px;
margin:auto;
margin-bottom:60px;
}

.titulo-seccion h2{
font-size:48px;
margin-bottom:15px;
color:#081221;
}

.titulo-seccion p{
font-size:18px;
color:#666;
}

.perfil-contenido{
display:grid;
grid-template-columns:2fr 1fr;
gap:50px;
align-items:start;
}

.perfil-texto{
background:white;
padding:40px;
border-radius:20px;
box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.perfil-texto p{
margin-bottom:25px;
line-height:1.9;
text-align:justify;
font-size:17px;
color:#444;
}

.perfil-datos{
display:flex;
flex-direction:column;
gap:25px;
}

.dato{
background:#081221;
color:white;
padding:30px;
border-radius:20px;
}

.dato h3{
margin-bottom:15px;
color:#d4af37;
}

.dato ul{
padding-left:18px;
}

.dato li{
margin-bottom:10px;
line-height:1.6;
}

@media(max-width:900px){

.perfil-contenido{
grid-template-columns:1fr;
}

.titulo-seccion h2{
font-size:36px;
}

}
.btn-sec{
background:white;
}

.stats{
display:grid;
grid-template-columns:repeat(4,1fr);
padding:60px;
text-align:center;
background:white;
}

.stats h3{
font-size:45px;
color:#081221;
}

.seccion{
padding:100px 10%;
}

.seccion h2{
text-align:center;
margin-bottom:50px;
font-size:40px;
}

.cards{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
margin-top:50px;
}

.card{
background:white;
padding:40px;
text-align:center;
border-radius:20px;
box-shadow:0 5px 25px rgba(0,0,0,.1);
transition:.4s;
}

.card:hover{
transform:translateY(-10px);
}

.card i{
font-size:45px;
color:gold;
margin-bottom:15px;
}

.dark{
background:#081221;
color:white;
}

.timeline{
max-width:800px;
margin:auto;
}

.evento{
background:white;
color:black;
padding:25px;
margin-bottom:20px;
border-left:6px solid gold;
}

.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:30px;
}

.libro{
background:white;
padding:25px;
border-radius:15px;
box-shadow:0 5px 20px rgba(0,0,0,.1);
}

.videos{
padding:100px 10%;
background:#fff;
}

.videos h2{
text-align:center;
margin-bottom:50px;
}

.video-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:30px;
}

.video-grid iframe{
width:100%;
height:350px;
border:none;
border-radius:20px;
}

.contacto{
padding:100px 10%;
background:#081221;
color:white;
text-align:center;
}

.contacto p{
margin:15px;
font-size:20px;
}

footer{
background:black;
color:white;
text-align:center;
padding:20px;
}

@media(max-width:768px){

.hero h1{
font-size:34px;
}

.stats{
grid-template-columns:1fr 1fr;
}

.cards{
grid-template-columns:1fr;
}

.video-grid{
grid-template-columns:1fr;
}

nav ul{
display:none;
}

}
.reconocimientos{
padding:100px 10%;
background:#081221;
color:white;
}

.reco-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
margin-top:50px;
}

.reco-card{
padding:40px;
background:rgba(255,255,255,.05);
border:1px solid rgba(255,255,255,.1);
border-radius:20px;
text-align:center;
}
.publicaciones-premium{
padding:120px 10%;
background:#f7f8fa;
}

.titulo-publicaciones{
max-width:1000px;
margin:auto;
text-align:center;
margin-bottom:70px;
}

.titulo-publicaciones span{
color:#c6a85b;
font-weight:600;
letter-spacing:2px;
text-transform:uppercase;
}

.titulo-publicaciones h2{
font-size:48px;
margin:20px 0;
color:#081221;
}

.titulo-publicaciones p{
line-height:1.9;
font-size:18px;
color:#555;
}

.estadisticas-publicaciones{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:25px;
margin-bottom:80px;
}

.estadistica{
background:white;
padding:40px;
text-align:center;
border-radius:20px;
box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.estadistica h3{
font-size:48px;
color:#c6a85b;
}

.estadistica p{
margin-top:10px;
}

.categoria{
margin-top:80px;
}

.categoria h3{
font-size:32px;
margin-bottom:30px;
color:#081221;
}

.grid-libros{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
gap:30px;
}

.libro-card{
background:white;
padding:30px;
border-radius:20px;
box-shadow:0 10px 25px rgba(0,0,0,.08);
border-top:5px solid #c6a85b;
transition:.4s;
}

.libro-card:hover{
transform:translateY(-10px);
}

.libro-card h4{
margin-bottom:15px;
line-height:1.6;
}

.libro-card span{
color:#777;
}

.coautor-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
}

.coautor-grid div{
background:#081221;
color:white;
padding:25px;
border-radius:15px;
text-align:center;
}

.destacado-doctrina{
margin-top:80px;
background:#081221;
padding:50px;
border-radius:25px;
color:white;
}

.destacado-doctrina h3{
margin-bottom:20px;
color:#d4af37;
}

.destacado-doctrina p{
line-height:1.9;
margin-bottom:20px;
}

@media(max-width:900px){

.estadisticas-publicaciones{
grid-template-columns:1fr 1fr;
}

.coautor-grid{
grid-template-columns:1fr;
}

.titulo-publicaciones h2{
font-size:36px;
}

}
@media(max-width:768px){

nav{
flex-direction:column;
padding:15px;
}

nav ul{
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:15px;
margin-top:15px;
}

}