/* ==========================================================================
   EcoAdmin · Tema alineado al panel EcoGest 360 (admin.ecoadmin360.cl)
   Paleta extraída del bundle CSS del panel:
   brand #1c4a5a · accent #109651 · surface #f5f8fa/#fff · text #1a2b36
   ========================================================================== */

:root {
  --brand:        #1c4a5a;
  --brand-strong: #143840;
  --brand-soft:   #e8edef;
  --brand-softer: #f2f6f7;

  --accent:        #109651;
  --accent-strong: #0e8447;
  --accent-soft:   #e6f5ed;

  --surface-1: #f5f8fa;
  --surface-2: #ffffff;
  --surface-3: #eef2f5;

  --text-1: #1a2b36;
  --text-2: #5a6e7a;
  --text-3: #8aa0ac;

  --border-1: #dee6ea;
  --border-2: #c5d1d6;

  --shadow-xs: 0 1px 2px rgba(16, 34, 43, .05);
  --shadow-sm: 0 1px 3px rgba(16, 34, 43, .08), 0 6px 16px -10px rgba(16, 34, 43, .18);
  --shadow-md: 0 10px 30px -8px rgba(16, 34, 43, .24);
  --shadow-lg: 0 26px 64px -20px rgba(16, 34, 43, .32);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-full: 999px;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --container: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--surface-1);
  color: var(--text-1);
  line-height: 1.4;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font);
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.015em;
}

::selection { background: var(--accent-soft); color: var(--accent-strong); }

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

/* ---------- Helpers ---------- */
.grad-text {
  background: linear-gradient(135deg, var(--accent), var(--brand));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: 2px;
}

.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section--alt { background: var(--surface-2); border-top: 1px solid var(--border-1); border-bottom: 1px solid var(--border-1); }

.section__head {
  max-width: 720px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
  display: grid;
  justify-items: center;
}
.section__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-top: 12px;
  color: var(--text-1);
}
.section__sub {
  color: var(--text-2);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  margin-top: 14px;
  max-width: 600px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius);
  padding: 0 26px;
  min-height: 44px;
  min-width: 146px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--accent-strong);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: var(--text-1);
  border: 1px solid var(--border-2);
}
.btn--ghost:hover {
  border-color: var(--brand);
  background: var(--brand-softer);
  transform: translateY(-1px);
}

.btn--lg { min-height: 52px; padding: 0 34px; font-size: 16px; }
.btn--sm { min-height: 38px; padding: 0 18px; font-size: 14px; min-width: auto; }
.btn--block { width: 100%; }

/* ---------- Badge ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #dff3ff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
}
.badge__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #7be0a0;
  box-shadow: 0 0 0 0 rgba(123, 224, 160, 0.7);
  animation: pulse-dot 2.2s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(123, 224, 160, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(123, 224, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(123, 224, 160, 0); }
}

/* ==========================================================================
   NAVBAR  (estilo topbar del panel: gradiente brand)
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 0;
  background: linear-gradient(90deg, #1c4a5a, #19424e);
  border-bottom: 1px solid var(--brand-strong);
  transition: box-shadow 0.2s ease;
}
.nav--scrolled { box-shadow: var(--shadow-md); }

.nav__inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav__logo { display: flex; align-items: center; }
.nav__logo-img { height: 40px; width: auto; }

.nav__links { display: flex; gap: 28px; }
.nav__link {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.18s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -8px;
  width: 0; height: 2px;
  background: #7be0a0;
  border-radius: 2px;
  transition: width 0.22s ease;
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after { width: 100%; }

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

.nav__actions .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
}
.nav__actions .btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }

.nav__actions .btn--primary { background: #fff; color: var(--brand); box-shadow: none; }
.nav__actions .btn--primary:hover { background: var(--brand-soft); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__burger span {
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 12px 24px 24px;
  background: var(--brand-strong);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.nav__mobile .nav__link { padding: 12px 0; font-size: 1rem; color: rgba(255,255,255,0.85); }
.nav__mobile-actions { display: grid; gap: 10px; margin-top: 12px; }
.nav__mobile-actions .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.35); }
.nav__mobile-actions .btn--primary { background: #fff; color: var(--brand); }

/* ==========================================================================
   HERO  (fondo tipo login del panel)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 130px 0 0;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(16, 150, 81, 0.4), transparent 60%),
    radial-gradient(800px 480px at -10% 110%, rgba(143, 196, 214, 0.28), transparent 55%),
    linear-gradient(160deg, var(--brand), var(--brand-strong));
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 30%, transparent 75%);
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #fff;
  margin-top: 20px;
  letter-spacing: -0.02em;
}
.hero__title .grad-text {
  background: linear-gradient(90deg, #7be0a0, #b8efe0);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__subtitle {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  max-width: 540px;
  margin-top: 18px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero__actions .btn--primary {
  background: var(--accent);
  color: #fff;
}
.hero__actions .btn--primary:hover { background: var(--accent-strong); }

.hero__actions .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.hero__actions .btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

/* --- Mockup dashboard (card blanca tipo login) --- */
.hero__visual { position: relative; }
.float-chip { position: absolute; z-index: 3; animation: bob 6s ease-in-out infinite; }
.float-chip--one { top: -22px; left: -28px; }
.float-chip--two { bottom: 8%; right: -22px; animation-delay: 1.6s; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.card-dash {
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.card-dash::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.card-dash__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-2);
}
.pill {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
}
.pill--ok {
  background: var(--accent-soft);
  color: var(--accent-strong);
  border: 1px solid rgba(16, 150, 81, 0.25);
}

.card-dash__amount { margin-top: 18px; display: grid; gap: 2px; }
.card-dash__label { font-size: 0.85rem; color: var(--text-2); }
.card-dash__amount strong { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; }
.card-dash__delta { color: var(--accent); font-size: 0.82rem; font-weight: 700; }

.card-dash__chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 92px;
  margin-top: 20px;
}
.card-dash__chart span {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  opacity: 0.9;
  transition: height 0.6s ease;
}

.card-dash__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}
.card-dash__stat {
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  background: var(--surface-1);
  border: 1px solid var(--border-1);
  border-radius: var(--radius);
}
.card-dash__stat-num { font-weight: 800; font-size: 1.15rem; color: var(--brand); }
.card-dash__stat-label { font-size: 0.76rem; color: var(--text-2); }

.float-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  font-size: 0.82rem;
}
.float-chip__icon {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 800;
}
.float-chip--two .float-chip__icon { background: #fff4df; color: #b45309; }

.float-chip strong { display: block; font-weight: 700; color: var(--text-1); }
.float-chip span { color: var(--text-2); font-size: 0.76rem; }

/* --- Stats strip (card blanca) --- */
.stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
  padding: 30px 40px;
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.stats__item { display: flex; align-items: center; gap: 14px; }
.stats__item:not(:first-child) { padding-left: 24px; border-left: 1px solid var(--border-1); }

.stats__num {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand);
  line-height: 1;
}
.stats__num--plain { color: var(--text-1); }
.stats__icon { font-size: 1.6rem; }
.stats__text { display: grid; line-height: 1.3; }
.stats__text strong { font-size: 0.98rem; color: var(--text-1); }
.stats__text span { color: var(--text-2); font-size: 0.8rem; }
.stats__label { color: var(--text-2); font-size: 0.9rem; line-height: 1.3; }

/* ==========================================================================
   CARDS (comunes)
   ========================================================================== */
.card {
  background: var(--surface-2);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  transition: transform 0.18s cubic-bezier(.2,.8,.2,1), border-color 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--border-2);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   PASOS
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step { padding: 36px 32px; position: relative; overflow: hidden; }
.step::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 150px; height: 150px;
  background: radial-gradient(circle at top right, rgba(16, 150, 81, 0.08), transparent 70%);
}
.step__num {
  position: absolute;
  top: 26px; right: 28px;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--border-2);
}
.step__icon {
  width: 60px; height: 60px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--accent);
  background: var(--accent-soft);
  position: relative;
  z-index: 1;
}
.step__icon svg { width: 34px; height: 34px; }
.step__title { margin-top: 20px; font-size: 1.18rem; font-weight: 700; }
.step__text { margin-top: 10px; color: var(--text-2); font-size: 0.95rem; }

/* ==========================================================================
   SPLIT (registro/overview)
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.checklist { margin-top: 26px; display: grid; gap: 12px; }
.checklist__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1.02rem;
}
.checklist__check {
  width: 24px; height: 24px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

/* --- Form (card blanca estilo login) --- */
.form { padding: 38px 36px; position: relative; overflow: hidden; }
.form::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}
.form__title { font-size: 1.4rem; font-weight: 800; }
.form__hint { color: var(--text-2); font-size: 0.92rem; margin-top: 6px; }

.form__field { display: grid; gap: 8px; margin-top: 18px; }
.form__field label { font-size: 0.85rem; font-weight: 600; color: var(--text-2); }

.form__field input[type="text"],
.form__field input[type="email"],
.form__field input[type="tel"] {
  background: #fff;
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 13px 16px;
  color: var(--text-1);
  font-family: var(--font);
  font-size: 15px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.form__field input::placeholder { color: var(--text-3); }
.form__field input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.form__field input.is-invalid { border-color: #d0021b; box-shadow: 0 0 0 3px #fde8e9; }

.form__error { font-size: 0.8rem; color: #d0021b; min-height: 1.2em; }
.form__error::before { content: "⚠ "; }

.form__segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form__segmented input { position: absolute; opacity: 0; pointer-events: none; }
.form__segment {
  text-align: center;
  padding: 13px;
  border-radius: var(--radius);
  border: 1px solid var(--border-2);
  background: #fff;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--text-2);
  transition: all 0.18s ease;
}
.form__segmented input:checked + .form__segment {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-strong);
  box-shadow: 0 0 0 3px rgba(16, 150, 81, 0.1);
}

.form__success {
  margin: 18px 0 0;
  padding: 13px 16px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  border: 1px solid rgba(16, 150, 81, 0.3);
  color: var(--accent-strong);
  font-weight: 600;
  font-size: 0.94rem;
}

.form .btn--block { margin-top: 22px; }

/* ==========================================================================
   PRECIOS
   ========================================================================== */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price {
  position: relative;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}
.price__tag {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--brand), var(--accent));
  color: #fff;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.price--featured {
  background: linear-gradient(165deg, var(--accent-soft), #fff);
  border-color: rgba(16, 150, 81, 0.45);
  box-shadow: var(--shadow-md);
  transform: translateY(-10px);
}
.price--featured:hover { transform: translateY(-15px); }

.price__name { font-size: 1.4rem; font-weight: 800; }
.price__badge {
  display: inline-block;
  font-size: 0.68rem;
  color: var(--accent-strong);
  border: 1px solid rgba(16, 150, 81, 0.35);
  background: var(--accent-soft);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  margin-left: 6px;
  vertical-align: middle;
  letter-spacing: 0.04em;
  font-weight: 700;
}
.price__desc { color: var(--text-2); font-size: 0.92rem; margin-top: 8px; }
.price__list { margin: 22px 0 26px; display: grid; gap: 12px; flex: 1; }
.price__list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.5;
}
.price__list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 2px;
  width: 18px; height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid rgba(16, 150, 81, 0.3);
  color: var(--accent-strong);
  font-size: 0.62rem;
  font-weight: 800;
}

/* ==========================================================================
   BENEFICIOS
   ========================================================================== */
.grid--3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.benefit { padding: 36px 32px; }
.benefit__icon {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent);
}
.benefit__icon svg { width: 30px; height: 30px; }
.benefit__title { margin-top: 20px; font-size: 1.15rem; font-weight: 800; }
.benefit__text { margin-top: 10px; color: var(--text-2); font-size: 0.95rem; }

/* ==========================================================================
   IMPACTO
   ========================================================================== */
.impact { padding: 36px 32px; }
.impact__num { font-size: 1.9rem; line-height: 1; display: inline-block; }
.impact__title { margin-top: 18px; font-size: 1.15rem; font-weight: 800; }
.impact__text { margin-top: 10px; color: var(--text-2); font-size: 0.95rem; }

/* --- Quote --- */
.quote {
  position: relative;
  max-width: 860px;
  margin: 72px auto 0;
  text-align: center;
  padding: 52px 56px;
  background: linear-gradient(165deg, var(--brand-softer), var(--surface-2));
  border: 1px solid var(--border-1);
  border-radius: 22px;
}
.quote__mark {
  position: absolute;
  top: -24px; left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  box-shadow: var(--shadow-sm);
}
.quote blockquote {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--text-1);
}
.quote figcaption {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-2);
  font-size: 0.9rem;
}
.quote__avatar {
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}

/* ==========================================================================
   CTA FINAL  (estilo login)
   ========================================================================== */
.section--cta { background: transparent; padding-top: 32px; }
.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(52px, 7vw, 80px) 32px;
  background:
    radial-gradient(700px 380px at 90% -20%, rgba(16, 150, 81, 0.5), transparent 55%),
    radial-gradient(600px 360px at -10% 120%, rgba(143, 196, 214, 0.3), transparent 50%),
    linear-gradient(160deg, var(--brand), var(--brand-strong));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
}
.cta__glow {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  filter: blur(90px);
  background: rgba(16, 150, 81, 0.4);
  top: -180px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.cta__title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: #fff; position: relative; z-index: 1; }
.cta__title .grad-text {
  background: linear-gradient(90deg, #7be0a0, #b8efe0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta__text { color: rgba(255, 255, 255, 0.82); font-size: 1.08rem; margin: 14px auto 26px; max-width: 480px; position: relative; z-index: 1; }
.cta .btn { position: relative; z-index: 1; }

/* ==========================================================================
   FOOTER  (estilo topbar invertido)
   ========================================================================== */
.footer {
  background: linear-gradient(90deg, #1c4a5a, #143840);
  color: rgba(255, 255, 255, 0.85);
  padding: 64px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.footer__brand img { height: 42px; width: auto; }
.footer__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 6px;
  box-shadow: var(--shadow-md);
}
.footer__logo img { height: 46px; width: auto; }
.footer__desc { color: rgba(255, 255, 255, 0.7); font-size: 0.94rem; margin-top: 14px; max-width: 320px; }
.footer__col { display: grid; align-content: start; gap: 12px; }
.footer__title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 6px;
}
.footer__col a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  transition: color 0.18s ease;
  width: fit-content;
}
.footer__col a:hover { color: #7be0a0; }
.footer__bar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.86rem;
}

/* ==========================================================================
   REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 64px; }
  .hero__visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split__text { text-align: center; justify-items: center; }
  .steps, .pricing, .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav__links, .nav__actions .btn { display: none; }
  .nav__burger { display: flex; }

  .stats { grid-template-columns: 1fr 1fr; gap: 20px; padding: 26px; }
  .stats__item { padding-left: 0 !important; border-left: 0 !important; }

  .steps { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr; }
  .price--featured { transform: none; }
  .price--featured:hover { transform: translateY(-5px); }

  .hero { padding-top: 110px; }
  .float-chip--one { left: -6px; }
  .float-chip--two { right: -6px; }
  .quote { padding: 44px 26px; }
  .form { padding: 28px 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .card-dash__row { grid-template-columns: 1fr 1fr; }
  .btn--lg { width: 100%; }
}

.footer__bar a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer__bar a:hover {
  color: #ffffff;
}
