/* ===== Design tokens ===== */
:root {
  --radius: 1rem;
  --background: oklch(1 0 0);
  --foreground: oklch(0.18 0.05 300);

  --card: oklch(1 0 0);
  --border: oklch(0.93 0.015 320);

  --primary: oklch(0.32 0.15 300);
  --primary-foreground: oklch(0.99 0.005 300);

  --magenta: oklch(0.62 0.27 340);
  --magenta-foreground: oklch(0.99 0.005 300);

  --muted: oklch(0.97 0.01 320);
  --muted-foreground: oklch(0.5 0.04 300);

  --accent: oklch(0.95 0.04 330);
  --accent-foreground: oklch(0.28 0.14 300);

  --destructive: oklch(0.6 0.22 27);

  --gradient-brand: linear-gradient(135deg, oklch(0.32 0.15 300) 0%, oklch(0.5 0.24 320) 55%, oklch(0.68 0.27 350) 100%);
  --gradient-soft: linear-gradient(180deg, oklch(0.99 0.008 320) 0%, oklch(0.97 0.02 330) 100%);
  --gradient-magenta: linear-gradient(135deg, oklch(0.55 0.26 320) 0%, oklch(0.68 0.28 350) 100%);

  --shadow-soft: 0 8px 30px -12px color-mix(in oklab, var(--primary) 18%, transparent);
  --shadow-glow: 0 20px 60px -20px color-mix(in oklab, var(--magenta) 45%, transparent);
  --shadow-card: 0 2px 10px -4px color-mix(in oklab, var(--primary) 10%, transparent),
    0 12px 40px -20px color-mix(in oklab, var(--primary) 12%, transparent);

  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", sans-serif;
}

/* ===== Reset & base ===== */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}
p {
  margin: 0;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
button {
  font: inherit;
  cursor: pointer;
  color: inherit;
}
table {
  border-collapse: collapse;
}

/* ===== Layout helpers ===== */
.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 640px) {
  .container {
    padding: 0 2rem;
  }
}
.section {
  width: 100%;
  padding: 5rem 0;
}
@media (min-width: 768px) {
  .section {
    padding: 7rem 0;
  }
}
.section-head {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}
.section-head p.lead {
  margin-top: 1rem;
  color: var(--muted-foreground);
}
.section h2 {
  margin-top: 1rem;
  font-size: 1.875rem;
  font-weight: 800;
}
@media (min-width: 640px) {
  .section h2 {
    font-size: 2.25rem;
  }
}
.text-gradient {
  background-image: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bg-soft {
  background-image: var(--gradient-soft);
}

/* ===== Reveal on scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== Eyebrow chip ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--primary) 15%, transparent);
  background: #fff;
  padding: 0.3rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary);
  box-shadow: var(--shadow-soft);
}
.eyebrow svg {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--magenta);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.5rem;
  transition: opacity 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}
.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}
.btn svg {
  width: 1rem;
  height: 1rem;
}
.btn-primary {
  background-image: var(--gradient-brand);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  opacity: 0.95;
}
.btn-outline {
  border: 1px solid color-mix(in oklab, var(--primary) 20%, transparent);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  color: var(--foreground);
}
.btn-outline:hover {
  background: #fff;
}
.btn-white {
  background: #fff;
  color: var(--primary);
}
.btn-white:hover {
  background: rgba(255, 255, 255, 0.9);
}
.btn-ghost-onbrand {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--primary-foreground);
}
.btn-ghost-onbrand:hover {
  background: rgba(255, 255, 255, 0.1);
}
.btn-block {
  width: 100%;
}

/* ===== Badge ===== */
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid color-mix(in oklab, var(--border) 60%, transparent);
  background: color-mix(in oklab, var(--background) 80%, transparent);
  backdrop-filter: blur(20px);
}
.nav-inner {
  max-width: 72rem;
  margin: 0 auto;
  height: 4rem;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 640px) {
  .nav-inner {
    padding: 0 2rem;
  }
}
.nav-logo img {
  height: 2.75rem;
  width: auto;
}
.nav-logo-sm {
  height: 2rem;
  width: auto;
}
.nowrap {
  white-space: nowrap;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}
.nav-links a:hover {
  color: var(--foreground);
}
.nav-cta {
  display: none;
}
.nav-toggle {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: transparent;
}
.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.nav-toggle-bars span {
  height: 2px;
  width: 1.25rem;
  background: var(--foreground);
}
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .nav-cta {
    display: block;
  }
  .nav-toggle {
    display: none;
  }
}
.nav-mobile {
  display: none;
  border-top: 1px solid color-mix(in oklab, var(--border) 60%, transparent);
  background: var(--background);
}
.nav-mobile.is-open {
  display: block;
}
.nav-mobile-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.nav-mobile-inner a {
  border-radius: 0.375rem;
  padding: 0.5rem;
}
.nav-mobile-inner a:hover {
  background: var(--muted);
}
.nav-mobile-inner .btn {
  margin-top: 0.5rem;
}
@media (min-width: 768px) {
  .nav-mobile {
    display: none !important;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-ambient {
  position: absolute;
  inset: 0;
  z-index: -3;
}
.hero-blob {
  position: absolute;
  z-index: -2;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.hero-blob-a {
  top: -160px;
  right: -160px;
  background: color-mix(in oklab, var(--magenta) 20%, transparent);
}
.hero-blob-b {
  bottom: -160px;
  left: -160px;
  background: color-mix(in oklab, var(--primary) 25%, transparent);
}
.hero-grid {
  max-width: 72rem;
  margin: 0 auto;
  padding: 4rem 1.25rem 6rem;
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 640px) {
  .hero-grid {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding-top: 6rem;
    padding-bottom: 8rem;
  }
}
.hero h1 {
  margin-top: 1.25rem;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.05;
}
@media (min-width: 640px) {
  .hero h1 {
    font-size: 3rem;
  }
}
@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.75rem;
  }
}
.hero p.subtitle {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}
@media (min-width: 640px) {
  .hero p.subtitle {
    font-size: 1.125rem;
  }
}
.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
}
.hero-checks {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.hero-checks li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.check-dot {
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-image: var(--gradient-magenta);
  color: var(--primary-foreground);
  flex-shrink: 0;
}
.check-dot svg {
  width: 0.75rem;
  height: 0.75rem;
}
.hero-media {
  position: relative;
}
.hero-media-glow {
  position: absolute;
  inset: -1rem;
  z-index: -1;
  border-radius: 2rem;
  background-image: var(--gradient-brand);
  opacity: 0.2;
  filter: blur(30px);
}
.photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  box-shadow: var(--shadow-glow);
  height: 480px;
  background-image: var(--gradient-brand);
  display: grid;
  place-items: center;
}
@media (min-width: 640px) {
  .photo-frame {
    height: 560px;
  }
}
.photo-frame svg {
  width: 30%;
  height: 30%;
  color: rgba(255, 255, 255, 0.35);
}
.photo-frame.photo-frame-sm {
  height: 420px;
}
.callout {
  position: absolute;
  display: none;
  align-items: center;
  gap: 0.75rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--background) 95%, transparent);
  padding: 0.75rem 1rem 0.75rem 0.75rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(8px);
}
@media (min-width: 640px) {
  .callout {
    display: flex;
  }
}
.callout-a {
  bottom: -1.5rem;
  left: -1rem;
}
.callout-b {
  top: -1.25rem;
  right: -1rem;
}
.callout-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  color: var(--primary-foreground);
  flex-shrink: 0;
}
.callout-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}
.callout-icon.magenta {
  background-image: var(--gradient-magenta);
}
.callout-icon.primary {
  background: var(--primary);
}
.callout .eyebrow-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.callout .callout-title {
  font-size: 0.875rem;
  font-weight: 600;
}

/* ===== Generic grid card ===== */
.card {
  height: 100%;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.icon-tile {
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background-image: var(--gradient-brand);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-soft);
}
.icon-tile svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* ===== Confianza ===== */
.grid-confianza {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid-confianza {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .grid-confianza {
    grid-template-columns: repeat(4, 1fr);
  }
}
.confianza-card {
  padding: 1.5rem;
}
.confianza-card h3 {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  font-weight: 600;
}
.confianza-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.confianza-card .icon-tile {
  width: 3rem;
  height: 3rem;
}
.section-foot-note {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ===== Problema ===== */
.problema-grid {
  display: grid;
  gap: 3.5rem;
}
@media (min-width: 768px) {
  .problema-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}
.problema-media {
  position: relative;
}
.problema-media-glow {
  position: absolute;
  inset: -1rem;
  z-index: -1;
  border-radius: 2rem;
  background-image: var(--gradient-magenta);
  opacity: 0.15;
  filter: blur(30px);
}
.problema-grid h2 {
  margin-top: 1rem;
}
.problema-grid p {
  margin-top: 1.25rem;
  color: var(--muted-foreground);
}
.problema-grid p.strong-line {
  margin-top: 1rem;
  color: var(--foreground);
}
.tag-row {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tag-chip {
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary);
}

/* ===== Como funciona ===== */
.grid-como {
  position: relative;
  margin-top: 3.5rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .grid-como {
    grid-template-columns: repeat(4, 1fr);
  }
  .como-line {
    display: block;
  }
}
.como-line {
  display: none;
  position: absolute;
  left: 1.5rem;
  top: 2rem;
  width: calc(100% - 3rem);
  height: 2px;
  background-image: linear-gradient(to right, color-mix(in oklab, var(--primary) 20%, transparent), color-mix(in oklab, var(--magenta) 60%, transparent), color-mix(in oklab, var(--primary) 20%, transparent));
}
.como-card {
  position: relative;
  padding: 1.5rem;
}
.como-card .step-num {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background-image: var(--gradient-brand);
  color: var(--primary-foreground);
  font-weight: 700;
}
.como-card h3 {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  font-weight: 600;
}
.como-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ===== Servicios ===== */
.grid-servicios {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) {
  .grid-servicios {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .grid-servicios {
    grid-template-columns: repeat(5, 1fr);
  }
}
.servicio-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.servicio-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in oklab, var(--magenta) 40%, transparent);
  box-shadow: var(--shadow-glow);
}
.servicio-card .icon-tile {
  width: 2.75rem;
  height: 2.75rem;
  background: var(--accent);
  color: var(--primary);
  background-image: none;
  box-shadow: none;
  transition: background-image 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}
.servicio-card:hover .icon-tile {
  background-image: var(--gradient-magenta);
  color: var(--primary-foreground);
}
.servicio-card p {
  font-size: 0.875rem;
  font-weight: 600;
}

/* ===== Planes ===== */
.grid-planes {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .grid-planes {
    grid-template-columns: repeat(3, 1fr);
  }
}
.plan-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-card);
  padding: 1.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.plan-card.featured {
  border-color: transparent;
  background-image: var(--gradient-brand);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-glow);
}
.plan-badge {
  position: absolute;
  right: 1.25rem;
  top: 1.25rem;
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-image: var(--gradient-magenta);
  color: var(--primary-foreground);
}
.plan-card.featured .plan-badge {
  background-image: none;
  background: #fff;
  color: var(--primary);
}
.plan-tagline {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--magenta);
}
.plan-card.featured .plan-tagline {
  color: rgba(255, 255, 255, 0.8);
}
.plan-card h3 {
  margin-top: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
}
.plan-price {
  margin-top: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.plan-price .amount {
  font-size: 2.25rem;
  font-weight: 800;
}
.plan-price .note {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.plan-card.featured .plan-price .note {
  color: rgba(255, 255, 255, 0.8);
}
.plan-features {
  margin-top: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.plan-check {
  margin-top: 0.125rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
}
.plan-card.featured .plan-check {
  background: rgba(255, 255, 255, 0.2);
  color: var(--primary-foreground);
}
.plan-check svg {
  width: 0.75rem;
  height: 0.75rem;
}
.plan-card .btn {
  margin-top: 2rem;
  width: 100%;
}

/* ===== Comparador ===== */
.comparador {
  margin-top: 4rem;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-card);
}
.comparador-head {
  border-bottom: 1px solid var(--border);
  background-image: var(--gradient-soft);
  padding: 1.25rem 1.5rem;
}
.comparador-head h3 {
  font-size: 1.125rem;
  font-weight: 600;
}
.comparador-head p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.table-scroll {
  overflow-x: auto;
}
.comparador table {
  width: 100%;
  min-width: 640px;
  text-align: left;
  font-size: 0.875rem;
}
.comparador thead tr {
  border-bottom: 1px solid var(--border);
}
.comparador th {
  padding: 1rem 1rem;
  font-weight: 600;
}
.comparador th:first-child {
  width: 50%;
  padding-left: 1.5rem;
}
.comparador th:not(:first-child) {
  text-align: center;
}
.comparador thead .premium-pill {
  display: inline-block;
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  background-image: var(--gradient-brand);
  color: var(--primary-foreground);
}
.comparador tbody tr {
  border-bottom: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
}
.comparador tbody tr:last-child {
  border-bottom: none;
}
.comparador td {
  padding: 1rem;
}
.comparador td:first-child {
  padding-left: 1.5rem;
  font-weight: 500;
}
.comparador td:not(:first-child) {
  text-align: center;
}
.cell-check {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background-image: var(--gradient-magenta);
  color: var(--primary-foreground);
}
.cell-check svg {
  width: 1rem;
  height: 1rem;
}
.cell-dash {
  color: color-mix(in oklab, var(--muted-foreground) 60%, transparent);
}
.cell-text {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary);
}

/* ===== Beneficios ===== */
.grid-beneficios {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid-beneficios {
    grid-template-columns: repeat(2, 1fr);
  }
}
.beneficio-card {
  padding: 1.75rem;
}
.beneficio-inner {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}
.beneficio-inner .icon-tile {
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-glow);
}
.beneficio-inner h3 {
  font-size: 1.25rem;
  font-weight: 600;
}
.beneficio-lines {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.beneficio-lines li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.beneficio-lines li::before {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--magenta);
  flex-shrink: 0;
}

/* ===== Respaldo ===== */
.respaldo-panel {
  position: relative;
  overflow: hidden;
  border-radius: 2.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-glow);
  padding: 2.5rem;
}
@media (min-width: 640px) {
  .respaldo-panel {
    padding: 3.5rem;
  }
}
.respaldo-blob-a {
  position: absolute;
  z-index: 0;
  right: -6rem;
  top: -6rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: color-mix(in oklab, var(--magenta) 40%, transparent);
  filter: blur(70px);
}
.respaldo-blob-b {
  position: absolute;
  z-index: 0;
  left: -6rem;
  bottom: -6rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  filter: blur(70px);
}
.respaldo-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) {
  .respaldo-content {
    grid-template-columns: auto 1fr;
    align-items: center;
  }
}
.respaldo-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.respaldo-mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 6rem;
  height: 6rem;
  border-radius: 1rem;
  background: #fff;
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  box-shadow: var(--shadow-soft);
}
.respaldo-brand .eyebrow-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
}
.respaldo-brand .brand-name {
  font-size: 1.25rem;
  font-weight: 800;
}
.respaldo-content > p {
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.85);
}

/* ===== Testimonios ===== */
.grid-testimonios {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .grid-testimonios {
    grid-template-columns: repeat(3, 1fr);
  }
}
.testimonio-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
}
.testimonio-card blockquote {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
}
.testimonio-card figcaption {
  margin-top: 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}
.testimonio-card figcaption .name {
  font-size: 0.875rem;
  font-weight: 600;
}
.testimonio-card figcaption .role {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ===== FAQ ===== */
.faq-wrap {
  margin: 3rem auto 0;
  max-width: 48rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-card);
  padding: 0.5rem;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary svg {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  color: var(--muted-foreground);
  transition: transform 0.25s ease;
}
.faq-item[open] summary svg {
  transform: rotate(180deg);
}
.faq-item .faq-answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

/* ===== CTA final ===== */
.cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: 2.5rem;
  background-image: var(--gradient-brand);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-glow);
  padding: 2.5rem;
  text-align: center;
}
@media (min-width: 640px) {
  .cta-panel {
    padding: 4rem;
  }
}
.cta-blob-a {
  position: absolute;
  z-index: 0;
  right: -8rem;
  top: -8rem;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: color-mix(in oklab, var(--magenta) 50%, transparent);
  filter: blur(80px);
}
.cta-blob-b {
  position: absolute;
  z-index: 0;
  left: -8rem;
  bottom: -8rem;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  filter: blur(80px);
}
.cta-content {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  margin: 0 auto;
}
.cta-content .badge {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: var(--primary-foreground);
}
.cta-content h2 {
  margin-top: 1.25rem;
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.2;
}
@media (min-width: 640px) {
  .cta-content h2 {
    font-size: 3rem;
  }
}
.cta-content > p {
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
}
.cta-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .cta-actions {
    flex-direction: row;
  }
}

/* ===== Formulario ===== */
.form-head {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}
.form-head .badge {
  border: 1px solid color-mix(in oklab, var(--magenta) 20%, transparent);
  background: color-mix(in oklab, var(--magenta) 10%, transparent);
  color: var(--magenta);
}
.form-head h2 {
  margin-top: 1rem;
  font-size: 1.875rem;
  font-weight: 800;
}
@media (min-width: 640px) {
  .form-head h2 {
    font-size: 2.25rem;
  }
}
.form-head p {
  margin-top: 0.75rem;
  color: var(--muted-foreground);
}
.contact-form {
  max-width: 48rem;
  margin: 2.5rem auto 0;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
}
@media (min-width: 640px) {
  .contact-form {
    padding: 2.5rem;
  }
}
.form-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.form-field {
  display: flex;
  flex-direction: column;
}
.form-field.col-span-2 {
  grid-column: 1 / -1;
}
.form-field label {
  font-size: 0.875rem;
  font-weight: 500;
}
.form-field input,
.form-field select,
.form-field textarea {
  margin-top: 0.5rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--input, var(--border));
  background: var(--background);
  padding: 0 0.875rem;
  font: inherit;
  color: var(--foreground);
}
.form-field textarea {
  height: auto;
  padding: 0.625rem 0.875rem;
  resize: vertical;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--magenta);
  outline-offset: 1px;
}
.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: var(--destructive);
}
.form-field select:disabled {
  color: var(--muted-foreground);
  background: var(--muted);
  cursor: not-allowed;
}
.field-error {
  margin-top: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--destructive);
}
.form-footer {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 640px) {
  .form-footer {
    flex-direction: row;
  }
}
.form-footer p {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.form-success {
  display: none;
  margin-top: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid color-mix(in oklab, var(--magenta) 30%, transparent);
  background: color-mix(in oklab, var(--magenta) 8%, transparent);
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: var(--foreground);
}
.form-success.is-visible {
  display: block;
}
.form-error {
  display: none;
  margin-top: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid color-mix(in oklab, var(--destructive) 30%, transparent);
  background: color-mix(in oklab, var(--destructive) 8%, transparent);
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: var(--foreground);
}
.form-error.is-visible {
  display: block;
}
.honeypot-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--background);
}
.footer-grid {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .footer-grid {
    padding: 3.5rem 2rem;
  }
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer-col-brand {
    grid-column: span 2;
  }
}
.footer-col-brand img {
  height: 2.75rem;
  width: auto;
}
.footer-col-brand p {
  margin-top: 1rem;
  max-width: 24rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.footer-social {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.75rem;
}
.footer-social a {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-social a svg {
  width: 1rem;
  height: 1rem;
}
.footer-social a:hover {
  border-color: color-mix(in oklab, var(--magenta) 40%, transparent);
  color: var(--magenta);
}
.footer-col p.heading {
  font-size: 0.875rem;
  font-weight: 600;
}
.footer-col ul {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.footer-col ul li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-col ul li svg {
  width: 1rem;
  height: 1rem;
  color: var(--magenta);
  flex-shrink: 0;
}
.footer-col ul a:hover {
  color: var(--foreground);
}
.footer-bottom {
  border-top: 1px solid var(--border);
}
.footer-bottom-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
@media (min-width: 640px) {
  .footer-bottom-inner {
    flex-direction: row;
    padding: 1.5rem 2rem;
  }
}

/* ===== Sticky mobile CTA ===== */
.sticky-cta {
  position: fixed;
  z-index: 40;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  justify-content: center;
}
.sticky-cta .btn {
  width: 100%;
  max-width: 24rem;
}
@media (min-width: 768px) {
  .sticky-cta {
    display: none;
  }
}

/* ===== Terms page ===== */
.terms-main {
  max-width: 48rem;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}
@media (min-width: 640px) {
  .terms-main {
    padding: 4rem 2rem;
  }
}
.terms-intro {
  margin-bottom: 2.5rem;
}
.terms-intro h1 {
  margin-top: 1rem;
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
@media (min-width: 640px) {
  .terms-intro h1 {
    font-size: 2.25rem;
  }
}
.terms-intro p.updated {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.terms-body {
  color: var(--muted-foreground);
  line-height: 1.7;
}
.terms-body p {
  margin: 1rem 0;
}
.terms-body h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
}
.terms-body strong {
  color: var(--foreground);
}
