/* -------------------------------------------------------
   MARRET - ESTILOS GENERALES (VERSIÓN ESTÉTICA MEJORADA)
---------------------------------------------------------- */

:root {
  --color-primary: #0056d6;
  --color-secondary: #2bb8ff;
  --color-accent: #00c3a5;
  --color-dark: #0a0f1d;
  --color-text: #1e1e1e;
  --color-muted: #6b7280;
  --color-light: #ffffff;
  --color-bg: #f3f5fb;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;

  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.12);
  --shadow-medium: 0 18px 40px rgba(15, 23, 42, 0.16);

  --container: 1200px;
}

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

/* Evitar scroll horizontal accidental */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background: radial-gradient(circle at top, #0b1020 0, #050714 45%, #02030a 100%);
  line-height: 1.6;
}

/* ------------------------------
   CONTENEDOR GENERICO
--------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: auto;
  padding: 0 20px;
}

/* ------------------------------
   HEADER
--------------------------------- */

header {
  width: 100%;
  background: rgba(5, 8, 20, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 16px rgba(15, 23, 42, 0.6);
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 1px solid rgba(56, 189, 248, 0.25);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  column-gap: 32px;
}

/* Enlace contenedor del logo */
.logo {
  display: flex;
  align-items: center;
}

/* Logo completo (icono + texto + slogan) */
.logo-img-full {
  height: 52px;
  width: auto;
  transform: scale(1.12);
  transform-origin: left center;
  filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.4));
  transition: 0.2s ease-out;
}

.logo:hover .logo-img-full {
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.7));
}

/* Ajustes en distintos anchos */
@media (max-width: 1250px) {
  .logo-img-full {
    height: 48px;
    transform: scale(1.08);
  }
}

@media (max-width: 1100px) {
  .logo-img-full {
    height: 44px;
    transform: scale(1.04);
  }
}

/* ------------------------------
   NAVEGACIÓN
--------------------------------- */

nav .nav-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-secondary);
}

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

nav .nav-links a {
  text-decoration: none;
  color: #e5e7eb;
  font-size: 0.9rem;
  padding: 7px 11px;
  border-radius: 999px;
  transition: 0.2s ease;
  display: flex;
  align-items: center;
  position: relative;
}

/* Subrayado suave en hover */
nav .nav-links a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-secondary), #a855f7);
  border-radius: 999px;
  opacity: 0;
  transform: scaleX(0.3);
  transform-origin: center;
  transition: 0.18s ease;
}

nav .nav-links a.active,
nav .nav-links a:hover {
  background: rgba(56, 189, 248, 0.12);
  color: #e0f2fe;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.45);
}

nav .nav-links a.active::after,
nav .nav-links a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Botón WhatsApp menú (verde oficial + glow) */
.btn-whatsapp-nav {
  background: #25d366;
  color: white !important;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: 0 0 16px rgba(37, 211, 102, 0.55);
  transition: 0.18s ease-out;
}

.btn-whatsapp-nav:hover {
  background: #1ebe5d;
  box-shadow: 0 0 22px rgba(37, 211, 102, 0.8);
}

/* En pantallas medianas compactamos aún más el menú */
@media (max-width: 1100px) {
  nav .nav-links {
    gap: 10px;
  }
  nav .nav-links a {
    font-size: 0.86rem;
    padding: 5px 9px;
  }
}

/* ------------------------------
   MENÚ RESPONSIVE
--------------------------------- */

@media (max-width: 900px) {
  nav .nav-toggle {
    display: block;
  }

  nav .nav-links {
    position: absolute;
    top: 80px;
    right: 14px;
    background: #020617;
    width: 230px;
    flex-direction: column;
    padding: 18px;
    display: none;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.9);
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.5);
  }

  nav .nav-links.show {
    display: flex;
  }

  nav .nav-links a {
    width: 100%;
    justify-content: flex-start;
  }
}

/* -------------------------------------------------------
   HERO + SLIDER
---------------------------------------------------------- */

.hero {
  width: 100%;
  height: 75vh;
  min-height: 420px;
  position: relative;
  overflow: hidden;
}

/* Capa oscura sutil sobre el fondo del slider con leve animación */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 5% 0%, rgba(56, 189, 248, 0.38), transparent 55%),
    radial-gradient(circle at 90% 0%, rgba(129, 140, 248, 0.28), transparent 55%),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.8), transparent 60%);
  z-index: 1;
  mix-blend-mode: screen;
  animation: heroGlow 18s ease-in-out infinite alternate;
}

.hero-slider {
  width: 100%;
  height: 100%;
  position: absolute;
}

.hero-slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: absolute;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-box {
  max-width: 580px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.86));
  padding: 28px 30px 26px;
  border-radius: 18px;
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(59, 130, 246, 0.65);
  color: white;
  position: relative;
  overflow: hidden;
}

/* Borde neon interno suave */
.hero-box::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.4), transparent 55%);
  opacity: 0.6;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-kicker {
  font-size: 0.78rem;
  color: var(--color-secondary);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-title {
  font-size: 2.1rem;
  margin: 10px 0;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: #e5e7eb;
}

.hero-bullets {
  margin-top: 6px;
  font-size: 0.85rem;
  color: #e5e7eb;
}

.hero-bullets span {
  display: inline-flex;
  align-items: center;
  margin-right: 10px;
}

.hero-bullets span::before {
  content: "•";
  margin-right: 4px;
  color: var(--color-secondary);
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

/* -------------------------------------------------------
   BOTONES
---------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  transition: 0.18s ease-out;
  cursor: pointer;
  border: none;
}

/* Neon ligero para botones principales */
.btn-primary {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: white;
  box-shadow: 0 0 18px rgba(37, 99, 235, 0.7);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 26px rgba(59, 130, 246, 0.9);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--color-secondary), #22c55e);
  color: white;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.7);
}
.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 26px rgba(45, 212, 191, 0.9);
}

.btn-outline {
  border: 1.5px solid rgba(148, 163, 184, 0.8);
  color: #e5e7eb;
  background: transparent;
}
.btn-outline:hover {
  background: rgba(15, 23, 42, 0.7);
}

/* -------------------------------------------------------
   PAGE HERO (para páginas internas)
---------------------------------------------------------- */

.page-hero {
  padding: 80px 0 40px;
  background: radial-gradient(circle at top, #020617 0, #020617 60%, #020617 100%);
  text-align: center;
  border-bottom: 1px solid rgba(30, 64, 175, 0.7);
}

.page-hero h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #e5e7eb;
}

.page-hero p {
  max-width: 700px;
  margin: auto;
  font-size: 0.95rem;
  color: #9ca3af;
}

/* -------------------------------------------------------
   SECCIONES GENERALES
---------------------------------------------------------- */

.section {
  padding: 60px 0;
}

.section + .section {
  border-top: 1px solid rgba(30, 64, 175, 0.4);
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 8px;
  font-weight: 700;
  color: #e5e7eb;
}

.section-subtitle {
  text-align: center;
  font-size: 0.95rem;
  max-width: 700px;
  margin: 0 auto 6px;
  color: #9ca3af;
}

/* -------------------------------------------------------
   GRIDS Y CARDS
---------------------------------------------------------- */

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

.card {
  background: radial-gradient(circle at top left, #020617 0, #020617 45%, #020617 100%);
  padding: 22px;
  border-radius: var(--radius);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(51, 65, 85, 0.95);
  transition: 0.2s ease-out;
  position: relative;
  overflow: hidden;
}

/* Borde neon muy sutil en cards */
.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.45), transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease-out;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.95);
  border-color: rgba(96, 165, 250, 0.9);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  font-size: 2.3rem;
  margin-bottom: 4px;
  color: #60a5fa;
}

.card-title {
  margin: 6px 0 6px;
  font-size: 1.08rem;
  font-weight: 600;
  color: #e5e7eb;
}

.card-text {
  font-size: 0.9rem;
  color: #9ca3af;
}

.card-footer {
  margin-top: 14px;
}

.card-link {
  font-size: 0.85rem;
  color: var(--color-secondary);
  text-decoration: none;
}

/* -------------------------------------------------------
   LISTAS
---------------------------------------------------------- */

.simple-list {
  list-style: none;
  margin-top: 10px;
}

.simple-list li {
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: #9ca3af;
  padding-left: 18px;
  position: relative;
}

.simple-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #38bdf8, #a855f7);
  position: absolute;
  left: 3px;
  top: 9px;
}

/* -------------------------------------------------------
   PLANES
---------------------------------------------------------- */

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.plan-card {
  background: radial-gradient(circle at top, #020617 0, #020617 50%, #020617 100%);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.92);
  text-align: center;
  border: 1px solid rgba(51, 65, 85, 0.95);
  transition: 0.2s ease-out;
  position: relative;
  overflow: hidden;
}

.plan-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(
    from 140deg,
    rgba(56, 189, 248, 0.6),
    transparent,
    rgba(129, 140, 248, 0.7),
    transparent,
    rgba(56, 189, 248, 0.6)
  );
  opacity: 0;
  mix-blend-mode: screen;
  transition: 0.25s ease-out;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.98);
  border-color: rgba(96, 165, 250, 0.95);
}

.plan-card:hover::before {
  opacity: 0.6;
}

.plan-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #e5e7eb;
}

.plan-tag {
  font-size: 0.78rem;
  padding: 4px 12px;
  background: rgba(37, 99, 235, 0.2);
  border-radius: 999px;
  display: inline-block;
  margin: 10px 0 14px;
  color: #bfdbfe;
}

.plan-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.plan-list li {
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: #9ca3af;
}

/* -------------------------------------------------------
   FORMULARIOS
---------------------------------------------------------- */

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

.form-group {
  margin-bottom: 18px;
}
.form-group label {
  font-size: 0.85rem;
  display: block;
  margin-bottom: 6px;
  color: #e5e7eb;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 11px;
  border-radius: 12px;
  border: 1.5px solid #1f2937;
  font-size: 0.9rem;
  background: #020617;
  color: #e5e7eb;
  transition: 0.16s ease-out;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.45);
  background: #020617;
}

textarea {
  min-height: 140px;
}

/* -------------------------------------------------------
   BANNERS CTA
---------------------------------------------------------- */

.banner-cta {
  background: radial-gradient(circle at top left, #1d4ed8, #020617);
  color: white;
  padding: 26px 28px;
  border-radius: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.7);
  position: relative;
  overflow: hidden;
}

.banner-cta::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.4), rgba(129, 140, 248, 0.4));
  opacity: 0.3;
  mix-blend-mode: screen;
  pointer-events: none;
}

.banner-cta h3 {
  font-size: 1.25rem;
}

/* -------------------------------------------------------
   FOOTER
---------------------------------------------------------- */

footer {
  background: radial-gradient(circle at top, #020617 0, #020617 60%, #020617 100%);
  color: #e5e7eb;
  padding: 50px 0 20px;
  border-top: 1px solid rgba(30, 64, 175, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-bottom: 20px;
}

.footer-logo {
  height: 46px;
  width: auto;
  margin-bottom: 0.7rem;
  filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.7));
}

.footer-title {
  font-weight: 600;
  margin-bottom: 12px;
}

.footer-list {
  list-style: none;
}

.footer-list li {
  font-size: 0.85rem;
  margin-bottom: 5px;
  color: #9ca3af;
}

.footer-list a {
  color: #e5e7eb;
  text-decoration: none;
}

.footer-list a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  padding-top: 20px;
  border-top: 1px solid rgba(55, 65, 81, 0.8);
  color: #9ca3af;
}

/* -------------------------------------------------------
   WHATSAPP FLOAT
---------------------------------------------------------- */

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 22px;
  background: #25d366;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.9);
  transition: 0.18s ease-out;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 0 30px rgba(37, 211, 102, 1);
}

/* -------------------------------------------------------
   ANIMACIONES KEYFRAMES
---------------------------------------------------------- */

@keyframes heroGlow {
  0% {
    opacity: 0.75;
    transform: translate3d(0, 0, 0);
  }
  50% {
    opacity: 1;
    transform: translate3d(-10px, 6px, 0);
  }
  100% {
    opacity: 0.85;
    transform: translate3d(6px, -4px, 0);
  }
}




