
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:Arial, Helvetica, sans-serif;
  background:#f4f6f9;
  color:#1f2937;
  line-height:1.6;
}

.container{
  width:min(1100px,92%);
  margin:auto;
}

.header{
  background:#08152f;
  position:sticky;
  top:0;
  z-index:1000;
  box-shadow:0 2px 8px rgba(0,0,0,.2);
}

.header .container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:16px 0;
}

.logo{
  height:70px;
}

nav{
  display:flex;
  gap:24px;
}

nav a{
  color:#fff;
  text-decoration:none;
  font-weight:bold;
  transition:.3s;
}

nav a:hover{
  color:#d4af37;
}

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

.hero{

    position:relative;

    min-height:85vh;

    background-position:center center;

    background-size:cover;

    background-repeat:no-repeat;

    display:flex;

    align-items:center;

}

.overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(

        90deg,

        rgba(8,21,47,.82) 0%,

        rgba(8,21,47,.55) 45%,

        rgba(8,21,47,.18) 100%

    );

    display:flex;

    align-items:center;

}

.overlay .container{

    position:relative;

    z-index:2;

}

.hero h1{

    color:#FFF;

    font-size:clamp(2.8rem,6vw,4.4rem);

    line-height:1.05;

    margin-bottom:24px;

    font-weight:800;

}

.hero p{

    color:#F3F4F6;

    font-size:1.25rem;

    max-width:650px;

    margin-bottom:40px;

    line-height:1.8;

}

.actions{

    display:flex;

    gap:18px;

    flex-wrap:wrap;

}

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

.btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-width:220px;

    padding:16px 34px;

    border-radius:10px;

    text-decoration:none;

    font-weight:700;

    font-size:1.05rem;

    transition:all .30s ease;

}

.primary{

    background:#d4af37;

    color:#08152f;

    border:2px solid #d4af37;

}

.primary:hover{

    background:#e5bf45;

    transform:translateY(-3px);

    box-shadow:0 12px 24px rgba(212,175,55,.30);

}

.secondary{

    background:transparent;

    color:#ffffff;

    border:2px solid rgba(255,255,255,.90);

}

.secondary:hover{

    background:rgba(255,255,255,.12);

    transform:translateY(-3px);

    box-shadow:0 12px 24px rgba(255,255,255,.12);

}

section{
  padding:70px 0;
}

section h2{
  color:#08152f;
  margin-bottom:25px;
  text-align:center;
  font-size:2rem;
}

.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:25px;
}

.cards article{
  background:#fff;
  border-radius:10px;
  padding:30px;
  box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.cards h3{
  color:#08152f;
  margin-bottom:15px;
}

ul,ol{
  max-width:850px;
  margin:auto;
}

li{
  margin-bottom:10px;
}

footer{
  background:#08152f;
  color:#fff;
  padding:35px 0;
  text-align:center;
}

footer a{
  color:#d4af37;
  text-decoration:none;
}
/* ===========================
   Portal del Cliente
=========================== */

.portal-card{

    max-width:700px;

    margin:60px auto;

    background:#ffffff;

    border-radius:12px;

    padding:35px;

    box-shadow:0 10px 30px rgba(0,0,0,.10);

}

.portal-card h2{

    color:#08152f;

    margin-bottom:20px;

}

.portal-card input{

    width:100%;

    padding:14px;

    margin:15px 0 25px;

    border:1px solid #d1d5db;

    border-radius:8px;

}

#resultado{

    margin-top:30px;

}

.resultado-card{

    background:#f8fafc;

    padding:20px;

    border-radius:10px;

    border-left:5px solid #d4af37;

}

.mensaje{

    padding:15px;

    border-radius:8px;

    background:#e5e7eb;

}

.mensaje.error{

    background:#fee2e2;

    color:#991b1b;

}
/* ==========================================================
   BOTÓN FLOTANTE WHATSAPP
========================================================== */

.whatsapp-float{

    position:fixed;

    right:25px;

    bottom:25px;

    display:flex;

    align-items:center;

    gap:10px;

    background:#25D366;

    color:#fff;

    text-decoration:none;

    padding:14px 22px;

    border-radius:50px;

    font-weight:bold;

    font-size:15px;

    box-shadow:0 10px 25px rgba(0,0,0,.25);

    z-index:9999;

    transition:.30s;

}

.whatsapp-float:hover{

    transform:translateY(-3px);

    box-shadow:0 15px 30px rgba(0,0,0,.35);

}

.whatsapp-icon{

    font-size:22px;

    line-height:1;

}

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

@media (max-width:992px){

    .hero{

        min-height:75vh;

    }

    .hero h1{

        font-size:3rem;

    }

    .hero p{

        font-size:1.1rem;

        max-width:100%;

    }

}

@media (max-width:768px){

    .hero{

        min-height:70vh;

        text-align:center;

    }

    .overlay{

        background:rgba(8,21,47,.78);

    }

    .overlay .container{

        display:flex;

        flex-direction:column;

        align-items:center;

        justify-content:center;

    }

    .hero h1{

        font-size:2.3rem;

    }

    .hero p{

        font-size:1rem;

        max-width:95%;

    }

    .actions{

        width:100%;

        flex-direction:column;

        align-items:center;

    }

    .btn{

        width:100%;

        max-width:340px;

    }

}

@media (max-width:480px){

    .hero{

        min-height:65vh;

    }

    .hero h1{

        font-size:1.9rem;

    }

    .hero p{

        font-size:.95rem;

        line-height:1.6;

    }

}