:root{
--primary:#0ea5e9;
--secondary:#facc15;
--dark:#050816;
--card:#0f172a;
--text:#f8fafc;
}

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Inter',sans-serif;
}

html{
scroll-behavior:smooth;
}

body{
background:var(--dark);
color:white;
overflow-x:hidden;
}

img{
max-width:100%;
display:block;
}

a{
text-decoration:none;
}

.container{
width:90%;
max-width:1300px;
margin:auto;
}

.header{
position:fixed;
top:0;
left:0;
width:100%;
padding:10px 5%;
display:flex;
justify-content:space-between;
align-items:center;
background:rgba(5,8,22,.92);
backdrop-filter:blur(15px);
z-index:1000;
min-height:190px;
border-bottom:1px solid rgba(255,255,255,.05);
}

.logo img{
height:170px;
width:auto;
display:block;
}

nav{
display:flex;
gap:30px;
align-items:center;
}

nav a{
color:white;
font-weight:600;
font-size:1rem;
transition:.3s;
}

nav a:hover{
color:var(--secondary);
}

.btn-header{
padding:14px 28px;
background:var(--secondary);
color:black;
font-weight:700;
border-radius:50px;
transition:.3s;
}

.btn-header:hover{
transform:translateY(-2px);
}

.mobile-btn{
display:none;
font-size:2rem;
cursor:pointer;
}

.hero{
height:100vh;
background:url('assets/captura-ciudad-1.jpg');
background-size:cover;
background-position:center;
display:flex;
align-items:center;
position:relative;
}

.hero-overlay{
position:absolute;
inset:0;
background:
linear-gradient(
90deg,
rgba(5,8,22,.96),
rgba(5,8,22,.75),
rgba(5,8,22,.45)
);
}

.hero-content{
position:relative;
z-index:2;
width:90%;
max-width:1300px;
margin:auto;
}

.badge{
display:inline-block;
padding:12px 22px;
border-radius:50px;
background:rgba(255,255,255,.08);
backdrop-filter:blur(10px);
font-size:.9rem;
margin-bottom:20px;
}

.hero h1{
font-size:clamp(3.5rem,8vw,7rem);
font-weight:900;
line-height:1;
margin-bottom:10px;
}

.hero-subtitle{
font-size:1.6rem;
font-weight:500;
margin-bottom:25px;
opacity:.9;
}

.hero p{
max-width:700px;
font-size:1.2rem;
line-height:1.8;
opacity:.9;
margin-bottom:35px;
}

.hero-buttons{
display:flex;
gap:15px;
flex-wrap:wrap;
}

.btn-primary{
display:inline-block;
padding:18px 35px;
background:var(--secondary);
color:black;
font-weight:800;
border-radius:50px;
transition:.3s;
}

.btn-primary:hover{
transform:translateY(-3px);
}

.btn-secondary{
display:inline-block;
padding:18px 35px;
border:2px solid white;
color:white;
font-weight:700;
border-radius:50px;
transition:.3s;
}

.btn-secondary:hover{
background:white;
color:black;
}

.section{
padding:120px 0;
}

.dark{
background:#08111f;
}

.title{
text-align:center;
margin-bottom:60px;
}

.title h2{
font-size:3rem;
margin-bottom:10px;
}

.title p{
opacity:.8;
}

.cards{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:30px;
}

.card{
background:var(--card);
padding:40px;
border-radius:24px;
transition:.3s;
}

.card:hover{
transform:translateY(-8px);
}

.card i{
font-size:2rem;
margin-bottom:20px;
color:var(--secondary);
}

.card h3{
margin-bottom:15px;
}

.card p{
opacity:.85;
line-height:1.7;
}

.grid-two{
display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
align-items:center;
}

.cover{
max-width:500px;
margin:auto;
}

.section-tag{
display:inline-block;
color:var(--secondary);
font-weight:800;
margin-bottom:10px;
}

.grid-two h2{
font-size:3rem;
margin-bottom:20px;
}

.grid-two p{
line-height:1.9;
opacity:.9;
}

.list{
margin:25px 0;
padding-left:20px;
}

.list li{
margin-bottom:10px;
}

.download-box{
margin-top:35px;
}

.download-note{
margin-top:15px;
opacity:.75;
}

.city-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
}

.city-grid img{
height:320px;
width:100%;
object-fit:cover;
border-radius:20px;
}

.city-text{
text-align:center;
margin-top:50px;
}

.city-text h3{
font-size:2rem;
margin-bottom:20px;
}

.city-text p{
max-width:700px;
margin:auto;
margin-bottom:30px;
opacity:.85;
line-height:1.8;
}

.gallery{
columns:3;
column-gap:15px;
}

.gallery img{
width:100%;
margin-bottom:15px;
border-radius:20px;
transition:.3s;
}

.gallery img:hover{
transform:scale(1.02);
}

.author-photo{
max-width:450px;
border-radius:30px;
margin:auto;
}

.socials{
display:flex;
gap:20px;
margin-top:30px;
}

.socials a{
width:55px;
height:55px;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
background:rgba(255,255,255,.08);
color:white;
font-size:1.4rem;
transition:.3s;
}

.socials a:hover{
background:var(--secondary);
color:black;
}

footer{
padding:70px 20px;
text-align:center;
border-top:1px solid rgba(255,255,255,.08);
}

footer img{
height:140px;
width:auto;
margin:auto;
margin-bottom:25px;
display:block;
}

footer p{
opacity:.8;
margin-bottom:10px;
}

@media(max-width:900px){

.header{
min-height:120px;
}

.logo img{
height:100px;
}

nav{
display:none;
}

.mobile-btn{
display:block;
}

.grid-two{
grid-template-columns:1fr;
}

.city-grid{
grid-template-columns:1fr;
}

.gallery{
columns:1;
}

.hero{
padding-top:120px;
}

.hero h1{
font-size:3rem;
}

.hero-subtitle{
font-size:1.2rem;
}

.title h2{
font-size:2rem;
}

.hero-buttons{
flex-direction:column;
align-items:flex-start;
}

.btn-primary,
.btn-secondary{
width:100%;
text-align:center;
}
/* ==========================
   RESPONSIVE MEJORADO 2026
========================== */

@media (max-width: 900px){

.container{
width:95%;
}

.header{
min-height:100px;
padding:10px 20px;
}

.logo img{
height:90px;
}

.hero{
padding-top:120px;
height:auto;
min-height:100vh;
}

.hero-content{
text-align:center;
}

.hero h1{
font-size:2.5rem;
line-height:1.1;
word-wrap:break-word;
}

.hero-subtitle{
font-size:1rem;
line-height:1.5;
padding:0 10px;
}

.hero p{
font-size:1rem;
max-width:100%;
padding:0 10px;
}

.hero-buttons{
display:flex;
flex-direction:column;
width:100%;
align-items:center;
}

.btn-primary,
.btn-secondary{
width:100%;
max-width:350px;
text-align:center;
padding:16px 20px;
}

.title h2{
font-size:2rem;
line-height:1.2;
padding:0 10px;
}

.title p{
padding:0 10px;
}

.grid-two{
grid-template-columns:1fr;
gap:40px;
}

.cover{
max-width:280px;
}

.author-photo{
width:100%;
max-width:320px;
margin:auto;
}

.grid-two h2{
font-size:2rem;
line-height:1.2;
}

.grid-two p{
font-size:1rem;
}

.city-grid{
grid-template-columns:1fr;
}

.city-grid img{
height:auto;
max-height:300px;
}

.city-text h3{
font-size:1.6rem;
padding:0 10px;
}

.city-text p{
padding:0 15px;
}

.gallery{
columns:1;
}

.card{
padding:25px;
}

.card h3{
font-size:1.3rem;
}

.socials{
justify-content:center;
}

footer{
padding:50px 20px;
}

footer img{
height:100px;
}

}

/* teléfonos pequeños */

@media (max-width:480px){

.hero h1{
font-size:2rem;
}

.hero-subtitle{
font-size:.95rem;
}

.title h2{
font-size:1.7rem;
}

.grid-two h2{
font-size:1.7rem;
}

.city-text h3{
font-size:1.4rem;
}

.btn-primary,
.btn-secondary,
.btn-header{
font-size:.95rem;
padding:14px 18px;
}

.logo img{
height:75px;
}

footer img{
height:80px;
}

}
}
