* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: #1f2d36;
  background: linear-gradient(-45deg, #f2f4f3, #e6f2ee, #f9f6f2, #e9f3ef);
  background-size: 400% 400%;
  animation: bg 20s ease infinite;
  
}

@keyframes bg {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* =========================
   HEADER
========================= */

.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* =========================
   LOGO
========================= */

.brand img {
  height: 42px;          /* controla el tamaño real */
  width: auto;
  max-width: 140px;
  display: block;
}

/* =========================
   NAV DESKTOP
========================= */

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  margin-left: 24px;
  text-decoration: none;
  color: #1f2d36;
  font-weight: 500;
  font-size: 15px;
  transition: opacity 0.2s ease;
}

.nav-links a:hover {
  opacity: 0.7;
}

/* =========================
   HAMBURGUESA
========================= */

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 26px;
  height: 2.5px;
  background: #1f2d36;
  border-radius: 2px;
}

/* =========================
   MENÚ MÓVIL
========================= */

.mobile-menu {
  display: none;
  flex-direction: column;
  background: white;
  padding: 20px;
  text-align: center;
}

.mobile-menu a {
  padding: 14px 0;
  text-decoration: none;
  font-size: 16px;
  color: #1f2d36;
  font-weight: 500;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-menu.active {
    display: flex;
  }

  .brand img {
    height: 36px; /* un poco más pequeño en mobile */
  }
}


.hero {
    position: relative;
    min-height: 50vh;
    padding: 100px 24px 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    /* Imagen de fondo */
    background-image: 
        linear-gradient(
        rgba(220, 245, 242, 0.65),
        rgba(220, 245, 242, 0.65)
        ),
        url("../images/hero-min.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.hero h1 {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 20px;
  max-width: 880px;
  line-height: 1;
}

.serif {
  font-family: "Playfair Display", serif;
  font-style: italic;
}

.hero-subtitle {
  font-size: 18px;
  max-width: 740px;
  margin: 0 auto;
  opacity: 0.95;
}

.section {
  padding: 80px 20px;
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
  scroll-margin-top: 90px;
}

.section h2 {
  font-size: 34px;
  margin-bottom: 20px;
}

.section p {
  font-size: 16px;
  line-height: 1.6;
  max-width: 780px;
  margin: 0 auto 16px;
}

.eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 600;
  color: #2a8f75;
  margin-bottom: 10px;
}

.soft-bg {
  background: rgba(255,255,255,0.6);
  border-radius: 28px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-top: 40px;
  padding: 40px;
}

.card {
  background: #fff;
  padding: 28px 22px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.card h3 {
  margin-bottom: 10px;
}

.benefits {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.benefits li {
  margin-bottom: 10px;
  font-weight: 500;
}


.footer {
  text-align: center;
  padding: 150px 20px 50px 20px;
  font-size: 14px;
  color: #666;
}

.disclaimer {
  max-width: 720px;
  margin: 10px auto 0;
  font-size: 12px;
  color: #888;
}

.footer-links {
  margin: 10px 0;
  font-size: 13px;
}

.footer-links a {
  color: #666;
  text-decoration: underline;
}

.footer-links a:hover {
  opacity: 0.8;
}


.contact {
  padding: 10px 24px 300px 24x;
  text-align: center;
}

.contact h2 {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 12px;
}

.contact p {
  max-width: 640px;
  margin: 0 auto 36px;
  font-size: 18px;
  color: #445;
}



.cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 18px 42px;
  border-radius: 999px;

  /* ✅ TU VERDE ORIGINAL, SIN TOCAR */
  background: linear-gradient(
    135deg,
    #6fc7ab,
    #468e77
  );

  color: #ffffff;
  font-size: 30px;
  font-weight: 900;
  font-family: "Montserrat", sans-serif;

  cursor: pointer;
  text-decoration: none;

  /* Escudo visual */
  isolation: isolate;

  box-shadow:
    0 12px 30px rgba(99, 191, 162, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);

  transition: all 0.25s ease;
}

/* 👇 HALO BLANCO REAL, SIN CONTAMINAR COLOR */
.cta-button::after {
  content: "";
  position: absolute;
  inset: -15px;
  border-radius: inherit;

  border: 15px solid rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

/* Hover */
.cta-button:hover {
  transform: translateY(-10px);
  box-shadow:
    0 16px 36px rgba(99, 191, 162, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

/* Active */
.cta-button:active {
  transform: translateY(0);
  box-shadow:
    0 8px 18px rgba(99, 191, 162, 0.3),
    inset 0 3px 6px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
  .cta-button {
    width: 90vw;              /* 90% del ancho de la pantalla */
    max-width: 90%;
    padding: 18px 20px;       /* menos padding horizontal */
    font-size: 22px;          /* tamaño cómodo en móvil */
    text-align: center;
    white-space: nowrap;      /* 🚫 NO saltos de línea */
  }

  .cta-button::after {
    inset: -12px;             /* halo proporcional en móvil */
    border-width: 12px;
  }
}


@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
  }

  .section h2 {
    font-size: 26px;
  }

  .nav nav {
    display: none;
  }

  .contact h2 {
    font-size: 32px;
  }

  .contact p {
    font-size: 16px;
  }
  
}


