*,
*::before,
*::after{
box-sizing:border-box;
}

:root {
  --primary: #2593F1;
  --secondary: #05938A;
  --accent: #6434AC;
  --cta: #DC1C64;

  --manantial-main: #2593F1;
  --manantial-light: #CEE9FB;

  --lluvias-main: #05938A;
  --lluvias-light: #B8EAE5;

  --corario-main: #6434AC;
  --corario-light: #E0CFF5;

  --infantil-main: #DC1C64;
  --infantil-light: #F9C9D9;

  --text-dark: #1e1e1e;
  --text-light: #666;
}

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html,body{
overflow-x:hidden;
font-family:'Inter',sans-serif;
}

/* NAVBAR DESKTOP */
.navbar{
position:fixed;
width:100%;
top:0;
background:rgba(255,255,255,0.85);
backdrop-filter:blur(10px);
z-index:1000;
padding:15px 40px;
box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

.nav-container{
display:flex;
justify-content:flex-end;
align-items:center;
}

.navbar.scrolled{
background:white;
box-shadow:0 8px 25px rgba(0,0,0,0.08);
}

.hamburger{
display:none;
}

.nav-links a{
margin-left:25px;
text-decoration:none;
color:var(--text-dark);
font-weight:500;
transition:.3s;
}

.nav-links a:hover{
color:var(--primary);
}

/* bloquear scroll cuando menú abierto */
body.menu-open{
overflow:hidden;
}

/* animación mejorada del menú */
.nav-links{
transform:translateY(-10px) scale(.98);
opacity:0;
transition:
opacity .25s ease,
transform .25s ease;
}

.nav-links.active{
opacity:1;
transform:translateY(0) scale(1);

}

/* LOGO */
.logo{
width:110px;
height:110px;
object-fit:cover;
border-radius:28px;
box-shadow:0 15px 35px rgba(0,0,0,0.2);
margin-bottom:25px;
background:white;
padding:4px;
}

/* HERO */
.hero{
padding:80px 10% 10px 10%;
min-height:100vh;
display:flex;
align-items:center;
justify-content:space-between;
background:linear-gradient(135deg,var(--primary),var(--accent));
color:white;
}

.hero-content{
max-width:550px;
}

.hero h1{
font-size:3rem;
margin-bottom:20px;
}

.hero p{
margin-bottom:20px;
opacity:.95;
}

.btn-primary{
display:inline-block;
padding:14px 28px;
background:var(--cta);
color:white;
text-decoration:none;
border-radius:40px;
font-weight:600;
transition:.3s ease;
}

.btn-primary:hover{
transform:translateY(-4px);
box-shadow:0 15px 30px rgba(0,0,0,0.2);
}

/* HERO MOCKUP */
.hero-image{
position:relative;
width:250px;
height:525px;
overflow:hidden;
}

.hero-card{
position:absolute;
width:100%;
height:auto;
top:0;
left:0;
border-radius:0;
box-shadow:none;
transform:translateX(100%);
transition:transform .9s cubic-bezier(.4,0,.2,1);
}

.hero-card.active{
transform:translateX(0);
z-index:3;
}

.hero-card.exit{
transform:translateX(-120%);
z-index:2;
}

section{
padding:100px 40px;
max-width:1200px;
margin:auto;
}

h2{
text-align:center;
font-size:2.5rem;
margin-bottom:60px;
}

/* COLECCIONES */
.collections .cards{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:40px;
}

.collections .card{
display:flex;
align-items:center;
text-align: center;
gap:30px;
padding:40px;
border-radius:25px;
background:white;
box-shadow:0 20px 50px rgba(0,0,0,0.05);
transition:.4s ease;
}

.card-img img{
width:160px;
height:auto;
}

 /* Sonbra al pasar el puntero */
.collections .card:hover{
transform:translateY(-8px);
box-shadow:0 30px 60px rgba(0,0,0,0.1);
}

 /* Texto */
.card-content h3{
font-size:1.3rem;
text-align:center;
margin-bottom:10px;
}

.card-content p{
line-height:1.6;
color:#555;
}

/* FUNCIONALIDADES */
.features .cards{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:40px;
margin-top:40px;
}

 /* Estilos */
.features .card{
background:white;
padding:40px 30px;
border-radius:20px;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
text-align:center;
box-shadow:0 20px 50px rgba(0,0,0,0.05);
transition:.4s ease;
}

.features .card:hover{
transform:translateY(-8px);
box-shadow:0 30px 60px rgba(0,0,0,0.1);
}

 /* Iconos */
.features .card i{
font-size:36px;
color:var(--primary);
margin-bottom:20px;
}
 
 /* Iconos */
.features .card h3{
font-size:1.2rem;
margin-bottom:10px;
}

 /* Sombra iconos */
.features .card i{
font-size:30px;
color:var(--primary);
background:rgba(0,0,0,0.05);
padding:18px;
border-radius:14px;
margin-bottom:20px;
}

 /* Textos */
.features .card p{
font-size:0.95rem;
line-height:1.6;
color:#555;
max-width:260px;
}

/* COLORES COLECCIONES */
.manantial{
background:linear-gradient(135deg,var(--manantial-light),white);
border-top:6px solid var(--manantial-main);
}

.lluvias{
background:linear-gradient(135deg,var(--lluvias-light),white);
border-top:6px solid var(--lluvias-main);
}

.corario{
background:linear-gradient(135deg,var(--corario-light),white);
border-top:6px solid var(--corario-main);
}

.infantil{
background:linear-gradient(135deg,var(--infantil-light),white);
border-top:6px solid var(--infantil-main);
}

/* FEATURES GRID */
.features .cards{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:30px;
}

/* PLANES */
.plan-cards{
display:flex;
justify-content:center;
gap:40px;
flex-wrap:wrap;
margin-top:40px;
}

 /* Diseño */
.plan{
background:white;
padding:40px;
border-radius:20px;
width:300px;
text-align:center;
transition:.4s ease;
opacity:0;
transform:translateY(60px);
box-shadow:0 15px 40px rgba(0,0,0,0.05);
}

.plan:hover{
transform:translateY(-10px);
box-shadow:0 25px 60px rgba(0,0,0,0.1);
}

.plan h3 {
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.plan.featured{
border:3px solid var(--primary);
transform:scale(1.05);
}
 
 /* Margen listas */
.plan ul li {
  margin-top: 5px;
  margin-bottom: 5px;
}


/* DESARROLLADOR */
.about{
background:linear-gradient(135deg,#f8f9fc,#ffffff);
}

.developer-card{
max-width:900px;
margin:0 auto;
display:flex;
align-items:center;
gap:50px;
padding:60px;
background:white;
border-radius:30px;
box-shadow:0 25px 60px rgba(0,0,0,0.05);
}

.developer-photo{
width:180px;
height:180px;
object-fit:cover;
border-radius:50%;
box-shadow:0 20px 40px rgba(0,0,0,0.15);
}

.developer-info h3{
font-size:1.6rem;
margin-bottom:10px;
}

.developer-role{
color:var(--primary);
font-weight:600;
margin-bottom:20px;
}

.developer-info p{
color:var(--text-light);
line-height:1.7;
}

/* FORMULARIO DE CONTACTO */
.contact {
  background: #f9f9f9;
}

.contact form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact input,
.contact textarea {
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: 0.3s ease;
}

.contact input:focus,
.contact textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 147, 241, 0.15);
}

.contact textarea {
  min-height: 140px;
  resize: vertical;
}

.contact button {
  padding: 14px;
  border: none;
  border-radius: 40px;
  background: var(--primary);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.contact button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}


 /* LEGAL */
.legal-section {
  text-align: center;
  padding: 20px 20px;
  background: #ffffff;
}

.legal-section a {
  color: #000;
  font-size: 0.95rem;
  text-decoration: none;
  transition: 0.3s ease;
}

.legal-section a:hover {
  text-decoration: underline;
  color: var(--primary);
}

/* WAVE */
.wave svg{
display:block;
width:100%;
height:100px;
fill:#ffffff;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* FOOTER */
.site-footer{
  padding:28px 20px;
  color:#666;
}

.footer-inner{
  max-width:1300px;
  margin:0 auto;
}

.footer-legal{
  margin:0;
  font-size:0.90rem;
  line-height:1.5;
}

.brand{
  white-space:nowrap;
}