@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap");

:root {
  --primary: #1a6a31;
  --accent: #22c55e;
  --glow: #f97316;
  --text: #0f172a;
  --muted: #4b5563;
  --surface: #ffffff;
  --background: #f3f7fb;
  --shadow: rgba(15, 23, 42, 0.12);
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Inter", "Segoe UI", sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.5;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.container-extended {
  width: min(1400px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(82, 96, 109, 0.12);
  box-shadow: 0 18px 38px -30px var(--shadow);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

/* Contenedor del menú (desktop: inline, móvil: se colapsa) */
.nav-primary {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Botón hamburguesa: oculto por defecto (solo móvil) */
.nav-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 32px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  padding: 0 8px;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 24px -18px var(--shadow);
}

.nav-toggle__line {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle__line + .nav-toggle__line {
  margin-top: 4px;
}

/* Estado abierto: animación simple */
.nav-toggle.is-open .nav-toggle__line:nth-child(1) {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle__line:nth-child(2) {
  transform: translateY(-3px) rotate(-45deg);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.brand-cluster {
  display: flex;
  flex-direction: column;   /* EcoAhorra arriba, EcoAdvisors debajo */
  align-items: flex-end;  /* alineados a la izquierda */
  gap: 0px;                 /* separación MUY pequeña entre logos */
}

.brand-partner {
  margin-top: -22px;        /* opcional: aún más pegado visualmente */
}

.brand-partner__mark {
  display: block;
  height: 22px;
  width: auto;
}

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

.nav-links a,
.nav-links button {
  color: var(--text);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-links button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links button:hover,
.nav-links button:focus {
  color: var(--surface);
  background: rgba(22, 22, 22, 0.863);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  padding: 10px;
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: 0 22px 44px -32px rgba(15, 23, 42, 0.4), 0 0 0 1px rgba(34, 197, 94, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown__item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 10px 12px;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  background: transparent;
  transition: background-color 0.2s ease, color 0.2s ease;
  position: relative;
}

.nav-dropdown__item:hover,
.nav-dropdown__item:focus {
  background: rgba(34, 197, 94, 0.08);
  color: var(--text);
}

.nav-dropdown__icon {
  flex: 0 0 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.02em;
  background: rgba(34, 197, 94, 0.12);
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.22);
}

.nav-dropdown__icon--light {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(16, 185, 129, 0.2));
}

.nav-dropdown__icon--gas {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.22), rgba(251, 146, 60, 0.22));
  box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.32);
}

.nav-dropdown__icon--telco {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.24), rgba(14, 165, 233, 0.24));
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.28);
}

.nav-dropdown__text {
  display: grid;
  gap: 2px;
  flex: 1;
}

.nav-dropdown__title {
  display: block;
  font-weight: 700;
}

.nav-dropdown__desc {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.9rem;
}

.nav-dropdown__badge {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.14);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-dropdown__chevron {
  font-size: 0.8rem;
  color: var(--muted);
}

.nav-dropdown__item::after {
  content: attr(data-tooltip);
  position: absolute;
  top: auto;
  bottom: -4px;
  left: 50%;
  transform: translate(-50%, 100%) translateY(6px);
  white-space: nowrap;
  padding: 8px 10px;
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  border-radius: 10px;
  font-size: 0.85rem;
  box-shadow: 0 12px 24px -16px rgba(15, 23, 42, 0.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-dropdown__item:hover::after,
.nav-dropdown__item:focus::after {
  opacity: 1;
  transform: translate(-50%, 100%);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-price-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font-weight: 700;
  font-size: 0.80rem;
  text-decoration: none;
  box-shadow: 0 12px 28px -26px var(--shadow), inset 0 0 0 1px rgba(15, 118, 110, 0.15);
  white-space: nowrap;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
  border: 1px solid rgba(15, 118, 110, 0.16);
}

.nav-price-badge__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
  animation: badgePulse 1.6s ease-out infinite;
}

.nav-price-badge__label {
  color: var(--text);
  font-weight: 600;
}

.nav-price-badge__value {
  color: var(--primary);
  font-weight: 800;
}

.nav-price-badge:hover,
.nav-price-badge:focus {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px -26px var(--shadow), inset 0 0 0 1px rgba(34, 197, 94, 0.25);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
}

.nav-price-badge:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2), 0 16px 34px -26px var(--shadow), inset 0 0 0 1px rgba(34, 197, 94, 0.25);
}

.nav-price-badge[data-state="loading"] .nav-price-badge__value {
  color: var(--muted);
}

.nav-services {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-service {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  position: relative;
}

.nav-service.is-active {
  border-color: rgba(34, 197, 94, 0.48);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(15, 118, 110, 0.08));
  box-shadow: 0 14px 30px -24px var(--shadow), inset 0 0 0 1px rgba(34, 197, 94, 0.22);
  color: var(--text);
}

.nav-service.is-active .nav-dropdown__icon {
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.32);
}

.nav-service:hover,
.nav-service:focus {
  transform: translateY(-1px);
}

.nav-service__label {
  font-weight: 700;
}

.nav-cta {
  padding: 12px 18px;
}

.nav-cta--help {
  background: linear-gradient(120deg, #0ea5e9, #2563eb);
  box-shadow: 0 14px 30px -24px rgba(14, 165, 233, 0.5);
}

.nav-cta--help:hover,
.nav-cta--help:focus {
  background: linear-gradient(120deg, #0b7cc4, #1e40af);
  box-shadow: 0 18px 34px -24px rgba(37, 99, 235, 0.55);
}

.nav-service::after,
.nav-dropdown__item::after {
  content: attr(data-tooltip);
  position: absolute;
  top: auto;
  bottom: -4px;
  left: 50%;
  transform: translate(-50%, 100%) translateY(6px);
  white-space: nowrap;
  padding: 8px 10px;
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  border-radius: 10px;
  font-size: 0.85rem;
  box-shadow: 0 12px 24px -16px rgba(15, 23, 42, 0.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-service:hover::after,
.nav-service:focus::after,
.nav-dropdown__item:hover::after,
.nav-dropdown__item:focus::after {
  opacity: 1;
  transform: translate(-50%, 100%);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 110px;
  background: radial-gradient(circle at 16% 20%, rgba(34, 197, 94, 0.18), transparent 32%),
    radial-gradient(circle at 86% 10%, rgba(15, 118, 110, 0.25), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(243, 247, 251, 0.92)),
    url("assets/hero1.png");
  background-size: auto, auto, auto, cover;
  background-repeat: no-repeat;
  background-position: 16% 20%, 86% 10%, center, center;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  background: radial-gradient(circle at 40% 30%, rgba(249, 115, 22, 0.08), transparent 30%);
  filter: blur(4px);
}

.hero::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 55%, #f3f7fb 90%, #f3f7fb),
    linear-gradient(135deg, rgba(34, 197, 94, 0.09), transparent 30%),
    linear-gradient(45deg, rgba(15, 118, 110, 0.1), transparent 50%);
    z-index: 0;
}

.hero-light-word {
  position: relative;
  display: inline-block;
  color: #0ea5e9;
  text-shadow: 0 0 6px rgba(14, 165, 233, 0.35);
  transition: color 0.28s ease, text-shadow 0.28s ease;
}

.hero-light-word::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 6px;
  background: radial-gradient(circle at 50% 50%, rgba(94, 234, 212, 0.35), transparent 55%);
  opacity: 0.6;
  filter: blur(6px);
  pointer-events: none;
}

.hero-top {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-right: 170px;
}

.hero-top .hero-badges {
  margin: 0;
}

.hero-logo {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(14, 165, 233, 0.35);
  background: radial-gradient(circle at 40% 40%, rgba(125, 211, 252, 0.18), transparent 58%),
    linear-gradient(145deg, rgba(15, 118, 110, 0.14), rgba(14, 165, 233, 0.12));
  box-shadow: 0 12px 28px -20px rgba(15, 23, 42, 0.5), 0 0 0 1px rgba(148, 163, 184, 0.26);
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer;
}

.hero-logo::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.24), transparent 60%);
  filter: blur(10px);
  opacity: 0.35;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.hero-logo__img {
  display: block;
  height: 36px;
  width: 36px;
  object-fit: contain;
  transition: opacity 0.25s ease, filter 0.25s ease, transform 0.25s ease;
}

.hero-logo__img--glow {
  position: absolute;
  inset: 0;
  margin: auto;
  opacity: 0;
  filter: drop-shadow(0 0 0 rgba(94, 234, 212, 0.4));
  pointer-events: none;
}

.hero-logo:hover,
.hero-logo:focus-visible {
  background: radial-gradient(circle at 40% 40%, rgba(125, 211, 252, 0.25), transparent 58%),
    linear-gradient(145deg, rgba(15, 118, 110, 0.22), rgba(14, 165, 233, 0.2));
  box-shadow: 0 16px 34px -22px rgba(15, 23, 42, 0.6), 0 0 24px rgba(34, 197, 94, 0.36);
  transform: translateY(-1px);
}

.hero-logo:hover::before,
.hero-logo:focus-visible::before {
  opacity: 0.7;
  transform: scale(1.05);
}

.hero-logo:hover .hero-logo__img--glow,
.hero-logo:focus-visible .hero-logo__img--glow {
  opacity: 1;
  filter: drop-shadow(0 0 18px rgba(94, 234, 212, 0.55));
}

.hero-logo:hover .hero-logo__img--base,
.hero-logo:focus-visible .hero-logo__img--base {
  opacity: 0.35;
  transform: scale(0.98);
}

.hero-logo--floating {
  position: absolute;
  top: -10px;
  right: 0;
  z-index: 2;
}

.hero-logo--floating .hero-logo__img {
  height: 34px;
  width: 34px;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background-color: rgba(13, 148, 136, 0.12);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 10px 22px -18px var(--shadow), inset 0 0 0 1px rgba(34, 197, 94, 0.22);
}

.brand__mark,
.logo__mark {
  display: block;
  height: 64px;
  width: auto;
}

.hero-content {
  position: relative;
  margin-top: 52px;
  max-width: 620px;
  z-index: 1;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.1;
}

.hero-subtitle {
  margin: 0 0 32px;
  font-size: clamp(1.1rem, 2.3vw, 1.35rem);
  color: var(--muted);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

.pill--glow {
  background: linear-gradient(120deg, rgba(34, 197, 94, 0.22), rgba(249, 115, 22, 0.18));
  box-shadow: 0 12px 26px -18px var(--shadow), 0 0 0 1px rgba(34, 197, 94, 0.32);
}

.pill--outline {
  border: 1px solid rgba(15, 118, 110, 0.2);
  background: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 118, 110, 0.18);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ghost-button:hover,
.ghost-button:focus {
  transform: translateY(-1px);
  border-color: rgba(34, 197, 94, 0.36);
  box-shadow: 0 16px 30px -24px var(--shadow);
}

.hero-checks {
  margin: 10px 0 10px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--text);
}

.hero-checks li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-weight: 500;
}

.hero-checks li::before {
  content: \"\u2022\";
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1;
}

.contact-hero {
  padding: 72px 0 96px;
  background: linear-gradient(180deg, rgba(13, 148, 136, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
}

.contact-hero .logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background-color: rgba(13, 148, 136, 0.12);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.contact-hero__content {
  margin-top: 52px;
  max-width: 640px;
}

.contact-hero__content h1 {
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.1;
}

.contact-hero__content p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
}

.contact-highlights {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--text);
}

.contact-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-highlights li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.18);
}

.info-hero {
  padding: 84px 0 96px;
  background: linear-gradient(180deg, rgba(13, 148, 136, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
}

.info-hero__layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
  align-items: center;
}

.info-hero__copy {
  display: grid;
  gap: 14px;
  max-width: 640px;
}

.info-hero .pill {
  justify-self: start;
}

.info-hero__visual {
  justify-self: center;
}

.info-hero__visual img {
  display: block;
  width: min(520px, 92vw);
  border-radius: var(--radius-md);
  box-shadow: 0 28px 60px -38px rgba(31, 41, 51, 0.6), inset 0 0 0 1px rgba(34, 197, 94, 0.1);
}

.contact-main {
  background: var(--background);
}

.contact-options {
  padding: 0 0 96px;
}

.contact-options h2 {
  margin: 0 0 40px;
  text-align: center;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
}

.contact-options__grid {
  display: grid;
  gap: 24px;
}

.contact-card {
  background: var(--surface);
  padding: 28px;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 45px -35px rgba(31, 41, 51, 0.45);
  display: grid;
  gap: 12px;
}

.contact-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.16), rgba(59, 130, 246, 0.16));
  color: #047857;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(37, 211, 102, 0.25);
  box-shadow: 0 8px 22px -18px rgba(15, 23, 42, 0.4);
  position: relative;
}

.contact-card__badge:hover,
.contact-card__badge:focus {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.24), rgba(59, 130, 246, 0.22));
  color: #065f46;
  transform: translateY(-1px);
}

.contact-card__badge-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.contact-card__badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
  animation: badgePulse 1.6s ease-out infinite;
}

.contact-card__badge--online {
  margin-top: 4px;
}

@keyframes badgePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.contact-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.contact-card p,
.contact-card span,
.contact-card a {
  color: var(--muted);
  margin: 0;
  font-size: 1rem;
}

.contact-card a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-card a:hover,
.contact-card a:focus {
  color: var(--primary);
}

.contact-form-section {
  padding: 80px 0 96px;
}

.contact-form-layout {
  display: grid;
  gap: 48px;
  background: var(--surface);
  padding: clamp(28px, 5vw, 48px);
  border-radius: var(--radius-md);
  box-shadow: 0 26px 54px -40px rgba(31, 41, 51, 0.65);
}

.contact-form-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 3.2vw, 2.4rem);
}

.contact-form-copy p {
  margin: 0 0 16px;
  color: var(--muted);
}

.contact-form-benefits {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.6;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  font-weight: 600;
  color: var(--text);
}

.form-field input,
.form-field textarea {
  font: inherit;
  padding: 14px 16px;
  border: 1px solid rgba(82, 96, 109, 0.2);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--muted);
}

.form-consent input[type="checkbox"] {
  margin-top: 4px;
}

.form-consent a {
  color: var(--accent);
  text-decoration: none;
}

.form-note {
  color: var(--muted);
  text-align: center;
}

.cta-button--full {
  width: 100%;
  justify-content: center;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(120deg, var(--primary), var(--accent));
  border-radius: var(--radius-md);
  text-decoration: none;
  line-height: 1.1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta-button:hover,
.cta-button:focus {
  background: linear-gradient(180deg, #1f1f1f, #494949);
  transform: translateY(-3px);
}

.cta-button__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
  color: inherit;
}

.cta-button__icon svg {
  display: block;
  width: 14px;
  height: 14px;
}

.cta-button__label {
  white-space: nowrap;
}

.cta-button--bright {
  background: linear-gradient(180deg, #f8f8f8, #e9e9e9);
  color: #0f172a;
}

.cta-button--bright:hover,
.cta-button--bright:focus {
  color: #f0f0f0;
  box-shadow: 0px 5px 0px 0px rgba(0, 0, 0, 0.13);
}

.cta-button--bright .cta-button__icon {
  background: rgba(15, 23, 42, 0.08);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.hero-note {
  margin-top: 18px;
  font-size: 0.95rem;
  color: var(--muted);
}

.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 12px;
  z-index: 40;
}

.floating-cta__actions {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 10px;
}

.floating-cta__trigger,
.floating-cta__whatsapp,
.floating-cta__action {
  position: relative;
  width: 74px;
  height: 74px;
  border-radius: 20px;
  border: none;
  padding: 0;
  cursor: pointer;
  background: radial-gradient(circle at 20% 20%, rgba(249, 115, 22, 0.12), transparent 38%),
    linear-gradient(135deg, rgba(15, 118, 110, 0.95), rgba(34, 197, 94, 0.92));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 22px 45px -22px rgba(15, 23, 42, 0.48), 0 0 0 1px rgba(34, 197, 94, 0.16);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.floating-cta__trigger:hover,
.floating-cta__trigger:focus,
.floating-cta__whatsapp:hover,
.floating-cta__whatsapp:focus,
.floating-cta__action:hover,
.floating-cta__action:focus {
  transform: translateY(-2px);
  box-shadow: 0 28px 58px -26px rgba(15, 23, 42, 0.6), 0 0 0 1px rgba(34, 197, 94, 0.24);
}

.floating-cta__trigger:focus-visible,
.floating-cta__whatsapp:focus-visible,
.floating-cta__action:focus-visible {
  outline: 3px solid rgba(34, 197, 94, 0.35);
  outline-offset: 3px;
}

.floating-cta__whatsapp img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.15));
}

.floating-cta__icon {
  font-size: 1.6rem;
  line-height: 1;
}

.floating-cta__icon svg {
  display: block;
  width: 28px;
  height: 28px;
}

.floating-cta__action--telco {
  background: linear-gradient(140deg, rgba(59, 130, 246, 0.98), rgba(14, 165, 233, 0.95));
  box-shadow: 0 22px 45px -22px rgba(14, 165, 233, 0.55), 0 0 0 1px rgba(59, 130, 246, 0.22);
}

.floating-cta__action--telco:hover,
.floating-cta__action--telco:focus {
  box-shadow: 0 28px 58px -26px rgba(37, 99, 235, 0.62), 0 0 0 1px rgba(59, 130, 246, 0.28);
}

.floating-cta__text {
  position: absolute;
  right: 82px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
  box-shadow: 0 18px 38px -30px rgba(15, 23, 42, 0.55), 0 0 0 1px rgba(82, 96, 109, 0.15);
  font-weight: 700;
  white-space: nowrap;
}

.floating-cta__text::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #fff;
  box-shadow: 0 18px 38px -30px rgba(15, 23, 42, 0.55), 0 0 0 1px rgba(82, 96, 109, 0.15);
}

.floating-cta__panel {
  position: absolute;
  bottom: 90px;
  right: 0;
  width: min(360px, 92vw);
  background: var(--surface);
  border-radius: 18px;
  padding: 18px 18px 20px;
  box-shadow: 0 30px 68px -34px rgba(15, 23, 42, 0.58), 0 0 0 1px rgba(34, 197, 94, 0.15);
  display: grid;
  gap: 10px;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.floating-cta__eyebrow {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
}

.floating-cta__panel h3 {
  margin: 0;
  font-size: 1.25rem;
}

.floating-cta__panel p {
  margin: 0;
  color: var(--muted);
}

.floating-cta__meta {
  font-size: 0.95rem;
}

.floating-cta__form {
  display: grid;
  gap: 10px;
}

.floating-cta__form label {
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
}

.floating-cta__form input[type="tel"] {
  font: inherit;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(82, 96, 109, 0.2);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.floating-cta__form input[type="tel"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.floating-cta__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--muted);
}

.floating-cta__consent input[type="checkbox"] {
  margin-top: 3px;
}

.floating-cta__consent a {
  color: var(--accent);
  text-decoration: none;
}

.floating-cta__consent a:hover,
.floating-cta__consent a:focus {
  color: var(--primary);
  text-decoration: underline;
}

.floating-cta.is-open .floating-cta__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.floating-cta.is-open .floating-cta__trigger {
  box-shadow: 0 28px 58px -26px rgba(15, 23, 42, 0.6), 0 0 0 1px rgba(34, 197, 94, 0.24);
}

.cta-strip {
  margin-top: -26px;
  padding: 0 0 64px;
}

.cta-strip__content {
  position: relative;
  display: grid;
  gap: 16px;
  background: linear-gradient(120deg, rgba(15, 118, 110, 0.9), rgba(34, 197, 94, 0.9));
  color: #fff;
  padding: clamp(22px, 4vw, 34px);
  border-radius: calc(var(--radius-md) + 4px);
  box-shadow: 0 24px 55px -32px rgba(15, 23, 42, 0.35);
  overflow: hidden;
}

.cta-strip__content::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.32), transparent 35%);
  opacity: 0.9;
  pointer-events: none;
}

.cta-strip__text h3 {
  margin: 4px 0 0;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
}

.cta-strip__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  z-index: 1;
}

.cta-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 600;
}

.cta-chip strong {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.cta-strip .cta-button {
  z-index: 1;
  justify-self: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  letter-spacing: 0.05em;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.steps {
  padding: 80px 0 96px;
}

.steps h2 {
  margin: 0 0 48px;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  text-align: center;
}

.steps-grid {
  display: grid;
  gap: 24px;
}

.steps-note {
  margin: 32px auto 0;
  max-width: 880px;
  text-align: center;
  color: var(--muted);
  font-weight: 500;
}

.education,
.benefits,
.comparison {
  padding: 0 0 96px;
}

.education h2,
.benefits h2,
.comparison h2 {
  margin: 0 0 40px;
  font-size: clamp(1.8rem, 3.1vw, 2.3rem);
  text-align: center;
}

.education-grid,
.benefits-grid,
.comparison-grid {
  display: grid;
  gap: 24px;
}

.education-card,
.benefit-card,
.comparison-card {
  background: var(--surface);
  padding: 28px;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 45px -35px rgba(31, 41, 51, 0.45), 0 0 0 1px rgba(34, 197, 94, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.education-card:hover,
.benefit-card:hover,
.comparison-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -35px rgba(31, 41, 51, 0.55);
}

.education-card h3,
.benefit-card h3,
.comparison-card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.education-card p,
.benefit-card p,
.comparison-card p {
  margin: 0;
  color: var(--muted);
}

.comparison-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.6;
}

.comparison-card--highlight {
  border: 2px solid rgba(34, 197, 94, 0.35);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(15, 118, 110, 0.06));
  box-shadow: 0 28px 50px -34px rgba(31, 138, 112, 0.55);
}

.comparison-saving {
  margin-top: 40px;
  text-align: center;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(15, 118, 110, 0.12));
  border-radius: var(--radius-md);
  padding: 32px 24px;
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.16);
}

.comparison-saving span {
  display: block;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.comparison-saving strong {
  display: block;
  margin: 12px 0 8px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--primary);
}

.savings-calculator {
  padding: 0 0 96px;
}

.savings-calculator__header {
  max-width: 780px;
  margin: 0 auto 32px;
  text-align: center;
  display: grid;
  gap: 10px;
}

.calculator-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.savings-calculator__layout {
  display: grid;
  gap: 18px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(15, 118, 110, 0.08));
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--radius-md);
  box-shadow: 0 26px 54px -42px rgba(31, 41, 51, 0.65), inset 0 0 0 1px rgba(34, 197, 94, 0.12);
}

.calculator-form {
  display: grid;
  gap: 16px;
  background: rgba(255, 255, 255, 0.9);
  padding: clamp(18px, 3vw, 24px);
  border-radius: var(--radius-sm);
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.1);
}

.calculator-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.calc-field {
  display: grid;
  gap: 6px;
}

.calc-field label {
  font-weight: 700;
  color: var(--text);
}

.calc-field input {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid rgba(82, 96, 109, 0.2);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.calc-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.calc-field small {
  color: var(--muted);
}

.calc-field--full {
  grid-column: 1 / -1;
}

.calc-toggle {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.calc-toggle__option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(82, 96, 109, 0.2);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.calc-toggle__option:hover {
  border-color: rgba(34, 197, 94, 0.32);
  box-shadow: 0 12px 26px -20px var(--shadow);
  transform: translateY(-1px);
}

.calc-toggle__option input[type="radio"] {
  margin: 0;
  accent-color: var(--accent);
}

.calc-toggle__option input[type="radio"]:checked + span {
  color: var(--primary);
}

.slider-control {
  display: grid;
  gap: 10px;
}

.slider-values {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  color: var(--muted);
}

.slider-current {
  color: var(--primary);
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 10px;
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.25), rgba(15, 118, 110, 0.25));
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 4px 14px -6px var(--shadow);
  border: 2px solid #fff;
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 4px 14px -6px var(--shadow);
  border: 2px solid #fff;
}

input[type="range"]::-moz-range-track {
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.25), rgba(15, 118, 110, 0.25));
  height: 10px;
  border-radius: 999px;
}

.calculator-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.calculator-disclaimer {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.calculator-results {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.result-card {
  background: #fff;
  padding: 18px 16px;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 45px -35px rgba(31, 41, 51, 0.45), 0 0 0 1px rgba(34, 197, 94, 0.08);
  display: grid;
  gap: 6px;
}

.result-card--highlight {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.16), rgba(15, 118, 110, 0.12));
  border: 1px solid rgba(34, 197, 94, 0.22);
  box-shadow: 0 28px 50px -36px rgba(31, 138, 112, 0.55);
}

.result-label {
  font-weight: 700;
  color: var(--text);
}

.result-value {
  font-size: 1.6rem;
  color: var(--primary);
}

.result-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.18);
  color: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
}

.calculator-cta__actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.calculator-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px -18px var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.calculator-help:hover,
.calculator-help:focus {
  transform: translateY(-1px);
  border-color: rgba(34, 197, 94, 0.4);
  background: rgba(240, 253, 250, 0.95);
  box-shadow: 0 16px 30px -22px var(--shadow);
}

.calculator-cta {
  margin-top: 20px;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 18px 18px 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 20px 45px -35px rgba(31, 41, 51, 0.45), 0 0 0 1px rgba(34, 197, 94, 0.08);
  flex-wrap: wrap;
}

.calculator-cta h3 {
  margin: 0 0 6px;
}

.calculator-cta p {
  margin: 0;
  color: var(--muted);
}

.faq {
  padding: 80px 0 96px;
}

.faq h2 {
  margin: 0 0 32px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  text-align: center;
}

.faq-list {
  display: grid;
  gap: 18px;
}

.faq-list details {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: 0 18px 42px -36px rgba(31, 41, 51, 0.6);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  outline: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-list summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 14px 0 0;
  color: var(--muted);
}

.cta-final {
  padding: 0 0 96px 0;
  text-align: center;
}

.cta-final h2 {
  margin: 0 0 24px;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.cta-final__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-button--large {
  padding: 18px 40px;
  font-size: 1.1rem;
}

.step {
  background: var(--surface);
  padding: 28px;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 45px -35px rgba(31, 41, 51, 0.45), 0 0 0 1px rgba(34, 197, 94, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 46px -35px rgba(31, 41, 51, 0.55);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.24), rgba(15, 118, 110, 0.18));
  color: var(--text);
  font-weight: 700;
  margin-bottom: 22px;
}

.step h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.footer {
  padding: 32px 0 40px;
  background: radial-gradient(circle at 0% 0%, rgba(51, 65, 85, 0.72), transparent 40%),
    radial-gradient(circle at 100% 0%, rgba(15, 118, 110, 0.75), transparent 42%),
    #020617;
  color: rgba(226, 232, 240, 0.92);
  font-size: 0.9rem;
  border-top: 1px solid rgba(148, 163, 184, 0.55);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f9fafb;
}

.footer-brand__logo {
  display: block;
  height: 128px;
  width: auto;
}

.footer-brand__logo--base {
  transition: opacity 0.25s ease;
}

.footer-brand__logo--hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s ease, filter 0.25s ease;
  filter: drop-shadow(0 0 0 rgba(94, 234, 212, 0.55));
}

.footer-brand:hover .footer-brand__logo--hover,
.footer-brand:focus-visible .footer-brand__logo--hover {
  opacity: 1;
  filter: drop-shadow(0 0 18px rgba(94, 234, 212, 0.55));
}

.footer-brand:hover .footer-brand__logo--base,
.footer-brand:focus-visible .footer-brand__logo--base {
  opacity: 0;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: rgba(148, 163, 184, 0.95);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus {
  color: #f9fafb;
}

.nav-toggle {
  display: none;                  /* se muestra solo en el @media */
  position: relative;
  width: 40px;
  height: 32px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 24px -18px var(--shadow);
}

/* icono dentro del botón */
.nav-toggle__icon {
  width: 18px;   /* ajusta tamaño a tu gusto */
  height: 18px;
  display: block;
}

/* si ya no usas las líneas, puedes quitar o desactivar esto */
.nav-toggle__line {
  display: none;
}

@media (max-width: 720px) {
  .nav-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-actions {
    width: 100%;
    flex-direction: column;
  }

  .nav-actions .nav-services {
    width: 100%;
    flex-direction: column;
  }

  .nav-actions .nav-service {
    width: 100%;
    justify-content: space-between;
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .nav-price-badge {
    width: 100%;
    justify-content: center;
  }

  .floating-cta {
    bottom: 16px;
    right: 16px;
  }

  .floating-cta__text {
    display: none;
  }

  .hero-logo {
    width: 64px;
    height: 64px;
  }

  .hero-logo__img {
    height: 30px;
    width: 30px;
  }

  .hero-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-right: 0;
  }

  .hero-logo--floating {
    position: static;
    align-self: flex-end;
  }
}

@media (min-width: 720px) {
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .education-grid,
  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .comparison-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-options__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-consent {
    flex-direction: row;
  }

  .cta-strip__content {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .cta-strip .cta-button {
    justify-self: end;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 96px 0 96px;
  }

  .hero-content {
    max-width: 680px;
  }

  .contact-hero {
    padding: 96px 0 96px;
  }

  .steps-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
  }

  .education-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
  }

.benefits-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .contact-options__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }

  .contact-form-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 64px;
  }

  .cta-strip__content {
    grid-template-columns: 1.1fr 1fr auto;
    align-items: center;
  }

  .savings-calculator__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: start;
  }
}

/* MENÚ MÓVIL/TABLET HASTA 1024px */
@media (max-width: 1480px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav-bar {
    display: flex;
    align-items: center;          /* centra verticalmente logo + botón  */
    justify-content: space-between;
    flex-wrap: wrap;              /* permite que el menú baje a la 2ª fila */
  }

  .brand-cluster {
    order: 1;
  }

  .nav-toggle {
    order: 2;
    display: inline-flex;
    margin-left: auto;
  }

  .nav-primary {
    order: 3;
    width: 100%;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
    display: none;                /* cerrado por defecto */
  }

  .nav-primary.is-open {
    display: flex;                /* abierto cuando JS añade la clase */
  }

  .nav-links {
    width: 100%;
    flex-direction: column;
  }

  .nav-links a,
  .nav-links button {
    width: 100%;
  }

  .nav-actions {
    width: 100%;
    flex-direction: column;
  }

  .nav-cta,
  .nav-price-badge,
  .ghost-button {
    width: 100%;
    justify-content: center;
  }
}

/* Banner de cookies (cumplimiento RGPD) */
.cookie-banner {
  position: fixed;
  bottom: 18px;
  left: 0;
  width: 100%;
  z-index: 50;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 0 12px;
}

.cookie-banner__inner {
  width: min(1120px, 100%);
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 48px -26px rgba(31, 41, 55, 0.28), 0 0 0 1px rgba(15, 23, 42, 0.08);
  padding: 16px 18px;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr auto;
  align-items: center;
  pointer-events: auto;
}

.cookie-banner__content {
  display: grid;
  gap: 6px;
}

.cookie-banner__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.cookie-banner__text {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.cookie-banner__links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-banner__link {
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(34, 197, 94, 0.6);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-banner__actions button {
  cursor: pointer;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  padding: 10px 14px;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease, color 0.12s ease;
}

.cookie-banner__actions button:hover,
.cookie-banner__actions button:focus {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -16px rgba(15, 23, 42, 0.25);
}

.cookie-banner__actions .cookie-accept {
  background: var(--accent);
  border-color: rgba(34, 197, 94, 0.3);
  color: #052e16;
}

.cookie-banner__actions .cookie-accept:hover,
.cookie-banner__actions .cookie-accept:focus {
  background: #16a34a;
  color: #052e16;
}

.cookie-preferences {
  grid-column: 1 / -1;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: var(--background);
  padding: 12px 14px;
  display: grid;
  gap: 10px;
}

.cookie-preferences__grid {
  display: grid;
  gap: 8px;
}

.cookie-option {
  display: grid;
  gap: 2px;
}

.cookie-option label {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cookie-option small {
  color: var(--muted);
}

.cookie-option input[type="checkbox"] {
  accent-color: var(--accent);
}

.cookie-preferences__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-preferences__actions button {
  cursor: pointer;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  padding: 10px 14px;
}

.cookie-preferences__actions .cookie-save {
  background: var(--text);
  color: var(--surface);
  border-color: rgba(15, 23, 42, 0.4);
}

.cookie-preferences__actions .cookie-save:hover,
.cookie-preferences__actions .cookie-save:focus {
  background: #0b1221;
}

.cookie-preferences-button {
  position: fixed;
  left: 12px;
  bottom: 96px;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: var(--surface);
  box-shadow: 0 16px 32px -20px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(15, 23, 42, 0.05);
  cursor: pointer;
  z-index: 55;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cookie-preferences-button::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d97706;
  box-shadow: 10px -2px 0 #b45309, 7px 8px 0 #f59e0b;
}

.cookie-preferences-button:hover,
.cookie-preferences-button:focus {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px -22px rgba(15, 23, 42, 0.4), 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.cookie-preferences-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(3px);
  padding: 18px 12px;
  z-index: 60;
}

.cookie-preferences-modal__sheet {
  background: var(--surface);
  border-radius: var(--radius-md);
  width: min(520px, 100%);
  padding: 18px 18px 16px;
  box-shadow: 0 24px 52px -38px rgba(15, 23, 42, 0.4), 0 0 0 1px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 14px;
}

.cookie-preferences-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.cookie-close {
  border: none;
  background: rgba(15, 23, 42, 0.05);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 800;
  cursor: pointer;
}

.cookie-preferences__actions--modal {
  justify-content: flex-end;
}

@media (min-width: 720px) {
  .cookie-preferences-modal {
    align-items: center;
  }

  .cookie-preferences-button {
    bottom: 24px;
  }
}

@media (max-width: 768px) {
  .cookie-banner {
    bottom: 10px;
  }

  .cookie-banner__inner {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cookie-banner__actions {
    justify-content: flex-start;
  }
}

/* Páginas legales */
.legal-hero {
  padding: 96px 0 72px;
  background:
    radial-gradient(120% 120% at 16% 8%, rgba(34, 197, 94, 0.14), transparent 45%),
    radial-gradient(140% 120% at 80% 0%, rgba(59, 130, 246, 0.08), transparent 40%),
    linear-gradient(180deg, rgba(13, 148, 136, 0.08), transparent 55%),
    var(--background);
}

.legal-hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: end;
  gap: clamp(18px, 4vw, 36px);
}

.legal-hero__content {
  margin-top: 0;
  max-width: 780px;
  display: grid;
  gap: 12px;
}

.legal-hero__content h1 {
  margin: 0;
  font-size: clamp(2.1rem, 3.5vw, 2.9rem);
  line-height: 1.05;
}

.legal-hero__content p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.legal-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: var(--muted);
  letter-spacing: 0.04em;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.legal-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(34, 197, 94, 0.18);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(34, 197, 94, 0.08);
}

.legal-meta__item::before {
  content: "•";
  color: var(--accent);
  font-weight: 900;
}

.legal-hero__card {
  position: relative;
  padding: 18px 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(82, 96, 109, 0.16);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 40px -28px rgba(15, 23, 42, 0.4);
  overflow: hidden;
}

.legal-hero__card::after {
  content: "";
  position: absolute;
  inset: -18px auto auto -18px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle at center, rgba(34, 197, 94, 0.2), transparent 60%);
  opacity: 0.6;
  pointer-events: none;
}

.legal-hero__label {
  margin: 0 0 8px;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.legal-quicklist {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  display: grid;
  gap: 10px;
}

.legal-quicklist li {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(34, 197, 94, 0.2);
  background: rgba(34, 197, 94, 0.08);
  color: var(--text);
  line-height: 1.45;
}

.legal-quicklist strong {
  color: var(--text);
}

.legal-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.legal-link::after {
  content: ">";
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.legal-link:hover::after,
.legal-link:focus::after {
  transform: translateX(3px);
}

.legal-main {
  padding: 0 0 120px;
  background: var(--background);
}

.legal-content {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(82, 96, 109, 0.12);
  border-radius: var(--radius-md);
  padding: clamp(24px, 4vw, 42px);
  box-shadow: 0 24px 52px -40px rgba(31, 41, 51, 0.55);
  display: grid;
  gap: 20px;
  backdrop-filter: blur(6px);
}

.legal-section {
  padding: 18px 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(82, 96, 109, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.98));
  box-shadow: 0 18px 36px -28px rgba(15, 23, 42, 0.4);
}

.legal-section h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legal-section h2::before {
  content: "#";
  color: var(--accent);
  font-weight: 800;
  font-size: 0.95rem;
  opacity: 0.8;
}

.legal-section p {
  margin: 0 0 8px;
  color: var(--muted);
}

.legal-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.legal-list li + li {
  margin-top: 6px;
}
