/* =========================
   RESET GENERAL
========================= */

*{
margin:0;
padding:0;
box-sizing:border-box;
scroll-behavior:smooth;
font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
}

/* =========================
   BODY
========================= */

body{
background:linear-gradient(135deg,#0f2027,#203a43,#2c5364);
color:white;
line-height:1.6;
}

/* =========================
   NAVBAR
========================= */

nav{
display:flex;
justify-content:space-between;
align-items:center;
padding:18px 40px;
background:rgba(0,0,0,0.75);
backdrop-filter:blur(10px);
position:sticky;
top:0;
z-index:1000;
box-shadow:0 4px 12px rgba(0,0,0,0.30);
}

.logo{
display:flex;
align-items:center;
gap:12px;
font-size:20px;
font-weight:bold;
color:#00eaff;
}

.logo-img{
width:60px;
height:60px;
object-fit:contain;
background:white;
padding:5px;
border-radius:12px;
box-shadow:0 6px 15px rgba(0,0,0,0.30);
}

nav ul{
display:flex;
list-style:none;
gap:22px;
flex-wrap:wrap;
}

nav ul li a{
text-decoration:none;
color:white;
font-weight:600;
transition:0.3s;
}

nav ul li a:hover{
color:#00eaff;
}

/* =========================
   HERO
========================= */

.hero{
min-height:100vh;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
text-align:center;
padding:40px;
}

.foto-perfil{
width:200px;
height:200px;
border-radius:50%;
object-fit:cover;
border:6px solid #00eaff;
box-shadow:0 10px 30px rgba(0,0,0,0.45);
margin-bottom:25px;
}

.hero h1{
font-size:52px;
color:#00eaff;
margin-bottom:18px;
text-shadow:0 3px 10px rgba(0,0,0,0.35);
}

.descripcion{
max-width:900px;
font-size:20px;
line-height:1.9;
color:#eafcff;
margin:auto;
}

/* =========================
   SECCIONES
========================= */

section{
padding:80px 40px;
text-align:center;
}

h2{
font-size:38px;
color:#00eaff;
margin-bottom:30px;
text-shadow:0 3px 10px rgba(0,0,0,0.30);
}

/* =========================
   BLOQUES ESPECIALES
========================= */

#herramientas{
background:rgba(255,255,255,0.04);
border-top:3px solid #00eaff;
border-bottom:3px solid #00eaff;
}

#unidad1{
background:rgba(0,0,0,0.18);
border-top:3px solid #00eaff;
border-bottom:3px solid #00eaff;
}

#unidad2{
background:rgba(0,0,0,0.18);
border-top:3px solid #0077ff;
border-bottom:3px solid #0077ff;
}

/* =========================
   CARDS
========================= */

.cards{
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:28px;
margin-top:25px;
}

.card{
background:white;
color:#111;
width:300px;
padding:28px;
border-radius:20px;
box-shadow:0 12px 28px rgba(0,0,0,0.35);
transition:0.35s;
text-align:center;
}

.card:hover{
transform:translateY(-10px);
box-shadow:0 18px 35px rgba(0,0,0,0.45);
}

.card h3{
font-size:24px;
color:#0077ff;
margin-bottom:12px;
}

.card p{
font-size:16px;
margin-bottom:18px;
color:#333;
}

/* =========================
   BOTONES
========================= */

.btn-doc{
display:inline-block;
padding:12px 24px;
background:#00eaff;
color:#000;
text-decoration:none;
font-weight:bold;
border-radius:30px;
transition:0.3s;
box-shadow:0 6px 14px rgba(0,0,0,0.20);
}

.btn-doc:hover{
background:#0077ff;
color:white;
transform:scale(1.05);
}

/* =========================
   FOOTER
========================= */

footer{
background:#000;
padding:25px;
text-align:center;
font-size:15px;
margin-top:40px;
color:#ddd;
}

/* =========================
   RESPONSIVE TABLET
========================= */

@media(max-width:900px){

nav{
flex-direction:column;
gap:15px;
padding:20px;
}

nav ul{
justify-content:center;
}

.hero h1{
font-size:38px;
}

.descripcion{
font-size:18px;
}

}

/* =========================
   RESPONSIVE CELULAR
========================= */

@media(max-width:600px){

.logo{
flex-direction:column;
font-size:16px;
text-align:center;
}

.logo-img{
width:55px;
height:55px;
}

.hero{
padding:25px;
min-height:auto;
}

.foto-perfil{
width:160px;
height:160px;
}

.hero h1{
font-size:28px;
}

.descripcion{
font-size:16px;
line-height:1.7;
}

section{
padding:60px 20px;
}

h2{
font-size:28px;
}

.card{
width:100%;
max-width:320px;
padding:22px;
}

}