/* DamoIA · concepto: "producto de software" — lienzo claro neutro, tipografía geométrica,
   un solo acento naranja señal, panel oscuro tipo consola como pieza central. */
:root {
  /* PALETTE:LIGHT */ --bg: #F6F5F1; --surface: #FFFFFF; --ink: #0F1E3D; --muted: #5B6476; --line: #E0DFD8; --accent: #C9962B; --accent-2: #A97A1C; --accent-text: #8C6514; --accent-soft: #F7EDD6; --on-accent: #1A1203; --dark: #0F1E3D; --dark-2: #172A50; --dark-line: #283C66; /* /PALETTE */
  --on-dark: #F3F3F1; --on-dark-muted: #A2A6AE;
  --ok: #22C55E; --run: var(--accent); --wait: #8A8F99;
  --shadow: 0 20px 50px rgba(20, 21, 25, .14);
  --display: "Sora", "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --body: "Manrope", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --r: 14px; --wrap: 1120px; color-scheme: light;
  --serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --gold-grad: linear-gradient(100deg, var(--accent-2) 0%, var(--accent) 45%, #F1D27A 60%, var(--accent) 80%);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  /* PALETTE:DARK */ --bg: #0A1326; --surface: #111C33; --ink: #EFF0F4; --muted: #9AA3B6; --line: #22304C; --accent: #D9AC45; --accent-2: #E7C06A; --accent-text: #E7C06A; --accent-soft: #3A2E12; --on-accent: #1A1203; --dark: #13203A; --dark-2: #1A2A48; --dark-line: #2A3C5E; /* /PALETTE */
  --shadow: 0 20px 50px rgba(0, 0, 0, .5); color-scheme: dark; } }
:root[data-theme="dark"] {
  /* PALETTE:DARK */ --bg: #0A1326; --surface: #111C33; --ink: #EFF0F4; --muted: #9AA3B6; --line: #22304C; --accent: #D9AC45; --accent-2: #E7C06A; --accent-text: #E7C06A; --accent-soft: #3A2E12; --on-accent: #1A1203; --dark: #13203A; --dark-2: #1A2A48; --dark-line: #2A3C5E; /* /PALETTE */
  --shadow: 0 20px 50px rgba(0, 0, 0, .5); color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.4rem); font-weight: 700; margin-bottom: clamp(24px, 3vw, 40px); }
h3 { font-size: 1.05rem; font-weight: 700; }
p, ul, ol { margin: 0; } ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
.ic { width: 1.1em; height: 1.1em; flex: none; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.tiny { font-size: .82rem; color: var(--muted); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
[id] { scroll-margin-top: 80px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1; border: 1.5px solid transparent; cursor: pointer; font-family: var(--body); transition: transform .15s, background .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-2); }
.btn-plain { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-plain:hover { border-color: var(--ink); }
.btn-wa { background: #1FAF5A; color: #fff; }
.btn-sm { padding: 10px 16px; font-size: .92rem; white-space: nowrap; }

/* header */
.hdr { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.hdr-row { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; }
.logo-mark { width: 30px; height: 30px; display: inline-flex; } .logo-mark svg { width: 100%; height: 100%; }
.logo em { font-style: normal; color: var(--accent); }
.nav { display: flex; gap: 26px; margin-left: auto; font-weight: 600; font-size: .95rem; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.nav .nav-lang { display: none; }
.hdr-actions { display: flex; align-items: center; gap: 14px; }
.lang { font-family: var(--mono); font-size: .85rem; font-weight: 600; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); }
.lang:hover { color: var(--ink); border-color: var(--ink); }
.burger { display: none; background: none; border: 0; color: var(--ink); padding: 6px; cursor: pointer; } .burger .ic { width: 26px; height: 26px; }
.burger .i-close, .burger[aria-expanded="true"] .i-open { display: none; } .burger[aria-expanded="true"] .i-close { display: block; }

/* hero */
.hero { background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 22px 22px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: clamp(56px, 8vw, 110px); }
.tag { font-family: var(--mono); font-size: .8rem; font-weight: 600; color: var(--accent-text); margin-bottom: 20px; letter-spacing: .02em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 46ch; margin-top: 20px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.bullets { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-weight: 600; font-size: .92rem; color: var(--muted); }
.bullets li { display: inline-flex; align-items: center; gap: 7px; } .bullets .ic { color: var(--accent-text); }

.console { background: var(--dark); color: var(--on-dark); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; min-width: 0; border: 1px solid var(--dark-line); }
.con-bar { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--dark-2); border-bottom: 1px solid var(--dark-line); font-size: .85rem; }
.con-dots { display: inline-flex; gap: 6px; } .con-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--dark-line); }
.con-title { font-family: var(--display); font-weight: 700; }
.con-status { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark-muted); font-family: var(--mono); font-size: .75rem; white-space: nowrap; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.5) } 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0) } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0) } }
.con-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.con-table th { text-align: left; font-family: var(--mono); font-weight: 400; font-size: .72rem; color: var(--on-dark-muted); padding: 12px 18px 8px; text-transform: uppercase; letter-spacing: .06em; }
.con-table td { padding: 13px 18px; border-top: 1px solid var(--dark-line); vertical-align: middle; }
.con-table tbody tr { animation: rise .5s both; animation-delay: calc(.2s + var(--i) * .18s); }
@keyframes rise { from { opacity: .25; transform: translateY(6px) } to { opacity: 1; transform: none } }
.con-table td:last-child { color: var(--on-dark-muted); font-size: .82rem; white-space: nowrap; }
.st { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: .72rem; padding: 4px 9px; border-radius: 6px; background: var(--dark-2); white-space: nowrap; }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.st-ok::before { background: var(--ok); } .st-run::before { background: var(--run); } .st-wait::before { background: var(--wait); }
.st-run { color: var(--accent); }
.con-kpi { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 18px; border-top: 1px solid var(--dark-line); background: var(--dark-2); font-size: .9rem; color: var(--on-dark-muted); }
.con-kpi strong { font-size: 2rem; color: var(--on-dark); font-weight: 600; }

/* sections */
.sec { padding-block: clamp(56px, 7vw, 96px); }
.sec-alt { background: var(--surface); border-block: 1px solid var(--line); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tiles li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); min-width: 0; transition: border-color .15s, transform .15s; }
.tiles li a { display: grid; gap: 10px; align-content: start; padding: 24px; height: 100%; }
.tiles .more { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--accent-text); margin-top: 4px; }
.sec-head { display: grid; gap: 10px; margin-bottom: clamp(24px, 3vw, 40px); } .sec-head h2 { margin-bottom: 0; } .sec-head .lead { margin-top: 0; }
.tiles li:hover { border-color: var(--accent); transform: translateY(-2px); }
.tile-ic { width: 42px; height: 42px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); display: inline-flex; align-items: center; justify-content: center; } .tile-ic .ic { width: 22px; height: 22px; }
.tiles p { color: var(--muted); font-size: .95rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; min-width: 0; }
.steps .n { font-family: var(--mono); font-weight: 600; color: var(--accent-text); font-size: 1.1rem; width: 40px; height: 40px; border: 1.5px solid var(--accent); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.steps p { color: var(--muted); font-size: .95rem; margin-top: 4px; }

.results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.results li { border-top: 3px solid var(--accent); padding-top: 16px; display: grid; gap: 6px; min-width: 0; }
.results strong { font-family: var(--display); font-size: clamp(1.5rem, 1rem + 1.6vw, 2.1rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.results h3 { font-size: 1rem; font-weight: 600; font-family: var(--body); }
.results p { font-family: var(--mono); font-size: .75rem; color: var(--muted); }

/* contact */
.sec-dark { background: var(--dark); color: var(--on-dark); }
.sec-dark .lead { color: var(--on-dark-muted); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-grid .btn-wa { margin-top: 26px; }
.mail { margin-top: 18px; color: var(--on-dark-muted); } .mail a { text-decoration: underline; }
.form { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: var(--r); padding: 24px; display: grid; gap: 14px; min-width: 0; }
.form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--on-dark-muted); min-width: 0; }
.form input, .form textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--on-dark); background: var(--dark); border: 1px solid var(--dark-line); border-radius: 10px; padding: 12px 14px; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.form .invalid { border-color: var(--accent); }
.form textarea { resize: vertical; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-error { color: var(--accent-2); font-size: .92rem; } .form-error a { text-decoration: underline; }
.sec-dark .tiny { color: var(--on-dark-muted); }

/* footer & mobile bar */
.ftr { padding-block: 36px; border-top: 1px solid var(--line); }
.ftr a:hover { color: var(--ink); }
.mbar { display: none; }

/* thanks */
.thanks-body { min-height: 100vh; display: flex; flex-direction: column; }
.thanks { flex: 1; display: grid; place-items: center; padding-block: 60px; }
.thanks-card { max-width: 560px; display: grid; gap: 16px; }
.tick { width: 56px; height: 56px; border-radius: 50%; background: var(--ok); color: #fff; display: inline-flex; align-items: center; justify-content: center; } .tick .ic { width: 28px; height: 28px; stroke-width: 3; }


/* hero: pestañas y vistas */
.visual { min-width: 0; display: grid; gap: 14px; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; justify-self: start; }
.tab { font: inherit; font-weight: 700; font-size: .88rem; padding: 8px 18px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); cursor: pointer; transition: background .15s, color .15s; }
.tab.on { background: var(--ink); color: var(--bg); }
.panes { display: grid; }
.pane { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .35s, transform .35s, visibility 0s .35s; min-width: 0; }
.pane.on { opacity: 1; visibility: visible; transform: none; transition: opacity .35s, transform .35s; }
.pane.on .con-table tbody tr, .pane.on .ph-list li, .pane.on .msg { animation-play-state: running; }

.phone-wrap { display: grid; gap: 16px; justify-items: center; }
.phone { width: 262px; max-width: 100%; aspect-ratio: 9 / 18.5; background: var(--dark); border-radius: 36px; padding: 10px; box-shadow: var(--shadow); border: 1px solid var(--dark-line); }
.screen { background: var(--surface); border-radius: 27px; height: 100%; display: grid; grid-template-rows: auto auto auto auto 1fr auto; overflow: hidden; font-size: .8rem; }
.ph-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 2px 10px 6px; }
.ph-stats div { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 7px 8px; display: grid; gap: 2px; min-width: 0; }
.ph-stats small { font-size: .58rem; color: var(--muted); } .ph-stats strong { font-family: var(--display); font-size: .72rem; white-space: nowrap; }
.ph-chart { display: flex; align-items: flex-end; gap: 5px; height: 44px; padding: 2px 12px 8px; }
.ph-chart i { flex: 1; height: var(--h); background: var(--accent-soft); border-radius: 3px 3px 0 0; animation: grow .6s both paused; animation-delay: calc(.1s + var(--i) * .07s); transform-origin: bottom; }
.ph-chart i:nth-child(6) { background: var(--accent); }
@keyframes grow { from { transform: scaleY(.1) } to { transform: none } }
.pane.on .ph-chart i { animation-play-state: running; }
.ph-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 18px 0; font-size: .7rem; }
.ph-sig { display: inline-flex; gap: 2px; align-items: flex-end; } .ph-sig i { width: 3px; background: var(--ink); border-radius: 1px; } .ph-sig i:nth-child(1) { height: 5px } .ph-sig i:nth-child(2) { height: 8px } .ph-sig i:nth-child(3) { height: 11px }
.ph-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px 8px; } .ph-head .logo-mark { width: 22px; height: 22px; } .ph-head strong { font-family: var(--display); font-size: .95rem; }
.ph-badge { margin-left: auto; background: var(--accent-soft); color: var(--accent-text); font-family: var(--mono); font-size: .62rem; padding: 3px 7px; border-radius: 999px; }
.ph-list { display: grid; gap: 6px; padding: 4px 10px; align-content: start; }
.ph-list li { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 10px; font-weight: 600; font-size: .74rem; animation: rise .5s both paused; animation-delay: calc(.2s + var(--i) * .18s); }
.ph-list .st { font-size: .6rem; padding: 3px 7px; background: var(--surface); border: 1px solid var(--line); }
.ph-nav { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); padding: 8px 4px 10px; }
.ph-nav span { display: grid; justify-items: center; gap: 2px; color: var(--muted); font-size: .58rem; } .ph-nav .ic { width: 18px; height: 18px; } .ph-nav .on { color: var(--accent-text); }
.stores { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.store { display: inline-flex; align-items: center; gap: 7px; background: var(--ink); color: var(--bg); font-weight: 700; font-size: .82rem; padding: 8px 14px; border-radius: 10px; } .store .ic { width: 16px; height: 16px; }

.chat { background: var(--dark); color: var(--on-dark); border-radius: var(--r); box-shadow: var(--shadow); border: 1px solid var(--dark-line); overflow: hidden; }
.msgs { display: grid; gap: 10px; padding: 18px; }
.msg { max-width: 88%; padding: 11px 14px; border-radius: 14px; font-size: .92rem; line-height: 1.45; animation: rise .5s both paused; animation-delay: calc(.2s + var(--i) * .35s); }
.msg.user { background: var(--accent); color: var(--on-accent); justify-self: end; border-bottom-right-radius: 4px; }
.msg.bot { background: var(--dark-2); border: 1px solid var(--dark-line); justify-self: start; border-bottom-left-radius: 4px; }
.con-table tbody tr { animation-play-state: paused; }

/* tecnología */
.stack { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); padding-block: 16px; }
.stack-row { display: flex; align-items: center; gap: 16px; overflow: hidden; }
.stack-row .tiny { white-space: nowrap; flex: none; }
.stack-row ul { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; min-width: 0; padding: 2px; } .stack-row ul::-webkit-scrollbar { display: none; }
.stack-row li { white-space: nowrap; font-family: var(--mono); font-size: .78rem; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; padding: 5px 10px; }

/* faq */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.faq details { border-top: 1px solid var(--line); } .faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 10px; font-size: 1.5rem; color: var(--accent-text); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding-bottom: 16px; color: var(--muted); max-width: 64ch; }

/* página de servicio */
.hero-svc .hero-grid { padding-block: clamp(40px, 6vw, 80px); }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 14px; } .crumbs a:hover { color: var(--ink); }
.includes { background: var(--dark); color: var(--on-dark); border-radius: var(--r); padding: 26px 28px; box-shadow: var(--shadow); border: 1px solid var(--dark-line); min-width: 0; }
.includes .con-title { display: block; margin-bottom: 14px; color: var(--on-dark-muted); font-family: var(--mono); font-weight: 400; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.includes ul { display: grid; gap: 12px; } .includes li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; } .includes .ic { color: var(--ok); margin-top: 3px; stroke-width: 2.5; }

/* formulario: select */
.form select { width: 100%; font: inherit; font-size: 1rem; color: var(--on-dark); background: var(--dark); border: 1px solid var(--dark-line); border-radius: 10px; padding: 12px 14px; }
.form select:focus { outline: 2px solid var(--accent); border-color: var(--accent); }

/* pie con columnas */
.ftr-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; color: var(--muted); font-size: .95rem; }
.ftr-brand { display: grid; gap: 12px; align-content: start; } .ftr-brand > p { max-width: 32ch; }
.ftr-title { font-family: var(--display); font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.ftr-grid ul { display: grid; gap: 8px; } .ftr-grid li a, .ftr-grid li span { display: inline-flex; align-items: center; gap: 8px; } .ftr-grid .ic { width: 16px; height: 16px; color: var(--accent-text); }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.ftr-bottom a[aria-current] { color: var(--accent-text); font-weight: 700; }

/* ===== detalles premium ===== */
.hl { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.01em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; width: 0; background: var(--gold-grad); transition: width .1s linear; }
.hdr { transition: box-shadow .25s, background .25s; }
.hdr.scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(15, 30, 61, .08); }
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 55% at 78% 40%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, var(--bg)); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 .w { display: inline-block; animation: word .7s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--w) * .07s); }
@keyframes word { from { opacity: 0; transform: translateY(18px) } to { opacity: 1; transform: none } }
.btn-accent { position: relative; overflow: hidden; box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 30%, transparent); }
.btn-accent::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); transition: left .6s; }
.btn-accent:hover::after { left: 120%; }
.btn .ic:last-child { transition: transform .2s; } .btn:hover .ic:last-child { transform: translateX(3px); }
.orn::before { content: ""; display: block; width: min(100%, var(--wrap)); margin: 0 auto; height: 1px; background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent) 70%, transparent); opacity: .5; position: relative; top: calc(-1 * clamp(56px, 7vw, 96px)); }
.orn { position: relative; } .orn::after { content: ""; position: absolute; top: -5px; left: 50%; width: 9px; height: 9px; background: var(--accent); transform: translateX(-50%) rotate(45deg); }
.tiles li { position: relative; overflow: hidden; }
.tiles li::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.tiles li:hover::before { opacity: 1; }
.tiles li:hover { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); box-shadow: 0 16px 40px rgba(15, 30, 61, .10); }
.tile-ic { transition: transform .25s; } .tiles li:hover .tile-ic { transform: translateY(-2px) rotate(-6deg); }
.marquee { overflow: hidden; min-width: 0; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee ul { display: flex; gap: 8px; width: max-content; animation: marquee 40s linear infinite; overflow: visible; }
.marquee:hover ul { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%) } }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.guarantees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(32px, 4vw, 56px); padding-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--line); }
.guarantees li { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.g-ic { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent-text); display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--accent-soft), transparent); }
.g-ic .ic { width: 20px; height: 20px; }
.guarantees h3 { font-size: 1rem; } .guarantees p { color: var(--muted); font-size: .92rem; margin-top: 3px; }
.phone { animation: float 6s ease-in-out infinite; position: relative; }
.phone::after { content: ""; position: absolute; inset: 0; border-radius: 36px; background: linear-gradient(115deg, rgba(255,255,255,.14), transparent 40%); pointer-events: none; }
@keyframes float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-8px) } }
.console, .chat, .includes { position: relative; }
.console::before, .chat::before, .includes::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 70%, transparent), transparent 40%, transparent 60%, color-mix(in srgb, var(--accent) 40%, transparent)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.steps .n { background: linear-gradient(135deg, var(--accent-soft), transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent); }
.results strong { background: linear-gradient(180deg, var(--ink), color-mix(in srgb, var(--ink) 70%, var(--accent))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.form input:focus, .form textarea:focus, .form select:focus { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.ftr { position: relative; overflow: hidden; }
.watermark { position: absolute; right: -2%; bottom: -14%; font-family: var(--display); font-weight: 800; font-size: clamp(6rem, 22vw, 20rem); letter-spacing: -.05em; color: var(--ink); opacity: .03; pointer-events: none; user-select: none; line-height: 1; }
.watermark em { font-style: normal; }
.totop { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(84px + env(safe-area-inset-bottom, 0px)); width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--bg); display: inline-flex; align-items: center; justify-content: center; z-index: 45; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s, visibility 0s .25s; box-shadow: var(--shadow); }
.totop.show { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s; }
.totop .ic { width: 20px; height: 20px; }
@media (min-width: 901px) { .totop { bottom: 24px; } }
@media (max-width: 900px) { .guarantees { grid-template-columns: 1fr; gap: 18px; } .orn::before { top: calc(-1 * clamp(56px, 7vw, 96px)); } }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .hero h1 .w { animation: none; } .marquee ul { animation: none; } }

@media (max-width: 900px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); flex-direction: column; gap: 0; padding: 8px 16px 12px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; } .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1.05rem; }
  .nav .nav-lang { display: block; } .hdr-actions .lang, .hdr-actions .btn { display: none; }
  .burger { display: inline-flex; margin-left: auto; }
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); } .steps { grid-template-columns: 1fr; } .results { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; } .ftr-grid { grid-template-columns: 1fr 1fr; }
  .visual { justify-items: center; } .tabs { justify-self: center; } .panes { width: 100%; }
  .mbar { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--surface); border-top: 1px solid var(--line); padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
  main { padding-bottom: 72px; } .ftr { padding-bottom: 90px; }
}
@media (max-width: 540px) {
  body { font-size: 16px; }
  .tiles, .f2, .ftr-grid { grid-template-columns: 1fr; }
  .results { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
  .cta-row .btn { width: 100%; }
  .con-table th:nth-child(3), .con-table td:nth-child(3) { display: none; }
  .con-status { display: none; }
  .form { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
