/* Florece Digital — portada en español · look "claro premium" (nov 2026)
   Blanco cálido + gris piedra + grafito, verde del logo y UNA banda negra.
   Títulos: Plus Jakarta Sans · Palabra de énfasis: DM Serif Display itálica · Texto: Inter.
   Solo la usa /index.html. /en/ y los cotizadores siguen con web.css. */

@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-latin.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Plus Jakarta Sans'; src: url('/assets/fonts/plusjakarta-latin.woff2') format('woff2'); font-weight: 500 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Serif Display'; src: url('/assets/fonts/dmserif-italic-latin.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
/* respaldos con métricas ajustadas: casi sin salto mientras cargan */
@font-face { font-family: 'Jakarta Fallback'; src: local('Arial'), local('ArialMT'); size-adjust: 104%; ascent-override: 96%; descent-override: 21%; line-gap-override: 0%; }
@font-face { font-family: 'Inter Fallback'; src: local('Arial'), local('ArialMT'); size-adjust: 107.6%; ascent-override: 90%; descent-override: 22.4%; line-gap-override: 0%; }
@font-face { font-family: 'Serif Fallback'; src: local('Georgia Italic'), local('Georgia-Italic'), local('Times New Roman Italic'); font-style: italic; size-adjust: 96%; }

:root {
  --bg: #fafaf7;
  --piedra: #e9e7e1;
  --piedra-2: #efede8;
  --blanco: #ffffff;
  --ink: #111111;
  --ink-2: #3d3d39;
  --muted: #55554f;
  --line: rgba(17, 17, 17, 0.1);
  --line-2: rgba(17, 17, 17, 0.16);
  --negro: #0b0b0b;
  --verde: #15803d;
  --verde-hondo: #166534;
  --verde-vivo: #22c55e;
  --verde-luz: #86efac;
  --verde-claro: #4ade80;
  --verde-tinte: #e6f4ea;
  /* variables que usa delia.css (el widget de Dalia sigue oscuro) */
  --tinta: #111111;
  --tinta-2: #1c1c1a;
  --hueso: #fafaf7;
  --bosque: #1b4d3e;
  --texto-claro: #cfcfc8;
  --texto-oscuro: #55554f;
  --linea-oscura: rgba(250, 250, 247, 0.12);
  --display: 'Plus Jakarta Sans', 'Jakarta Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sans: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'DM Serif Display', 'Serif Fallback', Georgia, serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-out: var(--ease);
  --pop: cubic-bezier(0.34, 1.4, 0.64, 1);
  --radius: 20px;
  --max: 1200px;
  --sombra: 0 1px 2px rgba(17, 17, 17, 0.04), 0 18px 40px -24px rgba(17, 17, 17, 0.22);
  color-scheme: light;
}

/* ---------- País: México por omisión, Estados Unidos con html[data-pais="us"] ---------- */
html:not([data-pais='us']) [data-solo='us'] { display: none !important; }
html[data-pais='us'] [data-solo='mx'] { display: none !important; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--verde); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; color: var(--ink); text-wrap: balance; }
h1 em, h2 em, h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.005em; color: var(--verde); padding-right: 0.04em; }
.pt { color: var(--verde); }
em + .pt { margin-left: -0.08em; }
.muted { color: var(--muted); }
.lead, .muted, .ticks li, .faq details p { text-wrap: pretty; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
@media (min-width: 1024px) { .wrap { padding: 0 32px; } }
main > section { padding: 72px 0; }
@media (min-width: 960px) { main > section { padding: 112px 0; } }

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 0.75rem/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--verde); flex: none; }
.tag { display: inline-block; font: 600 0.6875rem/1.3 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head > * + * { margin-top: 16px; }
.section-head.center, #precios .section-head, .agentes h2 { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem); }
.lead { font-size: 1.125rem; line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.section-head.center .lead, #precios .section-head .lead { margin-left: auto; margin-right: auto; }
.section-cta { margin-top: 40px; display: flex; justify-content: center; }

/* ---------- Botones: píldora negra (acción) y contorno (explorar) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent; font: 600 1rem/1.15 var(--sans); letter-spacing: -0.005em; text-decoration: none; text-align: center; cursor: pointer; transition: transform 160ms var(--ease); -webkit-tap-highlight-color: transparent; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(0.97); }
.btn-florece, .btn-primary { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }
@media (hover: hover) and (pointer: fine) {
  .btn-florece:hover, .btn-primary:hover { background: #2a2a28; }
  .btn-ghost:hover { background: var(--ink); color: #fff; }
}

/* ---------- Barra de promoción ---------- */
.promo { background: var(--verde-tinte); border-bottom: 1px solid rgba(21, 128, 61, 0.16); }
.promo-in { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 12px; max-width: var(--max); margin: 0 auto; padding: 9px 16px; min-height: 44px; font-size: 0.875rem; line-height: 1.35; text-decoration: none; text-align: center; color: var(--ink); }
.promo-tag { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--verde-hondo); }
.promo-tag svg { width: 15px; height: 15px; }
.promo-txt b { font-weight: 700; }
.promo-left { font-weight: 600; padding: 2px 10px; border-radius: 999px; background: #fff; border: 1px solid rgba(21, 128, 61, 0.2); }
.promo-go { width: 16px; height: 16px; color: var(--verde-hondo); }
@media (max-width: 639px) { .promo-extra { display: none; } .promo-go { display: none; } }

/* ---------- Encabezado ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(250, 250, 247, 0.9); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; flex: none; }
.brand img { width: 120px; height: auto; }
@media (min-width: 640px) { .brand img { width: 133px; } }
.nav { display: none; }
@media (min-width: 1024px) {
  .nav { display: flex; gap: 28px; margin: 0 auto; }
  .nav a { font-size: 0.9375rem; font-weight: 500; text-decoration: none; color: var(--ink-2); padding: 10px 0; }
  .nav a:hover { color: var(--ink); }
}
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
@media (min-width: 1024px) { .header-actions { margin-left: 0; } }
.lang { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; border-radius: 999px; font: 600 0.8125rem var(--sans); text-decoration: none; color: var(--ink-2); border: 1px solid var(--line-2); }

/* ---------- Portada ---------- */
.hero { padding: 36px 0 64px; overflow: hidden; }
@media (min-width: 960px) { .hero { padding: 64px 0 96px; } }
.hero-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 48px; } }
.hero-copy > * + * { margin-top: 20px; }
.ai-chip { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 4px 14px 4px 4px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 0.875rem; font-weight: 500; text-decoration: none; box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04); }
.ai-chip b { padding: 5px 10px; border-radius: 999px; background: var(--verde); color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em; }
.ai-chip svg { width: 14px; height: 14px; color: var(--verde); }
.hero .eyebrow { display: flex; }
.h1-long { font-size: clamp(2.25rem, 1.45rem + 3.3vw, 3.75rem); line-height: 1.03; letter-spacing: -0.04em; max-width: 17ch; }
.h1-long em { letter-spacing: -0.01em; }
.hero .lead { max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cta .btn { flex: 1 1 auto; }
@media (min-width: 480px) { .hero-cta .btn { flex: 0 0 auto; } }
.hero-note { font-size: 0.875rem; color: var(--muted); margin-top: 12px !important; }
.chips { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.chips li { display: inline-flex; align-items: center; gap: 7px; font-size: 0.9375rem; color: var(--ink-2); }
.chips li::before { content: ''; width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--verde) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='M6.5 12.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.hero-promo { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.hp-line { flex: 1 1 260px; font-size: 0.9375rem; color: var(--ink-2); line-height: 1.5; }
.hp-line b { color: var(--ink); font-weight: 700; }
.hp-tag { font-weight: 600; color: var(--verde-hondo); }

/* selector de país (solo con JS) */
.pais { display: none; }
.js .pais { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); }
.pais button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 600 0.9375rem/1 var(--sans); cursor: pointer; white-space: nowrap; transition: transform 160ms var(--ease); }
.pais button[aria-pressed='true'] { background: var(--ink); color: #fff; }
.pais button:active { transform: scale(0.97); }
.pais-sm button { padding: 0 14px; font-size: 0.875rem; }
.pais-wrap { display: none; }
.js .pais-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin-top: 28px !important; }
.pais-lbl { font-size: 0.875rem; font-weight: 600; color: var(--muted); }

/* dispositivos */
.hero-vis { position: relative; min-width: 0; }
.devices { position: relative; }
.hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 22px; }
@media (min-width: 960px) { .hero-tags { justify-content: flex-end; margin-bottom: 28px; } }
.hero-tags li { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 8px 0 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 20px -14px rgba(17, 17, 17, 0.35); font-size: 0.875rem; font-weight: 600; }
.ht-ico { width: 16px; height: 16px; color: var(--ink-2); }
.ht-ok { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--verde); color: #fff; }
.ht-ok svg { width: 13px; height: 13px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-tags li { animation: chip-in 520ms var(--ease) both; animation-delay: calc(var(--i) * 90ms + 150ms); }
  .ht-ok { animation: tick 520ms var(--pop) both; animation-delay: calc(var(--i) * 380ms + 700ms); }
}
@keyframes chip-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes tick { from { opacity: 0; transform: scale(0.2); } }
.dev-stage { position: relative; padding: 0 9% 7% 0; }
.laptop { position: relative; }
.laptop-screen { padding: 2.4% 2.4% 2.8%; border-radius: 16px 16px 4px 4px; background: #161616; box-shadow: 0 40px 60px -40px rgba(17, 17, 17, 0.55); }
.laptop-screen img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 4px; }
.laptop-base { position: relative; height: 14px; margin: 0 -7%; border-radius: 2px 2px 14px 14px; background: linear-gradient(#e2e1dc, #b9b8b2); box-shadow: 0 18px 24px -18px rgba(17, 17, 17, 0.5); }
.laptop-base::before { content: ''; position: absolute; left: 50%; top: 0; width: 16%; height: 5px; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: #a9a8a2; }
.phone { position: absolute; right: 0; bottom: 0; width: 25%; padding: 1.4%; border-radius: 22px; background: #161616; box-shadow: 0 30px 50px -24px rgba(17, 17, 17, 0.6); }
.phone img { width: 100%; aspect-ratio: 9 / 19; object-fit: cover; object-position: top; border-radius: 17px; }
@media (max-width: 639px) { .phone { border-radius: 16px; } .phone img { border-radius: 12px; } .laptop-screen { border-radius: 10px 10px 3px 3px; } }
@media (prefers-reduced-motion: no-preference) {
  .dev-stage { animation: dev-in 900ms var(--ease) both 80ms; }
  .laptop { animation: flota 7s ease-in-out infinite 1s; }
  .phone { animation: flota 6s ease-in-out infinite 1.6s; }
}
@keyframes dev-in { from { opacity: 0; transform: translateY(18px) scale(0.985); } }
@keyframes flota { 50% { transform: translateY(-7px); } }
.devices figcaption { margin-top: 18px; text-align: center; font-size: 0.8125rem; color: var(--muted); }

/* entrada de la portada: sin esperar al scroll */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > .rise { animation: sube 640ms var(--ease) both; }
  .hero-copy > .d1 { animation-delay: 50ms; }
  .hero-copy > .d2 { animation-delay: 100ms; }
  .hero-copy > .d3 { animation-delay: 150ms; }
}
@keyframes sube { from { transform: translateY(12px); } }

/* ---------- Hecha para ---------- */
main > .hecha { padding: 28px 0; background: var(--piedra); }
.hecha-in { display: grid; gap: 18px; }
.hecha-t { font-size: 1.375rem; letter-spacing: -0.025em; text-align: center; }
.hecha-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 8px; }
.hecha-list li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.hecha-list svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 760px) {
  main > .hecha { padding: 30px 0; }
  .hecha-in { grid-template-columns: auto 1fr; align-items: center; gap: 32px; }
  .hecha-t { font-size: 1.75rem; padding-right: 32px; border-right: 1px solid var(--line-2); text-align: left; }
  .hecha-list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .hecha-list li { font-size: 0.9375rem; }
}

/* ---------- Banda negra: agentes de IA + revisión humana ---------- */
main > .agentes { background: var(--negro); color: #f3f3ee; }
.agentes h2 { max-width: 22ch; color: #fafaf7; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.25rem); }
.agentes h2 em { color: var(--verde-claro); }
.agentes .pt { color: var(--verde-claro); }
.agentes-lead { max-width: 52ch; margin: 18px auto 0; text-align: center; color: #c9c9c2; font-size: 1.0625rem; }
.tl { --p: 1; position: relative; max-width: 1040px; margin: 48px auto 0; }
.js .tl { --p: 0; }
.tl-line { position: absolute; left: 21px; top: 22px; bottom: var(--tl-end, 22px); width: 2px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.tl-fill { position: absolute; inset: 0; background: var(--verde-vivo); transform-origin: top; transform: scaleY(var(--p)); }
.tl-steps { display: grid; gap: 28px; position: relative; }
.tl-step { display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; align-items: start; }
.tl-n { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--verde); color: #fff; font: 700 1.0625rem var(--display); box-shadow: 0 0 0 6px var(--negro); }
.tl-step h3 { color: #fafaf7; font-size: 1.25rem; padding-top: 9px; }
.tl-step p { margin-top: 6px; color: #b9b9b2; font-size: 0.9375rem; line-height: 1.55; }
.js .tl-n { opacity: 0.4; transform: scale(0.82); transition: opacity 400ms var(--ease), transform 500ms var(--pop); }
.js .tl-step.on .tl-n { opacity: 1; transform: none; }
@media (min-width: 760px) {
  .tl-line { left: 12.5%; right: 12.5%; top: 21px; bottom: auto; width: auto; height: 2px; }
  .tl-fill { transform-origin: left; transform: scaleX(var(--p)); }
  .tl-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .tl-step { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .tl-n { grid-row: auto; }
  .tl-step h3 { padding-top: 18px; }
  .tl-step p { max-width: 24ch; }
}

/* ---------- Fondos por sección ---------- */
#por-que, #asistente, .giros, #como-trabajo, #preguntas { background: var(--bg); }
#sistema, #ejemplo, #precios, #nosotros { background: var(--piedra-2); }
#comparativa { background: var(--bg); border-top: 1px solid var(--line); }
main > .final { background: var(--piedra); }

/* ---------- Tarjetas genéricas ---------- */
.card { background: var(--blanco); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--sombra); }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9375rem; line-height: 1.5; color: var(--ink-2); }
.ticks li svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--verde); }
.tick-star { color: var(--ink) !important; }

/* problemas y sistema */
.pains { display: grid; gap: 16px; }
@media (min-width: 680px) { .pains { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pains { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.pain { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; }
.pain-num { font: 600 0.75rem var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--verde-hondo); }
.pain h3 { font-size: 1.3125rem; }
.pain .fix { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.9375rem; line-height: 1.55; color: var(--ink-2); }
.pain .fix b { color: var(--ink); }
#sistema .pain { background: var(--blanco); }

/* ---------- Dalia ---------- */
.ai-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .ai-grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr); gap: 72px; } .ai-vis { order: -1; } }
.ai-copy > * + * { margin-top: 18px; }
.ai-copy h2 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem); }
.ai-points { display: grid; gap: 18px; margin-top: 28px !important; }
@media (min-width: 640px) { .ai-points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; } .ai-wide { grid-column: 1 / -1; } }
.ai-points li { position: relative; min-height: 40px; padding-left: 54px; }
.ai-points h3 { font-size: 1rem; letter-spacing: -0.015em; line-height: 1.3; padding-top: 1px; }
.ai-points h3 svg { position: absolute; left: 0; top: 0; width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--verde-tinte); color: var(--verde); }
.ai-points li > p { margin-top: 4px; font-size: 0.9375rem; line-height: 1.5; color: var(--muted); }
.ai-brand { display: flex; gap: 12px; padding: 16px 18px; border-radius: 16px; background: var(--blanco); border: 1px solid var(--line); font-size: 0.9375rem; line-height: 1.5; color: var(--ink-2); }
.ai-brand svg { width: 20px; height: 20px; flex: none; color: var(--verde); margin-top: 2px; }
.ai-brand b { color: var(--ink); }
.ai-price { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 1rem; }
.ai-price strong { font: 700 1.5rem var(--display); letter-spacing: -0.03em; }
.bot-free { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; background: var(--verde); color: #fff; font-size: 0.8125rem; font-weight: 700; }
.bot-cta, .trust-cta, .faq-ctas, .final-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ai-fine { font-size: 0.875rem; }
.ai-vis { min-width: 0; }
.ai-card { max-width: 520px; margin: 0 auto; border-radius: 24px; background: var(--blanco); border: 1px solid var(--line); box-shadow: 0 2px 4px rgba(17, 17, 17, 0.03), 0 40px 70px -40px rgba(17, 17, 17, 0.35); overflow: hidden; }
.ai-top { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.ai-ava { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: #f1f7f2; border: 1px solid rgba(21, 128, 61, 0.2); }
.ai-ava svg { width: 30px; height: 28px; }
.ai-who { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.ai-who b { font: 700 1.0625rem var(--display); letter-spacing: -0.02em; }
.ai-who > span { font-size: 0.8125rem; color: var(--muted); }
.ai-on { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.ai-on i { width: 8px; height: 8px; border-radius: 50%; background: var(--verde-vivo); box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18); }
@media (prefers-reduced-motion: no-preference) { .ai-on i { animation: late 2.4s ease-in-out infinite; } }
@keyframes late { 50% { opacity: 0.45; } }
.ai-chat { display: flex; flex-direction: column; gap: 10px; padding: 20px 18px; min-height: 340px; }
.ai-msg { max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: 0.9375rem; line-height: 1.45; }
.ai-msg.d { align-self: flex-start; background: #f2f1ec; border-bottom-left-radius: 6px; }
.ai-msg.c { align-self: flex-end; background: var(--verde-tinte); border-bottom-right-radius: 6px; }
.ai-typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 13px 14px; border-radius: 16px; background: #f2f1ec; }
.ai-typing i { width: 7px; height: 7px; border-radius: 50%; background: #8a8a83; animation: punto 1s ease-in-out infinite; }
.ai-typing i:nth-child(2) { animation-delay: 0.15s; }
.ai-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes punto { 50% { transform: translateY(-3px); opacity: 0.5; } }
.js .ai-chat.is-anim .ai-msg { opacity: 0; transform: translateY(10px) scale(0.98); transition: opacity 380ms var(--ease), transform 380ms var(--ease); }
.js .ai-chat.is-anim .ai-msg.on { opacity: 1; transform: none; }
.ai-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 18px 20px; }
.ai-quick a, .ai-quick button { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font: 600 0.875rem var(--sans); text-decoration: none; cursor: pointer; transition: transform 160ms var(--ease); }
.ai-quick svg { width: 16px; height: 16px; color: var(--verde); }
.ai-quick a:active, .ai-quick button:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .ai-quick a:hover, .ai-quick button:hover { border-color: var(--ink); } }
.ai-label { margin-top: 14px; text-align: center; font-size: 0.8125rem; color: var(--muted); }

/* ---------- Diseños de muestra ---------- */
.ex-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .ex-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1100px) { .ex-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ex { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; transition: transform 320ms var(--ease); }
.ex-media { position: relative; display: block; aspect-ratio: 16 / 11; background: var(--piedra); overflow: hidden; }
.ex-desk { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ex-phone { position: absolute; right: 6%; bottom: -18%; width: 24%; aspect-ratio: 9 / 19; object-fit: cover; object-position: top; border-radius: 10px; border: 3px solid #161616; box-shadow: 0 16px 30px -12px rgba(17, 17, 17, 0.5); }
.ex-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 20px; flex: 1; }
.ex-body strong { font: 700 1.125rem/1.25 var(--display); letter-spacing: -0.02em; }
.ex-body .muted { font-size: 0.9375rem; line-height: 1.5; }
.ex-go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; font-weight: 600; font-size: 0.9375rem; }
.ex-go svg { width: 16px; height: 16px; color: var(--verde); }
@media (hover: hover) and (pointer: fine) { .ex:hover { transform: translateY(-4px); } }
.ex-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 20px; margin-top: 36px; text-align: center; }
.ex-more p { font-weight: 600; }
.trust-check { margin-top: 40px; padding: 28px 24px; display: grid; gap: 18px; }
.trust-check h3 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); }
@media (min-width: 900px) { .trust-check { padding: 36px 40px; } }
.founders { margin-top: 20px; padding: 28px 24px; display: grid; gap: 22px; border: 1.5px solid rgba(21, 128, 61, 0.35); }
.founders-copy > * + * { margin-top: 10px; }
.founders .tag { color: var(--verde-hondo); }
.founders h3 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); }
.founders-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.founders-left { font-size: 0.875rem; font-weight: 600; color: var(--verde-hondo); }
@media (min-width: 900px) { .founders { grid-template-columns: 1fr auto; align-items: center; padding: 36px 40px; } .founders-cta { align-items: center; } }

/* ---------- Giros (carrusel) ---------- */
.giros .section-head { margin-bottom: 36px; }
.giros-viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.giros-track { display: flex; width: max-content; }
.giros-set { display: flex; gap: 16px; padding-right: 16px; }
.giros-set li { width: 220px; flex: none; }
.giros-set a { display: block; height: 100%; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; }
.giros-set img { width: 100%; aspect-ratio: 640 / 482; object-fit: cover; }
.giros-set span { display: block; padding: 12px 14px 14px; font-size: 0.9375rem; font-weight: 600; line-height: 1.35; }
@media (min-width: 960px) { .giros-set li { width: 260px; } }
@media (prefers-reduced-motion: no-preference) {
  .js .giros-track { animation: giros 60s linear infinite; }
  @media (hover: hover) and (pointer: fine) { .giros-viewport:hover .giros-track { animation-play-state: paused; } }
}
@keyframes giros { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .giros-viewport { overflow-x: auto; } .giros-set[aria-hidden='true'] { display: none; } }

/* ---------- Tablas ---------- */
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--sombra); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.9375rem; }
.compare th, .compare td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.45; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font: 700 0.9375rem var(--display); letter-spacing: -0.01em; background: #f6f5f1; }
.compare thead td { background: #f6f5f1; }
.compare tbody th { font-weight: 600; color: var(--ink); width: 24%; }
.compare td { color: var(--ink-2); }
.compare .us { background: #f1f7f2; color: var(--ink); font-weight: 600; }
.compare thead .us { background: var(--verde); color: #fff; }
.compare small { font-weight: 500; color: var(--muted); }
.ck { color: var(--verde); font-weight: 700; }
.compare-pk { min-width: 560px; }
.compare-pk td, .compare-pk thead th { text-align: center; }

/* ---------- Precios ---------- */
.roi { max-width: 760px; margin: 0 auto 28px; padding: 16px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-align: center; font-size: 0.9375rem; line-height: 1.55; color: var(--ink-2); }
.roi b { color: var(--ink); }
.incl { max-width: 980px; margin: 0 auto 40px; }
.incl-t { text-align: center; font: 600 0.75rem var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.incl-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 900px) { .incl-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.incl-list li { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.7); border: 1px solid var(--line); font-size: 0.875rem; line-height: 1.35; }
.incl-list strong { font-weight: 600; }
.incl-list .ico { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--verde-tinte); color: var(--verde); }
.incl-list .ico svg { width: 18px; height: 18px; }
.prices { display: grid; gap: 28px; align-items: stretch; }
@media (min-width: 1000px) { .prices-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.price { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px 24px 24px; border-radius: 24px; }
@media (min-width: 1000px) { .price { padding: 34px 28px 28px; } }
.price.featured { border: 2px solid var(--verde); box-shadow: 0 2px 4px rgba(21, 128, 61, 0.06), 0 34px 60px -34px rgba(21, 128, 61, 0.45); }
.rec-tab { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 6px 16px; border-radius: 999px; background: var(--verde); color: #fff; font: 700 0.75rem/1.2 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.price-band { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 0.8125rem; color: var(--muted); }
.price-band span { padding: 3px 10px; border-radius: 999px; background: var(--verde-tinte); color: var(--verde-hondo); font-weight: 700; }
.badge { align-self: flex-start; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 0.75rem; font-weight: 600; color: var(--ink-2); }
.badge-long { border-color: rgba(21, 128, 61, 0.35); color: var(--verde-hondo); }
.price-count { font: 600 0.75rem var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.price h3 { font-size: 1.75rem; letter-spacing: -0.035em; }
.price > .muted { font-size: 0.9375rem; }
.price-was { font-size: 0.8125rem; color: var(--muted); }
.price-amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: 4px; font: 700 3rem/1 var(--display); letter-spacing: -0.045em; }
.price-amount small { font: 500 0.875rem var(--sans); letter-spacing: 0; color: var(--muted); }
.price-setup { font-size: 0.9375rem; font-weight: 600; }
.price-value { font-size: 0.875rem; line-height: 1.5; color: var(--verde-hondo); }
.price-year { padding: 9px 12px; border-radius: 12px; background: var(--piedra-2); font-size: 0.875rem; line-height: 1.45; color: var(--ink-2); }
.price-year b { color: var(--ink); }
.price .ticks { margin: 8px 0 4px; }
.price-eta { margin-top: auto; padding-top: 8px; font-size: 0.875rem; font-weight: 600; color: var(--verde-hondo); }
.price .btn { width: 100%; }
.price.featured .btn { background: var(--verde); border-color: var(--verde); color: #fff; }
@media (hover: hover) and (pointer: fine) { .price.featured .btn:hover { background: var(--verde-hondo); } }
.price-trust { font-size: 0.8125rem; color: var(--muted); text-align: center; line-height: 1.45; }
.month { margin-top: 24px; padding: 28px 24px; display: grid; gap: 16px; }
@media (min-width: 900px) { .month { padding: 34px 40px; } .month .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; } }
.month-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; }
.month-head h3 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); }
.month-head p { font-weight: 600; color: var(--ink-2); }
.month-alt { display: inline-block; margin-left: 6px; font-weight: 500; color: var(--muted); }
.month-foot { font-size: 0.875rem; line-height: 1.55; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line); }
.month-foot b { color: var(--ink-2); }
.bot-tag { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 4px 10px; border-radius: 999px; background: var(--verde-tinte); color: var(--verde-hondo); font: 700 0.75rem var(--sans); letter-spacing: 0; }
.pk-compare { margin-top: 48px; }
.pk-compare h3 { font-size: 1.5rem; margin-bottom: 16px; text-align: center; }
.price-note { max-width: 820px; margin: 40px auto 0; padding: 26px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.pn-t { font: 600 0.75rem var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.price-note ul { display: grid; gap: 10px; }
.price-note li { position: relative; padding-left: 18px; font-size: 0.9375rem; line-height: 1.55; color: var(--ink-2); }
.price-note li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--verde); }
.price-note b { color: var(--ink); }

/* ---------- Cómo trabajamos ---------- */
.guarantee { display: flex; gap: 14px; padding: 22px 22px; margin-bottom: 28px; font-size: 1rem; line-height: 1.55; color: var(--ink-2); border-color: rgba(21, 128, 61, 0.3); }
.guarantee svg { width: 26px; height: 26px; flex: none; color: var(--verde); }
.guarantee b { color: var(--ink); }
.steps { display: grid; gap: 16px; counter-reset: none; }
@media (min-width: 680px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps-line { display: none; }
.step { padding: 24px 22px; display: flex; flex-direction: column; gap: 10px; }
.step-day { font: 600 0.75rem var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--verde-hondo); }
.step h3 { font-size: 1.25rem; }
.step .muted { font-size: 0.9375rem; line-height: 1.55; }
.needs { margin-top: 20px; padding: 26px 24px; display: grid; gap: 14px; }
.needs h3 { font-size: 1.375rem; }
@media (min-width: 900px) { .needs .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; } }

/* ---------- Quiénes somos ---------- */
.about { margin: 0 auto; text-align: center; }
.about .lead { margin: 0 auto; }
.about a { color: var(--verde-hondo); font-weight: 600; text-underline-offset: 3px; }

/* ---------- Preguntas ---------- */
.faq-wrap { display: grid; gap: 32px; }
@media (min-width: 1000px) { .faq-wrap { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; } .faq-wrap .section-head { position: sticky; top: 100px; margin-bottom: 0; } }
.faq-ctas { margin-top: 22px !important; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq details:first-child { border-top: 1px solid var(--line-2); }
.faq summary { position: relative; display: flex; align-items: center; min-height: 60px; padding: 16px 44px 16px 0; font: 600 1.0625rem/1.4 var(--display); letter-spacing: -0.015em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 14px; height: 2px; margin-top: -1px; border-radius: 2px; background: var(--ink); transition: transform 240ms var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { padding: 0 0 20px; font-size: 1rem; line-height: 1.6; color: var(--ink-2); max-width: 66ch; }

/* ---------- Cierre ---------- */
.final .wrap { text-align: center; }
.final-flower { width: 96px; margin: 0 auto 20px; }
.final-flower img { width: 96px; height: 96px; }
.final h2 { max-width: 20ch; margin: 0 auto; font-size: clamp(2.125rem, 1.4rem + 3vw, 3.75rem); }
.final .lead { margin: 20px auto 0; }
.final-cta { justify-content: center; margin-top: 28px; }
.final-note { margin-top: 18px; font-size: 0.875rem; color: var(--muted); }

/* ---------- Pie ---------- */
.site-footer { padding: 40px 0 calc(40px + env(safe-area-inset-bottom, 0px)); background: var(--bg); border-top: 1px solid var(--line); }
.site-footer .wrap { display: grid; gap: 22px; }
@media (min-width: 900px) { .site-footer .wrap { grid-template-columns: auto auto 1fr; align-items: center; gap: 32px; } }
.foot-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.foot-city { display: inline-flex; align-items: center; gap: 6px; font-size: 0.875rem; color: var(--ink-2); }
@media (min-width: 640px) { .foot-city { padding-left: 18px; border-left: 1px solid var(--line-2); } }
.foot-city svg { width: 16px; height: 16px; color: var(--verde); }
.social { display: flex; gap: 8px; }
.soc { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink); transition: transform 200ms var(--ease); }
.soc svg { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) { .soc:hover { transform: translateY(-2px); background: var(--ink); color: #fff; } }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 0.875rem; color: var(--muted); }
@media (min-width: 900px) { .footer-links { justify-content: flex-end; } }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink-2); }
.footer-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-copy { line-height: 44px; }

/* WhatsApp flotante (se oculta cuando Dalia está activa) */
.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 70; box-shadow: 0 16px 30px -14px rgba(17, 17, 17, 0.6); transition: transform 300ms var(--ease), opacity 300ms var(--ease); }
.wa-float.is-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }

/* ---------- Entrada al hacer scroll (una sola vez) ---------- */
.js .rise { opacity: 0; transform: translateY(18px); }
.js .rise.is-in { opacity: 1; transform: none; transition: opacity 700ms var(--ease), transform 800ms var(--ease); }
.js .rise.is-in.d1 { transition-delay: 70ms; }
.js .rise.is-in.d2 { transition-delay: 140ms; }
.js .rise.is-in.d3 { transition-delay: 210ms; }
.js .hero .rise { opacity: 1; transform: none; transition: none; }
.js .social li { opacity: 0; transform: translateY(8px); }
.js .social.is-in li { opacity: 1; transform: none; transition: opacity 400ms var(--ease), transform 500ms var(--pop); }
.js .social.is-in li:nth-child(2) { transition-delay: 80ms; }
.js .social.is-in li:nth-child(3) { transition-delay: 160ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rise, .js .social li { opacity: 1 !important; transform: none !important; transition: none !important; }
  .js .ai-chat.is-anim .ai-msg { opacity: 1; transform: none; transition: none; }
  .js .tl-n { opacity: 1; transform: none; transition: none; }
  .ai-typing i, .ai-on i { animation: none; }
  .btn, .ex, .soc, .pais button, .ai-quick a, .ai-quick button { transition: none; }
}

/* ---------- Preguntas: 8 visibles + "Ver más" ---------- */
.faq-more { border: 0; }
.faq-more > summary.faq-more-btn { list-style: none; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 18px; padding: 0 22px; border: 1.5px solid #111; border-radius: 999px; font-weight: 600; cursor: pointer; }
.faq-more > summary.faq-more-btn::-webkit-details-marker { display: none; }
.faq-more > summary.faq-more-btn::after { content: none !important; }
.faq-more[open] > summary.faq-more-btn { display: none; }
/* que el botón flotante de Dalia no tape los "+" en celular */
@media (max-width: 760px) {
  #preguntas .faq { padding-bottom: 88px; }
  #preguntas .faq details > summary { padding-right: 56px; }
}

/* ---------- Celular: botón principal visible sin hacer scroll ---------- */
@media (max-width: 560px) {
  .hero { padding-top: 16px; }
  .hero .ai-chip { display: none; }
  .hero .eyebrow { margin-bottom: 10px; }
  .hero h1 { font-size: clamp(1.9rem, 8.6vw, 2.15rem); line-height: 1.08; }
}
@media (max-width: 760px) {
  .delia-fab { transition: opacity .25s cubic-bezier(.23,1,.32,1), transform .25s cubic-bezier(.23,1,.32,1); }
  html.en-preguntas .delia-fab { opacity: 0; transform: translateY(16px); pointer-events: none; }
}
#preguntas .faq details.faq-more { border: 0 !important; background: none; }
#preguntas .faq details.faq-more > summary::before,
#preguntas .faq details.faq-more > summary::after { content: none !important; display: none !important; }
.final-flower img { width: 88px; height: auto; object-fit: contain; }
.final h2 { overflow-wrap: anywhere; }
@media (max-width: 560px) { .final h2 { font-size: clamp(1.9rem, 8.4vw, 2.3rem); } }
