/* ==========================================================================
   NIÑOS DE LA LUZ — Biblioteca de componentes
   Todo el estilo gráfico vive aquí como componentes reutilizables (prefijo ndll-).
   Los patterns del tema solo combinan estas clases.
   ==========================================================================

   ÍNDICE
   1.  Tokens (colores, fuentes, sombras, radios orgánicos)
   2.  Base (body, selección, foco, animaciones)
   3.  Layout (.ndll-section, .ndll-container, .ndll-grid)
   4.  Tipografía (.ndll-kicker, .ndll-script, .ndll-h*, .ndll-lead)
   5.  Botones (.ndll-btn --yellow --white --ghost)
   6.  Tarjetas e iconos (.ndll-card, .ndll-icon, .ndll-badge)
   7.  Blobs decorativos y semillas (.ndll-blob, .ndll-seeds)
   8.  Panel oscuro (.ndll-panel, .ndll-glass, .ndll-pill)
   9.  Testimonios y burbuja (.ndll-testimonial, .ndll-bubble)
   10. Formulario (.ndll-form, .ndll-input, .ndll-choice)
   11. Header / navegación
   12. Footer
   13. Chat flotante
   14. Blog básico
   15. Responsive
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  /* Paleta */
  --ndll-bg: #F4F3F0;
  --ndll-ink: #33421F;
  --ndll-green-900: #293D18;
  --ndll-green-800: #3A5522;
  --ndll-green-700: #436227;
  --ndll-green-600: #4E6E2E;
  --ndll-green-500: #5E7B37;
  --ndll-green: #86A555;
  --ndll-green-300: #9DC06A;
  --ndll-sage-200: #CEDFB0;
  --ndll-sage-100: #DCEBC2;
  --ndll-sage-50: #E3EACE;
  --ndll-muted: #6E7A5C;
  --ndll-muted-2: #8CA06A;
  --ndll-muted-3: #A9B497;
  --ndll-blue: #60BBD3;
  --ndll-blue-300: #7FCFE2;
  --ndll-blue-ink: #0B3F4E;
  --ndll-yellow: #E8C016;
  --ndll-yellow-300: #F4D85A;
  --ndll-yellow-ink: #4A3D00;
  --ndll-cream: #EAF0DE;
  --ndll-cream-2: #CDDAB8;

  /* Fuentes */
  --ndll-font-sans: 'Montserrat', system-ui, sans-serif;
  --ndll-font-script: 'Caveat', cursive;

  /* Sombras del sistema (neumórficas suaves) */
  --ndll-shadow-card: 0 20px 34px -18px rgba(67,98,39,0.5), inset 0 6px 10px rgba(255,255,255,0.9), inset 0 -10px 16px rgba(67,98,39,0.1);
  --ndll-shadow-card-lg: 0 30px 55px -30px rgba(67,98,39,0.55), inset 0 6px 10px rgba(255,255,255,0.9), inset 0 -10px 16px rgba(67,98,39,0.1);
  --ndll-shadow-btn-yellow: 0 16px 26px -10px rgba(200,165,15,0.7), inset 0 5px 8px rgba(255,255,255,0.6), inset 0 -9px 13px rgba(150,120,0,0.3);
  --ndll-shadow-btn-white: 0 12px 22px -12px rgba(67,98,39,0.5), inset 0 4px 7px rgba(255,255,255,0.9), inset 0 -7px 11px rgba(67,98,39,0.12);
  --ndll-shadow-panel-dark: 0 30px 50px -24px rgba(45,70,20,0.6), inset 0 6px 12px rgba(255,255,255,0.12), inset 0 -12px 20px rgba(0,0,0,0.22);
  --ndll-shadow-glass: inset 0 2px 5px rgba(255,255,255,0.1), inset 0 -4px 8px rgba(0,0,0,0.18);
  --ndll-shadow-input: inset 0 3px 6px rgba(67,98,39,0.12), inset 0 -3px 6px rgba(255,255,255,0.8);

  /* Radios orgánicos: 4 variantes que se rotan entre tarjetas hermanas */
  --ndll-r1: 34px 26px 32px 28px;
  --ndll-r2: 26px 34px 28px 32px;
  --ndll-r3: 32px 28px 34px 26px;
  --ndll-r4: 28px 32px 26px 34px;

  /* Radios blob (formas orgánicas) */
  --ndll-blob-a: 63% 37% 54% 46% / 58% 42% 58% 42%;
  --ndll-blob-b: 40% 60% 65% 35% / 55% 40% 60% 45%;
  --ndll-blob-c: 55% 45% 38% 62% / 48% 62% 38% 52%;
  --ndll-blob-d: 47% 53% 63% 37% / 58% 42% 58% 42%;
  --ndll-blob-e: 63% 37% 47% 53% / 48% 58% 42% 52%;
}

/* 2. BASE ------------------------------------------------------------------ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: var(--ndll-font-sans);
  color: var(--ndll-ink);
  background: var(--ndll-bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
input, textarea, select, button { font-family: inherit; }
input::placeholder, textarea::placeholder { color: var(--ndll-muted-3); }
input:focus, textarea:focus, select:focus {
  outline: none;
  box-shadow: inset 0 3px 7px rgba(67,98,39,0.16), 0 0 0 4px rgba(134,165,85,0.4) !important;
}
::selection { background: var(--ndll-yellow); color: #3A3A16; }

@keyframes ndll-float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50%      { transform: translateY(-18px) rotate(var(--r, 0deg)); }
}
@keyframes ndll-float2 {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50%      { transform: translateY(16px) rotate(var(--r, 0deg)); }
}
@keyframes ndll-fabpulse {
  0%, 100% { box-shadow: 0 18px 30px -12px rgba(45,70,20,0.7), 0 0 0 0 rgba(78,110,46,0.45), inset 0 4px 7px rgba(255,255,255,0.18), inset 0 -8px 12px rgba(0,0,0,0.25); }
  50%      { box-shadow: 0 18px 30px -12px rgba(45,70,20,0.7), 0 0 0 14px rgba(78,110,46,0), inset 0 4px 7px rgba(255,255,255,0.18), inset 0 -8px 12px rgba(0,0,0,0.25); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* 3. LAYOUT ----------------------------------------------------------------
   .ndll-section       → sección de página con padding vertical
   modificadores       → --sage (fondo verde claro), --dark (panel verde oscuro), --hero
   .ndll-container     → ancho máximo 1180px centrado
   .ndll-grid --2/3/4  → rejillas responsivas de tarjetas
--------------------------------------------------------------------------- */
.ndll-main { padding-top: 86px; margin-block-start: 0 !important; }
/* Neutraliza los márgenes de flujo que WP inyecta dentro de rejillas */
.ndll-grid > *, .ndll-split > *, .ndll-glass-list > * { margin-block-start: 0 !important; }
.ndll-section { position: relative; padding: 84px 28px; overflow: visible; }
.ndll-section--tight { padding: 56px 28px; }
.ndll-section--sage { background: linear-gradient(160deg, var(--ndll-sage-200), var(--ndll-sage-100)); overflow: hidden; }
.ndll-section--sage-alt { background: linear-gradient(160deg, var(--ndll-sage-100), var(--ndll-sage-200)); overflow: hidden; }
.ndll-section--dark {
  background: linear-gradient(155deg, var(--ndll-green-600), #39531F);
  color: var(--ndll-bg);
  overflow: hidden;
}
.ndll-section--dark h1, .ndll-section--dark h2, .ndll-section--dark h3 { color: #fff; }
.ndll-container { max-width: 1180px; margin: 0 auto; position: relative; }
.ndll-container--narrow { max-width: 900px; }

.ndll-grid { display: grid; gap: 20px; margin-top: 40px; }
.ndll-grid--2 { grid-template-columns: repeat(2, 1fr); }
.ndll-grid--3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ndll-grid--4 { grid-template-columns: repeat(4, 1fr); }
.ndll-split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }

.ndll-intro-copy { max-width: 720px; }
.ndll-center { text-align: center; }
.ndll-center .ndll-intro-copy, .ndll-intro-copy--center { margin-left: auto; margin-right: auto; text-align: center; }

/* 4. TIPOGRAFÍA -------------------------------------------------------------
   .ndll-kicker  → etiqueta manuscrita Caveat sobre los títulos
   .ndll-script  → texto manuscrito de acento
   .ndll-h1/2/3  → escala de títulos del diseño
   .ndll-lead    → párrafo destacado
--------------------------------------------------------------------------- */
.ndll-kicker {
  display: block;
  font-family: var(--ndll-font-script);
  font-size: 27px;
  font-weight: 700;
  color: var(--ndll-green);
  line-height: 1.2;
}
.ndll-kicker--yellow { color: var(--ndll-yellow-300); }
.ndll-kicker--deep { color: var(--ndll-green-500); }

.ndll-script {
  font-family: var(--ndll-font-script);
  font-weight: 700;
  font-size: 32px;
  color: var(--ndll-blue);
  line-height: 1.25;
}

.ndll-h1 {
  font-family: var(--ndll-font-sans);
  font-weight: 800;
  font-size: clamp(42px, 5.6vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 22px 0 6px;
  text-wrap: balance;
  color: var(--ndll-ink);
}
.ndll-h1 em, .ndll-h1 .ndll-accent { color: var(--ndll-green-700); font-style: normal; }

.ndll-h2 {
  font-family: var(--ndll-font-sans);
  font-weight: 800;
  font-size: clamp(32px, 4.2vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 4px 0 18px;
  color: var(--ndll-green-700);
}
.ndll-h2--display { font-size: clamp(34px, 5vw, 60px); line-height: 1.02; }

.ndll-h3 {
  font-family: var(--ndll-font-sans);
  font-weight: 700;
  font-size: 20px;
  margin: 2px 0 8px;
  color: var(--ndll-ink);
  letter-spacing: 0;
}

.ndll-lead { font-size: 19px; color: var(--ndll-muted); font-weight: 500; text-wrap: pretty; margin: 0; }
.ndll-lead--sage { color: var(--ndll-green-500); font-weight: 600; font-size: 18px; }
.ndll-lead strong { color: var(--ndll-green-700); }
.ndll-section--dark .ndll-lead { color: var(--ndll-cream); }
.ndll-note { font-size: 14px; color: var(--ndll-muted-2); font-family: ui-monospace, monospace; }
.ndll-small { font-size: 13px; color: var(--ndll-muted-3); }

.ndll-eyebrow {
  font-family: var(--ndll-font-sans);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ndll-green);
}
.ndll-section--dark .ndll-eyebrow, .ndll-eyebrow--yellow { color: var(--ndll-yellow-300); }

/* 5. BOTONES ----------------------------------------------------------------
   Aplicables a <a>, <button> o al bloque Botón de WP (.ndll-btn en el bloque).
--------------------------------------------------------------------------- */
.ndll-btn a, .ndll-btn button, a.ndll-btn-el, button.ndll-btn-el {
  display: inline-block;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--ndll-font-sans);
  font-weight: 700;
  font-size: 17px;
  padding: 17px 32px;
  line-height: 1.2;
  transition: transform 0.2s ease;
}
.ndll-btn a:hover, .ndll-btn button:hover, a.ndll-btn-el:hover, button.ndll-btn-el:hover { transform: translateY(-3px); }

.ndll-btn--yellow a, .ndll-btn--yellow button, .ndll-btn-el--yellow {
  background: linear-gradient(180deg, var(--ndll-yellow-300), var(--ndll-yellow)) !important;
  color: var(--ndll-yellow-ink) !important;
  border-radius: 24px 18px 26px 16px;
  box-shadow: var(--ndll-shadow-btn-yellow);
}
.ndll-btn--white a, .ndll-btn--white button, .ndll-btn-el--white {
  background: #FFFFFF !important;
  color: var(--ndll-green-700) !important;
  border-radius: 18px 24px 16px 26px;
  box-shadow: var(--ndll-shadow-btn-white);
}
.ndll-btn--ghost a, .ndll-btn--ghost button, .ndll-btn-el--ghost {
  background: rgba(255,255,255,0.12) !important;
  color: var(--ndll-bg) !important;
  border-radius: 13px 20px 14px 18px;
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.15);
}
.ndll-btn--ghost a:hover, .ndll-btn-el--ghost:hover { background: rgba(255,255,255,0.2) !important; }
.ndll-btn--sm a, .ndll-btn--sm button, .ndll-btn-el--sm { font-size: 14.5px; padding: 12px 22px; border-radius: 20px 16px 22px 14px; }
.ndll-btn--full a, .ndll-btn--full button, .ndll-btn-el--full { display: block; width: 100%; text-align: center; font-weight: 800; font-size: 18px; padding: 18px; border-radius: 26px 20px 24px 18px; }

.ndll-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.ndll-actions.wp-block-buttons { margin-top: 34px; }

/* 6. TARJETAS E ICONOS -------------------------------------------------------
   .ndll-card      → tarjeta blanca con radio orgánico (rota entre hermanas)
   .ndll-card--row → icono + texto en fila
   .ndll-icon      → blob-icono de color (--green --blue --yellow --sage)
   .ndll-badge     → pill de insignia (hero) / .ndll-tag → etiqueta flotante
--------------------------------------------------------------------------- */
.ndll-card {
  background: #FFFFFF;
  border-radius: var(--ndll-r1);
  padding: 28px;
  box-shadow: var(--ndll-shadow-card);
}
.ndll-card:nth-child(4n+2) { border-radius: var(--ndll-r2); }
.ndll-card:nth-child(4n+3) { border-radius: var(--ndll-r3); }
.ndll-card:nth-child(4n)   { border-radius: var(--ndll-r4); }
.ndll-card--row { display: flex; gap: 20px; padding: 30px; }
.ndll-card--row .ndll-icon { flex: none; }
.ndll-card .ndll-h3 { margin: 18px 0 6px; font-size: 18px; }
.ndll-card--row .ndll-h3 { margin: 2px 0 8px; font-size: 20px; }
.ndll-card p { font-size: 14.5px; color: var(--ndll-muted); margin: 0; font-weight: 500; }
.ndll-card--row p { font-size: 15px; }
.ndll-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ndll-card-head .ndll-h3 { margin: 0; font-size: 19px; }
.ndll-card-head .ndll-icon { width: 44px; height: 42px; font-size: 22px; }

/* Tarjeta oscura dentro de una grilla de tarjetas blancas */
.ndll-card--dark {
  background: linear-gradient(160deg, var(--ndll-green-600), var(--ndll-green-800));
  color: var(--ndll-bg);
  box-shadow: 0 22px 38px -20px rgba(45,70,20,0.55), inset 0 4px 9px rgba(255,255,255,0.12), inset 0 -8px 14px rgba(0,0,0,0.2);
}
.ndll-card--dark .ndll-h3, .ndll-card--dark h3 { color: #fff; }
.ndll-card--dark p { color: var(--ndll-cream); }

/* Tarjeta translúcida sobre fondo oscuro (sección apadrinar) */
.ndll-card--glass {
  background: rgba(255,255,255,0.07);
  box-shadow: inset 0 4px 9px rgba(255,255,255,0.12), inset 0 -8px 14px rgba(0,0,0,0.2);
  padding: 32px;
}
.ndll-card--glass .ndll-h3 { color: #fff; font-size: 21px; margin: 18px 0 8px; }
.ndll-card--glass p { color: #D9E2C7; font-size: 15px; }

/* Tarjeta destacada (borde amarillo) */
.ndll-card--featured {
  position: relative;
  background: linear-gradient(180deg, rgba(232,192,22,0.22), rgba(232,192,22,0.08));
  border: 1.5px solid rgba(244,216,90,0.5);
  box-shadow: inset 0 4px 9px rgba(255,255,255,0.14), inset 0 -8px 14px rgba(0,0,0,0.18);
  padding: 32px;
}
.ndll-card--featured .ndll-h3 { color: #fff; font-size: 21px; margin: 18px 0 8px; }
.ndll-card--featured p { color: var(--ndll-cream); font-size: 15px; }

.ndll-icon {
  width: 58px;
  height: 56px;
  border-radius: var(--ndll-blob-e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-family: var(--ndll-font-sans);
  font-weight: 800;
}
.ndll-icon--green {
  background: radial-gradient(circle at 35% 30%, var(--ndll-green-300), var(--ndll-green));
  color: #0C3D12;
  box-shadow: inset 0 5px 8px rgba(255,255,255,0.5), inset 0 -8px 12px rgba(45,70,20,0.28), 0 10px 16px -8px rgba(67,98,39,0.4);
}
.ndll-icon--blue {
  border-radius: var(--ndll-blob-b);
  background: radial-gradient(circle at 35% 30%, var(--ndll-blue-300), var(--ndll-blue));
  color: var(--ndll-blue-ink);
  box-shadow: inset 0 5px 8px rgba(255,255,255,0.5), inset 0 -8px 12px rgba(20,110,135,0.28), 0 10px 16px -8px rgba(60,150,175,0.4);
}
.ndll-icon--yellow {
  border-radius: var(--ndll-blob-c);
  background: radial-gradient(circle at 35% 30%, var(--ndll-yellow-300), var(--ndll-yellow));
  color: var(--ndll-yellow-ink);
  box-shadow: inset 0 5px 8px rgba(255,255,255,0.5), inset 0 -8px 12px rgba(180,110,0,0.3), 0 10px 16px -8px rgba(220,150,30,0.4);
}
.ndll-icon--sage {
  border-radius: var(--ndll-blob-d);
  background: radial-gradient(circle at 35% 30%, var(--ndll-sage-100), var(--ndll-sage-200));
  color: var(--ndll-green-500);
  box-shadow: inset 0 5px 8px rgba(255,255,255,0.6), inset 0 -8px 12px rgba(120,150,80,0.3), 0 10px 16px -8px rgba(134,165,85,0.4);
}
.ndll-icon--num { font-size: 22px; width: 56px; height: 54px; }
.ndll-icon--sm { width: 52px; height: 50px; font-size: 20px; box-shadow: inset 0 4px 6px rgba(255,255,255,0.5); }
/* rotación de forma entre iconos hermanos en una grilla */
.ndll-grid > :nth-child(4n+1) .ndll-icon { border-radius: var(--ndll-blob-e); }
.ndll-grid > :nth-child(4n+2) .ndll-icon { border-radius: var(--ndll-blob-b); }
.ndll-grid > :nth-child(4n+3) .ndll-icon { border-radius: var(--ndll-blob-c); }
.ndll-grid > :nth-child(4n)   .ndll-icon { border-radius: var(--ndll-blob-d); }

.ndll-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #FFFFFF;
  color: var(--ndll-green-700);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 9px 16px;
  border-radius: 16px 14px 18px 12px;
  box-shadow: inset 0 3px 6px rgba(255,255,255,0.9), inset 0 -5px 8px rgba(67,98,39,0.1), 0 6px 12px -7px rgba(67,98,39,0.4);
}

.ndll-tag {
  position: absolute;
  top: -13px;
  right: 22px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ndll-yellow-ink);
  background: linear-gradient(180deg, var(--ndll-yellow-300), var(--ndll-yellow));
  padding: 6px 12px;
  border-radius: 12px;
  box-shadow: 0 8px 14px -6px rgba(0,0,0,0.4);
}

/* Tarjeta estadística flotante (hero: “+30 años de amor”) */
.ndll-stat {
  display: inline-block;
  background: #FFFFFF;
  border-radius: 24px 20px 26px 18px;
  padding: 18px 22px;
  box-shadow: 0 20px 34px -16px rgba(67,98,39,0.55), inset 0 4px 7px rgba(255,255,255,0.9), inset 0 -7px 11px rgba(67,98,39,0.12);
}
.ndll-stat b { display: block; font-weight: 800; font-size: 34px; color: var(--ndll-green); line-height: 1; }
.ndll-stat span { font-size: 13px; color: var(--ndll-muted); margin-top: 2px; font-weight: 600; display: block; }

/* 7. BLOBS DECORATIVOS Y SEMILLAS ---------------------------------------------
   .ndll-blob            → forma orgánica flotante (--green --blue --yellow --soft)
   .ndll-blob--fixed-*   → capa fija que sigue el scroll (se coloca una vez en el header)
   .ndll-seeds           → motivo de semillas/lluvia
   .ndll-media-blob      → marco orgánico para fotos
--------------------------------------------------------------------------- */
.ndll-blob {
  width: 120px;
  height: 112px;
  border-radius: var(--ndll-blob-a);
  --r: -6deg;
  animation: ndll-float 9s ease-in-out infinite;
  pointer-events: none;
}
.ndll-blob--green {
  background: radial-gradient(circle at 35% 30%, var(--ndll-green-300), var(--ndll-green));
  box-shadow: inset 0 8px 13px rgba(255,255,255,0.4), inset 0 -12px 18px rgba(45,70,20,0.28), 0 16px 28px -14px rgba(67,98,39,0.45);
}
.ndll-blob--blue {
  border-radius: var(--ndll-blob-b);
  background: radial-gradient(circle at 35% 30%, var(--ndll-blue-300), var(--ndll-blue));
  box-shadow: inset 0 7px 11px rgba(255,255,255,0.5), inset 0 -10px 15px rgba(20,110,135,0.3), 0 14px 22px -10px rgba(60,150,175,0.45);
  --r: 8deg;
  animation-name: ndll-float2;
}
.ndll-blob--yellow {
  border-radius: var(--ndll-blob-c);
  background: radial-gradient(circle at 35% 30%, var(--ndll-yellow-300), var(--ndll-yellow));
  box-shadow: inset 0 7px 11px rgba(255,255,255,0.5), inset 0 -10px 15px rgba(180,110,0,0.3), 0 14px 22px -10px rgba(220,150,30,0.45);
  --r: 10deg;
}
/* halo translúcido para fondos oscuros */
.ndll-blob--glow-yellow { background: radial-gradient(circle at 35% 30%, rgba(232,192,22,0.5), rgba(232,192,22,0.15)); filter: blur(3px); box-shadow: none; }
.ndll-blob--glow-blue { border-radius: var(--ndll-blob-b); background: radial-gradient(circle at 35% 30%, rgba(96,187,211,0.4), rgba(96,187,211,0.1)); filter: blur(2px); box-shadow: none; }
.ndll-blob--lg { width: 190px; height: 180px; }
.ndll-blob--sm { width: 82px; height: 76px; }

/* Posicionador decorativo: envuelve un blob y lo saca del flujo */
.ndll-decor { position: absolute !important; pointer-events: none; z-index: 0; margin: 0 !important; width: auto !important; }
.ndll-section > .ndll-container { position: relative; z-index: 1; }

/* Capa fija de formas que siguen el scroll */
.ndll-fixed-shapes { position: fixed; inset: 0; z-index: 5; pointer-events: none; overflow: hidden; }
.ndll-fixed-shapes .ndll-blob { position: absolute; opacity: 0.9; }
.ndll-fixed-shapes .ndll-blob--green { top: 16%; left: -52px; }
.ndll-fixed-shapes .ndll-blob--blue { top: 46%; right: -44px; width: 104px; height: 96px; }
.ndll-fixed-shapes .ndll-blob--yellow { bottom: -46px; left: 7%; width: 132px; height: 122px; animation-duration: 11s; }

/* Semillas (gotas orientadas) */
.ndll-seeds { position: relative; width: 130px; height: 120px; pointer-events: none; }
.ndll-seeds i {
  position: absolute;
  width: 9px;
  height: 16px;
  background: var(--ndll-green);
  border-radius: 0 55% 55% 55%;
  transform: rotate(42deg);
}
.ndll-seeds i:nth-child(1) { top: 6px; left: 10px; }
.ndll-seeds i:nth-child(2) { top: 30px; left: 40px; background: var(--ndll-green-700); transform: rotate(40deg); width: 8px; height: 15px; }
.ndll-seeds i:nth-child(3) { top: 2px; left: 64px; transform: rotate(44deg); width: 8px; height: 14px; }
.ndll-seeds i:nth-child(4) { top: 52px; left: 18px; transform: rotate(38deg); width: 8px; height: 14px; }
.ndll-seeds i:nth-child(5) { top: 60px; left: 58px; background: var(--ndll-green-700); transform: rotate(46deg); }
.ndll-seeds i:nth-child(6) { top: 84px; left: 34px; transform: rotate(41deg); width: 8px; height: 14px; }
.ndll-seeds i:nth-child(7) { top: 26px; left: 92px; transform: rotate(43deg); width: 8px; height: 14px; }

/* Marco orgánico para imágenes / placeholders */
.ndll-media-blob {
  aspect-ratio: 1 / 1;
  border-radius: 63% 37% 58% 42% / 52% 44% 56% 48%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ndll-muted-2);
  background: repeating-linear-gradient(135deg, var(--ndll-sage-50) 0 16px, #D6E0BF 16px 32px);
  box-shadow: 0 30px 50px -24px rgba(67,98,39,0.55), inset 0 10px 16px rgba(255,255,255,0.55), inset 0 -16px 26px rgba(67,98,39,0.16);
  font-family: ui-monospace, monospace;
  font-size: 13px;
}
.ndll-media-blob img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ndll-media-blob--photo { aspect-ratio: 4 / 3; border-radius: 56% 44% 60% 40% / 52% 56% 44% 48%; box-shadow: inset 0 6px 12px rgba(67,98,39,0.12); font-size: 12px; }
.ndll-grid > :nth-child(3n+2) .ndll-media-blob--photo { border-radius: 44% 56% 40% 60% / 56% 48% 52% 44%; }
.ndll-grid > :nth-child(3n)   .ndll-media-blob--photo { border-radius: 60% 40% 52% 48% / 44% 56% 44% 56%; }

/* 8. PANEL OSCURO, FILAS GLASS, PILLS -----------------------------------------
   .ndll-panel  → panel verde oscuro redondeado (historia, donar)
   .ndll-glass  → fila translúcida dentro del panel
   .ndll-pill   → chip de color (Origen / 1995 / Hoy)
--------------------------------------------------------------------------- */
.ndll-panel {
  position: relative;
  background: linear-gradient(150deg, var(--ndll-green-600), var(--ndll-green-800));
  color: var(--ndll-bg);
  border-radius: 56px 40px 52px 44px;
  padding: 54px;
  overflow: hidden;
  box-shadow: var(--ndll-shadow-panel-dark);
}
.ndll-panel h2, .ndll-panel h3 { color: #fff; }
.ndll-panel--split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.ndll-panel--card { border-radius: 44px 36px 42px 38px; padding: 40px; }
.ndll-panel .ndll-blob-bg {
  position: absolute;
  bottom: -40px;
  right: -30px;
  width: 170px;
  height: 160px;
  border-radius: var(--ndll-blob-a);
  background: radial-gradient(circle at 35% 30%, rgba(232,192,22,0.5), rgba(232,192,22,0.2));
  filter: blur(2px);
  pointer-events: none;
}
.ndll-panel > :not(.ndll-blob-bg) { position: relative; }

.ndll-glass {
  display: flex;
  gap: 18px;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border-radius: 26px 20px 24px 22px;
  padding: 20px 22px;
  box-shadow: var(--ndll-shadow-glass);
}
.ndll-glass:nth-child(even) { border-radius: 20px 26px 22px 24px; }
.ndll-glass p { margin: 0; font-size: 16px; color: var(--ndll-cream); font-weight: 500; }
.ndll-glass p strong { color: #fff; }
.ndll-glass--block { display: block; border-radius: 22px; padding: 22px; }
.ndll-glass-list { display: grid; gap: 16px; }

.ndll-pill {
  font-family: var(--ndll-font-sans);
  font-weight: 800;
  font-size: 14px;
  padding: 9px 15px;
  border-radius: 16px 12px 14px 12px;
  flex: none;
  box-shadow: inset 0 3px 5px rgba(255,255,255,0.5), 0 6px 10px -5px rgba(0,0,0,0.3);
}
.ndll-pill--blue { color: var(--ndll-blue-ink); background: linear-gradient(180deg, var(--ndll-blue-300), var(--ndll-blue)); }
.ndll-pill--yellow { color: var(--ndll-yellow-ink); background: linear-gradient(180deg, var(--ndll-yellow-300), var(--ndll-yellow)); border-radius: 14px 16px 12px 14px; }
.ndll-pill--green { color: #0C3D12; background: linear-gradient(180deg, var(--ndll-green-300), var(--ndll-green)); border-radius: 12px 14px 16px 12px; }

/* Datos bancarios dentro del panel */
.ndll-bank-label { font-size: 12px; color: var(--ndll-cream-2); font-weight: 600; letter-spacing: 0.04em; }
.ndll-bank-number { font-family: var(--ndll-font-sans); font-weight: 800; font-size: clamp(20px, 2.4vw, 26px); letter-spacing: 0.02em; margin: 6px 0 14px; color: #fff; }
.ndll-bank-meta { display: flex; flex-wrap: wrap; gap: 22px; }
.ndll-bank-meta b { display: block; font-weight: 700; font-size: 15px; color: #fff; }
.ndll-panel .ndll-small, .ndll-panel .ndll-footnote { font-size: 13px; color: var(--ndll-cream-2); margin: 16px 0 0; }
.ndll-panel .ndll-footnote strong { color: #fff; }

/* 9. TESTIMONIOS Y BURBUJA ---------------------------------------------------- */
.ndll-testimonial { padding: 20px; }
.ndll-testimonial blockquote {
  font-family: var(--ndll-font-script);
  font-weight: 700;
  font-size: 22px;
  color: var(--ndll-ink);
  margin: 18px 6px 8px;
  line-height: 1.3;
}
.ndll-testimonial cite { font-style: normal; font-size: 13px; color: var(--ndll-muted-2); font-family: ui-monospace, monospace; display: block; margin: 0 6px 6px; }

.ndll-bubble { position: relative; max-width: 780px; margin: 44px auto 0; }
.ndll-bubble-box {
  background: #FFFFFF;
  border-radius: 40px;
  padding: 34px 40px;
  text-align: center;
  box-shadow: 0 22px 38px -20px rgba(67,98,39,0.5), inset 0 6px 10px rgba(255,255,255,0.9), inset 0 -10px 16px rgba(67,98,39,0.1);
}
.ndll-bubble-box p {
  font-family: var(--ndll-font-script);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 34px);
  color: var(--ndll-green-700);
  margin: 0;
  line-height: 1.25;
}
.ndll-bubble-tail {
  width: 40px;
  height: 34px;
  background: #FFFFFF;
  margin: -2px auto 0;
  border-radius: 0 0 40% 60%;
  transform: skewX(-16deg);
  box-shadow: inset 0 -8px 12px rgba(67,98,39,0.08);
}

/* 10. FORMULARIO ---------------------------------------------------------------
   .ndll-form      → tarjeta blanca grande del formulario
   .ndll-field     → label + input
   .ndll-choice    → chips seleccionables (radios estilizados)
--------------------------------------------------------------------------- */
.ndll-form {
  background: #FFFFFF;
  border-radius: 44px 36px 42px 38px;
  padding: 38px;
  box-shadow: var(--ndll-shadow-card-lg);
}
.ndll-form-legend {
  font-family: var(--ndll-font-sans);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ndll-green);
  margin: 0 0 18px;
}
.ndll-form-legend + .ndll-form-grid { margin-top: 0; }
.ndll-form .ndll-form-legend:not(:first-child) { margin-top: 30px; margin-bottom: 14px; }
.ndll-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ndll-form-grid--3 { grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ndll-field--full { grid-column: 1 / -1; }
.ndll-field span { display: block; font-size: 13.5px; font-weight: 700; color: var(--ndll-green-700); margin-bottom: 7px; }
.ndll-field span small { color: var(--ndll-muted-3); font-weight: 500; font-size: inherit; }
.ndll-input, .ndll-field input, .ndll-field select, .ndll-field textarea {
  width: 100%;
  padding: 13px 15px;
  border: none;
  border-radius: 14px;
  background: var(--ndll-bg);
  font-size: 15px;
  color: var(--ndll-ink);
  box-shadow: var(--ndll-shadow-input);
}
.ndll-choice { position: relative; display: block; cursor: pointer; }
.ndll-choice input { position: absolute; opacity: 0; pointer-events: none; }
.ndll-choice i {
  display: block;
  font-style: normal;
  text-align: center;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ndll-muted);
  background: var(--ndll-bg);
  padding: 14px 10px;
  border-radius: 18px 14px 16px 14px;
  box-shadow: var(--ndll-shadow-input);
  transition: all 0.2s ease;
}
.ndll-choice:nth-child(2) i { border-radius: 14px 18px 14px 16px; }
.ndll-choice:nth-child(3) i { border-radius: 16px 14px 18px 14px; }
.ndll-choice input:checked + i {
  color: var(--ndll-yellow-ink);
  background: linear-gradient(180deg, var(--ndll-yellow-300), var(--ndll-yellow));
  box-shadow: 0 10px 18px -8px rgba(200,165,15,0.7), inset 0 4px 6px rgba(255,255,255,0.6), inset 0 -6px 9px rgba(150,120,0,0.3);
}
.ndll-choice input:focus-visible + i { box-shadow: 0 0 0 4px rgba(134,165,85,0.4); }
.ndll-form-footer { text-align: center; font-size: 12.5px; color: var(--ndll-muted-3); margin: 14px 0 0; }
.ndll-form .ndll-btn-el--full { margin-top: 30px; }

/* Tarjeta de éxito tras enviar */
.ndll-success {
  background: #FFFFFF;
  border-radius: 44px 36px 42px 38px;
  padding: 56px 40px;
  text-align: center;
  box-shadow: var(--ndll-shadow-card-lg);
}
.ndll-success .ndll-icon { width: 88px; height: 84px; font-size: 40px; margin: 0 auto 22px; }
.ndll-success h3 { font-weight: 800; font-size: 30px; color: var(--ndll-green-700); margin: 0 0 10px; }
.ndll-success p { font-size: 17px; color: var(--ndll-muted); margin: 0 auto 26px; max-width: 440px; font-weight: 500; }

/* 11. HEADER / NAVEGACIÓN ---------------------------------------------------- */
.ndll-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 16px 20px 0;
  transition: padding 0.3s ease;
}
body.admin-bar .ndll-header { top: 32px; }
.ndll-header.is-compact { padding-top: 8px; }
.ndll-nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 11px 12px 11px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: #FFFFFF;
  border-radius: 30px 26px 30px 24px;
  box-shadow: 0 22px 42px -14px rgba(67,98,39,0.6), 0 6px 14px -8px rgba(67,98,39,0.3), inset 0 4px 7px rgba(255,255,255,0.9), inset 0 -6px 10px rgba(67,98,39,0.12);
  transition: box-shadow 0.3s ease, border-radius 0.3s ease;
}
.ndll-logo {
  display: block;
  width: 150px;
  height: 46px;
  background: url('../img/logo-verde.png') no-repeat left center / contain;
  text-indent: -9999px;
  overflow: hidden;
  flex: none;
  transition: height 0.3s ease;
}
.ndll-header.is-compact .ndll-logo { height: 40px; }
.ndll-nav-spacer { flex: 1; }
.ndll-nav-links { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 600; color: var(--ndll-muted); }
.ndll-nav-links a { text-decoration: none; color: inherit; transition: color 0.2s ease; }
.ndll-nav-links a:hover { color: var(--ndll-green-700); }

/* 12. FOOTER ------------------------------------------------------------------ */
.ndll-footer {
  position: relative;
  background: linear-gradient(160deg, var(--ndll-green-800), var(--ndll-green-900));
  color: var(--ndll-bg);
  overflow: hidden;
}
.ndll-footer-inner { max-width: 1180px; margin: 0 auto; padding: 72px 28px 40px; position: relative; }
.ndll-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.ndll-footer-logo {
  display: block;
  width: 210px;
  height: 64px;
  background: url('../img/logo-blanco.png') no-repeat left center / contain;
  text-indent: -9999px;
  overflow: hidden;
}
.ndll-footer .ndll-script { color: var(--ndll-yellow-300); font-size: 26px; margin: 16px 0 0; display: block; }
.ndll-footer-desc { font-size: 14px; color: var(--ndll-cream-2); margin: 8px 0 0; font-weight: 500; max-width: 320px; }
.ndll-footer-links { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.ndll-footer-links a { text-decoration: none; color: var(--ndll-cream); font-weight: 500; transition: color 0.2s ease; }
.ndll-footer-links a:hover { color: #fff; }
.ndll-footer-cta { display: flex; flex-direction: column; gap: 10px; }
.ndll-footer-cta .ndll-btn-el--yellow, .ndll-footer-cta .ndll-btn-el--ghost { text-align: center; font-size: 14.5px; padding: 12px 18px; border-radius: 18px 14px 20px 13px; }
.ndll-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 44px;
  padding-top: 22px;
  font-size: 13px;
  color: #9FB287;
}

/* 13. CHAT FLOTANTE ------------------------------------------------------------ */
.ndll-chat-root { position: fixed; right: 22px; bottom: 22px; z-index: 80; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.ndll-chat-fab {
  width: 62px;
  height: 62px;
  border: none;
  border-radius: var(--ndll-blob-e);
  background: linear-gradient(150deg, var(--ndll-green-600), var(--ndll-green-800));
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ndll-fabpulse 2.8s ease-in-out infinite;
  transition: transform 0.2s ease;
}
.ndll-chat-fab:hover { transform: translateY(-2px); }
.ndll-chat-fab .ndll-chat-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 24px;
  background: var(--ndll-bg);
  border-radius: 9px 9px 9px 3px;
  gap: 3px;
}
.ndll-chat-fab .ndll-chat-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--ndll-green-600); }
.ndll-chat-fab .ndll-chat-close { display: none; color: var(--ndll-bg); font-size: 24px; line-height: 1; font-style: normal; }
.ndll-chat-root.is-open .ndll-chat-dots { display: none; }
.ndll-chat-root.is-open .ndll-chat-close { display: block; }

.ndll-chat-panel {
  display: none;
  width: 344px;
  max-width: calc(100vw - 44px);
  height: 480px;
  max-height: calc(100vh - 130px);
  background: #FFFFFF;
  border-radius: 26px 26px 22px 26px;
  overflow: hidden;
  flex-direction: column;
  box-shadow: 0 30px 60px -20px rgba(45,70,20,0.55), inset 0 4px 8px rgba(255,255,255,0.6);
}
.ndll-chat-root.is-open .ndll-chat-panel { display: flex; }
.ndll-chat-head {
  background: linear-gradient(150deg, var(--ndll-green-600), var(--ndll-green-800));
  color: var(--ndll-bg);
  padding: 15px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.ndll-chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--ndll-blob-e);
  background: radial-gradient(circle at 35% 30%, var(--ndll-yellow-300), var(--ndll-yellow));
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  box-shadow: inset 0 3px 5px rgba(255,255,255,0.6);
  gap: 3px;
}
.ndll-chat-avatar i { width: 5px; height: 5px; border-radius: 50%; background: var(--ndll-yellow-ink); }
.ndll-chat-title { flex: 1; }
.ndll-chat-title b { font-weight: 800; font-size: 15px; line-height: 1.1; display: block; }
.ndll-chat-title span { font-size: 12px; color: var(--ndll-cream-2); }
.ndll-chat-x { width: 30px; height: 30px; border: none; border-radius: 10px; background: rgba(255,255,255,0.15); color: #fff; font-size: 15px; cursor: pointer; line-height: 1; }
.ndll-chat-x:hover { background: rgba(255,255,255,0.28); }
.ndll-chat-thread { flex: 1; overflow-y: auto; padding: 18px; background: var(--ndll-bg); display: flex; flex-direction: column; gap: 10px; }
.ndll-chat-msg { display: flex; justify-content: flex-start; }
.ndll-chat-msg--user { justify-content: flex-end; }
.ndll-chat-msg > div {
  background: #FFFFFF;
  color: var(--ndll-ink);
  font-size: 13.5px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 16px 16px 16px 4px;
  max-width: 84%;
  white-space: pre-line;
  box-shadow: 0 6px 14px -9px rgba(67,98,39,0.45);
}
.ndll-chat-msg--user > div {
  background: linear-gradient(180deg, var(--ndll-yellow-300), var(--ndll-yellow));
  color: var(--ndll-yellow-ink);
  border-radius: 16px 16px 4px 16px;
  font-weight: 600;
}
.ndll-chat-typing > div { color: var(--ndll-muted-2); }
.ndll-chat-options { padding: 13px; background: #FFFFFF; border-top: 1px solid #EEF0E6; display: flex; flex-direction: column; gap: 8px; }
.ndll-chat-options button {
  border: none;
  cursor: pointer;
  text-align: left;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ndll-green-700);
  background: var(--ndll-bg);
  padding: 11px 14px;
  border-radius: 14px 12px 14px 10px;
  box-shadow: var(--ndll-shadow-input);
  transition: transform 0.15s ease;
}
.ndll-chat-options button:hover { transform: translateY(-1px); }

/* Intro animada (overlay generado por JS) */
.ndll-intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #0C0F08;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.8s ease;
}
.ndll-intro-overlay.is-done { opacity: 0; pointer-events: none; }
.ndll-intro-overlay .ndll-intro-logo { height: clamp(96px, 24vh, 210px); opacity: 0; transform: scale(0.82); transition: opacity 1s ease, transform 1.1s cubic-bezier(0.2, 0.75, 0.25, 1); filter: drop-shadow(0 0 22px rgba(244,216,90,0.55)); }
.ndll-intro-overlay.is-on .ndll-intro-logo { opacity: 1; transform: scale(1); }
.ndll-intro-overlay .ndll-intro-tag {
  font-family: var(--ndll-font-script);
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 38px);
  color: var(--ndll-green);
  margin: 14px 0 0;
  opacity: 0;
  transition: opacity 0.7s ease 0.5s;
}
.ndll-intro-overlay.is-on .ndll-intro-tag { opacity: 1; }

/* 14. BLOG BÁSICO --------------------------------------------------------------- */
.ndll-post-list { display: grid; gap: 24px; margin-top: 40px; }
.ndll-page-title { margin-top: 0; }
.ndll-prose { max-width: 780px; }
.ndll-prose p { font-size: 17px; color: var(--ndll-muted); font-weight: 500; }

/* 15. RESPONSIVE ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .ndll-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .ndll-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .ndll-panel { padding: 40px 32px; }
  .ndll-panel--split { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 920px) {
  .ndll-split { grid-template-columns: 1fr; gap: 40px; }
  .ndll-nav-links { display: none; }
  .ndll-footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 680px) {
  .ndll-section { padding: 60px 20px; }
  .ndll-grid--4, .ndll-grid--3, .ndll-grid--2 { grid-template-columns: 1fr; }
  .ndll-form { padding: 26px 20px; }
  .ndll-form-grid { grid-template-columns: 1fr; }
  .ndll-form-grid--3 { grid-template-columns: 1fr; }
  .ndll-card--row { flex-direction: column; gap: 14px; }
  .ndll-fixed-shapes { display: none; }
  .ndll-main { padding-top: 78px; }
}
