/* Sayori — promotional + onboarding site */
:root {
  --bg: #fbfaf7;
  --bg-tint: #eef6f4;
  --surface: #ffffff;
  --ink: #12302c;
  --ink-2: #4a615d;
  --line: #dde7e4;
  --brand: #0e8f7e;
  --brand-ink: #ffffff;
  --brand-soft: #d5efe9;
  --accent: #f4a259;
  --hl: #ffe3c4;
  --wa: #25d366;
  --shadow: 0 1px 2px rgba(18,48,44,.06), 0 8px 24px rgba(18,48,44,.08);
  --radius: 16px;

  /* chat mock */
  --chat-bg: #efeae2;
  --chat-in: #ffffff;
  --chat-out: #d9fdd3;
  --chat-ink: #111b21;
  --chat-meta: #667781;
  --chat-btn: #027eb5;
  --chat-head: #008069;
  --frame: #1b1f23;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1716; --bg-tint: #10201e; --surface: #142624; --ink: #e6f2ef; --ink-2: #a5bbb6;
    --line: #23403c; --brand: #3cc2ad; --brand-ink: #062a25; --brand-soft: #173a35; --hl: #5a3b1d;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
    --chat-bg: #0b141a; --chat-in: #202c33; --chat-out: #005c4b; --chat-ink: #e9edef;
    --chat-meta: #8696a0; --chat-btn: #53bdeb; --chat-head: #202c33; --frame: #000;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1716; --bg-tint: #10201e; --surface: #142624; --ink: #e6f2ef; --ink-2: #a5bbb6;
  --line: #23403c; --brand: #3cc2ad; --brand-ink: #062a25; --brand-soft: #173a35; --hl: #5a3b1d;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
  --chat-bg: #0b141a; --chat-in: #202c33; --chat-out: #005c4b; --chat-ink: #e9edef;
  --chat-meta: #8696a0; --chat-btn: #53bdeb; --chat-head: #202c33; --frame: #000;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--brand); }
code { font-size: .9em; background: var(--brand-soft); padding: .1em .35em; border-radius: 6px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: 780px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  padding: .8em 1.3em; border-radius: 999px; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 700;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: var(--brand-ink); }
.btn--ghost { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn--wa { background: var(--wa); color: #06331a; }
.btn--sm { padding: .5em 1em; font-size: .9rem; }
.btn--block { width: 100%; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.brand__mark { width: 32px; height: 32px; color: var(--brand); }
.brand__mark svg { width: 100%; height: 100%; }
.nav__links { display: none; gap: 20px; margin-left: auto; }
.nav__links a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav__links a:hover { color: var(--ink); }
.nav .btn { margin-left: auto; }
@media (min-width: 900px) { .nav__links { display: flex; } .nav .btn { margin-left: 0; } }

/* hero */
.hero { padding: 48px 0 32px; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 72px 0 56px; } .hero__grid { grid-template-columns: 1.15fr .85fr; } }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--brand); margin-bottom: .6em; }
.hl { background: linear-gradient(transparent 60%, var(--hl) 60%); }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 36em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.hero__points { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; color: var(--ink-2); }
.hero__points li::before { content: "✓"; color: var(--brand); font-weight: 800; margin-right: 8px; }
.hero__visual { display: flex; justify-content: center; }

/* sections */
.section { padding: 64px 0; }
.section--tint { background: var(--bg-tint); }
.section--cta { background: var(--brand-soft); }
.section__title { text-align: center; }
.section__title--left { text-align: left; }
.section__lead { text-align: center; color: var(--ink-2); max-width: 40em; margin: 0 auto 40px; font-size: 1.05rem; }

.cards { display: grid; gap: 20px; }
@media (min-width: 760px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card__icon { font-size: 1.8rem; margin-bottom: 8px; }
.card p { color: var(--ink-2); margin: 0; }

/* demos */
.demos { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .demos { grid-template-columns: 360px 1fr; } }
.demos__tabs { display: grid; gap: 8px; }
@media (max-width: 959px) {
  .demos__tabs { grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
  .tab { scroll-snap-align: start; }
}
.tab {
  display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 14px 16px;
  border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  cursor: pointer; font: inherit; transition: border-color .15s, box-shadow .15s;
}
.tab strong { display: block; }
.tab small { color: var(--ink-2); font-size: .85rem; }
.tab__k { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: .85rem; }
.tab[aria-selected="true"] { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.tab[aria-selected="true"] .tab__k { background: var(--brand); color: var(--brand-ink); }
.demos__stage { display: flex; flex-direction: column; align-items: center; }
.video-slot {
  position: relative; width: 100%; min-height: 640px; border-radius: 24px;
  background: radial-gradient(circle at 30% 20%, var(--brand-soft), transparent 60%), var(--surface);
  border: 1px dashed var(--line); display: flex; align-items: center; justify-content: center; padding: 48px 12px 24px;
}
.video-slot video { width: 100%; max-height: 640px; border-radius: 16px; }
.badge { position: absolute; top: 14px; left: 14px; font-size: .78rem; font-weight: 700; background: var(--surface); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; color: var(--ink-2); }
.replay { position: absolute; top: 10px; right: 12px; background: none; border: 0; color: var(--brand); font: inherit; font-weight: 700; cursor: pointer; padding: 6px 8px; }
.demos__caption { margin-top: 14px; color: var(--ink-2); text-align: center; max-width: 36em; }

/* phone mock */
.phone {
  width: 300px; max-width: 100%; height: 600px; border-radius: 40px; background: var(--frame);
  padding: 10px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.35); position: relative; flex: none;
}
.phone__screen { width: 100%; height: 100%; border-radius: 32px; overflow: hidden; display: flex; flex-direction: column; background: var(--chat-bg); position: relative; }
.wa-head { background: var(--chat-head); color: #fff; display: flex; align-items: center; gap: 10px; padding: 26px 12px 10px; flex: none; }
.wa-head__av { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--brand); display: grid; place-items: center; font-size: 1.1rem; }
.wa-head b { display: block; font-size: .92rem; line-height: 1.2; }
.wa-head small { font-size: .72rem; opacity: .85; }
.wa-body { flex: 1; overflow-y: auto; padding: 10px 10px 6px; display: flex; flex-direction: column; gap: 6px; scrollbar-width: none; scroll-behavior: smooth; }
.wa-body::-webkit-scrollbar { display: none; }
.wa-input { flex: none; display: flex; gap: 6px; padding: 6px 8px 12px; align-items: center; }
.wa-input__field { flex: 1; background: var(--chat-in); color: var(--chat-ink); border-radius: 999px; padding: 8px 12px; font-size: .82rem; min-height: 34px; white-space: nowrap; overflow: hidden; }
.wa-input__field:empty::before { content: "Mensaje"; color: var(--chat-meta); }
.wa-input__send { width: 34px; height: 34px; border-radius: 50%; background: #00a884; color: #fff; display: grid; place-items: center; font-size: .9rem; }

.msg { max-width: 82%; padding: 6px 9px 4px; border-radius: 10px; font-size: .82rem; line-height: 1.4; color: var(--chat-ink); box-shadow: 0 1px .5px rgba(0,0,0,.13); animation: pop .22s ease-out; word-wrap: break-word; }
.msg--in { background: var(--chat-in); align-self: flex-start; border-top-left-radius: 2px; }
.msg--out { background: var(--chat-out); align-self: flex-end; border-top-right-radius: 2px; }
.msg__t { display: block; text-align: right; font-size: .62rem; color: var(--chat-meta); margin-top: 2px; }
.msg--out .msg__t::after { content: " ✓✓"; color: #53bdeb; }
.msg b { font-weight: 700; }
.msg__btns { display: grid; gap: 2px; margin-top: 6px; margin-inline: -9px; margin-bottom: -4px; }
.msg__btn { border-top: 1px solid color-mix(in srgb, var(--chat-meta) 25%, transparent); text-align: center; color: var(--chat-btn); padding: 7px 4px; font-weight: 600; font-size: .8rem; transition: background .2s; }
.msg__btn.is-tapped, .sheet__row.is-tapped { background: color-mix(in srgb, var(--chat-btn) 18%, transparent); }
.chip { align-self: center; background: var(--chat-in); color: var(--chat-meta); font-size: .68rem; padding: 3px 10px; border-radius: 8px; text-transform: uppercase; letter-spacing: .03em; box-shadow: 0 1px .5px rgba(0,0,0,.1); }
.typing { align-self: flex-start; background: var(--chat-in); border-radius: 10px; padding: 9px 12px; display: flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--chat-meta); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
.vcard { display: flex; gap: 8px; align-items: center; padding: 4px 0 6px; }
.vcard__av { width: 36px; height: 36px; border-radius: 50%; background: #dfe5e7; display: grid; place-items: center; }

.sheet { position: absolute; inset: auto 0 0 0; background: var(--chat-in); color: var(--chat-ink); border-radius: 16px 16px 0 0; padding: 10px 0 16px; transform: translateY(100%); transition: transform .3s ease; box-shadow: 0 -8px 24px rgba(0,0,0,.2); z-index: 3; max-height: 75%; overflow: hidden; }
.sheet.is-open { transform: translateY(0); }
.sheet__title { text-align: center; font-weight: 700; font-size: .85rem; padding: 0 0 8px; border-bottom: 1px solid color-mix(in srgb, var(--chat-meta) 25%, transparent); }
.sheet__row { display: flex; justify-content: space-between; align-items: center; padding: 9px 16px; font-size: .82rem; }
.sheet__row::after { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--chat-meta); }
.sheet__row.is-tapped::after { border-color: #00a884; background: radial-gradient(#00a884 45%, transparent 50%); }
.scrim { position: absolute; inset: 0; background: rgba(0,0,0,.35); opacity: 0; transition: opacity .3s; pointer-events: none; z-index: 2; }
.scrim.is-open { opacity: 1; }

/* tablet mock */
.tablet { width: 100%; max-width: 760px; aspect-ratio: 4 / 3; max-height: 560px; background: var(--frame); border-radius: 28px; padding: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.35); position: relative; }
.tablet__screen { width: 100%; height: 100%; border-radius: 16px; overflow: hidden; background: var(--bg); color: var(--ink); display: grid; grid-template-columns: 150px 1fr; position: relative; font-size: .85rem; }
@media (max-width: 600px) { .tablet__screen { grid-template-columns: 1fr; } .tb-side { display: none; } }
.tb-side { background: var(--surface); border-right: 1px solid var(--line); padding: 14px 10px; display: grid; align-content: start; gap: 4px; }
.tb-side b { font-size: .95rem; padding: 0 6px 10px; }
.tb-side span { padding: 6px 8px; border-radius: 8px; color: var(--ink-2); }
.tb-side span.on { background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.tb-main { padding: 14px; overflow: hidden; display: flex; flex-direction: column; gap: 8px; }
.tb-main h4 { margin: 0 0 4px; font-size: 1rem; }
.tb-appt { display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 10px; padding: 8px 10px; transition: box-shadow .2s, transform .2s; }
.tb-appt--orto { border-left-color: #3b7dd8; }
.tb-appt small { color: var(--ink-2); display: block; }
.tb-appt .st { font-size: .72rem; padding: 2px 8px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.tb-appt.is-tapped { box-shadow: 0 0 0 3px var(--brand-soft); transform: scale(1.01); }
.tb-appt.is-new { animation: pop .3s ease-out; border-style: dashed; }
.tb-detail { position: absolute; top: 0; right: 0; bottom: 0; width: min(330px, 100%); background: var(--surface); border-left: 1px solid var(--line); padding: 16px; transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; gap: 10px; z-index: 2; }
.tb-detail.is-open { transform: none; }
.tb-detail dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; }
.tb-detail dt { color: var(--ink-2); } .tb-detail dd { margin: 0; font-weight: 600; }
.tb-btn { background: var(--brand); color: var(--brand-ink); border-radius: 10px; padding: 10px; text-align: center; font-weight: 700; transition: transform .15s, filter .15s; }
.tb-btn.is-tapped { transform: scale(.97); filter: brightness(1.1); }
.tb-modal { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.35); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 4; }
.tb-modal.is-open { opacity: 1; }
.tb-modal__box { background: var(--surface); border-radius: 14px; padding: 18px; width: min(380px, 92%); display: grid; gap: 12px; box-shadow: var(--shadow); }
.tb-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tb-chip { border: 1px solid var(--line); padding: 5px 10px; border-radius: 999px; font-weight: 600; transition: background .2s, color .2s; }
.tb-chip.is-on { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.tb-fields { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.tb-field { border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; }
.tb-field small { display: block; color: var(--ink-2); font-size: .7rem; }
.tb-field b { transition: color .3s; }
.tb-field b.flash { color: var(--brand); }
.tb-toast { position: absolute; left: 50%; bottom: 16px; transform: translate(-50%, 140%); background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 12px; font-weight: 600; transition: transform .35s ease; z-index: 5; white-space: nowrap; font-size: .82rem; }
.tb-toast.is-open { transform: translate(-50%, 0); }
.tb-notif { position: absolute; top: -28px; right: -12px; width: 250px; background: var(--chat-in); color: var(--chat-ink); border-radius: 14px; padding: 10px 12px; box-shadow: 0 12px 30px rgba(0,0,0,.25); font-size: .78rem; transform: translateY(-20px) scale(.95); opacity: 0; transition: all .35s ease; z-index: 6; }
.tb-notif.is-open { transform: none; opacity: 1; }
.tb-notif b { display: flex; align-items: center; gap: 6px; font-size: .75rem; color: #00a884; margin-bottom: 2px; }

@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }

/* steps */
.steps { display: grid; gap: 20px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.step__n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #3b1f05; font-weight: 800; margin-bottom: 10px; }
.step p { color: var(--ink-2); margin: 0; }

/* two col */
.two-col { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } .two-col--reverse > :first-child { order: 0; } }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 22px 28px; border-left: 2px solid var(--line); margin-left: 8px; }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--bg-tint); }
.timeline__when { font-size: .78rem; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .05em; }
.timeline h3 { margin: 2px 0 4px; }
.timeline p { color: var(--ink-2); margin: 0; }

/* paper migration visual */
.paper { display: grid; grid-template-columns: 1fr auto 1.2fr; grid-template-rows: auto auto; gap: 12px; align-items: center; }
.paper__card { background: #fdf6e3; color: #4a3b1c; border: 1px solid #e8dcb5; border-radius: 6px; padding: 12px; font-family: "Courier New", monospace; font-size: .82rem; display: grid; gap: 2px; box-shadow: var(--shadow); }
.paper__card span { font-size: .7rem; opacity: .7; }
.paper__card--1 { transform: rotate(-3deg); grid-column: 1; grid-row: 1; }
.paper__card--2 { transform: rotate(2deg); grid-column: 1; grid-row: 2; }
.paper__arrow { grid-column: 2; grid-row: 1 / 3; font-size: 2rem; color: var(--brand); font-weight: 800; }
.paper__row { grid-column: 3; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: grid; gap: 1px; font-size: .85rem; box-shadow: var(--shadow); }
.paper__row span { color: var(--ink-2); font-size: .8rem; }
.paper__row em { font-style: normal; font-size: .7rem; font-weight: 700; color: var(--brand); }
.checks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.checks li { padding-left: 28px; position: relative; color: var(--ink-2); }
.checks li b { color: var(--ink); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: .75rem; display: grid; place-items: center; }

/* pricing */
.placeholder-note { text-align: center; margin: -24px auto 32px; font-size: .85rem; color: var(--ink-2); background: var(--surface); border: 1px dashed var(--accent); border-radius: 999px; padding: 4px 14px; width: fit-content; }
.plans { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan--featured { border: 2px solid var(--brand); }
.plan__tag { position: absolute; top: -12px; left: 24px; background: var(--brand); color: var(--brand-ink); font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.plan__for { color: var(--ink-2); font-size: .9rem; margin-bottom: 14px; }
.plan__price { margin: 0; color: var(--ink-2); }
.plan__price span { font-size: 1.9rem; font-weight: 800; color: var(--ink); }
.plan__free { display: inline-block; margin: 8px 0 16px; font-weight: 700; font-size: .85rem; color: #6a3a07; background: var(--hl); padding: 2px 10px; border-radius: 6px; width: fit-content; }
:root[data-theme="dark"] .plan__free { color: #ffd7ad; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .plan__free { color: #ffd7ad; } }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; flex: 1; align-content: start; }
.plan li::before { content: "✓"; color: var(--brand); font-weight: 800; margin-right: 8px; }
.addons__title { margin: 48px 0 16px; text-align: center; }
.addons { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.addon { display: flex; gap: 16px; justify-content: space-between; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
.addon p { margin: 2px 0 0; color: var(--ink-2); font-size: .9rem; }
.addon__price { font-weight: 800; white-space: nowrap; text-align: right; }
.addon__price small { display: block; font-weight: 500; color: var(--ink-2); font-size: .75rem; }
.addon__price--free { color: var(--brand); }
@media (max-width: 560px) { .addon { flex-direction: column; align-items: flex-start; } .addon__price { text-align: left; } }

/* faq */
.faq { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.3rem; line-height: 1; }
.faq[open] summary::after { content: "–"; }
.faq p { color: var(--ink-2); margin: 10px 0 0; }

/* form */
.form { background: var(--surface); border-radius: 20px; padding: 24px; display: grid; gap: 14px; box-shadow: var(--shadow); }
.form label { display: grid; gap: 4px; font-weight: 600; font-size: .9rem; }
.form input, .form select { font: inherit; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); min-width: 0; }
.form input:focus, .form select:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form__check { display: flex !important; align-items: center; gap: 8px; font-weight: 500 !important; }
.form__msg { margin: 0; font-size: .9rem; color: var(--brand); min-height: 1.4em; }

.footer { border-top: 1px solid var(--line); padding: 24px 0; color: var(--ink-2); font-size: .9rem; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.footer a { color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* small-screen fixes */
.demos > * { min-width: 0; }
@media (max-width: 600px) {
  .tablet { aspect-ratio: 3 / 4; max-height: none; }
}

/* ---------- Christmas / marketing upsell ---------- */
:root { --xmas: #c8102e; --xmas-ink: #ffffff; --xmas-green: #0b6b3a; --gold: #e9b949; --xmas-bg: #fff6f3; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --xmas: #ff5a6e; --xmas-ink: #2a0007; --xmas-green: #3ccf84; --xmas-bg: #1d1414; } }
:root[data-theme="dark"] { --xmas: #ff5a6e; --xmas-ink: #2a0007; --xmas-green: #3ccf84; --xmas-bg: #1d1414; }

.promo { background: var(--xmas-green); color: #fff; font-size: .9rem; }
.promo__inner { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; text-align: center; }
.promo a { color: #fff; font-weight: 700; white-space: nowrap; }
.promo[hidden] { display: none; }
.nav__xmas { color: var(--xmas) !important; }
@media (min-width: 900px) and (max-width: 1080px) { .nav__links { gap: 14px; } .nav__links a { font-size: .88rem; } }

.section--xmas { background: var(--xmas-bg); position: relative; overflow: hidden; }
.section--xmas::before { content: "❄   ✦   ❄   ✦   ❄   ✦   ❄   ✦   ❄"; position: absolute; top: 18px; left: 0; right: 0; text-align: center; letter-spacing: .6em; color: var(--xmas); opacity: .18; white-space: nowrap; pointer-events: none; }
.eyebrow--xmas { color: var(--xmas); text-align: center; }
.xmas-sub { font-size: 1.3rem; margin-bottom: 16px; }
.xmas-hero { margin-bottom: 56px; }

.ad { margin: 0 auto; width: 100%; max-width: 360px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.ad__head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; font-size: .85rem; }
.ad__head small { display: block; color: var(--ink-2); font-size: .72rem; }
.ad__av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); border: 2px solid var(--xmas); }
.ad__dots { margin-left: auto; color: var(--ink-2); }
.ad__creative { position: relative; aspect-ratio: 4 / 5; padding: 28px 24px; color: #fff; display: flex; flex-direction: column; justify-content: center; gap: 10px;
  background: radial-gradient(circle at 80% 15%, rgba(233,185,73,.55), transparent 35%), linear-gradient(160deg, #a50d26 0%, #c8102e 45%, #0b6b3a 130%); }
.ad__snow { position: absolute; top: 14px; left: 0; right: 0; text-align: center; letter-spacing: .5em; opacity: .55; font-size: .8rem; }
.ad__kicker { margin: 0; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.ad__title { margin: 0; font-size: 1.75rem; line-height: 1.15; font-weight: 800; }
.ad__title em { font-style: normal; color: var(--gold); }
.ad__tags { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ad__tags li { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.ad__offer { margin: 8px 0 0; font-size: .95rem; }
.ad__cta { display: flex; justify-content: space-between; padding: 12px 14px; font-weight: 700; color: #00a884; border-top: 1px solid var(--line); font-size: .9rem; }
.ad figcaption { font-size: .72rem; color: var(--ink-2); text-align: center; padding: 0 0 8px; }

.funnel { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: f; }
.funnel li { display: flex; gap: 14px; align-items: flex-start; }
.funnel__i { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; font-size: 1.15rem; }
.funnel b { display: block; }
.funnel p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.soon { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: var(--hl); color: #6a3a07; padding: 1px 6px; border-radius: 6px; white-space: nowrap; }

@media (min-width: 640px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards--4 { grid-template-columns: repeat(4, 1fr); } }
.mk-services { margin-bottom: 64px; }
.mini { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; font-size: .9rem; color: var(--ink-2); }
.mini li { padding-left: 18px; position: relative; }
.mini li::before { content: "•"; position: absolute; left: 4px; color: var(--xmas); font-weight: 800; }

.geo { margin-bottom: 64px; align-items: start; }
.geo__mocks { display: grid; gap: 16px; }
.ai { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: var(--shadow); font-size: .9rem; }
.ai__q { margin-left: auto; width: fit-content; max-width: 85%; background: var(--brand-soft); padding: 8px 12px; border-radius: 14px 14px 4px 14px; margin-bottom: 12px; font-weight: 600; }
.ai__a { display: grid; gap: 8px; }
.ai__a::before { content: "✦ Asistente de IA"; font-size: .72rem; font-weight: 700; color: var(--ink-2); letter-spacing: .04em; }
.ai__line { margin: 0; }
.maps { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); font-size: .85rem; }
.maps__search { padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.maps__map { position: relative; height: 120px; background:
  linear-gradient(90deg, transparent 48%, rgba(255,255,255,.7) 48% 52%, transparent 52%),
  linear-gradient(0deg, transparent 58%, rgba(255,255,255,.7) 58% 62%, transparent 62%),
  linear-gradient(35deg, transparent 30%, rgba(255,255,255,.55) 30% 33%, transparent 33%), #dfeee6; }
.pin { position: absolute; font-size: 1rem; }
.pin--me { left: 42%; top: 28%; background: var(--xmas); color: #fff; width: 30px; height: 30px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(200,16,46,.2); display: grid; place-items: center; }
.pin--a { left: 70%; top: 60%; color: #8a8f94; } .pin--b { left: 18%; top: 66%; color: #8a8f94; }
.maps__row { display: grid; grid-template-columns: 1fr auto; padding: 10px 14px; border-top: 1px solid var(--line); }
.maps__row span { color: var(--ink-2); font-size: .8rem; grid-column: 1; }
.maps__row--me { background: color-mix(in srgb, var(--xmas) 7%, transparent); }
.maps__btn { grid-column: 2 !important; grid-row: 1 / 3; align-self: center; background: #00a884; color: #fff !important; padding: 4px 10px; border-radius: 999px; font-weight: 700; }
.fineprint { font-size: .82rem; color: var(--ink-2); }
.fineprint--center { text-align: center; margin-top: 12px; }

[data-reveal] .ai__line, [data-reveal] .maps__row { opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s; }
[data-reveal].is-on .ai__line, [data-reveal].is-on .maps__row { opacity: 1; transform: none; }
.is-on .ai__line:nth-child(2), .is-on .maps__row:nth-of-type(3) { transition-delay: .5s; }
.is-on .ai__line:nth-child(3) { transition-delay: 1s; } .is-on .ai__line:nth-child(4) { transition-delay: 1.4s; }
.is-on .maps__row:nth-of-type(4) { transition-delay: .9s; }

.plans--mk { grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .plans--mk { grid-template-columns: 1fr 1.25fr; } }
.plan--xmas { border: 2px solid var(--xmas); }
.plan__tag--xmas { background: var(--xmas); color: var(--xmas-ink); }
.btn--xmas { background: var(--xmas); color: var(--xmas-ink); }
.addons--stack { max-width: none; margin: 0; }
.addons__title + .placeholder-note { margin-top: 0; }
.geo .fineprint { margin-top: 16px; }
.form__legal { margin: 0; font-size: .78rem; color: var(--ink-2); }
