:root {
  --bg: #ffffff;
  --blue: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-300: #93c5fd;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
  --ink: #0f172a;
  --text: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-soft: #f1f5f9;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.12);
  --shadow-blue: 0 10px 30px -10px rgba(37, 99, 235, 0.45);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Plus Jakarta Sans", var(--font);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

svg {
  display: block;
}

.wrap {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: 780px;
}

/* ---------- Tipografía ---------- */

h1,
h2,
h3 {
  font-family: var(--font-head);
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0;
}

h1 {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.08;
  font-weight: 700;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 14px;
}

h3 {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
  margin-bottom: 8px;
}

p {
  margin: 0 0 14px;
}

.lead {
  font-size: 19px;
  color: var(--text);
  max-width: 640px;
}

.text-gradient {
  background: linear-gradient(90deg, var(--ink), var(--blue), var(--blue-400), var(--blue), var(--ink));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient 8s linear infinite;
}

@keyframes gradient {
  to {
    background-position: 200% center;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-300));
}

.eyebrow::after {
  background: linear-gradient(90deg, var(--blue-300), transparent);
}

.left .eyebrow::before {
  display: none;
}

/* ---------- Header flotante ---------- */

.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0 16px;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.site-header.hidden {
  transform: translateY(calc(-100% - 24px));
  opacity: 0;
  pointer-events: none;
}

.header-reveal {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 49;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: white;
  background: linear-gradient(180deg, var(--blue-500), var(--blue));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), var(--shadow-blue);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -80px);
  transition: transform 0.4s ease, opacity 0.3s ease, box-shadow 0.2s;
}

.header-reveal.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.header-reveal:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 14px 34px -10px rgba(37, 99, 235, 0.6);
}

.header-reveal svg {
  animation: nudge 1.8s ease-in-out infinite;
}

@keyframes nudge {
  50% {
    transform: translateY(3px);
  }
}

.header-inner {
  position: relative;
  max-width: 1152px;
  margin: 0 auto;
  min-height: 60px;
  padding: 8px 10px 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.brand-text span {
  color: var(--blue);
}

.logo-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue));
  color: white;
  box-shadow: var(--shadow-blue);
}

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

.links button {
  border: 0;
  background: none;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}

.links button:hover {
  color: var(--ink);
  background: var(--line-soft);
}

.links button.active {
  color: var(--blue);
  background: var(--blue-50);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  place-items: center;
}

/* ---------- Botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  padding: 13px 22px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.btn-sm {
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 10px;
}

.btn-primary {
  color: white;
  background: linear-gradient(180deg, var(--blue-500), var(--blue));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), var(--shadow-blue);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 14px 34px -10px rgba(37, 99, 235, 0.6);
}

.btn-secondary {
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--blue-300);
  color: var(--blue);
}

.btn .arrow {
  color: rgba(255, 255, 255, 0.75);
  transition: transform 0.2s;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
}

.link-btn:hover .arrow {
  transform: translateX(3px);
}

.link-btn .arrow {
  transition: transform 0.2s;
}

/* ---------- Páginas (SPA) ---------- */

.page {
  display: none;
}

.page.active {
  display: block;
  animation: pageIn 0.45s ease;
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

section {
  position: relative;
  padding: 88px 0;
}

.page-top {
  padding-top: 150px;
}

.head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.head.left {
  margin-left: 0;
  text-align: left;
}

.head p {
  font-size: 17px;
}

.divider {
  height: 1px;
  max-width: 1104px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

/* ---------- Fondo decorativo ---------- */

.glow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.glow::before {
  content: "";
  position: absolute;
  top: -260px;
  left: 50%;
  width: 1100px;
  height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(59, 130, 246, 0.16), transparent);
}

.glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, black, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, black, transparent 75%);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  padding: 170px 0 72px;
  text-align: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero .lead {
  margin: 0 auto;
}

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

.actions.center {
  justify-content: center;
}

.hero-visual {
  width: 100%;
  max-width: 920px;
  margin-top: 64px;
}

.window {
  position: relative;
  text-align: left;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 30px 80px -30px rgba(37, 99, 235, 0.35), var(--shadow);
  overflow: hidden;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfe;
}

.window-bar > span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--line);
}

.window-title {
  margin-left: 12px;
  font-size: 13px;
  color: var(--muted);
}

.window-body {
  padding: 24px;
  display: grid;
  gap: 18px;
}

.window-search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  font-size: 15px;
}

.window-search .typed {
  flex: 1;
  color: var(--ink);
}

.window-search .pill {
  padding: 7px 14px;
  border-radius: 9px;
  background: var(--blue);
  color: white;
  font-size: 13px;
  font-weight: 600;
}

.window-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 18px;
}

.window-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.window-card.highlight {
  background: linear-gradient(180deg, var(--blue-50), white 70%);
  border-color: var(--blue-100);
}

.progress {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.progress li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}

.progress .dot {
  width: 26px;
  height: 26px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  background: white;
}

.progress .done .dot {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}

.progress .done {
  color: var(--ink);
}

.progress .current .dot {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-50);
}

.progress .current {
  color: var(--blue);
  font-weight: 600;
}

/* ---------- Listas con check ---------- */

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

.checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
}

.checks li::before {
  content: "";
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Franja de entidades ---------- */

.marquee-section {
  padding: 24px 0 72px;
  text-align: center;
}

.marquee-label {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 22px;
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 56px;
  animation: marquee 40s linear infinite;
}

.marquee-track span {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

@keyframes marquee {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* ---------- Tarjetas con spotlight ---------- */

.card {
  position: relative;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.card > * {
  position: relative;
}

.spot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--x, 50%) var(--y, 50%), rgba(59, 130, 246, 0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

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

.spot:hover {
  border-color: var(--blue-100);
  box-shadow: var(--shadow);
}

.clickable {
  cursor: pointer;
}

.clickable:hover {
  transform: translateY(-3px);
}

.card p {
  font-size: 15px;
}

.icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 12px;
  color: var(--blue);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
}

.icon svg {
  width: 22px;
  height: 22px;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.count {
  font-size: 13px;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.num {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue);
}

/* ---------- Buscador ---------- */

.search {
  display: flex;
  gap: 8px;
  max-width: 640px;
  margin: 0 auto 48px;
  padding: 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search:focus-within {
  border-color: var(--blue-300);
  box-shadow: 0 0 0 4px var(--blue-50), var(--shadow);
}

.search-icon {
  display: grid;
  place-items: center;
  padding-left: 10px;
  color: var(--muted);
}

.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 10px 6px;
  color: var(--ink);
  background: transparent;
}

input,
textarea,
select {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--ink);
  min-width: 0;
  outline: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--blue-300);
  box-shadow: 0 0 0 4px var(--blue-50);
}

input::placeholder,
textarea::placeholder {
  color: #94a3b8;
}

/* ---------- Bento / propuesta ---------- */

.two {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.panel {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.panel.tint {
  background: linear-gradient(180deg, var(--blue-50), white 60%);
  border-color: var(--blue-100);
}

.value-list {
  display: grid;
  gap: 22px;
}

.value {
  display: flex;
  gap: 16px;
}

.value .icon {
  margin: 0;
  flex: none;
}

.value p {
  margin: 0;
  font-size: 15px;
}

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

.cta {
  position: relative;
  isolation: isolate;
  text-align: center;
  padding: 110px 0;
  overflow: hidden;
}

.cta .glow::before {
  top: auto;
  bottom: -360px;
}

.cta .glow::after {
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 100%, black, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 100%, black, transparent 75%);
}

.cta p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 17px;
}

/* ---------- Catálogo ---------- */

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}

.chip {
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
}

.chip:hover {
  border-color: var(--blue-300);
  color: var(--blue);
}

.chip.active {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
  box-shadow: var(--shadow-blue);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--blue-50);
  color: var(--blue);
  border: 1px solid var(--blue-100);
}

.tag.neutral {
  background: var(--line-soft);
  color: var(--text);
  border-color: var(--line);
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service h3 {
  margin: 4px 0 0;
}

.service p {
  margin: 0;
  flex: 1;
}

.service .link-btn {
  margin-top: 6px;
}

.includes {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
}

.checks.cols {
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
}

.mode {
  padding: 12px 14px;
  border-radius: 12px;
  background: white;
  border: 1px solid var(--blue-100);
  font-size: 14px;
}

.mode strong {
  color: var(--ink);
}

@media (max-width: 560px) {
  .checks.cols {
    grid-template-columns: 1fr;
  }
}

.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}

.notice {
  margin: 40px auto 0;
  max-width: 720px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Detalle ---------- */

.detail-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 28px;
  align-items: start;
}

.detail-grid .back {
  grid-column: 1 / -1;
  justify-self: start;
}

.detail-grid h2 {
  margin-top: 18px;
}

.detail-grid h3 {
  margin-top: 28px;
}

.detail-aside {
  position: sticky;
  top: 110px;
}

.detail-aside h3 {
  margin-top: 0;
}

.detail-aside .btn {
  width: 100%;
  margin-top: 10px;
}

.note {
  margin-top: 28px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--line-soft);
  font-size: 14px;
}

.note strong {
  color: var(--ink);
}

/* ---------- Cómo funciona ---------- */

.scope {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.icon.negative {
  color: #64748b;
  background: var(--line-soft);
  border-color: var(--line);
}

/* ---------- Formulario ---------- */

.formgrid {
  display: grid;
  gap: 16px;
}

.formgrid label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.formgrid textarea {
  min-height: 120px;
  resize: vertical;
}

.formgrid small {
  color: var(--muted);
  font-size: 13px;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

/* ---------- Privacidad ---------- */

.prose h3 {
  margin-top: 28px;
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
  background: white;
}

.footerGrid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
}

.footer p {
  font-size: 14px;
  color: var(--muted);
  max-width: 320px;
}

.footer .brand {
  margin-bottom: 16px;
}

.footer strong {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--ink);
}

.footer-links button {
  display: block;
  border: 0;
  background: none;
  padding: 5px 0;
  cursor: pointer;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-links button:hover {
  color: var(--blue);
}

.legal {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

/* ---------- WhatsApp flotante ---------- */

.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.wa-button {
  position: relative;
  width: 60px;
  height: 60px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: #25d366;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.65);
  transition: transform 0.25s, box-shadow 0.25s;
}

.wa-button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  z-index: -1;
  animation: waPulse 2.2s ease-out infinite;
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.wa-float:hover .wa-button {
  transform: scale(1.06);
  box-shadow: 0 16px 34px -8px rgba(37, 211, 102, 0.8);
}

.wa-label {
  padding: 10px 16px;
  border-radius: 14px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}

.wa-label strong {
  display: block;
  color: var(--ink);
}

.wa-float:hover .wa-label,
.wa-float.peek .wa-label {
  opacity: 1;
  transform: none;
}

.text-link {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

@media (max-width: 560px) {
  .wa-float {
    right: 16px;
    bottom: 16px;
  }

  .wa-button {
    width: 54px;
    height: 54px;
  }

  .wa-label {
    display: none;
  }
}

/* ---------- Animaciones al hacer scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .text-gradient,
  .wa-button::before,
  .page.active {
    animation: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-aside {
    position: static;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: grid;
  }

  .header-actions .btn {
    display: none;
  }

  .links {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: none;
  }

  .site-header.open .links {
    display: flex;
  }

  .links button {
    text-align: left;
    padding: 12px 14px;
  }

  .two,
  .window-grid,
  .scope {
    grid-template-columns: 1fr;
  }

  .two {
    gap: 32px;
  }

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

  .footerGrid {
    grid-template-columns: 1fr 1fr;
  }

  .footerGrid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  section {
    padding: 64px 0;
  }

  .hero {
    padding: 140px 0 48px;
  }

  .page-top {
    padding-top: 130px;
  }

  .grid,
  .services,
  .steps {
    grid-template-columns: 1fr;
  }

  .actions .btn {
    width: 100%;
  }

  .search {
    flex-wrap: wrap;
  }

  .search-icon {
    display: none;
  }

  .search .btn {
    width: 100%;
  }

  .window-body {
    padding: 16px;
  }

  .panel {
    padding: 24px;
  }
}
