/* Landing de Iris — sistema de diseño 4d3 (Cuatro de Tres).
   Tipografía editorial (IBM Plex Sans 300 / Plex Mono uppercase tracked),
   tricromía verde→azul→coral en rotación fija, esquinas vivas (0–4px),
   secciones numeradas, motivos de rombo, animaciones discretas. */

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Scroll reveals (4d3: 0.8s ease-out, opacidad+translateY) ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.85s ease-out,
    transform 0.85s ease-out;
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
/* Cascadas: stagger 80–120 ms para hijos directos */
.ld-features > [data-reveal]:nth-child(2),
.ld-features > [data-reveal]:nth-child(6)  { transition-delay: 0.08s; }
.ld-features > [data-reveal]:nth-child(3),
.ld-features > [data-reveal]:nth-child(7)  { transition-delay: 0.16s; }
.ld-features > [data-reveal]:nth-child(4),
.ld-features > [data-reveal]:nth-child(8)  { transition-delay: 0.24s; }
.ld-features > [data-reveal]:nth-child(5)  { transition-delay: 0.05s; }

.ld-trust > [data-reveal]:nth-child(2) { transition-delay: 0.10s; }
.ld-trust > [data-reveal]:nth-child(3) { transition-delay: 0.20s; }
.ld-trust > [data-reveal]:nth-child(4) { transition-delay: 0.30s; }

.ld-steps > [data-reveal]:nth-child(2) { transition-delay: 0.12s; }
.ld-steps > [data-reveal]:nth-child(3) { transition-delay: 0.24s; }

.ld-plans > [data-reveal]:nth-child(2) { transition-delay: 0.18s; }

.ld-faq > [data-reveal]:nth-child(2) { transition-delay: 0.06s; }
.ld-faq > [data-reveal]:nth-child(3) { transition-delay: 0.12s; }
.ld-faq > [data-reveal]:nth-child(4) { transition-delay: 0.18s; }
.ld-faq > [data-reveal]:nth-child(5) { transition-delay: 0.24s; }
.ld-faq > [data-reveal]:nth-child(6) { transition-delay: 0.30s; }

/* Hero: secuencia de entrada */
.ld-hero .ld-section-meta[data-reveal] { transition-delay: 0.05s; }
.ld-hero .ld-hero-title[data-reveal]   { transition-delay: 0.12s; }
.ld-hero .ld-hero-sub[data-reveal]     { transition-delay: 0.22s; }
.ld-hero .ld-hero-ctas[data-reveal]    { transition-delay: 0.32s; }
.ld-hero .ld-hero-visual[data-reveal]  { transition-delay: 0.42s; }

body { min-height: 100vh; position: relative; overflow-x: hidden; }

/* ---------- Loader y barra de color tricromía ---------- */
.ld-loader,
.ld-color-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--pastel-green), var(--pastel-blue), var(--pastel-coral));
  background-size: 200% auto;
  animation: ld-gradient-shift 3s ease infinite;
}
@keyframes ld-gradient-shift {
  0%, 100% { background-position: 0 50%; }
  50%      { background-position: 100% 50%; }
}

/* ---------- Decoración geométrica flotante ---------- */
.ld-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.ld-bg-rhombus,
.ld-bg-raster {
  position: absolute;
  opacity: 0.13;
}
.ld-bg-rhombus--green {
  width: 64px; height: 64px;
  background: var(--pastel-green);
  top: 18%; right: 6%;
  transform: rotate(45deg);
  animation: ld-float-a 7s ease-in-out infinite;
}
.ld-bg-rhombus--coral {
  width: 96px; height: 96px;
  background: var(--pastel-coral);
  top: 60%; left: 4%;
  transform: rotate(45deg);
  animation: ld-float-b 9s ease-in-out infinite;
}
.ld-bg-raster--blue,
.ld-bg-raster--blue2 {
  width: 220px; height: 80px;
  background: repeating-linear-gradient(
    0deg,
    var(--pastel-blue) 0 2px,
    transparent 2px 8px
  );
  transform: rotate(-12deg);
}
.ld-bg-raster--blue  { top: 40%; right: 8%;  animation: ld-float-a 8s ease-in-out infinite; }
.ld-bg-raster--blue2 { top: 80%; right: 22%; transform: rotate(7deg); animation: ld-float-b 6s ease-in-out infinite; }
@keyframes ld-float-a {
  0%, 100% { transform: translateY(0)    rotate(45deg); }
  50%      { transform: translateY(-18px) rotate(45deg); }
}
@keyframes ld-float-b {
  0%, 100% { transform: translateY(0)    rotate(45deg); }
  50%      { transform: translateY(18px) rotate(45deg); }
}

/* ---------- Tipografía / utilidades ---------- */
.ld-mono {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
  color: var(--gray-mid);
  font-weight: 500;
}

.ld-section {
  position: relative;
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 4vw, 2rem);
  max-width: 1200px;
  margin: 0 auto;
}
.ld-section-head {
  max-width: 800px;
  margin: 0 0 clamp(2rem, 4vw, 3.5rem);
}
.ld-section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.ld-section-num {
  display: inline-block;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--gray-mid);
}
.ld-section-title {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.ld-section-title strong {
  font-weight: 600;
  background: linear-gradient(90deg, var(--pastel-green), var(--pastel-blue), var(--pastel-coral));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: ld-gradient-shift 3s ease infinite;
}
.ld-section-lead {
  margin: 1rem 0 0;
  color: var(--gray-mid);
  font-size: 1rem;
  max-width: 580px;
}
.ld-section-head--center .ld-section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Botones (sistema 4d3) ---------- */
.ld-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 12px 22px;
  border: 2px solid var(--fg);
  background: transparent;
  color: var(--fg);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
  border-radius: 0;
}
.ld-btn i,
.ld-btn svg {
  width: 14px;
  height: 14px;
  display: block;
  transition: transform 0.3s ease;
}
.ld-btn:hover i,
.ld-btn:hover svg { transform: translateX(3px); }
.ld-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    var(--accent) 0 2px,
    var(--accent-strong) 2px 4px
  );
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: -1;
}
.ld-btn:hover::before { transform: translateX(0); }
.ld-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.ld-btn--primary {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.ld-btn--primary::before {
  background: repeating-linear-gradient(
    0deg,
    var(--pastel-blue) 0 2px,
    var(--dark-blue) 2px 4px
  );
}
.ld-btn--primary:hover { color: var(--white); }

.ld-btn--ghost { background: transparent; color: var(--fg); border-color: var(--fg); }
.ld-btn--ghost:hover { color: var(--white); }

.ld-btn--lg { padding: 16px 28px; font-size: 0.86rem; }

/* ---------- Nav ---------- */
.ld-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1rem, 3vw, 2rem);
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-light);
  position: sticky;
  top: 0;
  z-index: 100;
}
.ld-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
}
.ld-logo-favicon {
  width: 24px;
  height: 24px;
  display: block;
}
.ld-logo-text {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.005em;
}
.ld-logo-mark {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}
.ld-logo-mark span {
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  display: inline-block;
}
.ld-logo-mark span:nth-child(1) { background: var(--pastel-green); }
.ld-logo-mark span:nth-child(2) { background: var(--pastel-blue); }
.ld-logo-mark span:nth-child(3) { background: var(--pastel-coral); }

.ld-nav-links {
  display: none;
  align-items: center;
  gap: 1.8rem;
}
.ld-nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 0.94rem;
  transition: color 0.3s ease;
  position: relative;
}
.ld-nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}
.ld-nav-links a:hover { color: var(--accent); }
.ld-nav-links a:hover::after { transform: scaleX(1); }
.ld-link-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--gray-mid);
}
.ld-nav-links a:nth-child(1) .ld-link-num { color: var(--dark-green); }
.ld-nav-links a:nth-child(2) .ld-link-num { color: var(--dark-blue); }
.ld-nav-links a:nth-child(3) .ld-link-num { color: var(--dark-coral); }
.ld-nav-cta { padding: 10px 18px; }

@media (min-width: 768px) {
  .ld-nav-links { display: inline-flex; }
}

/* ---------- Hero ---------- */
.ld-hero {
  padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 4vw, 2rem) clamp(2rem, 6vw, 5rem);
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  isolation: isolate;
}

/* Fondo difuminado: rombos del logo 4d3 servidos por CDN. Decorativo,
   nunca interactúa con el lector ni de pantalla (aria-hidden + alt vacío). */
.ld-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.ld-hero-bg img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(420px, 60%, 900px);
  height: auto;
  opacity: 0.22;
  filter: blur(14px) saturate(1.05);
  mix-blend-mode: multiply;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
@media (max-width: 768px) {
  .ld-hero-bg img {
    width: 110%;
    opacity: 0.16;
    filter: blur(10px) saturate(1.05);
  }
}
.ld-section-meta { margin-bottom: 1.2rem; }
.ld-hero-title {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 1.2rem;
  max-width: 920px;
}
.ld-hero-title strong {
  font-weight: 600;
  background: linear-gradient(90deg, var(--pastel-green), var(--pastel-blue), var(--pastel-coral));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: ld-gradient-shift 3s ease infinite;
}
.ld-hero-sub {
  margin: 0 0 2rem;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--gray-mid);
  max-width: 640px;
  line-height: 1.55;
}
.ld-hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Mockup */
.ld-hero-visual { margin: 0; max-width: 820px; }
.ld-mock {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}
.ld-mock-bar {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  background: var(--off-white);
  border-bottom: 1px solid var(--gray-light);
}
.ld-mock-bar span {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.ld-mock-bar span:nth-child(1) { background: var(--pastel-coral); }
.ld-mock-bar span:nth-child(2) { background: var(--pastel-blue); }
.ld-mock-bar span:nth-child(3) { background: var(--pastel-green); }
.ld-mock-body {
  display: grid;
  gap: 14px;
  padding: 24px;
}
.ld-mock-user,
.ld-mock-iris {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--gray-light);
  border-radius: 4px;
  max-width: 88%;
}
.ld-mock-user {
  align-self: flex-end;
  justify-self: end;
  background: var(--bg-sunken);
}
.ld-mock-iris {
  background: var(--white);
}

/* ---------- Confianza ---------- */
.ld-section--trust { background: var(--off-white); border-top: 1px solid var(--gray-light); border-bottom: 1px solid var(--gray-light); max-width: none; padding-left: 0; padding-right: 0; }
.ld-section--trust > .ld-section-head { padding: 0 clamp(1rem, 4vw, 2rem); max-width: 1200px; margin-left: auto; margin-right: auto; }
.ld-trust {
  list-style: none;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
.ld-trust li {
  position: relative;
  padding: 1.5rem 1.4rem 1.6rem 1.6rem;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.ld-trust li::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 4px;
  height: 0;
  background: var(--accent);
  transition: height 0.3s ease;
}
.ld-trust li:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.07);
}
.ld-trust li:hover::before { height: 100%; }

.ld-trust h3 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.04rem;
  margin: 0.85rem 0 0.3rem;
  color: var(--fg);
}
.ld-trust p { margin: 0; color: var(--gray-mid); font-size: 0.95rem; line-height: 1.5; }
.ld-trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--gray-mid);
}
.ld-trust-icon i,
.ld-trust-icon svg { width: 22px; height: 22px; display: block; }
.ld-trust li:nth-child(3n+1) .ld-trust-icon,
.ld-trust li:nth-child(3n+1)::before { color: var(--dark-green); }
.ld-trust li:nth-child(3n+2) .ld-trust-icon,
.ld-trust li:nth-child(3n+2)::before { color: var(--dark-blue); }
.ld-trust li:nth-child(3n+3) .ld-trust-icon,
.ld-trust li:nth-child(3n+3)::before { color: var(--dark-coral); }
.ld-trust li:nth-child(3n+1)::before { background: var(--pastel-green); }
.ld-trust li:nth-child(3n+2)::before { background: var(--pastel-blue); }
.ld-trust li:nth-child(3n+3)::before { background: var(--pastel-coral); }

@media (min-width: 600px)  { .ld-trust { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ld-trust { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Características ---------- */
.ld-features {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px)  { .ld-features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px)  { .ld-features { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .ld-features { grid-template-columns: repeat(4, 1fr); } }

.ld-card {
  position: relative;
  padding: 1.5rem 1.4rem 1.6rem 1.6rem;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}
.ld-card-icon {
  transition: transform 0.4s ease, color 0.3s ease;
}
.ld-card:hover .ld-card-icon {
  transform: rotate(45deg) scale(1.08);
}
.ld-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 4px;
  height: 0;
  background: var(--accent);
  transition: height 0.3s ease;
}
.ld-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.07);
}
.ld-card:hover::before { height: 100%; }
.ld-card h3 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.04rem;
  margin: 0.85rem 0 0.3rem;
}
.ld-card p { margin: 0; color: var(--gray-mid); font-size: 0.94rem; line-height: 1.5; }

.ld-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
  color: var(--gray-mid);
  flex-shrink: 0;
}
.ld-card-icon i,
.ld-card-icon svg {
  width: 20px;
  height: 20px;
  display: block;
  transform: rotate(-45deg);
  /* Asegura que el SVG se centra usando su propia caja sin baseline gap. */
  margin: 0;
}
.ld-card:nth-child(3n+1) .ld-card-icon, .ld-card:nth-child(3n+1)::before { color: var(--dark-green); }
.ld-card:nth-child(3n+2) .ld-card-icon, .ld-card:nth-child(3n+2)::before { color: var(--dark-blue); }
.ld-card:nth-child(3n+3) .ld-card-icon, .ld-card:nth-child(3n+3)::before { color: var(--dark-coral); }
.ld-card:nth-child(3n+1)::before { background: var(--pastel-green); }
.ld-card:nth-child(3n+2)::before { background: var(--pastel-blue); }
.ld-card:nth-child(3n+3)::before { background: var(--pastel-coral); }

/* ---------- Cómo funciona ---------- */
.ld-section--how {
  background: var(--off-white);
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
.ld-section--how > .ld-section-head,
.ld-section--how > .ld-steps {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 2rem);
  padding-right: clamp(1rem, 4vw, 2rem);
}
.ld-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .ld-steps { grid-template-columns: repeat(3, 1fr); } }
.ld-steps li {
  position: relative;
  padding: 1.6rem;
  background: var(--white);
  border: 1px solid var(--gray-light);
}
.ld-steps li:nth-child(1) { border-top: 4px solid var(--pastel-green); }
.ld-steps li:nth-child(2) { border-top: 4px solid var(--pastel-blue); }
.ld-steps li:nth-child(3) { border-top: 4px solid var(--pastel-coral); }
.ld-step-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--gray-mid);
}
.ld-steps h3 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.1rem;
  margin: 0.6rem 0 0.4rem;
}
.ld-steps p { margin: 0; color: var(--gray-mid); }

/* ---------- Precios ---------- */
.ld-section--pricing { text-align: left; }
.ld-section--pricing .ld-section-head { max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; }
.ld-section--pricing .ld-section-head .ld-section-lead { margin-left: auto; margin-right: auto; }
.ld-toggle {
  display: inline-flex;
  margin: 0 auto 2rem;
  border: 2px solid var(--fg);
  background: var(--white);
}
.ld-section--pricing > .ld-toggle { display: flex; width: max-content; margin-left: auto; margin-right: auto; }
.ld-toggle-btn {
  background: transparent;
  border: 0;
  padding: 10px 22px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-mid);
  transition: background 0.3s ease, color 0.3s ease;
}
.ld-toggle-btn.is-active { background: var(--fg); color: var(--bg); }
.ld-toggle-save { margin-left: 0.4rem; color: var(--dark-coral); }
.ld-toggle-btn.is-active .ld-toggle-save { color: var(--pastel-coral); }

.ld-plans {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  max-width: 880px;
  margin: 0 auto;
}
@media (min-width: 720px) { .ld-plans { grid-template-columns: 1fr 1fr; align-items: stretch; } }

.ld-plan {
  background: var(--white);
  border: 1px solid var(--gray-light);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.ld-plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.07);
}
.ld-plan--featured:hover {
  box-shadow: 0 10px 40px rgba(200, 99, 91, 0.18);
}
.ld-plan-tag {
  display: inline-block;
  margin-bottom: 0.4rem;
  color: var(--dark-blue);
}
.ld-plan-tag--pro { color: var(--dark-coral); }
.ld-plan--featured {
  border-color: var(--dark-coral);
  box-shadow: 0 0 0 1px var(--dark-coral);
}
.ld-plan-name {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.4rem;
  margin: 0;
}
.ld-plan-price {
  margin: 0.8rem 0 0.2rem;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.ld-plan-price strong {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 2.8rem);
  color: var(--fg);
  letter-spacing: -0.02em;
}
.ld-plan-currency {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--gray-mid);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ld-plan-note { margin: 0; color: var(--gray-mid); font-size: 0.92rem; }
.ld-plan-features {
  list-style: none;
  margin: 1.2rem 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  color: var(--fg);
  font-size: 0.96rem;
}
.ld-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}
.ld-plan-features li::before {
  content: "◇";
  color: var(--pastel-blue);
  font-weight: 600;
}
.ld-plan-cta { align-self: flex-start; margin-top: auto; }

/* Visibilidad mensual/anual */
.ld-section--pricing[data-interval="month"] .ld-price-year { display: none; }
.ld-section--pricing[data-interval="year"]  .ld-price-month { display: none; }

/* ---------- FAQ ---------- */
.ld-faq {
  display: grid;
  gap: 0.6rem;
  max-width: 820px;
  margin: 0 auto;
}
.ld-faq-item {
  background: var(--white);
  border: 1px solid var(--gray-light);
  padding: 1rem 1.2rem;
}
.ld-faq-item {
  transition: border-color 0.3s ease, background 0.3s ease;
}
.ld-faq-item:hover { border-color: var(--border-strong); }
.ld-faq-item > summary {
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1rem;
  list-style: none;
  position: relative;
  padding-right: 28px;
  transition: color 0.3s ease;
}
.ld-faq-item > summary:hover { color: var(--accent); }
.ld-faq-item > summary::-webkit-details-marker { display: none; }
.ld-faq-item > summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  color: var(--gray-mid);
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}
.ld-faq-item[open] > summary::after { content: "−"; }
.ld-faq-item > p {
  margin: 0.8rem 0 0;
  color: var(--gray-mid);
  line-height: 1.55;
  animation: ld-fade-up 0.4s ease-out;
}
@keyframes ld-fade-up {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- CTA final ---------- */
.ld-section--final {
  text-align: center;
  background: var(--off-white);
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
.ld-section--final > .ld-section-head { padding: 0 clamp(1rem, 4vw, 2rem); max-width: 760px; margin-left: auto; margin-right: auto; }
.ld-final-ctas {
  display: inline-flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.ld-footer {
  padding: 2.4rem clamp(1rem, 4vw, 2rem) 1.4rem;
  color: var(--gray-mid);
}
.ld-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 768px) { .ld-footer-inner { flex-direction: row; } }
.ld-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.ld-footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.ld-footer-links a {
  color: var(--gray-mid);
  text-decoration: none;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
  transition: color 0.3s ease;
}
.ld-footer-links a:hover { color: var(--pastel-blue); }
.ld-footer-copy {
  margin: 1.5rem 0 0;
  text-align: center;
  font-size: 0.74rem;
}
.ld-footer-credit {
  margin: 1.8rem 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
}
.ld-footer-credit .ld-mono { font-size: 0.74rem; }
.ld-footer-credit-link {
  display: inline-flex;
  transition: opacity 0.3s ease;
}
.ld-footer-credit-link:hover { opacity: 0.7; }
.ld-footer-credit-link img {
  height: auto;
  width: 96px;
  display: block;
}

/* ---------- Accesibilidad ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Sin glassmorphism en móvil — opacidad sólida por rendimiento. */
@media (max-width: 768px) {
  .ld-nav { background: var(--white); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
