/* RESET */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: #333;
  background: #ffffff;
}

/* CONTENEDOR */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}

/* HEADER */
header {
  background: white;
  position: sticky;
  top: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
   backdrop-filter: blur(10px);
   border-bottom: 1px solid #eee;
}
.nav-container {
  max-width: 1400px; /* 👈 más ancho que el resto */
  margin: auto;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px; /* 👈 clave */
}

.logo img {
  height: 45px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo span {
  font-weight: 800;
  font-size: 1.3rem;
  color: #1b4332;
}
.logo span:hover {
  color: #40916c;
}
.logo:hover {
  opacity: 0.8;
}
button:hover {
  opacity: 0.9;
}
.nav-links a {
  margin-left: 20px;
  text-decoration: none;
  color: #1b4332;
  font-weight: 600;
  position: relative;
  font-size: 0.95rem;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background: #1b4332;
  bottom: -5px;
  left: 0;
  transition: 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}
/* HERO */
#hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(to bottom, #f1f8f5, #ffffff);
  min-height: 90vh;
  display: flex;
  align-items: center;
}
section img {
  margin-top: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
#hero h1 {
  font-size: 2.2rem;
  color: #1b4332;
}

#hero p {
  max-width: 600px;
  margin: 15px auto;
}
#hero .container {
  max-width: 700px;
}

/* BOTONES */
.btn {
  display: inline-block;
  margin: 10px;
    padding: 14px 24px;
  font-size: 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
   transition: all 0.2s ease;
}
.btn:hover {
  transform: scale(1.05);
}
.whatsapp {
  background: #25D366;
  color: white;
   box-shadow: 0 5px 15px rgba(37,211,102,0.4);
}

.call {
  background: #1b4332;
  color: white;
}

.btn:hover {
  opacity: 0.9;
}
section {
   padding: 100px 20px;
}
/* GRID */
.grid-3 {
  display: grid;
  gap: 20px;
}
html {
  scroll-behavior: smooth;
}
.grid-2 {
  display: grid;
  gap: 20px;
}
.whatsapp-float {
  animation: pulse 2s infinite;
}
input:focus, textarea:focus {
  outline: none;
  border: 1px solid #1b4332;
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.12); }
  100% { transform: scale(1); }
}
/* TARJETAS */
.card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #eee;
  text-align: center;
   transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.whatsapp-float {
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.card:hover {
  transform: translateY(-8px) scale(1.01);
}

/* BENEFICIOS */
#beneficios ul {
  list-style: none;
  padding: 0;
}

#beneficios li {
  margin: 10px 0;
}

/* CTA */
#cta {
  text-align: center;
  background: #1b4332;
  color: white;
  padding: 60px 20px;
}

/* FORM */
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

input, textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

button {
  padding: 12px;
  border: none;
  background: #1b4332;
  color: white;
  cursor: pointer;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: #f1f8f5;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  padding: 15px;
  border-radius: 50%;
  font-size: 20px;
}
#hero {
  background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
              url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  color: white;
}
.card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
  height: 180px;
  object-fit: cover;
}
#hero h1 {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.2;
}

.card h3 {
  color: #1b4332;
}

.card p {
  font-size: 0.95rem;
}
/* RESPONSIVE */
@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  #hero h1 {
    font-size: 1.6rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}