/* AUTONOMYX Studio — tokens del Design System de AUTONOMYX (negro, blanco y gris). */
:root {
  --stage: #050607;
  --ground: #0c0e0f;
  --panel: #131516;
  --raised: #202325;
  --ink: #ffffff;
  --ink-soft: rgba(255, 255, 255, 0.86);
  --muted: #a4a5a3;
  --muted-2: #c3c5c5;
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.32);
  --paper: #f6f6f4;
  --paper-ink: #151719;
  --paper-muted: #646769;
  --paper-line: #d8d8d4;
  --display: "Inter Tight", "Arial Narrow", Arial, sans-serif;
  --sans: Inter, Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --wrap: 1280px;
  --gutter: 32px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--stage); color: var(--ink); font: 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: max(16px, var(--gutter)); }
.eyebrow { margin: 0; font: 400 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.h2 { margin: 0; font: 300 clamp(40px, 4.6vw, 64px)/1 var(--display); letter-spacing: -.06em; text-wrap: balance; }
.lead { margin: 0; font-size: 18px; line-height: 1.55; color: var(--ink-soft); }
.note { margin: 0; font-size: 14px; color: var(--muted); }
.section { padding-top: 120px; display: flex; flex-direction: column; gap: 40px; }

/* Botones */
.btn { min-height: 54px; padding: 0 28px; display: inline-flex; align-items: center; justify-content: space-between; gap: 28px;
  font: 500 15px/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .25s ease, background .25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-light { background: var(--ink); color: var(--stage); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(255, 255, 255, .5); }
.btn-dark { background: var(--paper-ink); color: #fff; }
.btn-sm { min-height: 44px; padding: 0 22px; font-size: 14px; gap: 18px; }
.btn[disabled] { opacity: .55; cursor: wait; transform: none; }

/* Cabecera */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { padding-block: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-strong); }
.brand-mark img { width: 24px; }
.brand-name { font: 600 17px/1 var(--display); letter-spacing: -.04em; }
.brand-rule { width: 1px; height: 14px; background: rgba(255, 255, 255, .4); }
.brand-sub { font: 400 11px/1 var(--mono); letter-spacing: .34em; }
.nav { display: flex; flex-wrap: wrap; gap: 28px; font-size: 14px; }
.nav a { color: var(--muted-2); text-decoration: none; }
.nav a:hover { color: var(--ink); }

/* Hero */
.hero { border-top: 64px solid #000; border-bottom: 64px solid #000; background: var(--stage); }
.hero .wrap { padding-block: 56px 64px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 48px; }
.reel { display: flex; gap: 14px; align-items: flex-start; }
.reel figure { margin: 0; position: relative; width: clamp(96px, 17vw, 236px); aspect-ratio: 9 / 16; overflow: hidden; border: 1px solid var(--line-strong); }
.reel figure:nth-child(1) { margin-top: 48px; }
.reel figure:nth-child(2) { border-color: rgba(255, 255, 255, .6); }
.reel figure:nth-child(3) { margin-top: 96px; }
.reel img { width: 100%; height: 100%; object-fit: cover; }
.reel figcaption { position: absolute; inset: auto 0 0 0; padding: 12px; font-size: 13px; background: rgba(5, 6, 7, .72); }
.reel .tag { position: absolute; left: 10px; top: 10px; font-size: 12px; }
.hero-copy { flex: 1 1 380px; max-width: 500px; display: flex; flex-direction: column; gap: 22px; }
.hero h1 { margin: 0; font: 400 clamp(40px, 4.6vw, 66px)/.98 var(--display); letter-spacing: -.045em; text-wrap: balance; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sirve para anunciar */
.uses { padding-block: 56px 48px; display: flex; flex-direction: column; gap: 22px; }
.uses h2 { margin: 0; font: 400 28px/1.2 var(--display); letter-spacing: -.04em; }
.uses ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
.uses li { display: flex; flex-direction: column; gap: 10px; font-size: 15px; font-weight: 500; }
.uses .ph { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.uses .ph img { width: 100%; height: 100%; object-fit: cover; }
.screen { position: absolute; left: 36%; top: 22.2%; width: 28.6%; height: 49.4%; border-radius: 6px; background: var(--paper);
  display: flex; flex-direction: column; gap: 7%; padding: 10% 9%; }
.screen span { display: block; background: #a4a5a3; height: 5%; }
.screen span:first-child { background: var(--paper-ink); height: 9%; width: 55%; }
.screen .bar { margin-top: auto; height: 4%; background: var(--paper-line); position: relative; }
.screen .bar::after { content: ""; position: absolute; inset: 0 36% 0 0; background: var(--paper-ink); }
.screen .cta { height: 14%; background: var(--paper-ink); }

/* Confianza */
.trust { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); border-left: 1px solid var(--line); }
.trust li { padding: 26px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.trust svg { flex: 0 0 18px; margin-top: 2px; }

/* Estilos */
.styles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.style-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); text-decoration: none; transition: border-color .25s ease, transform .25s ease; }
.style-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.style-card .frame { aspect-ratio: 4 / 5; overflow: hidden; }
.style-card .frame img { width: 100%; height: 100%; object-fit: cover; }
.style-card .body { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.style-card h3 { margin: 0; font: 400 26px/1.1 var(--display); letter-spacing: -.04em; }
.style-card p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.frame-ui { background: var(--ground); display: flex; align-items: center; justify-content: center; padding: 24px; }
.frame-ui .card { width: 100%; background: var(--paper); color: var(--paper-ink); padding: 18px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 30px 100px rgba(0, 0, 0, .45); }
.frame-ui small { font-size: 12px; color: var(--paper-muted); }
.frame-ui strong { font: 400 26px/1.05 var(--display); letter-spacing: -.04em; }
.progress { height: 6px; background: var(--paper-line); position: relative; }
.progress::after { content: ""; position: absolute; inset: 0 var(--rest, 34%) 0 0; background: var(--paper-ink); }
.frame-ui .steps { display: flex; justify-content: space-between; font-size: 11px; color: var(--paper-muted); }
.frame-type { background: var(--paper); color: var(--stage); display: flex; flex-direction: column; justify-content: center; padding: 26px; }
.frame-type span { font: 600 64px/.86 var(--display); letter-spacing: -.07em; }
.frame-type span.light { font-weight: 300; color: #6d7073; }

/* Precios */
.compare { margin: 0; font-size: 22px; line-height: 1.4; color: var(--muted-2); }
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.price { padding: 32px; border: 1px solid var(--line-strong); display: flex; flex-direction: column; gap: 20px; }
.price .len { font-size: 18px; color: var(--muted-2); }
.price .amount { font: 400 64px/1 var(--display); letter-spacing: -.06em; }
.price ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); font-size: 15px; }
.price li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.price-feature { background: var(--paper); color: var(--paper-ink); border-color: var(--paper); }
.price-feature .len { color: var(--paper-muted); }
.price-feature ul, .price-feature li { border-color: var(--paper-line); }
.rules { display: flex; flex-direction: column; gap: 6px; }
.rules p:first-child { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted-2); }

/* Pasos */
.steps-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); border-top: 2px solid var(--ink); }
.steps-list li { padding: 22px 20px 0 0; display: flex; flex-direction: column; gap: 10px; }
.steps-list .n { font: 300 56px/1 var(--display); letter-spacing: -.06em; }
.steps-list strong { font: 500 22px/1.2 var(--display); letter-spacing: -.03em; }

/* Muestras */
.samples { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.samples figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.samples .shot { aspect-ratio: 9 / 16; overflow: hidden; }
.samples .shot img { width: 100%; height: 100%; object-fit: cover; }
.samples figcaption { display: flex; flex-direction: column; gap: 4px; }
.samples figcaption span { font-size: 13px; color: var(--muted); }
.shot-ui { background: var(--paper); color: var(--paper-ink); display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 26px; }
.shot-ui small { font-size: 13px; color: var(--paper-muted); }
.shot-ui strong { font: 400 36px/1 var(--display); letter-spacing: -.05em; font-weight: 400; }
.split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }

/* Cierre */
.closing { max-width: 1440px; margin: 120px auto 0; position: relative; overflow: hidden; }
.closing img { width: 100%; height: 520px; object-fit: cover; opacity: .5; }
.closing .inner { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px;
  padding-inline: max(32px, calc((100% - 1216px) / 2)); }
.closing h2 { margin: 0; max-width: 760px; font: 300 clamp(40px, 5vw, 68px)/1 var(--display); letter-spacing: -.06em; text-wrap: balance; }

/* Pie */
.site-footer .wrap { padding-block: 40px 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--muted); }
.site-footer a { color: var(--muted); }

/* Botón fijo en móvil */
.mobile-cta { display: none; }

@media (max-width: 700px) {
  :root { --gutter: 16px; }
  .section { padding-top: 72px; gap: 28px; }
  .h2 { font-size: clamp(34px, 9vw, 44px); }
  .site-header .wrap { padding-block: 12px; flex-wrap: nowrap; gap: 10px; }
  .site-header .nav { display: none; }
  .brand { gap: 8px; min-width: 0; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-mark img { width: 20px; }
  .brand-name { font-size: 15px; }
  .brand-sub { font-size: 10px; letter-spacing: .26em; }
  .site-header .btn-sm { min-height: 40px; padding: 0 12px; gap: 8px; font-size: 13px; flex: 0 0 auto; }
  .hero .actions .btn { padding: 0 18px; gap: 14px; }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust li { padding: 16px 12px; gap: 8px; font-size: 14px; }
  .hero { border-top-width: 28px; border-bottom-width: 28px; }
  .hero .wrap { padding-block: 32px 36px; gap: 28px; }
  .hero-copy { order: -1; flex-basis: 100%; }
  .hero h1 { font-size: clamp(40px, 11vw, 48px); }
  .reel { width: 100%; gap: 10px; }
  .reel figure { width: calc((100% - 20px) / 3); }
  .reel figure:nth-child(1) { margin-top: 24px; }
  .reel figure:nth-child(3) { margin-top: 48px; }
  .reel figcaption { padding: 8px; font-size: 11px; }
  .uses { padding-block: 40px 32px; }
  .styles, .samples { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .style-card .body { padding: 14px; gap: 6px; }
  .style-card h3 { font-size: 19px; }
  .style-card p { font-size: 13px; }
  .frame-ui { padding: 10px; }
  .frame-ui .card { padding: 10px; gap: 8px; }
  .frame-ui strong { font-size: 16px; }
  .frame-ui .steps { display: none; }
  .frame-type { padding: 14px; }
  .frame-type span { font-size: 34px; }
  .shot-ui { padding: 14px; gap: 10px; }
  .shot-ui strong { font-size: 22px; }
  .samples figcaption strong { font-size: 14px; }
  .price { padding: 24px; gap: 16px; }
  .price .amount { font-size: 52px; }
  .compare { font-size: 19px; }
  .steps-list .n { font-size: 44px; }
  .closing { margin-top: 72px; }
  .closing img { height: 420px; }
  .mobile-cta { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center;
    gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: rgba(5, 6, 7, .92);
    border-top: 1px solid var(--line); backdrop-filter: blur(10px); transition: transform .25s ease; }
  .mobile-cta.is-hidden { transform: translateY(110%); }
  .mobile-cta > span { font-size: 13px; color: var(--muted-2); }
  .mobile-cta .btn { flex: 1 1 auto; max-width: 220px; }
  .has-mobile-cta .site-footer .wrap { padding-bottom: 104px; }
}

/* Formularios (pedido) */
.form-page { padding-block: 56px 96px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 48px; align-items: start; }
@media (max-width: 900px) { .form-page { grid-template-columns: minmax(0, 1fr); } .summary { position: static; } }
.form-page > * { min-width: 0; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
legend { padding: 0; margin-bottom: 16px; font: 400 28px/1.15 var(--display); letter-spacing: -.04em; }
.step-block { padding-block: 32px; border-top: 1px solid var(--line); }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 12px; }
.choice { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--line-strong); background: var(--panel); cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.choice strong { font: 500 18px/1.2 var(--display); letter-spacing: -.02em; }
.choice span { font-size: 14px; color: var(--muted); }
.choice .price-tag { font: 400 28px/1 var(--display); letter-spacing: -.04em; color: var(--ink); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field .label { font-size: 14px; color: var(--muted-2); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; background: var(--panel); color: var(--ink); border: 1px solid var(--line-strong); font: 16px/1.4 var(--sans); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.drop { border: 1px dashed var(--line-strong); padding: 22px; display: flex; flex-direction: column; gap: 10px; background: var(--panel); }
.drop input { max-width: 100%; color: var(--muted-2); font: 14px var(--sans); }
.drop .hint { overflow-wrap: anywhere; }
.drop input::file-selector-button { margin-right: 14px; min-height: 40px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .5);
  background: transparent; color: var(--ink); font: 500 14px var(--sans); cursor: pointer; }
.drop input::file-selector-button:hover { background: var(--ink); color: var(--stage); }
.hint { margin: 0; font-size: 13px; color: var(--muted); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: #ffffff; }
.error { margin: 0; padding: 14px 16px; border: 2px solid var(--ink); font-weight: 500; }
.error::before { content: "! "; font-family: var(--mono); }
.summary { position: sticky; top: 24px; border: 1px solid var(--line-strong); padding: 26px; display: flex; flex-direction: column; gap: 14px; background: var(--panel); }
.summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 15px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 14px; }
.summary .total strong { font: 400 40px/1 var(--display); letter-spacing: -.05em; }
.sim-banner { padding: 10px 14px; background: #ffd84d; color: #141414; font: 600 13px/1.4 var(--sans); }
.sim-tag { display: inline-block; padding: 4px 9px; background: #ffd84d; color: #141414; font: 700 11px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; }

/* Páginas de texto */
.doc { max-width: 760px; padding-block: 56px 96px; display: flex; flex-direction: column; gap: 22px; }
.doc h1 { margin: 0; font: 300 clamp(36px, 4vw, 56px)/1 var(--display); letter-spacing: -.05em; }
.doc h2 { margin: 18px 0 0; font: 400 24px/1.2 var(--display); letter-spacing: -.03em; }
.doc p, .doc li { color: var(--ink-soft); line-height: 1.65; }
.doc ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.pending { padding: 14px 16px; border: 1px dashed var(--line-strong); color: var(--muted-2); font-size: 14px; }

.status-card { max-width: 640px; padding-block: 72px 96px; display: flex; flex-direction: column; gap: 20px; }
.status-card h1 { margin: 0; font: 300 clamp(40px, 5vw, 64px)/1 var(--display); letter-spacing: -.06em; text-wrap: balance; }
.status-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; border-top: 1px solid var(--line); padding-top: 18px; }
.status-card dt { color: var(--muted); }
.status-card dd { margin: 0; }
