/* Omni Call — estilos del sitio. Bento + vidrio / Liquid Glass. Paleta: crema, tinta, coral y azul. */

/* ---------- paleta ---------- */
:root {
  --bg-1: #f7f2e8; --bg-2: #f3eee4; --bg-3: #ebe4d6;
  --text: #0e0e10; --strong: #0e0e10;
  --accent: #ff6f4e; --accent-hi: #ff8e72; --accent-lo: #f45a38; --on-accent: #0e0e10;
  --accent-2: #4c84f5;
  --solid: #0e0e10; --on-solid: #f3eee4;
  --ok: #d4ff4f;
  --luz-1: rgba(255,111,78,.42); --luz-2: rgba(76,132,245,.36); --luz-3: rgba(212,255,79,.34);
  --err: #b3261e;
}
:root {
  --vidrio: rgba(255, 255, 255, 0.55);
  --neutral: color-mix(in srgb, var(--text) 14%, transparent);
  --neutral-2: color-mix(in srgb, var(--text) 26%, transparent);
  --f: "Sora", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gap: 16px; --max: 1280px; --gutter: clamp(16px, 3vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; }
body {
  margin: 0; min-height: 100vh; color: var(--text); font: 400 17px/1.6 var(--f);
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.28) 0 1px, color-mix(in srgb, var(--text) 2%, transparent) 1px 3px),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 40%, var(--bg-3) 100%);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--on-accent); }
.wrap { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }

.luz { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.luz i { position: absolute; border-radius: 50%; filter: blur(90px); transition: background .6s; }
.luz i:nth-child(1) { width: 46vw; aspect-ratio: 1; right: -8vw; top: -6vw; background: var(--luz-1); }
.luz i:nth-child(2) { width: 40vw; aspect-ratio: 1; left: -10vw; top: 38vh; background: var(--luz-2); }
.luz i:nth-child(3) { width: 30vw; aspect-ratio: 1; right: 10vw; bottom: -10vw; background: var(--luz-3); }

h1, h2, h3 { margin: 0; text-wrap: balance; color: var(--text); }
h1 { font-weight: 300; font-size: clamp(2.6rem, 5.4vw, 5rem); line-height: 1.02; letter-spacing: -.035em; }
h2 { font-weight: 300; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.06; letter-spacing: -.03em; }
h3 { font-weight: 600; font-size: 1.12rem; line-height: 1.25; letter-spacing: -.01em; }
b { font-weight: 600; }

/* ---------- vidrio (placas) ---------- */
.tile {
  --r: 28px; position: relative; border-radius: var(--r); padding: clamp(20px, 2.4vw, 32px);
  background: var(--vidrio);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(255,255,255,.35),
    0 1px 2px color-mix(in srgb, var(--text) 8%, transparent), 0 24px 48px -28px color-mix(in srgb, var(--text) 35%, transparent);
  min-width: 0; overflow: hidden;
}
.tile::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.2px; pointer-events: none;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,.25) 35%, rgba(255,255,255,.1) 65%, #fff 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.tile.xl { --r: 44px; }
.tile.sm { --r: 22px; padding: 20px; }
.tile.solid { background: var(--solid); color: var(--on-solid); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 30px 50px -28px color-mix(in srgb, var(--solid) 70%, transparent); }
.tile.solid::before { background: linear-gradient(135deg, rgba(255,255,255,.5), rgba(255,255,255,.04) 40%, rgba(255,255,255,.18)); }
.tile.solid h2, .tile.solid h3 { color: #fff; }
.tile.accent { background: linear-gradient(160deg, var(--accent-hi), var(--accent) 60%); color: var(--on-accent); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 30px 50px -26px color-mix(in srgb, var(--accent) 80%, transparent); }
.tile.accent h2, .tile.accent h3 { color: var(--on-accent); }

/* ---------- Liquid Glass (lo que se toca) ---------- */
.liquid {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,.34));
  -webkit-backdrop-filter: blur(10px) saturate(1.8) brightness(1.05); backdrop-filter: blur(10px) saturate(1.8) brightness(1.05);
  box-shadow: inset 0 1.5px 0 #fff, inset 0 -2px 4px rgba(255,255,255,.5), inset 2px 0 3px rgba(255,255,255,.4), inset -2px 0 3px rgba(255,255,255,.4),
    0 6px 16px -6px color-mix(in srgb, var(--text) 38%, transparent), 0 0 0 1px rgba(255,255,255,.55);
  transition: transform .35s cubic-bezier(.3,1.5,.5,1), box-shadow .25s;
}
.lg-svg .nav, .lg-svg .seg { -webkit-backdrop-filter: url(#liquid) blur(6px) saturate(1.7); backdrop-filter: url(#liquid) blur(6px) saturate(1.7); }
.liquid::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  background: radial-gradient(120px circle at var(--mx, 30%) var(--my, 0%), rgba(255,255,255,.95), rgba(255,255,255,0) 70%); opacity: .55; transition: opacity .25s; }
.liquid:hover::after { opacity: 1; }
.liquid:active { transform: scale(.96); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 26px; border: 0; border-radius: 999px; font: 600 16px/1 var(--f); color: var(--text); text-decoration: none; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn.fill { background: linear-gradient(180deg, var(--accent-hi) 0%, var(--accent) 55%, var(--accent-lo) 100%); color: var(--on-accent);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,.75), inset 0 -3px 6px rgba(120,30,10,.22), 0 10px 22px -8px color-mix(in srgb, var(--accent) 85%, transparent); }
.btn.fill::after { background: radial-gradient(110px circle at var(--mx, 30%) var(--my, 0%), rgba(255,255,255,.75), rgba(255,255,255,0) 70%); }
.btn.sm { padding: 11px 18px; font-size: 14.5px; }

/* ---------- nav ---------- */
.nav { position: fixed; z-index: 50; top: 14px; left: 50%; translate: -50% 0; width: min(100% - 24px, 1120px); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 20px; border-radius: 999px; }
.nav:hover { transform: none; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 1.05rem; text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.logo svg { width: 34px; height: 20px; } .logo circle:first-child { fill: var(--accent-2); } .logo circle:last-child { fill: var(--accent); mix-blend-mode: multiply; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav ul a { display: block; padding: 9px 13px; border-radius: 999px; font-size: 14.5px; font-weight: 500; text-decoration: none; transition: background .2s; }
.nav ul a:hover { background: rgba(255,255,255,.7); }
.nav .right { display: flex; align-items: center; gap: 8px; }


/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.s4 { grid-column: span 4; } .s5 { grid-column: span 5; } .s6 { grid-column: span 6; }
.s7 { grid-column: span 7; } .s12 { grid-column: span 12; }
.r2 { grid-row: span 2; }
main > section { padding-top: clamp(72px, 9vw, 120px); }
.head { margin-bottom: 32px; max-width: 800px; }
.head p { margin-top: 16px; font-size: 1.1rem; }

.hero .tile { animation: ensambla .8s cubic-bezier(.2,.9,.3,1) both; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes ensambla { from { opacity: 0; transform: translateY(26px) scale(.96); } }

/* ---------- hero ---------- */
.hero { padding-top: 110px !important; }
.titular { display: flex; flex-direction: column; justify-content: space-between; gap: 34px; padding: clamp(28px, 4vw, 52px); }
.titular .lead { font-size: 1.15rem; max-width: 38ch; }
.titular .lead b { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--accent) 45%, transparent) 62%); }
.acciones { display: flex; flex-wrap: wrap; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; font-size: 13.5px; font-weight: 500; }
.chips span { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.65); box-shadow: inset 0 1px 0 #fff; }

/* factura animada */
.dte { display: flex; flex-direction: column; padding: clamp(20px, 2.4vw, 30px); }
.dte-wrap { animation: flota 6s ease-in-out infinite; }
@keyframes flota { 50% { transform: translateY(-6px) rotate(-.4deg); } }
.dte-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding-bottom: 14px; border-bottom: 1.5px dashed var(--neutral-2); }
.dte-head .t { font-weight: 600; font-size: 1.1rem; line-height: 1.2; }
.dte-head .n { font: 10.5px/1.4 var(--mono); opacity: .75; margin-top: 5px; word-break: break-all; }
.tag { font: 500 11px/1 var(--mono); background: var(--solid); color: var(--on-solid); border-radius: 8px; padding: 6px 9px; white-space: nowrap; }
.dte-rows { padding: 14px 0; display: grid; gap: 9px; font-size: 14.5px; }
.dte-rows div { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.dte-rows span:last-child { font-weight: 500; }
.dte-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 1.5px solid var(--neutral-2); font-weight: 600; font-size: 1.5rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.dte-note { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--neutral-2); font-size: 13.5px; font-weight: 500; }
.dte-iva { font-size: 13px; text-align: right; margin-top: 2px; opacity: .8; }
.pipeline { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; font-size: 14px; }
.pipeline li { display: flex; align-items: center; gap: 10px; opacity: .4; transition: opacity .4s; }
.pipeline i { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--text); display: grid; place-items: center; font-style: normal; font-size: 10px; transition: background .3s; }
.pipeline li.on { opacity: 1; } .pipeline li.on i { background: var(--ok); } .pipeline li.on i::after { content: "✓"; color: var(--strong); }
.sello { position: absolute; right: 18px; bottom: 74px; rotate: -12deg; scale: 1.6; opacity: 0; border: 3px solid var(--accent); color: var(--accent-lo); font-weight: 700; font-size: 14px; letter-spacing: .08em; padding: 6px 12px; border-radius: 10px; background: rgba(255,255,255,.85); transition: opacity .35s, scale .35s cubic-bezier(.3,1.6,.5,1); }
.sello.on { opacity: 1; scale: 1; }

/* cinta */
.cinta { padding: 0; display: flex; align-items: center; }
.cinta-track { display: flex; width: max-content; animation: tick 40s linear infinite; padding: 16px 0; }
.cinta span { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 500; padding-right: 36px; white-space: nowrap; display: inline-flex; align-items: center; gap: 36px; }
.cinta span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--on-accent); opacity: .7; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Merka: simulador ---------- */
.sim-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.seg { display: inline-flex; padding: 5px; border-radius: 999px; gap: 4px; }
.seg button { border: 0; background: transparent; font: 600 14.5px/1 var(--f); color: var(--text); padding: 11px 18px; border-radius: 999px; cursor: pointer; transition: background .25s, color .25s; position: relative; z-index: 1; }
.seg button[aria-pressed="true"] { background: var(--solid); color: var(--on-solid); }
.seg::after { display: none; }
.nota-sim { font-size: 13px; opacity: .8; }
.negocio { padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.6); font-size: 14px; display: grid; gap: 2px; margin-bottom: 14px; }
.negocio b { font-size: 15px; }
.lines { display: grid; gap: 10px; }
.line { display: grid; grid-template-columns: 1fr 64px 84px; gap: 10px; align-items: center; font-size: 14.5px; }
.line label { line-height: 1.3; } .line label small { display: block; opacity: .75; font-size: 12.5px; }
.line input { width: 100%; font: 500 15px var(--mono); padding: 10px; border: 0; border-radius: 12px; background: rgba(255,255,255,.75); color: var(--text); text-align: right; box-shadow: inset 0 1.5px 3px color-mix(in srgb, var(--text) 18%, transparent); }
.line input:focus-visible { outline: 3px solid var(--accent); outline-offset: 0; background: #fff; }
.line .price { font: 500 14.5px var(--mono); text-align: right; }
.sum { margin-top: 18px; padding-top: 14px; border-top: 1.5px dashed var(--neutral-2); display: grid; gap: 6px; font: 14px var(--mono); }
.sum div { display: flex; justify-content: space-between; }
.sum .grand { font: 600 1.8rem var(--f); letter-spacing: -.03em; margin-top: 6px; }
.sum .grand span:last-child { font-family: var(--f); }
.json { margin: 18px 0 0; background: var(--solid); color: var(--on-solid); border-radius: 16px; padding: 16px; font: 12px/1.65 var(--mono); overflow: auto; max-height: 260px; white-space: pre; max-width: 100%; }
.json .k { opacity: .75; } .json .s { color: var(--accent-hi); } .json .n { color: var(--ok); }

.feat-list { display: grid; gap: 4px; margin-top: 4px; }
.feat { display: grid; grid-template-columns: 14px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--neutral); }
.feat:first-child { border-top: 0; }
.feat::before { content: ""; width: 12px; height: 12px; margin-top: 5px; border-radius: 50%; background: var(--accent); box-shadow: inset 0 1px 0 rgba(255,255,255,.6); }
.feat:nth-child(even)::before { background: var(--accent-2); }
.feat p { font-size: 15px; margin-top: 4px; }

.nota { font-size: 14px; margin-top: 14px; }
.accent-cta { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.accent-cta h3 { font-weight: 400; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.15; }
.accent-cta .acciones .btn { background: var(--solid); color: var(--on-solid); }
.accent-cta .acciones .btn.l { background: linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,.4)); color: var(--on-accent); }

/* ---------- a la medida ---------- */
.cap { display: flex; flex-direction: column; gap: 10px; }
.cap p { font-size: 15px; }
.dib { height: 110px; margin-bottom: 6px; display: flex; align-items: flex-end; gap: 7px; }
.mod { flex: 1; border-radius: 12px; background: var(--neutral); }
.mod.a { background: var(--accent); }
.mod:nth-child(1) { height: 48%; } .mod:nth-child(2) { height: 78%; } .mod:nth-child(3) { height: 62%; } .mod:nth-child(4) { height: 100%; } .mod:nth-child(5) { height: 54%; }
.nodos { position: relative; width: 100%; height: 100%; }
.nodos i { position: absolute; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.85); box-shadow: inset 0 1px 0 #fff, 0 6px 14px -6px color-mix(in srgb, var(--text) 40%, transparent); }
.nodos i:nth-child(1) { left: 6%; top: 8%; } .nodos i:nth-child(2) { left: 42%; top: 44%; background: var(--accent); } .nodos i:nth-child(3) { right: 6%; top: 6%; background: var(--accent-2); } .nodos i:nth-child(4) { left: 20%; bottom: 0; } .nodos i:nth-child(5) { right: 14%; bottom: 4%; }
.nodos svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.web { width: 100%; align-self: end; }
.web .barra { height: 20px; border-radius: 8px 8px 0 0; background: var(--neutral); display: flex; align-items: center; gap: 5px; padding-left: 10px; }
.web .barra i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); } .web .barra i + i { background: var(--neutral-2); }
.web .pg { background: rgba(255,255,255,.75); border-radius: 0 0 12px 12px; padding: 12px; display: grid; gap: 7px; }
.web .pg b { height: 11px; width: 62%; background: var(--text); border-radius: 4px; opacity: .85; }
.web .pg u { height: 7px; background: var(--neutral-2); border-radius: 4px; width: 88%; }
.web .pg s { height: 24px; width: 36%; background: var(--accent); border-radius: 999px; }
.shop { width: 100%; align-self: end; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.shop i { height: 44px; border-radius: 12px; background: var(--neutral); } .shop i:nth-child(2) { background: var(--accent); } .shop i:nth-child(5) { background: var(--accent-2); opacity: .8; }
.bubbles { display: grid; gap: 7px; width: 100%; align-self: end; }
.bubbles i { display: block; height: 26px; border-radius: 14px 14px 14px 4px; background: var(--neutral); width: 66%; }
.bubbles i:nth-child(2) { margin-left: auto; width: 54%; background: var(--accent); border-radius: 14px 14px 4px 14px; } .bubbles i:nth-child(3) { width: 78%; }
.status { display: grid; gap: 8px; width: 100%; align-self: end; }
.status div { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.75); font-size: 13px; font-weight: 500; }
.status i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }
.status div:nth-child(2) i { background: var(--accent-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-2) 25%, transparent); }

.term pre { margin: 14px 0 0; font: 13.5px/1.8 var(--mono); color: color-mix(in srgb, var(--on-solid) 90%, transparent); min-height: 17em; white-space: pre-wrap; }
.term .p { color: var(--accent-hi); } .term .ok { color: var(--ok); } .term .dim { opacity: .55; }
.caret { display: inline-block; width: 7px; height: 1.05em; background: var(--accent); vertical-align: -3px; animation: bl 1s steps(1) infinite; }
@keyframes bl { 50% { opacity: 0; } }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 4px; }
.step { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--neutral); }
.step:first-child { border-top: 0; }
.step::before { content: counter(s); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; background: var(--accent); color: var(--on-accent); box-shadow: inset 0 1px 0 rgba(255,255,255,.7); }
.step p { font-size: 15px; margin-top: 4px; }

/* ---------- servicios ---------- */
.serv { display: flex; flex-direction: column; justify-content: space-between; gap: 26px; min-height: 180px; text-decoration: none; transition: transform .35s cubic-bezier(.3,1.5,.5,1); }
.serv:hover { transform: translateY(-4px); }
.serv p { font-size: 14.5px; margin-top: 8px; }
.serv span { font-weight: 600; font-size: 14.5px; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 4px; }

/* ---------- preguntas ---------- */
details.tile { padding: 0; }
details summary { cursor: pointer; list-style: none; padding: 20px 24px; font-weight: 600; font-size: 1rem; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-weight: 300; font-size: 1.6rem; line-height: 1; transition: transform .3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 24px 22px; font-size: 15px; }
.col { display: grid; gap: var(--gap); align-content: start; }

/* ---------- contacto ---------- */
form { display: grid; gap: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form label { display: grid; gap: 7px; font-size: 14px; font-weight: 600; }
.campo { width: 100%; font: 400 16px/1.3 var(--f); color: var(--text); padding: 14px 16px; border: 0; border-radius: 16px; background: rgba(255,255,255,.7); box-shadow: inset 0 1.5px 3px color-mix(in srgb, var(--text) 18%, transparent), 0 0 0 1px rgba(255,255,255,.8); }
.campo:focus-visible { outline: 3px solid var(--accent); outline-offset: 0; background: #fff; }
textarea.campo { min-height: 96px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.msg { min-height: 1.4em; font-size: 14.5px; font-weight: 600; } .msg.err { color: var(--err); }
.datos { display: grid; gap: 20px; align-content: space-between; }
.datos dl { margin: 0; display: grid; gap: 14px; } .datos dt { font-weight: 600; font-size: 14px; opacity: .85; } .datos dd { margin: 2px 0 0; font-size: 1.1rem; }
.datos a { text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }

footer { padding: 70px 0 100px; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; }
.wa svg { width: 26px; height: 26px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .s4 { grid-column: span 6; } .s5, .s7 { grid-column: span 12; }
  .r2 { grid-row: auto; }
  .nav ul { display: none; }
  .dte-wrap { animation: none; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .s4, .s5, .s6, .s7 { grid-column: span 12; }
  .row2 { grid-template-columns: 1fr; }
  .nav { padding-left: 14px; } .nav .btn { display: none; }
  .hero { padding-top: 90px !important; }
  .line { grid-template-columns: 1fr 56px 78px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero .tile, .dte-wrap, .cinta-track, .caret { animation: none; }
  .liquid, .serv { transition: none; }
}

/* planes */
.planes-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.planes { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.plan { display: flex; flex-direction: column; gap: 12px; padding: 24px; }
.plan.rec { box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 0 0 2px var(--accent), 0 28px 50px -26px color-mix(in srgb, var(--accent) 70%, transparent); }
.rec-tag { align-self: flex-start; font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--accent); color: var(--on-accent); }
.precio { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.precio b { font-size: 2.3rem; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.precio span { font-size: 13.5px; }
.ahorro { align-self: flex-start; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--ok) 70%, transparent); color: var(--strong); }
.plan > p { font-size: 14px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; flex: 1; align-content: start; }
.plan li { font-size: 14px; padding-left: 18px; position: relative; line-height: 1.4; }
.plan li::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.plan .btn { margin-top: 8px; font-size: 14.5px; padding: 13px 16px; text-align: center; }
@media (max-width: 1000px) { .planes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .planes { grid-template-columns: 1fr; } }

/* ---------- páginas interiores: blog, legales, 404 ---------- */
.doc { padding-top: 112px; }
.migas ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 22px; padding: 0; font-size: 14px; }
.migas li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.migas a { text-decoration-color: var(--accent); text-underline-offset: 3px; }
.doc-head { margin-bottom: 28px; max-width: 720px; }
.doc-head h1, .prose h1, .err h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.doc-head p { margin-top: 14px; font-size: 1.1rem; }
.doc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--gap); align-items: start; }
.side { display: grid; gap: var(--gap); position: sticky; top: 92px; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; margin-bottom: 14px; }
.chip-tag { padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.7); font-weight: 600; font-size: 13px; box-shadow: inset 0 1px 0 #fff; }
.prose { padding: clamp(24px, 4vw, 48px); }
.prose > * { max-width: 68ch; }
.prose h1 { margin-bottom: 22px; }
.prose h2 { font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; margin: 34px 0 10px; line-height: 1.2; }
.prose h3 { font-size: 1.2rem; margin: 28px 0 8px; }
.prose p, .prose li { font-size: 1.05rem; line-height: 1.7; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 16px; }
.prose li { margin-bottom: 8px; }
.prose a { text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose figure { margin: 22px 0; max-width: none; }
.prose img { width: 100%; height: auto; border-radius: 18px; }
.prose .cover { margin: 0 0 26px; max-width: none; }
.otros { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.otros a { font-size: 15px; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.aside-cta { display: grid; gap: 12px; }
.aside-cta p { font-size: 15px; }
.aside-cta .btn { justify-content: center; text-align: center; }
.post { padding: 0; }
.post a { display: block; text-decoration: none; height: 100%; }
.post img { width: 100%; height: 190px; object-fit: cover; display: block; }
.post-in { padding: 22px; display: grid; gap: 10px; }
.post h2 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.post p:not(.meta) { font-size: 15px; }
.post:hover h2 { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.legal h2:first-of-type { margin-top: 26px; }
.err { max-width: 720px; display: grid; gap: 16px; }

.pie { padding: 50px 0 100px; font-size: 14px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 18px 40px; }
.foot p { margin-top: 4px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a, .foot nav button { color: inherit; font: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }

/* aviso de cookies */
.cookies { position: fixed; z-index: 60; left: 16px; bottom: 16px; width: min(440px, calc(100% - 32px)); display: grid; gap: 14px; padding: 20px; }
.cookies p { font-size: 14.5px; line-height: 1.5; }
.cookies a { text-decoration-color: var(--accent); text-underline-offset: 3px; }
.cookies-acc { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 1000px) {
  .doc-grid { grid-template-columns: 1fr; }
  .side { position: static; }
}
@media (max-width: 640px) {
  .doc { padding-top: 96px; }
  .cookies { left: 12px; right: 12px; bottom: 82px; width: auto; }
}

/* menú móvil */
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.7); cursor: pointer; position: relative; box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(255,255,255,.6); }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .3s, top .3s; }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.nav.open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.nav.open .burger span:last-child { top: 21px; transform: rotate(-45deg); }
.m-only { display: none; }
@media (max-width: 1000px) {
  .burger { display: inline-block; }
  .nav ul { display: none; }
  .nav.open ul { display: grid; gap: 2px; position: absolute; top: calc(100% + 10px); left: 0; right: 0; padding: 10px; border-radius: 26px; background: rgba(250,247,240,.97); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: inset 0 1px 0 #fff, 0 24px 48px -24px color-mix(in srgb, var(--text) 40%, transparent); }
  .nav.open ul a { padding: 14px 16px; font-size: 16px; border-radius: 16px; }
  .nav.open .m-only { display: block; }
  .nav.open .m-only a { background: var(--accent); color: var(--on-accent); font-weight: 600; text-align: center; }
}

.nav.liquid { overflow: visible; }
