/* ============================================================
   MEXALED — estilos propios (encima de Bootstrap 5)
   Colores tomados del logo: rosa mexicano + verde lima,
   sobre base oscura. Cambia las variables y cambia el sitio.
   ============================================================ */

:root {
  --rosa: #d8117d;
  --rosa-oscuro: #a80c61;
  --verde: #7cb342;
  --verde-claro: #9ccc65;
  --oscuro: #12151c;
  --oscuro-2: #1a1f2a;
  --gris-texto: #5b6472;
  --gris-fondo: #f6f7f9;
  --amarillo-luz: #ffb300;
  --radio: 1rem;
}

html {
  scroll-padding-top: 84px;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #1c2330;
  background: #fff;
}

h1, h2, h3, h4, .font-display {
  font-family: "Poppins", "Inter", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ---------- Barra superior ---------- */
.topbar {
  background: var(--oscuro);
  color: #c8cfdb;
  font-size: 0.85rem;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--verde-claro); }
.topbar .bi { color: var(--verde-claro); }

/* ---------- Navbar ---------- */
.navbar-mexaled {
  background: #fff;
  transition: box-shadow 0.25s ease;
}
.navbar-mexaled.scrolled {
  box-shadow: 0 6px 24px rgba(16, 19, 26, 0.12);
}
.navbar-mexaled .nav-link {
  font-weight: 600;
  color: #2a3242;
  margin: 0 0.15rem;
}
.navbar-mexaled .nav-link:hover,
.navbar-mexaled .nav-link.active {
  color: var(--rosa);
}
.logo-img { height: 54px; width: auto; }
/* El logo es cuadrado (mascota + texto). En la barra se recorta
   a la mascota para que se vea limpio a tamaño pequeño. */
.logo-icon {
  width: 52px;
  height: 52px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 12px;
}

/* ---------- Botones ---------- */
.btn-rosa {
  background: var(--rosa);
  border-color: var(--rosa);
  color: #fff;
  font-weight: 700;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
}
.btn-rosa:hover, .btn-rosa:focus {
  background: var(--rosa-oscuro);
  border-color: var(--rosa-oscuro);
  color: #fff;
}
.btn-outline-claro {
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  font-weight: 700;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
}
.btn-outline-claro:hover {
  background: #fff;
  color: var(--oscuro);
}
.btn-verde-wa {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
}
.btn-verde-wa:hover {
  background: #1eb856;
  border-color: #1eb856;
  color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--oscuro) url("../imagenes/pagina_web.jpg") center / cover no-repeat;
  color: #fff;
  padding: 6.5rem 0 5.5rem;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 12, 18, 0.94) 0%, rgba(10, 12, 18, 0.78) 55%, rgba(10, 12, 18, 0.45) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.hero-eyebrow .bi { color: var(--amarillo-luz); }
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
}
.hero h1 .resalta {
  color: var(--verde-claro);
}
.hero .lead { color: #dbe2ec; max-width: 34rem; }
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
}
.hero-chip .bi { color: var(--amarillo-luz); }
.badge-abierto {
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}
.badge-abierto.abierto { background: var(--verde); color: #fff; }
.badge-abierto.cerrado { background: #54617a; color: #fff; }

/* ---------- Secciones ---------- */
.seccion { padding: 4.5rem 0; }
.seccion-gris { background: var(--gris-fondo); }
.eyebrow {
  color: var(--rosa);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.seccion h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.subtitulo { color: var(--gris-texto); max-width: 42rem; }

/* ---------- Beneficios ---------- */
.beneficio {
  background: #fff;
  border: 1px solid #e8ebf0;
  border-radius: var(--radio);
  padding: 1.4rem 1.25rem;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.beneficio:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(16, 19, 26, 0.1);
}
.beneficio .icono {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  background: var(--rosa);
  margin-bottom: 0.9rem;
}
.beneficio:nth-child(2) .icono { background: var(--verde); }
.beneficio .icono.verde { background: var(--verde); }
.beneficio h3 { font-size: 1.05rem; }
.beneficio p { color: var(--gris-texto); font-size: 0.93rem; margin: 0; }

/* ---------- Tarjetas de producto ---------- */
.tarjeta-producto {
  border: 1px solid #e8ebf0;
  border-radius: var(--radio);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.tarjeta-producto:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(16, 19, 26, 0.12);
}
.tarjeta-producto .foto {
  background: linear-gradient(135deg, var(--oscuro-2), #2b3345);
  color: #fff;
  padding: 2.2rem 1rem 1.8rem;
  text-align: center;
}
.tarjeta-producto .foto .bi {
  font-size: 4rem;
  color: var(--amarillo-luz);
  text-shadow: 0 0 26px rgba(255, 179, 0, 0.65);
}
.tarjeta-producto .cuerpo {
  padding: 1.4rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.tarjeta-producto h3 { font-size: 1.2rem; }
.tarjeta-producto .detalle {
  color: var(--rosa);
  font-weight: 700;
  font-size: 0.88rem;
}
.tarjeta-producto p { color: var(--gris-texto); font-size: 0.94rem; }
.precio {
  font-family: "Poppins", sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--oscuro);
  line-height: 1;
}
.precio small {
  font-size: 0.85rem;
  color: var(--gris-texto);
  font-weight: 600;
}
.etiqueta-flotante {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--amarillo-luz);
  color: #3a2b00;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  z-index: 3;
}

/* ---------- Paquetes ---------- */
.tarjeta-paquete {
  border: 2px solid #e8ebf0;
  border-radius: var(--radio);
  padding: 1.8rem;
  height: 100%;
  background: #fff;
  position: relative;
}
.tarjeta-paquete.destacado {
  border-color: var(--rosa);
  box-shadow: 0 18px 40px rgba(216, 17, 125, 0.16);
}
.tarjeta-paquete .ahorro {
  display: inline-block;
  background: #e8f5dd;
  color: #4c7a1f;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}
.tarjeta-paquete.destacado .ahorro { background: #fde7f2; color: var(--rosa-oscuro); }

/* ---------- Mayoreo ---------- */
.mayoreo {
  background: var(--oscuro);
  color: #fff;
  border-radius: 1.5rem;
  padding: 3rem 2.2rem;
  position: relative;
  overflow: hidden;
}
.mayoreo::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 179, 0, 0.35), transparent 70%);
}
.mayoreo h2 { color: #fff; }
.mayoreo p { color: #c8cfdb; }
.mayoreo .check { color: var(--verde-claro); font-size: 1.2rem; }
.mayoreo .lead { color: #e6ebf2; }

/* ---------- Pasos ---------- */
.paso-num {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--rosa);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.9rem;
}
.paso h3 { font-size: 1.1rem; }
.paso p { color: var(--gris-texto); font-size: 0.94rem; }

/* ---------- Formulario ---------- */
.form-card {
  border: 1px solid #e8ebf0;
  border-radius: var(--radio);
  box-shadow: 0 18px 40px rgba(16, 19, 26, 0.08);
}
.form-label { font-weight: 600; }

/* ---------- Mapa y contacto ---------- */
.mapa {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 340px;
  border-radius: var(--radio);
}
.dato-contacto { display: flex; gap: 0.9rem; align-items: flex-start; }
.dato-contacto .bi {
  font-size: 1.35rem;
  color: var(--rosa);
}
.dato-contacto strong { display: block; }
.dato-contacto span { color: var(--gris-texto); font-size: 0.94rem; }
.horario-tabla td { padding: 0.35rem 0; }
.horario-tabla td:last-child { text-align: right; font-weight: 700; }

/* ---------- Footer ---------- */
.footer {
  background: var(--oscuro);
  color: #aab3c2;
  font-size: 0.93rem;
}
.footer h4 { color: #fff; font-size: 1.05rem; }
.footer a { color: #c8cfdb; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer .logo-img { height: 64px; }

/* ---------- Botón flotante WhatsApp ---------- */
.btn-flotante-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1050;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.5);
  text-decoration: none;
}
.btn-flotante-wa:hover { background: #1eb856; color: #fff; }

@media (max-width: 576px) {
  .hero { padding: 4.5rem 0 4rem; }
  .mayoreo { padding: 2.2rem 1.4rem; }
  .logo-img { height: 46px; }
}
