*{margin:0;padding:0;box-sizing:border-box;}

body{
font-family:'Inter',sans-serif;
background:#0b0b12;
color:#fff;
overflow-x:hidden;
padding-top:70px;
}

/* FONDO */

.bg{
position:fixed;
width:100%;
height:100%;
background:
radial-gradient(circle at 20% 20%, #401a8122, transparent 40%),
radial-gradient(circle at 80% 80%, #a3122571, transparent 40%);
filter:blur(90px);
z-index:-1;
}

/* NAV */

nav{
position:fixed;
top:0;
width:100%;
display:flex;
justify-content:space-between;
padding:18px 20px;
z-index:1000;
backdrop-filter:blur(12px);
}

nav a{
margin-left:15px;
color:#aaa;
text-decoration:none;
font-size:14px;
}

/* HAMBURGUESA */

.hamburger{
display:none;
flex-direction:column;
gap:5px;
cursor:pointer;
}

.hamburger span{
width:25px;
height:2px;
background:white;
display:block;
}

/* NAV MOBILE */

@media(max-width:768px){

.nav-links{
position:absolute;
top:70px;
left:0;
width:100%;
background:rgba(11,11,18,0.95);
backdrop-filter:blur(10px);

display:flex;
flex-direction:column;
align-items:center;

max-height:0;
overflow:hidden;

transition:0.4s;
}

.nav-links a{
margin:15px 0;
font-size:16px;
}

.nav-links.active{
max-height:300px;
padding:20px 0;
}

.hamburger{
display:flex;
}

}

/* HERO */

.hero{
height:100vh;
display:flex;
flex-direction:column;
justify-content:center;
padding:20px;
max-width:1100px;
margin:auto;
}

.hero h1{
font-size:42px;
margin-bottom:20px;
}

.hero h1 span{
background:linear-gradient(90deg,#7c3aed,#22d3ee);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
}

.hero p{
color:#aaa;
max-width:500px;
margin-bottom:25px;
}

/* BOTONES */

.hero-actions{
display:flex;
gap:12px;
flex-wrap:wrap;
}

.btn-main{
padding:12px 22px;
border-radius:999px;
background:linear-gradient(135deg,#7c3aed,#22d3ee);
color:white;
text-decoration:none;
font-size:14px;
box-shadow:0 10px 25px rgba(124,58,237,0.3);
transition:0.3s;
}

.btn-main:hover{
transform:translateY(-2px) scale(1.03);
}

.btn-ghost{
padding:12px 20px;
border-radius:999px;
border:1px solid rgba(255,255,255,0.15);
color:#ccc;
text-decoration:none;
font-size:14px;
transition:0.3s;
}

.btn-ghost:hover{
background:rgba(255,255,255,0.05);
}

.hero-note{
margin-top:20px;
font-size:13px;
color:#777;
}

/* SECCIONES */

.section{
padding:100px 20px;
max-width:1100px;
margin:auto;
opacity:0;
transform:translateY(40px);
transition:1s;
}

.servicio{

background:rgba(255,255,255,0.03);
border:1px solid rgba(255,255,255,0.06);
border-radius:20px;

margin-bottom:20px;
overflow:hidden;

}

.servicio-header{

display:flex;
align-items:center;
gap:15px;

padding:20px;

cursor:pointer;

flex-wrap:wrap;

}

@media(max-width:600px){

.servicio-header{
align-items:flex-start;
}

.servicio-header h3{
font-size:18px;
}

.servicio-contenido{
font-size:14px;
line-height:1.6;
}

}

.servicio-header img{

width:70px;
height:70px;
object-fit:cover;
border-radius:12px;

}

.servicio-header h3{

font-size:20px;

}

.servicio-contenido{

max-height:0;
overflow:hidden;

padding:0 20px;

display:flex;
flex-direction:column;
gap:15px;

transition:max-height .45s ease, padding .45s ease;

}

.servicio.active .servicio-contenido{

max-height:400px;
padding:20px;

}

.servicio.active .servicio-contenido{

max-height:1000px;
padding:20px;

}

.section.visible{
opacity:1;
transform:translateY(0);
}

.title{
font-size:28px;
margin-bottom:40px;
text-align:center;
}

/* GRID */

.grid{
display:grid;
grid-template-columns:1fr;
gap:20px;
}

.card{
padding:25px;
border-radius:18px;
background:rgba(255,255,255,0.04);
border:1px solid rgba(255,255,255,0.06);
}

/* BUDA */

.buda{
display:grid;
gap:30px;
align-items:center;
}

.buda img{
width:100%;
border-radius:20px;
box-shadow:0 20px 50px rgba(0,0,0,0.6);
}

.buda-text h2{
font-size:28px;
margin-bottom:15px;
}

.buda-text p{
color:#aaa;
line-height:1.6;
}

/* LIBROS INTRO */

.libros-intro{
text-align:center;
padding-top:60px;
padding-bottom:10px;
}

.libros-title{
font-size:34px;
}

.libros-sub{
color:#aaa;
margin-top:10px;
}

/* CARRUSEL */

.carousel-wrapper{
position:relative;
margin-top:60px;
}

.coverflow{
perspective:1200px;
max-width:900px;
height:320px;
margin:auto;
position:relative;
display:flex;
align-items:center;
justify-content:center;
}

.coverflow-track{
width:100%;
height:100%;
transform-style:preserve-3d;
transition:transform 1s cubic-bezier(.77,0,.18,1);
position:relative;
}

.cf-item{
position:absolute;
left:50%;
top:50%;
transform:translate(-50%, -50%);
width:180px;
height:240px;
border-radius:14px;
object-fit:cover;
box-shadow:0 20px 40px rgba(0,0,0,0.6);
transition:transform .6s;
}

@media(min-width:1200px){
.cf-item{
width:260px;
height:340px;
}
}

/* FLECHAS */

.arrow{
position:absolute;
top:50%;
transform:translateY(-50%);
background:rgba(0,0,0,0.5);
border:none;
color:white;
font-size:24px;
padding:10px 15px;
cursor:pointer;
border-radius:50%;
z-index:10;
}

.arrow.left{left:0;}
.arrow.right{right:0;}

/* CTA */
/* SECCION CONSULTA LIBRO */

.consulta-libro{
margin-top:100px;
padding:50px 25px;
text-align:center;

background:rgba(255,255,255,0.03);
border:1px solid rgba(255,255,255,0.06);
border-radius:22px;

max-width:650px;
margin-left:auto;
margin-right:auto;

backdrop-filter:blur(10px);
}

/* TITULO */

.consulta-libro h3{
font-size:26px;
margin-bottom:10px;
font-weight:600;
}

.consulta-libro p{
color:#aaa;
font-size:14px;
margin-bottom:25px;
}

/* SELECT LIBROS */

.consulta-libro select{

width:100%;
max-width:380px;

padding:14px 16px;

border-radius:12px;
border:1px solid rgba(255,255,255,0.12);

background:rgba(243, 235, 235, 0.575);
color:#000000;

font-size:14px;

outline:none;

transition:all .3s ease;
}

.consulta-libro select:hover{
border-color:#22d3ee;
}

.consulta-libro select:focus{
border-color:#7c3aed;
box-shadow:0 0 0 2px rgba(124,58,237,0.3);
}

/* BOTON WHATSAPP */

.btn-whatsapp{

margin-top:20px;

display:inline-flex;
align-items:center;
justify-content:center;

padding:14px 28px;

border-radius:999px;

background:linear-gradient(135deg,#25D366,#1ebe5d);

color:white;

font-size:15px;
font-weight:500;

border:none;

cursor:pointer;

transition:all .3s ease;

box-shadow:0 10px 25px rgba(37,211,102,0.3);
}

/* HOVER */

.btn-whatsapp:hover{

transform:translateY(-2px) scale(1.03);

box-shadow:0 15px 35px rgba(37,211,102,0.45);

}



/* CLICK */

.btn-whatsapp:active{
transform:scale(.97);
}

.otros-libros{
text-align:center;
}

.otros-sub{
color:#aaa;
margin-bottom:40px;
}

.otros-grid{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:25px;

}

.libro-card{

background:rgba(255,255,255,0.04);
border:1px solid rgba(255,255,255,0.06);
border-radius:18px;

padding:20px;

transition:.3s;

}

.libro-card:hover{
transform:translateY(-5px);
}

.libro-card img{

width:100%;
border-radius:10px;
margin-bottom:15px;

}

.libro-card h4{

font-size:16px;
margin-bottom:12px;

}

.libro-card button{

padding:10px 18px;
border-radius:999px;
border:none;

background:linear-gradient(135deg,#7c3aed,#22d3ee);
color:white;

cursor:pointer;
}
/* RESPONSIVE */

@media(max-width:600px){

.consulta-libro{
padding:35px 20px;
margin-top:70px;
}

.consulta-libro h3{
font-size:22px;
}

.consulta-libro select{
font-size:15px;
padding:13px 14px;
}

.btn-whatsapp{
width:100%;
max-width:380px;
}

}

.cta{
text-align:center;
padding:120px 20px;
}

footer{
text-align:center;
padding:40px;
color:#777;
font-size:13px;
}

html, body{
overflow-x:hidden;
max-width:100%;
}
/* RESPONSIVE */

@media(min-width:768px){
.hero h1{
font-size:64px;
}
.grid{
grid-template-columns:repeat(3,1fr);
}
.buda{
grid-template-columns:1fr 1fr;
}

}