/* Media Web Lab · plataforma
   Sistema: Geist + Geist Mono · base neutra · un acento bermellón · bordes 10px (botones y campos 8px) · claro y oscuro */

@font-face { font-family: "Geist"; src: url("/fonts/geist-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #F6F6F3; --surface: #FFFFFF; --tint: #EEEEEA; --fg: #141413; --muted: #5D5D57; --line: #E1E1DB; --line-strong: #CFCFC8;
  --accent: #D9380F; --accent-ink: #FFFFFF; --accent-soft: #FBE7E0; --ok: #1E7A4C; --warn: #9A5B00; --warn-soft: #FBF0DC;
  --r: 10px; --r-sm: 8px; --shadow: 0 1px 2px rgba(20,20,19,.04), 0 12px 32px -18px rgba(20,20,19,.18);
  --ease: cubic-bezier(.2,.8,.2,1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111111; --surface: #191918; --tint: #161615; --fg: #EDEDE8; --muted: #A2A29B; --line: #2A2A28; --line-strong: #3A3A37;
    --accent: #FF5A2E; --accent-ink: #111111; --accent-soft: #3A1D14; --ok: #5BC48C; --warn: #E7A94B; --warn-soft: #33270F;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 40px -20px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16.5px/1.6 "Geist", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, dl, dd, ul, ol, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.icon { flex: none; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--fg); color: var(--bg); padding: 10px 14px; border-radius: var(--r-sm); z-index: 50; }
.skip:focus { left: 8px; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100%); margin-inline: auto; }
.wrap .wrap--narrow { margin-inline: 0; }

/* Tipografía */
.display { font-size: clamp(2.5rem, 4.6vw, 4rem); line-height: 1.02; font-weight: 640; letter-spacing: -0.045em; text-wrap: balance; }
.h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); line-height: 1.06; font-weight: 640; letter-spacing: -0.04em; text-wrap: balance; }
.h2 { font-size: clamp(1.75rem, 3.2vw, 2.55rem); line-height: 1.1; font-weight: 620; letter-spacing: -0.035em; text-wrap: balance; }
.h2--sm { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.h3 { font-size: 1.12rem; line-height: 1.3; font-weight: 620; letter-spacing: -0.015em; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 56ch; margin-top: 18px; }
.sub { color: var(--muted); max-width: 62ch; margin-top: 14px; }
.muted { color: var(--muted); }
.fine { font-size: 0.86rem; color: var(--muted); margin-top: 18px; max-width: 80ch; }
.money { font-family: "Geist Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }

/* Botones: 8px, una sola familia */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.actions--center { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px; border-radius: var(--r-sm); border: 1px solid transparent; font: 600 0.97rem/1 "Geist", system-ui, sans-serif; text-decoration: none; white-space: nowrap; cursor: pointer; background: none; color: var(--fg); transition: transform .2s var(--ease), background-color .2s, border-color .2s, color .2s; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: color-mix(in srgb, var(--accent) 88%, var(--fg)); }
.btn--outline { border-color: var(--line-strong); background: var(--surface); }
.btn--outline:hover { border-color: var(--fg); }
.btn--ghost { border-color: transparent; }
.btn--ghost:hover { background: var(--tint); }
.btn--lg { min-height: 54px; padding: 0 24px; font-size: 1.02rem; }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 0.9rem; }
.btn__icon { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: -8px; border-radius: 6px; background: rgba(255,255,255,.16); transition: transform .25s var(--ease); }
.btn:hover .btn__icon { transform: translateX(2px); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .6; cursor: progress; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 1px; }
.link:hover { border-color: var(--fg); }
.link--sm { font-size: 0.85rem; margin-left: 8px; }
.link--back { border: 0; color: var(--muted); margin-bottom: 18px; }
.icon-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--muted); cursor: pointer; }
.icon-btn:hover { color: var(--accent); border-color: currentColor; }

/* Navegación */
.site-nav { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent); }
.site-nav__inner { display: flex; align-items: center; gap: 24px; height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; text-decoration: none; font-weight: 680; letter-spacing: -0.03em; font-size: 1.08rem; }
.logo__mark { width: 26px; height: 26px; }
.site-nav__links { margin-left: 18px; flex: 1; }
.site-nav__links ul { display: flex; gap: 24px; }
.site-nav__links a, .site-nav__client { text-decoration: none; color: var(--muted); font-size: 0.94rem; transition: color .2s; }
.site-nav__links a:hover, .site-nav__client:hover, .site-nav__links a[aria-current="page"] { color: var(--fg); }
.site-nav__toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--fg); cursor: pointer; place-items: center; }
.mobile-menu { border-top: 1px solid var(--line); background: var(--bg); }
.mobile-menu ul { width: min(1200px, 100% - 40px); margin: 0 auto; padding: 12px 0 20px; display: grid; }
.mobile-menu a { display: block; padding: 12px 0; text-decoration: none; font-weight: 560; border-bottom: 1px solid var(--line); }
@media (max-width: 400px) { .site-nav__inner { gap: 12px; } .logo { font-size: 1rem; } .site-nav .btn--primary { padding: 0 12px; } }
@media (max-width: 960px) {
  .site-nav__links, .site-nav__client { display: none; }
  .site-nav__toggle { display: inline-grid; }
  .site-nav .btn--primary { margin-left: auto; }
  .site-nav__toggle { margin-left: 0; }
}

/* Secciones */
.section { padding-block: clamp(72px, 9vw, 120px); }
.section--flush { padding-top: 0; }
.section--tint { background: var(--tint); border-block: 1px solid var(--line); }
.row-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.page-head { padding-block: clamp(48px, 7vw, 88px) clamp(32px, 5vw, 56px); }
.split, .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .split, .two-col { grid-template-columns: 1fr; } }

/* Hero */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(48px, 6vw, 72px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero__from { margin-top: 22px; color: var(--muted); font-size: 0.95rem; }
.hero__visual { position: relative; padding: 0 0 40px 0; }
.frame { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.frame--desktop .frame__bar { display: flex; gap: 6px; align-items: center; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.frame--desktop img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; }
.frame--phone { position: absolute; right: -10px; bottom: 0; width: 30%; min-width: 120px; border-radius: 22px; border: 6px solid var(--fg); }
.frame--phone img { aspect-ratio: 390 / 844; object-fit: cover; object-position: top; width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero__text > * { animation: rise .9s var(--ease) both; }
  .js .hero__text > *:nth-child(2) { animation-delay: .07s; }
  .js .hero__text > *:nth-child(3) { animation-delay: .14s; }
  .js .hero__text > *:nth-child(4) { animation-delay: .21s; }
  .js .hero__visual { animation: rise 1.1s .12s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .frame--phone { right: 8px; width: 28%; }
}

/* Promoción */
.promo { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--r); background: var(--accent-soft); color: var(--fg); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.promo .icon { color: var(--accent); }
.promo p { flex: 1; font-size: 0.95rem; }
.promo a { font-weight: 600; font-size: 0.92rem; }
@media (max-width: 640px) { .promo { flex-wrap: wrap; } }

/* Pasos (inicio) */
.steps { display: grid; grid-template-columns: repeat(7, minmax(148px, 1fr)); gap: 14px; margin: 44px 0 28px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.step { scroll-snap-align: start; display: grid; gap: 8px; align-content: start; padding: 20px 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); min-height: 200px; }
.step__icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r-sm); background: var(--tint); color: var(--accent); margin-bottom: 8px; }
.step:nth-child(5) { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.step:nth-child(5) .muted { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.step:nth-child(5) .step__icon { background: color-mix(in srgb, var(--bg) 12%, transparent); }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(7, 220px); } }

/* Bento de plantillas */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(140px, 15vw, 210px); grid-auto-flow: dense; gap: 14px; }
.bento__item { position: relative; overflow: hidden; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); text-decoration: none; }
.bento__item img { width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform 1.2s var(--ease); }
.bento__item:hover img { transform: scale(1.03); }
.bento__item--0 { grid-column: span 4; grid-row: span 2; }
.bento__item--1 { grid-column: span 2; grid-row: span 2; }
.bento__item--2 { grid-column: span 3; grid-row: span 1; }
.bento__item--3 { grid-column: span 3; grid-row: span 1; }
.bento__label { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 10px; align-items: baseline; padding: 8px 12px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(8px); font-size: 0.88rem; }
.bento__label span { color: var(--muted); }
@media (max-width: 760px) {
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .bento__item--0 { grid-column: span 2; grid-row: span 2; }
  .bento__item--1, .bento__item--2, .bento__item--3 { grid-column: span 1; grid-row: span 1; }
  .bento__item--3 { grid-column: span 2; }
}

/* Planes */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 2.6vw, 32px); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.plan--featured { border-color: var(--fg); box-shadow: var(--shadow); }
.plan__head { display: grid; gap: 6px; min-height: 104px; align-content: start; }
.plan__name { font-size: 1.35rem; font-weight: 650; letter-spacing: -0.03em; }
.plan__badge { justify-self: start; font-size: 0.78rem; font-weight: 600; padding: 4px 9px; border-radius: 6px; background: var(--fg); color: var(--bg); }
.plan__tag { color: var(--muted); font-size: 0.95rem; }
.plan__price { display: grid; gap: 2px; padding-block: 18px; border-block: 1px solid var(--line); }
.plan__regular { color: var(--muted); font: 500 0.95rem "Geist Mono", ui-monospace, monospace; }
.plan__amount { font-size: clamp(2rem, 3vw, 2.45rem); font-weight: 600; line-height: 1.1; }
.plan__meta { font-size: 0.85rem; color: var(--muted); }
.plan__promo { color: var(--accent); font-weight: 600; }
.plan__monthly { margin-top: 8px; font-size: 0.92rem; color: var(--muted); }
.plan__facts, .plan__includes { display: grid; gap: 10px; font-size: 0.94rem; }
.plan__facts li, .plan__includes li, .checks li, .crosses li, .checklist li { display: flex; gap: 10px; align-items: flex-start; }
.plan__facts .icon, .checks .icon, .checklist .icon { color: var(--accent); margin-top: 3px; }
.plan__includes { color: var(--muted); }
.plan__includes .icon { color: var(--ok); margin-top: 4px; }
.plan__actions { margin-top: auto; display: grid; gap: 12px; justify-items: start; }
.plan__actions .btn { width: 100%; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; } .plan__head { min-height: 0; } }

/* SEO */
.seo-list { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.seo-list li { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line-strong); }
.seo-list__price { white-space: nowrap; font-family: "Geist Mono", ui-monospace, monospace; font-weight: 600; }
.seo-list__price span { color: var(--muted); font-weight: 400; }
.seo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.seo-card { display: grid; gap: 12px; align-content: start; padding: 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.seo-card__price { font-size: 1.6rem; font-weight: 600; margin-top: 4px; }
.seo-card__price span { font-size: 0.95rem; color: var(--muted); font-weight: 400; }
@media (max-width: 960px) { .seo-grid { grid-template-columns: 1fr; } }

.checks, .crosses, .checklist { display: grid; gap: 10px; margin-top: 12px; }
.crosses { color: var(--muted); }
.checklist li { padding: 14px 16px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); }
.limits { display: grid; gap: 6px; margin: 12px 0 22px; padding-left: 18px; color: var(--muted); }

/* Comparación (inicio) */
.compare3 { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 16px; margin-top: 40px; align-items: stretch; }
.compare3__col { padding: 28px; border-radius: var(--r); border: 1px solid var(--line); }
.compare3__col ul { display: grid; gap: 12px; margin-top: 18px; color: var(--muted); }
.compare3__col li { display: flex; gap: 10px; }
.compare3__col li .icon { margin-top: 4px; }
.compare3__col--us { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.compare3__col--us ul { color: color-mix(in srgb, var(--bg) 80%, transparent); }
.compare3__col--us .icon { color: var(--accent); }
@media (max-width: 860px) { .compare3 { grid-template-columns: 1fr; } .compare3__col--us { order: -1; } }

/* Preguntas */
.faq-block { display: grid; grid-template-columns: 1fr 1.7fr; gap: 24px 72px; margin-bottom: 56px; }
.faq { display: grid; }
.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__item summary { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; font-weight: 600; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { transition: transform .3s var(--ease); color: var(--muted); }
.faq__item[open] summary .icon { transform: rotate(45deg); }
.faq__item p { padding-bottom: 22px; max-width: 66ch; }
.faq .link { margin-top: 24px; justify-self: start; }
@media (max-width: 860px) { .faq-block { grid-template-columns: 1fr; } }

.final-cta { display: grid; justify-items: center; text-align: center; gap: 26px; }
.final-cta .sub { margin-top: -10px; }

/* Cómo funciona */
.timeline { display: grid; gap: 0; border-left: 1px solid var(--line-strong); margin-left: 18px; }
.timeline__item { position: relative; display: flex; gap: 22px; padding: 0 0 36px 34px; }
.timeline__n { position: absolute; left: -19px; top: -2px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line-strong); font: 600 0.95rem "Geist Mono", ui-monospace, monospace; }
.timeline__item:nth-child(5) .timeline__n { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* Detalle de planes */
.plan-detail + .plan-detail { border-top: 1px solid var(--line); }
.plan-detail__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 32px; }
.plan-detail__maint { padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); align-self: start; }
.price-list { display: grid; gap: 0; margin: 20px 0; border-top: 1px solid var(--line-strong); }
.price-list li { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line-strong); font-family: "Geist Mono", ui-monospace, monospace; }
.price-list s { color: var(--muted); margin-right: 8px; }
@media (max-width: 960px) { .plan-detail__grid { grid-template-columns: 1fr; } }

/* Plantillas */
.filters { display: flex; flex-wrap: wrap; align-items: end; gap: 16px; margin-bottom: 32px; }
.filters label { display: grid; gap: 6px; font-size: 0.86rem; font-weight: 600; color: var(--muted); }
.filters__count { margin-left: auto; color: var(--muted); font-size: 0.92rem; }
select, input, textarea { font: 400 1rem/1.4 "Geist", system-ui, sans-serif; color: var(--fg); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 11px 13px; min-height: 46px; }
select { padding-right: 34px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
textarea { resize: vertical; min-height: 96px; }
.tpl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
.tpl-card { display: grid; gap: 0; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); overflow: hidden; position: relative; }
.tpl-card__shot { display: block; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--tint); }
.tpl-card__shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.tpl-card:hover .tpl-card__shot img { transform: scale(1.025); }
.tpl-card__body { display: grid; gap: 10px; padding: 22px; }
.tpl-card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tpl-card__cat { font-size: 0.82rem; color: var(--muted); }
.tpl-card__plans { font-size: 0.86rem; color: var(--muted); }
.tpl-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 6px; }
.tpl-card__reco { position: absolute; top: 12px; left: 12px; z-index: 1; font-size: 0.8rem; font-weight: 600; padding: 6px 10px; border-radius: 6px; background: var(--accent); color: var(--accent-ink); }
.tpl-card.is-dim { opacity: .5; }
.compare-toggle { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-size: 0.88rem; color: var(--muted); cursor: pointer; }
.compare-toggle input { min-height: 0; width: 18px; height: 18px; accent-color: var(--accent); }
.compare-bar { position: sticky; bottom: 16px; z-index: 20; display: flex; align-items: center; gap: 16px; justify-content: space-between; width: min(440px, 100%); margin: 24px auto 0; padding: 10px 10px 10px 18px; border-radius: var(--r); background: var(--fg); color: var(--bg); box-shadow: var(--shadow); }
.filters__empty { padding: 40px 0; text-align: center; }
@media (max-width: 860px) { .tpl-grid { grid-template-columns: 1fr; } }

.tpl-detail { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.tpl-detail__shots { position: relative; padding-bottom: 40px; }
@media (max-width: 960px) { .tpl-detail { grid-template-columns: 1fr; } }
.spec { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.spec__item { display: grid; gap: 10px; align-content: start; }
.spec__item--wide { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid var(--line); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { display: inline-flex; align-items: center; gap: 2px; padding: 6px 10px 6px 6px; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 0.82rem; }
.swatch i { width: 14px; height: 14px; border-radius: 4px; border: 1px solid rgba(0,0,0,.08); }
.swatch span { margin-left: 6px; }
@media (max-width: 960px) { .spec { grid-template-columns: 1fr 1fr; } }

.compare { display: grid; grid-template-columns: repeat(var(--cols), minmax(240px, 1fr)); gap: 16px; overflow-x: auto; }
.compare__col { display: grid; gap: 10px; align-content: start; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.compare__col img { border-radius: var(--r-sm); aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.compare__col dl { display: grid; gap: 4px; margin-top: 6px; }
.compare__col dt { font-size: 0.8rem; color: var(--muted); margin-top: 10px; }

/* Estados vacíos y alertas */
.empty { display: grid; justify-items: center; text-align: center; gap: 14px; max-width: 560px; margin: 0 auto; padding: clamp(32px, 6vw, 72px) 0; }
.empty--left { justify-items: start; text-align: left; margin: 0; }
.empty__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--tint); color: var(--accent); border: 1px solid var(--line); }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--fg); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); font-size: 0.94rem; margin: 18px 0; }
.alert .icon { color: var(--accent); margin-top: 2px; }
.alert--info { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 35%, transparent); }
.alert--info .icon { color: var(--warn); }
.badge { display: inline-flex; align-items: center; font-size: 0.75rem; font-weight: 600; padding: 3px 8px; border-radius: 6px; background: var(--tint); color: var(--muted); border: 1px solid var(--line); vertical-align: middle; }
.badge--warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.badge--submitted { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }

/* Formularios */
.form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.field { display: grid; gap: 7px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field__label { font-weight: 600; font-size: 0.95rem; padding: 0; }
.field__help { font-size: 0.86rem; color: var(--muted); margin-top: -2px; }
.field__error { font-size: 0.86rem; color: var(--accent); font-weight: 500; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--accent); }
.req { color: var(--accent); }
.opt { font-weight: 400; font-size: 0.82rem; color: var(--muted); margin-left: 4px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; cursor: pointer; }
.check input { min-height: 0; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; min-height: 0; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); font-size: 0.93rem; background: var(--surface); transition: background-color .2s, border-color .2s, color .2s; }
.chip input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.contact-info { display: grid; gap: 16px; align-content: start; }
.contact-info p { display: flex; gap: 10px; align-items: center; }

/* Flujo */
.flow { padding-block: clamp(32px, 5vw, 64px) clamp(64px, 8vw, 104px); }
.stepper { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0 0 28px; font-size: 0.88rem; color: var(--muted); }
.stepper li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: var(--r-sm); border: 1px solid var(--line); }
.stepper li span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--tint); font: 600 0.78rem "Geist Mono", ui-monospace, monospace; }
.stepper .is-current { color: var(--fg); border-color: var(--fg); }
.stepper .is-current span { background: var(--fg); color: var(--bg); }
.stepper .is-done span { background: var(--accent); color: var(--accent-ink); }
.choice-list { display: grid; gap: 12px; margin-top: 32px; }
.choice { display: grid; grid-template-columns: 1fr auto auto; gap: 24px; align-items: center; padding: 22px 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
.choice:hover { border-color: var(--fg); }
.choice:hover > .icon { transform: translateX(3px); color: var(--accent); }
.choice > .icon { transition: transform .25s var(--ease), color .2s; color: var(--muted); }
.choice__main { display: grid; gap: 4px; }
.choice__meta { font-size: 0.86rem; color: var(--muted); }
.choice__price { display: grid; justify-items: end; gap: 2px; font-family: "Geist Mono", ui-monospace, monospace; }
.choice__price s { color: var(--muted); font-size: 0.85rem; }
.choice__price strong { font-size: 1.3rem; }
.choice__price span { font-size: 0.82rem; color: var(--muted); }
@media (max-width: 640px) { .choice { grid-template-columns: 1fr; gap: 12px; } .choice__price { justify-items: start; } .choice > .icon { display: none; } }

.summary { margin-top: 28px; padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 20px; }
.summary__row { display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: center; }
.summary__row img { border-radius: var(--r-sm); border: 1px solid var(--line); aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.summary__strong { font-weight: 620; margin-bottom: 8px; }
@media (max-width: 560px) { .summary__row { grid-template-columns: 1fr; } }
.price-table { display: grid; gap: 0; border-top: 1px solid var(--line); }
.price-table div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.price-table dt { color: var(--muted); }
.price-table dd { font-family: "Geist Mono", ui-monospace, monospace; text-align: right; }
.price-table dd s { color: var(--muted); margin-right: 6px; }
.price-table__note { font-family: "Geist", system-ui, sans-serif !important; font-size: 0.88rem; color: var(--muted); max-width: 40ch; }
.confirm { display: grid; gap: 20px; margin-top: 28px; justify-items: start; }

/* Pedido */
.order { width: min(1200px, 100% - 40px); margin: 0 auto; display: grid; grid-template-columns: 280px 1fr; gap: clamp(24px, 4vw, 56px); padding-block: 32px 96px; }
.order__aside { position: sticky; top: 86px; align-self: start; display: grid; gap: 14px; }
.order__card { padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 8px; }
.order__title { font-weight: 640; letter-spacing: -0.02em; }
.progress { height: 8px; border-radius: 4px; background: var(--tint); overflow: hidden; margin-top: 4px; }
.progress span { display: block; height: 100%; background: var(--accent); border-radius: 4px; transition: width .5s var(--ease); }
.save-state { font-size: 0.85rem; color: var(--muted); }
.save-state.is-saving { color: var(--warn); }
.save-state.is-saved { color: var(--ok); }
.save-state.is-error { color: var(--accent); }
.order__nav ol { display: grid; gap: 2px; padding: 0; list-style: none; margin: 0; }
.order__nav a { display: block; padding: 8px 12px; border-radius: var(--r-sm); text-decoration: none; color: var(--muted); font-size: 0.93rem; }
.order__nav a:hover, .order__nav a.is-active { background: var(--surface); color: var(--fg); }
.order__main { display: grid; gap: 20px; min-width: 0; }
.order__intro { margin-bottom: 8px; }
.order__done { display: grid; gap: 12px; justify-items: start; padding: 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--ok); }
.brief { display: grid; gap: 20px; }
.brief__section { padding: clamp(22px, 3vw, 32px); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 8px; }
.brief__fields { display: grid; gap: 22px; margin-top: 18px; }
.brief [data-hidden] { display: none; }
.slots { display: grid; gap: 22px; margin-top: 16px; }
.slot { display: grid; gap: 12px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.slot:last-child { border-bottom: 0; padding-bottom: 0; }
.slot__title { font-size: 1rem; font-weight: 620; display: flex; gap: 10px; align-items: center; }
.files { display: grid; gap: 8px; }
.files li { display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px; align-items: center; padding: 8px 8px 8px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 0.93rem; }
.files__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files li.is-uploading { opacity: .6; }
.drop { position: relative; display: grid; justify-items: center; gap: 6px; padding: 22px; border: 1.5px dashed var(--line-strong); border-radius: var(--r); text-align: center; cursor: pointer; color: var(--muted); transition: border-color .2s, background-color .2s; }
.drop:hover, .drop.is-over { border-color: var(--accent); background: var(--accent-soft); color: var(--fg); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; min-height: 0; }
.drop:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.submit-box { display: grid; gap: 14px; justify-items: start; margin-top: 16px; }
.missing { display: grid; gap: 6px; color: var(--warn); font-size: 0.93rem; }
.missing li { display: flex; gap: 8px; align-items: center; }
@media (max-width: 900px) {
  .order { grid-template-columns: 1fr; }
  .order__aside { position: static; }
  .order__nav { display: none; }
}

/* Texto legal */
.prose { display: grid; gap: 14px; }
.prose h2 { margin-top: 18px; }
.prose p { color: var(--muted); max-width: 70ch; }

/* Tabla admin */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); margin: 16px 0 48px; background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table th { font-weight: 600; color: var(--muted); font-size: 0.82rem; }
.table .num { font-family: "Geist Mono", ui-monospace, monospace; text-align: right; }

/* Pie */
.site-footer { border-top: 1px solid var(--line); padding-top: 56px; margin-top: 24px; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer__brand p { color: var(--muted); max-width: 36ch; margin-top: 14px; font-size: 0.94rem; }
.site-footer__h { font-weight: 600; font-size: 0.9rem; margin-bottom: 12px; }
.site-footer nav ul { display: grid; gap: 8px; }
.site-footer nav a { color: var(--muted); text-decoration: none; font-size: 0.93rem; }
.site-footer nav a:hover { color: var(--fg); }
.site-footer__base { padding-block: 28px 36px; margin-top: 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.86rem; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }

/* Aparición al hacer scroll */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { * { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* Aviso de privacidad y cookies (una vez por navegador) */
.notice {
  position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; margin: 0 auto; max-width: 760px;
  display: flex; gap: 16px; align-items: center; padding: 14px 16px;
  background: var(--surface); color: var(--fg); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow); font-size: 0.9rem; line-height: 1.5;
}
.notice[hidden] { display: none; }
.notice p { margin: 0; color: var(--muted); }
.notice a { color: var(--fg); text-decoration: underline; text-underline-offset: 2px; }
.notice .btn { flex: none; }
@media (max-width: 560px) { .notice { flex-direction: column; align-items: stretch; } }

/* Seguimiento del proyecto */
.eyebrow { font: 500 0.8rem var(--mono, ui-monospace, monospace); letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.h1--sm { font-size: clamp(2rem, 4.4vw, 2.9rem); }
.track__now { margin-top: 32px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.track__now .muted { margin: 0 0 4px; font-size: 0.85rem; }
.track__now-title { font-size: 1.35rem; font-weight: 650; letter-spacing: -0.02em; margin: 0 0 6px; }
.track__now p { margin: 0 0 6px; }
.track__next { display: flex; gap: 8px; align-items: center; color: var(--muted); margin-top: 10px !important; }
.stages { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 0; }
.stages__item { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding-bottom: 22px; }
.stages__item:not(:last-child)::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.stages__item--done:not(:last-child)::before { background: var(--accent); }
.stages__dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line-strong); background: var(--bg); color: #fff; }
.stages__item--done .stages__dot { background: var(--accent); border-color: var(--accent); }
.stages__item--current .stages__dot { border-color: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 18%, transparent); }
.stages__title { margin: 2px 0 0; font-weight: 600; }
.stages__item--todo .stages__title { color: var(--muted); font-weight: 500; }
.stages__meta { margin: 2px 0 0; font-size: 0.85rem; color: var(--muted); }
.track__notes { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.track__notes ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 14px; }
.track__notes li p { margin: 0; }
.stage-form { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.stage-form select, .stage-form input { min-height: 34px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--fg); padding: 0 8px; font: inherit; font-size: 0.85rem; }
.stage-form input { width: 180px; }
.form-ok { padding: 12px 14px; border-radius: var(--r-sm); background: color-mix(in srgb, #1E7A4C 12%, var(--surface)); color: var(--fg); margin: 0 0 16px; }

/* Línea premium Signature */
.pr-band { position: relative; overflow: hidden; background: #0b0a09; color: #f2ede6; min-height: min(92vh, 860px); display: flex; align-items: center;
  background-image: radial-gradient(48vmax 40vmax at 76% 50%, rgba(255, 106, 61, 0.16), transparent 70%); }
.pr-band__scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.pr-band__inner { position: relative; z-index: 1; padding-block: 120px 96px; }
.pr-eyebrow { display: inline-flex; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(242, 237, 230, 0.16); background: rgba(242, 237, 230, 0.06);
  font: 500 0.7rem/1 "Geist Mono", ui-monospace, monospace; letter-spacing: 0.18em; text-transform: uppercase; color: #b9b0a5; margin: 0 0 22px; }
.pr-h1 { margin: 0; max-width: 13ch; font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: 0.98; font-weight: 640; letter-spacing: -0.045em; text-wrap: balance; }
.pr-h1 em { font-style: normal; color: #ff8a5c; }
.pr-lead { max-width: 44ch; margin: 26px 0 0; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: #b9b0a5; }
.pr-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }
.pr-btn { display: inline-flex; align-items: center; gap: 12px; padding: 7px 7px 7px 20px; border-radius: 999px; background: #f2ede6; color: #15120f; font-weight: 600; text-decoration: none;
  transition: transform 0.6s cubic-bezier(0.32, 0.72, 0, 1); }
.pr-btn:active { transform: scale(0.98); }
.pr-btn__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(21, 18, 15, 0.08); transition: transform 0.6s cubic-bezier(0.32, 0.72, 0, 1); }
.pr-btn:hover .pr-btn__ic { transform: translate(2px, -2px) scale(1.06); }
.pr-link { color: #b9b0a5; text-underline-offset: 6px; }
.pr-link:hover { color: #f2ede6; }
.pr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.pr-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.pr-card__ic { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--tint); color: var(--accent); margin-bottom: 16px; }
.pr-card .h3 { margin: 0 0 6px; }
.pr-card p { margin: 0; }
.pr-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.pr-who { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pr-who li { display: grid; gap: 4px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.pr-demo { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; margin-top: 30px; padding: 10px 16px 10px 10px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface); text-decoration: none; color: var(--fg); box-shadow: var(--shadow); }
.pr-demo b { display: block; }
.pr-demo .muted { display: block; font-size: 0.9rem; }
.pr-demo__img { height: 72px; border-radius: 8px; background: radial-gradient(60% 80% at 70% 40%, rgba(255, 106, 61, 0.5), transparent 70%), repeating-linear-gradient(180deg, #3a3733 0 5px, #8fa9c4 5px 7px, #3a3733 7px 12px), #0b0a09; }
.pr-steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.pr-steps li { display: grid; gap: 6px; align-content: start; padding-top: 18px; border-top: 2px solid var(--line); }
.pr-steps li:first-child { border-top-color: var(--accent); }
.pr-steps__n { font: 600 0.8rem "Geist Mono", ui-monospace, monospace; color: var(--accent); }
.pr-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.pr-points li { display: flex; gap: 10px; align-items: center; }
.pr-points svg { color: var(--accent); }
@media (max-width: 900px) {
  .pr-grid, .pr-split { grid-template-columns: 1fr; }
  .pr-steps { grid-template-columns: 1fr 1fr; }
  .pr-band { min-height: 0; }
  .pr-band__inner { padding-block: 96px 72px; }
  .pr-band__scene { opacity: 0.45; }
}
@media (max-width: 560px) { .pr-steps { grid-template-columns: 1fr; } }

/* Probador «Pruébala con tu negocio» */
.tryon .lead { margin-top: 10px; }
.tryon__grid { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: clamp(20px, 3vw, 40px); margin-top: 32px; align-items: start; }
.tryon__panel { display: grid; gap: 20px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); position: sticky; top: 92px; }
.tryon__set { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.tryon__swatches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tryon__swatch, .tryon__font { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer; font-size: 0.88rem; transition: border-color .2s, box-shadow .2s; }
.tryon__swatch input, .tryon__font input { position: absolute; opacity: 0; pointer-events: none; }
.tryon__swatch:has(input:checked), .tryon__font:has(input:checked) { border-color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
.tryon__swatch:has(input:focus-visible), .tryon__font:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.tryon__chip { flex: none; width: 28px; height: 28px; border-radius: 50%; background: conic-gradient(var(--a) 0 50%, var(--b) 50% 80%, var(--c) 80%); border: 1px solid var(--line); }
.tryon__fonts { display: grid; gap: 8px; }
.tryon__stage { display: grid; gap: 14px; }
.tryon__devices { display: inline-flex; justify-self: start; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.tryon__devices button { border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 0.88rem; padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.tryon__devices button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.tryon__frame { position: relative; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); height: min(78vh, 760px); transition: max-width .5s cubic-bezier(.16,1,.3,1); max-width: 100%; }
.tryon__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.tryon__frame[data-device="phone"] { max-width: 390px; height: min(78vh, 780px); margin-inline: auto; border-radius: 28px; border-width: 8px; border-color: var(--fg); }
@media (max-width: 900px) {
  .tryon__grid { grid-template-columns: 1fr; }
  .tryon__panel { position: static; }
  .tryon__frame { height: 70vh; }
}

/* Selector de idioma */
.site-nav__lang { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 0.9rem; text-decoration: none; white-space: nowrap; }
.site-nav__lang:hover { color: var(--fg); }
@media (max-width: 1100px) { .site-nav__lang { display: none; } }
