/* =========================================================
   SBN DevLabs — estilos
   Colores inspirados en el tejido típico: rojo, maíz, jade e índigo.
   ========================================================= */
:root {
  --bg: #F7F3EA;
  --surface: #FFFDF8;
  --tint: #EFE8DA;
  --ink: #1B1E33;
  --muted: #5B5E72;
  --line: #E2D9C6;
  --indigo: #2E3A8C;
  --rojo: #C23A4B;
  --maiz: #E9A23B;
  --maiz-ink: #7A4A00;
  --jade: #177A66;
  --wa: #1A9A4E;
  --on-wa: #FFFFFF;
  --deep: #1B1E33;
  --on-deep: #F7F3EA;
  --deep-muted: #B9B8C6;
  --deep-card: #252945;
  --deep-line: #343858;
  --shadow: 0 24px 50px -28px rgba(27, 30, 51, .45);
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r: 18px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12131F; --surface: #1B1D2E; --tint: #171928; --ink: #F2EEE4; --muted: #A9A7B5; --line: #2E3046;
    --indigo: #9AA6FF; --rojo: #F0788A; --maiz: #F2B95A; --maiz-ink: #F2B95A; --jade: #4CC6A8;
    --wa: #2BC266; --on-wa: #06210F;
    --deep: #0B0C16; --on-deep: #F2EEE4; --deep-card: #191B2D; --deep-line: #2A2D47;
    --shadow: 0 24px 50px -28px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
html.lang-es .en, html.lang-en .es { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-stretch: 112%; line-height: 1.05; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--maiz); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 20px; }
section { padding-block: clamp(64px, 9vw, 104px); }
.tinted { background: var(--tint); }
.sec-head { display: grid; gap: 14px; margin-bottom: 44px; max-width: 760px; }
.sec-head.split { max-width: none; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; }
@media (max-width: 860px) { .sec-head.split { grid-template-columns: 1fr; gap: 14px; } }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 60ch; }

/* Etiqueta de sección con un cuadrito tejido */
.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .85rem; letter-spacing: .04em; color: var(--rojo); text-transform: uppercase; }
.kicker::before { content: ""; width: 18px; height: 10px; border-radius: 2px; background: linear-gradient(90deg, var(--rojo) 0 33%, var(--maiz) 33% 66%, var(--jade) 66%); }

/* Banda tejida — la firma visual de la marca */
.band { height: 8px; background:
  repeating-linear-gradient(90deg, var(--rojo) 0 16px, var(--maiz) 16px 24px, var(--indigo) 24px 40px, var(--jade) 40px 46px, var(--maiz) 46px 54px);
  -webkit-mask: repeating-linear-gradient(45deg, #000 0 4px, rgba(0,0,0,.6) 4px 8px);
          mask: repeating-linear-gradient(45deg, #000 0 4px, rgba(0,0,0,.6) 4px 8px); }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 12px; font: 700 1rem/1.2 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-wa { background: var(--wa); color: var(--on-wa); box-shadow: 0 10px 22px -12px rgba(26, 154, 78, .8); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-sm { padding: 9px 14px; font-size: .9rem; border-radius: 10px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; position: relative; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: grid; line-height: 1.1; }
.brand-name { font-family: var(--display); font-stretch: 118%; font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em; }
.brand-sub { font-size: .76rem; color: var(--muted); font-weight: 500; }
.nav-links { display: flex; gap: 26px; font-weight: 600; font-size: .95rem; }
.nav-links a { text-decoration: none; color: var(--muted); padding-block: 6px; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); border-bottom-color: var(--maiz); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 10px; padding: 3px; background: var(--surface); }
.lang button { border: 0; background: transparent; color: var(--muted); font: 700 .78rem var(--body); padding: 6px 10px; border-radius: 7px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; place-items: center; }
.menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 1100px) {
  .menu-btn { display: grid; }
  .nav-links { display: none; position: absolute; top: 100%; left: 12px; right: 12px; flex-direction: column; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; border: 0; border-radius: 8px; }
  .nav-links a:hover { background: var(--tint); }
}
@media (max-width: 560px) { .hide-sm { display: none; } .brand-sub { font-size: .66rem; } .brand-name { font-size: 1rem; } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 56px; align-items: center; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; } }
@media (max-width: 560px) { .hero h1 { font-size: clamp(1.8rem, 8.6vw, 2.6rem); font-stretch: 104%; } }
.hero-copy { display: grid; gap: 24px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 600; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; width: fit-content; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px color-mix(in srgb, var(--wa) 22%, transparent); }
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.1rem); font-weight: 850; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 70%, color-mix(in srgb, var(--maiz) 60%, transparent) 70% 92%, transparent 92%); }
.hero h1 em + em, .hero h1 .es em:last-child, .hero h1 .en em:last-child { background: linear-gradient(transparent 70%, color-mix(in srgb, var(--jade) 40%, transparent) 70% 92%, transparent 92%); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); padding-top: 18px; }
.hero-proof li { display: grid; padding-right: 22px; margin-right: 22px; border-right: 1px solid var(--line); font-size: .9rem; color: var(--muted); line-height: 1.35; }
.hero-proof li:last-child { border: 0; margin: 0; padding: 0; }
.hero-proof b { color: var(--ink); font-size: 1rem; }
@media (max-width: 480px) { .hero-proof li { padding-right: 14px; margin-right: 14px; font-size: .82rem; } }

/* Teléfono de demostración */
.demo { display: grid; gap: 16px; justify-items: center; }
.demo-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.demo-tabs button { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); border-radius: 10px; padding: 7px 13px; font: 600 .85rem var(--body); cursor: pointer; }
.demo-tabs button svg { width: 16px; height: 16px; }
.demo-tabs button[aria-selected="true"] { border-color: var(--ink); color: var(--bg); background: var(--ink); }
.demo-tabs .tab-auto[aria-selected="false"] { border-color: var(--jade); color: var(--jade); }
.phone { width: 300px; max-width: 100%; border-radius: 42px; padding: 11px; background: #14162A; box-shadow: var(--shadow), inset 0 0 0 2px #2D3155; position: relative; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 70px; height: 18px; transform: translateX(-50%); background: #14162A; border-radius: 0 0 12px 12px; z-index: 2; }
.screen { border-radius: 32px; overflow: hidden; background: #fff; color: #1b1f33; height: 540px; display: flex; flex-direction: column; }
.p-top { padding: 38px 18px 18px; color: #fff; display: grid; gap: 3px; transition: background .3s ease; }
.p-tag { font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.p-name { font-family: var(--display); font-stretch: 110%; font-weight: 800; font-size: 1.35rem; line-height: 1.1; }
.p-sub { font-size: .8rem; opacity: .9; }
.p-body { padding: 14px; display: grid; gap: 10px; flex: 1; align-content: start; overflow: hidden; }
.p-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #ebe7de; border-radius: 14px; font-size: .86rem; }
.p-item b { font-weight: 600; }
.p-item small { display: block; color: #6a6f8a; font-size: .72rem; }
.p-price { font-weight: 700; font-size: .82rem; color: #2E3A8C; white-space: nowrap; }
.p-info { display: flex; gap: 6px; font-size: .72rem; color: #555a74; flex-wrap: wrap; }
.p-info span { background: #f3efe6; border-radius: 999px; padding: 3px 9px; }
.p-cta { margin: 0 14px 16px; background: #1A9A4E; color: #fff; text-align: center; border-radius: 14px; padding: 12px; font-weight: 700; font-size: .88rem; }
.p-cta:empty { display: none; }
.demo-note { font-size: .84rem; color: var(--muted); text-align: center; max-width: 34ch; }
/* Chat del bot */
.screen.chat .p-body { background: #ECE5DD; gap: 8px; padding: 12px; }
.bubble { max-width: 82%; padding: 8px 11px; border-radius: 12px; font-size: .8rem; line-height: 1.4; box-shadow: 0 1px 0 rgba(0,0,0,.08); animation: pop .35s ease both; }
.bubble.in { background: #fff; justify-self: start; border-top-left-radius: 3px; }
.bubble.out { background: #D9FDD3; justify-self: end; border-top-right-radius: 3px; }
.bubble.bot { background: #fff; justify-self: start; border-top-left-radius: 3px; border-left: 3px solid #1A9A4E; }
.bubble .who { display: block; font-size: .64rem; font-weight: 700; color: #1A9A4E; margin-bottom: 2px; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Promesas ---------- */
.promises { padding-block: 0; }
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.promise { padding: 26px 24px; display: grid; gap: 6px; border-right: 1px solid var(--line); }
.promise:last-child { border: 0; }
.p-big { font-family: var(--display); font-stretch: 115%; font-weight: 850; font-size: 2.2rem; line-height: 1; color: var(--indigo); letter-spacing: -.02em; }
.p-big small { font-size: 1rem; font-weight: 700; }
.promise p { color: var(--muted); font-size: .94rem; line-height: 1.4; }
@media (max-width: 860px) {
  .promise-grid { grid-template-columns: 1fr 1fr; }
  .promise:nth-child(2) { border-right: 0; }
  .promise:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 420px) { .promise { padding: 20px 16px; } .p-big { font-size: 1.8rem; } }

/* ---------- Problemas ---------- */
.prob-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .prob-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .prob-grid { grid-template-columns: 1fr; } }
.prob { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 10px; align-content: start; }
.prob-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--ink); }
.ico svg { width: 22px; height: 22px; }
.tag { font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.tag-web { background: color-mix(in srgb, var(--indigo) 12%, transparent); color: var(--indigo); }
.tag-auto { background: color-mix(in srgb, var(--jade) 14%, transparent); color: var(--jade); }
.prob .q { font-family: var(--display); font-stretch: 105%; font-weight: 700; font-size: 1.18rem; line-height: 1.25; }
.prob .a { color: var(--muted); font-size: .96rem; }

/* ---------- Servicios web ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 760px) { .svc-grid { grid-template-columns: 1fr; } }
.svc { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: grid; gap: 16px; grid-template-rows: auto 1fr auto; }
.svc.featured { border: 2px solid var(--ink); box-shadow: var(--shadow); grid-template-rows: auto auto 1fr auto; }
.badge { width: fit-content; font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--maiz); color: #2a1a00; border-radius: 8px; padding: 4px 10px; }
.svc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.price { font-family: var(--display); font-stretch: 110%; font-weight: 800; font-size: 1.5rem; line-height: 1; white-space: nowrap; color: var(--ink); }
.price small { font-family: var(--body); font-size: .78rem; font-weight: 600; color: var(--muted); }
.ticks { display: grid; gap: 8px; color: var(--muted); font-size: .96rem; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .42em; width: 14px; height: 8px; border-left: 2.5px solid var(--jade); border-bottom: 2.5px solid var(--jade); transform: rotate(-45deg); }
.for { font-size: .9rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 14px; }
.for b { color: var(--ink); }

/* ---------- Automatizaciones (sección oscura) ---------- */
.dark { background: var(--deep); color: var(--on-deep); position: relative; }
.dark .lead { color: var(--deep-muted); }
.dark .kicker { color: var(--maiz); }
.auto-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1000px) { .auto-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .auto-grid { grid-template-columns: 1fr; } }
.auto { background: var(--deep-card); border: 1px solid var(--deep-line); border-radius: var(--r); padding: 22px; display: grid; gap: 10px; align-content: start; transition: border-color .2s ease, transform .2s ease; }
.auto:hover { border-color: var(--maiz); transform: translateY(-3px); }
.auto .ico { background: color-mix(in srgb, var(--maiz) 18%, transparent); color: var(--maiz); }
.auto h3 { font-size: 1.08rem; }
.auto .before { font-size: .88rem; color: var(--deep-muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--rojo) 70%, transparent); text-decoration-thickness: 1.5px; }
.auto .after { font-size: .92rem; color: var(--on-deep); padding-left: 12px; border-left: 3px solid var(--jade); }
.auto-custom { margin-top: 18px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; padding: 30px; border-radius: var(--r); background: linear-gradient(120deg, color-mix(in srgb, var(--jade) 30%, var(--deep-card)), var(--deep-card) 70%); border: 1px solid var(--deep-line); }
.auto-custom h3 { font-size: 1.5rem; margin-bottom: 8px; }
.auto-custom p { color: var(--deep-muted); max-width: 64ch; }
.auto-custom .tools { margin-top: 12px; font-size: .9rem; }
.auto-custom .tools b { color: var(--on-deep); font-weight: 600; }
@media (max-width: 760px) { .auto-custom { grid-template-columns: 1fr; padding: 24px; } }

/* Calculadora de tiempo */
.saver { margin-top: 18px; display: grid; grid-template-columns: 1.1fr .9fr; border-radius: var(--r); overflow: hidden; border: 1px solid var(--deep-line); }
@media (max-width: 760px) { .saver { grid-template-columns: 1fr; } }
.saver-in { padding: 30px; display: grid; gap: 12px; background: var(--deep-card); }
.saver-in h3 { font-size: 1.4rem; margin-bottom: 6px; }
.saver-in label { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; font-size: .95rem; color: var(--deep-muted); margin-top: 6px; }
.saver-in output { font-family: var(--display); font-weight: 800; color: var(--maiz); font-size: 1.1rem; white-space: nowrap; }
input[type=range] { width: 100%; accent-color: var(--maiz); height: 28px; cursor: pointer; }
.saver-out { padding: 30px; background: var(--maiz); color: #231600; display: grid; gap: 6px; align-content: center; }
.s-label { font-weight: 600; }
.s-big { font-family: var(--display); font-stretch: 112%; font-weight: 850; font-size: clamp(1.6rem, 3.4vw, 2.2rem); line-height: 1.05; }
.s-big span:first-child { font-size: 1.6em; display: inline-block; font-variant-numeric: tabular-nums; }
.s-money { font-size: 1.05rem; }
.s-note { font-size: .82rem; opacity: .8; margin-top: 8px; }

/* ---------- Cotizador ---------- */
.quote { display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .quote { grid-template-columns: 1fr; } }
.q-opts { display: grid; gap: 20px; }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
legend { font-family: var(--display); font-stretch: 110%; font-weight: 800; font-size: 1rem; margin-bottom: 8px; padding: 0; }
.opt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1.5px solid var(--line); cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.opt:hover { border-color: var(--muted); }
.opt:has(input:checked) { border-color: var(--ink); background: color-mix(in srgb, var(--maiz) 10%, var(--surface)); }
.opt input { width: 20px; height: 20px; accent-color: var(--ink); flex: none; margin: 0; }
.opt .l { flex: 1; font-weight: 600; display: grid; line-height: 1.3; }
.opt .l small { font-weight: 500; color: var(--muted); font-size: .84rem; }
.opt .p { font-weight: 700; font-size: .92rem; white-space: nowrap; }
.total { position: sticky; top: 96px; background: var(--deep); color: var(--on-deep); border-radius: 22px; padding: 28px; display: grid; gap: 10px; box-shadow: var(--shadow); }
.t-label { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--maiz); }
.t-amt { font-family: var(--display); font-stretch: 112%; font-weight: 850; font-size: clamp(2.4rem, 5vw, 3.2rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; display: grid; }
.t-amt small { font-family: var(--body); font-size: .9rem; font-weight: 600; color: var(--deep-muted); letter-spacing: 0; }
.t-line { color: var(--deep-muted); font-size: .95rem; }
.t-line:empty { display: none; }
.t-cuotas { color: var(--on-deep); }
.t-offer { font-size: .9rem; background: color-mix(in srgb, var(--maiz) 18%, transparent); color: var(--maiz); border-radius: 10px; padding: 8px 12px; font-weight: 600; }
.t-offer:empty { display: none; }
.total .btn { margin-top: 8px; }
.t-fine { font-size: .8rem; color: var(--deep-muted); }

/* ---------- Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 10px; align-content: start; position: relative; }
.steps .n { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: var(--bg); font-family: var(--display); font-weight: 800; font-size: 1.1rem; }
.steps li:nth-child(2) .n { background: var(--rojo); color: #fff; }
.steps li:nth-child(3) .n { background: var(--maiz); color: #2a1a00; }
.steps li:nth-child(4) .n { background: var(--jade); color: #fff; }
.steps p { color: var(--muted); font-size: .96rem; }

/* ---------- Oferta ---------- */
.offer-sec { padding-top: 0; background: var(--tint); }
.offer { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; background: var(--surface); border: 2px dashed var(--maiz); border-radius: 24px; padding: 30px 34px; }
.offer-num { font-family: var(--display); font-stretch: 115%; font-weight: 900; font-size: clamp(3rem, 7vw, 4.2rem); line-height: 1; color: var(--rojo); letter-spacing: -.03em; }
.offer-copy { display: grid; gap: 8px; }
.offer-copy p { color: var(--muted); }
.spots { display: flex; align-items: center; gap: 12px; font-size: .88rem; font-weight: 700; margin-top: 4px; }
.spots-bar { display: flex; gap: 4px; }
.spots-bar i { width: 22px; height: 8px; border-radius: 3px; background: var(--line); }
.spots-bar i.free { background: var(--jade); }
@media (max-width: 800px) { .offer { grid-template-columns: 1fr; padding: 26px 22px; gap: 18px; } }

/* ---------- Sobre mí ---------- */
.about { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: center; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; gap: 28px; } }
.avatar { margin: 0; aspect-ratio: 4/5; max-width: 280px; width: 100%; border-radius: 24px; background: var(--deep); display: grid; place-items: center; position: relative; overflow: hidden; box-shadow: var(--shadow); }
@media (max-width: 760px) { .avatar { max-width: 200px; } }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar span { font-family: var(--display); font-stretch: 120%; font-weight: 900; font-size: 7rem; color: var(--maiz); }
.avatar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: repeating-linear-gradient(90deg, var(--rojo) 0 16px, var(--maiz) 16px 24px, var(--indigo) 24px 40px, var(--jade) 40px 46px); }
.about-copy { display: grid; gap: 16px; }
.about-copy > p { color: var(--muted); max-width: 64ch; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { font-size: .86rem; font-weight: 600; border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; background: var(--surface); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq-wrap .sec-head { position: sticky; top: 100px; margin: 0; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; gap: 0; } .faq-wrap .sec-head { position: static; margin-bottom: 32px; } }
.faq { display: grid; gap: 10px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 2px 20px; }
details[open] { border-color: var(--ink); }
summary { cursor: pointer; font-weight: 700; padding-block: 16px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--rojo); font-weight: 600; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); padding-bottom: 18px; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.c-info { display: grid; gap: 20px; }
.c-wa { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: var(--r); background: var(--wa); color: var(--on-wa); text-decoration: none; transition: transform .15s ease; }
.c-wa:hover { transform: translateY(-2px); }
.c-wa svg { width: 40px; height: 40px; flex: none; }
.c-wa small { display: block; font-size: .82rem; opacity: .9; }
.c-wa b { font-family: var(--display); font-stretch: 110%; font-size: 1.45rem; font-weight: 800; }
.c-list { margin: 0; display: grid; }
.c-list div { padding-block: 14px; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.c-list dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
.c-list dd { margin: 0; font-weight: 700; font-size: 1.05rem; }
.c-info .btn { width: fit-content; }
form { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: grid; gap: 16px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
input[type=text], select, textarea { font: inherit; font-size: 1rem; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); width: 100%; }
input[type=text]:focus, select:focus, textarea:focus { border-color: var(--ink); outline: none; }
input[aria-invalid="true"] { border-color: var(--rojo); }
textarea { min-height: 110px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } form { padding: 20px; } }
.f-error { color: var(--rojo); font-weight: 600; font-size: .9rem; }
.f-fine { font-size: .82rem; color: var(--muted); text-align: center; }

/* ---------- Footer ---------- */
footer { background: var(--deep); color: var(--deep-muted); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 28px; align-items: center; padding-block: 36px; font-size: .92rem; }
.foot-brand { display: flex; gap: 12px; align-items: center; }
.foot-brand b { color: var(--on-deep); font-family: var(--display); font-stretch: 115%; font-size: 1.1rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--on-deep); }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }

/* ---------- Flotantes ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: var(--on-wa); display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(0,0,0,.45); transition: transform .15s ease; }
.fab:hover { transform: scale(1.06); }
.fab svg { width: 30px; height: 30px; }
.mobile-bar { display: none; }
@media (max-width: 700px) {
  .fab { display: none; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .mobile-bar .btn { padding: 12px; }
  body { padding-bottom: 76px; }
}
.toast { position: fixed; left: 50%; bottom: 100px; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: .9rem; z-index: 50; }

/* Tiempo de entrega en tarjetas de servicio (sin precios) */
.eta { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--jade); background: color-mix(in srgb, var(--jade) 12%, transparent); border-radius: 8px; padding: 5px 10px; white-space: nowrap; }
.eta svg { width: 16px; height: 16px; }

/* Aviso de precios aproximados en el cotizador */
.q-notice { display: flex; gap: 14px; align-items: flex-start; margin: -16px 0 24px; padding: 16px 18px; border-radius: 14px; background: color-mix(in srgb, var(--maiz) 16%, var(--surface)); border: 1px solid color-mix(in srgb, var(--maiz) 55%, transparent); font-size: .95rem; color: var(--muted); }
.q-notice svg { width: 24px; height: 24px; flex: none; color: var(--maiz-ink); margin-top: 2px; }
.q-notice b { display: block; color: var(--ink); }

/* Logo dentro del recuadro de "Nosotros" */
.avatar-logo { width: 56%; height: auto; aspect-ratio: 1; }
.nav-links a, .brand-sub { white-space: nowrap; }

/* Segunda palabra del nombre en color */
.brand-accent { color: var(--rojo); }
@media (max-width: 560px) {
  .nav { gap: 10px; }
  .brand, .brand-text { min-width: 0; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-sub { white-space: normal; line-height: 1.2; max-width: 20ch; }
  .lang button { padding: 6px 8px; }
}

/* Navegadores viejos sin color-mix (Android/Safari de antes de 2023):
   fondo sólido para que el encabezado y la barra de abajo no queden transparentes */
@supports not (background: color-mix(in srgb, red 50%, transparent)) {
  .site-header, .mobile-bar { background: var(--bg); }
  .t-offer, .eta, .q-notice { background: var(--surface); }
}
