/* mnkykonnekt.com · dirección visual A «Clara y moderna» (docs/redesign/09-CONSTRUCCION-A.md). Móvil primero. */
:root {
  --bg: #F7F9F8; --alt: #EDF3F1; --surface: #FFFFFF;
  --ink: #121718; --ink-2: #4C5657; --ink-3: #5A6263; --line: #DCE3E1; --line-2: #C9D2D0;
  --brand: #1D746E; --brand-strong: #135650; --brand-wash: #E0F0EE;
  --deep: #135650; --on-deep: #FFFFFF; --on-deep-2: #D3E6E3; --deep-check: #9FD9D2;

  --f-display: "Plus Jakarta Sans", "Jakarta Fallback", Arial, sans-serif;
  --f-body: "Instrument Sans", "Instrument Fallback", Arial, sans-serif;

  --fs-display: clamp(2.25rem, 1.6rem + 2.4vw, 3.375rem);
  --fs-h2: clamp(1.875rem, 1.4rem + 1.9vw, 2.875rem);
  --fs-h3: clamp(1.1875rem, 1.1rem + .4vw, 1.4375rem);
  --fs-lead: clamp(1.0625rem, 1.02rem + .25vw, 1.25rem);
  --fs-body: 1.0625rem; --fs-small: .9375rem; --fs-label: .78125rem;

  --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  --section: clamp(56px, 7vw, 104px);
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;

  --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-card: 18px; --r-phone: 30px;
  --sh-shot: 0 30px 60px -30px rgb(18 23 24 / .42), 0 0 0 1px rgb(18 23 24 / .07);
  --sh-lift: 0 22px 44px -28px rgb(0 0 0 / .35);
  --sh-now: 0 12px 30px -20px rgb(29 116 110 / .6);
  --sh-pop: 0 18px 40px -18px rgb(18 23 24 / .3);

  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --t-fast: 150ms; --t-base: 200ms; --t-enter: 600ms;
}

/* == fuentes (OFL, autoalojadas, variables, subconjunto latino). Los «Fallback» igualan el ancho de Arial al de la
   fuente web para que el cambio de fuente no mueva el texto (CLS ≈ 0). */
@font-face { font-family: "Jakarta Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 102%;
  ascent-override: 102%; descent-override: 22%; line-gap-override: 0%; }
@font-face { font-family: "Instrument Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 102%;
  ascent-override: 95%; descent-override: 24.5%; line-gap-override: 0%; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(../fonts/plus-jakarta-sans-latin-wght.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/instrument-sans-latin-wght.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* == base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--fs-body)/1.6 var(--f-body);
  overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-strong); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--f-display); color: var(--ink); margin: 0; text-wrap: balance; }
h1 { font-size: var(--fs-display); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; }
h1 em { font-style: normal; }
h2 { font-size: var(--fs-h2); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; }
h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.22; letter-spacing: -.02em; }
b { font-weight: 600; }
:focus-visible { outline: 3px solid var(--brand-strong); outline-offset: 3px; border-radius: 2px; }
.band-deep :focus-visible { outline-color: #fff; }

.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
section { padding-block: var(--section); }
.band-alt { background: var(--alt); }
.band-deep { background: var(--deep); color: var(--on-deep); }
.band-deep h2 { color: var(--on-deep); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px;
  border-radius: var(--r-md); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

/* etiquetas en minúscula normal (skill frontend-design, 27/09: la mayúscula espaciada es rasgo de plantilla) */
.label { font: 600 var(--fs-label)/1.45 var(--f-body); color: var(--brand); text-wrap: balance; }
.label--case, .tag { display: inline-block; font: 600 13px/1 var(--f-body);
  padding: 7px 10px; border-radius: var(--r-sm); background: var(--brand-wash); color: var(--brand-strong); }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); }

.sec-head { max-width: 780px; margin-bottom: var(--s6); }
.sec-head .label { margin-bottom: var(--s4); }
.sec-head .lead { margin-top: var(--s4); }
@media (min-width: 900px) { .sec-head { margin-bottom: var(--s7); } }

/* == botones y enlaces */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border-radius: var(--r-md); font: 700 15.5px/1.2 var(--f-display); text-decoration: none; text-align: center;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease, transform var(--t-fast) ease; }
.btn-lg { min-height: 54px; font-size: 16.5px; padding: 0 26px; }
.btn-sm { min-height: 44px; font-size: 14.5px; padding: 0 16px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-strong); color: #fff; }
.btn-secondary { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn-secondary:hover { border-color: var(--brand); color: var(--ink); }
.btn-light { background: #fff; color: var(--brand-strong); }
.btn-light:hover { background: var(--brand-wash); color: var(--brand-strong); }
.btn-ghost-deep { border-color: rgb(255 255 255 / .5); color: var(--on-deep); }
.btn-ghost-deep:hover { border-color: #fff; background: rgb(255 255 255 / .08); color: var(--on-deep); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); }

/* enlace de texto: subrayado siempre visible, sin flecha; el texto dice adónde lleva */
.link-arrow { display: inline-flex; align-items: center; min-height: 44px; font: 700 16px/1.3 var(--f-display); color: var(--brand);
  text-decoration: underline; text-decoration-color: rgb(29 116 110 / .35); text-decoration-thickness: 1.5px; text-underline-offset: 5px;
  transition: color var(--t-fast) ease, text-decoration-color var(--t-fast) ease; }
.link-arrow:hover { color: var(--brand-strong); text-decoration-color: currentColor; }

.assure { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: var(--fs-small); color: var(--ink-2); }
.assure li { display: inline-flex; align-items: baseline; gap: 8px; }
.assure li::before { content: "✓"; color: var(--brand); font-weight: 700; }

.checks { list-style: none; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 26px; }
.checks li::before { content: "✓"; position: absolute; left: 2px; top: 0; color: var(--brand); font-weight: 700; }
@media (min-width: 700px) { .checks--2 { grid-template-columns: 1fr 1fr; column-gap: 28px; } }

/* == navegación */
.nav { position: sticky; top: 0; z-index: 50; background: rgb(247 249 248 / .86); -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: var(--s4); height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; flex: none; text-decoration: none; color: var(--ink);
  font: 800 16.5px/1 var(--f-display); letter-spacing: -.01em; }
.brand:hover { color: var(--ink); }
.brand img { width: 30px; height: 30px; border-radius: 50%; }
.nav-links { display: none; list-style: none; gap: 2px; margin-left: auto; }
.nav-links a { display: block; padding: 8px 12px; font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none;
  border-radius: 8px; transition: color var(--t-fast) ease, background-color var(--t-fast) ease; }
.nav-links a:hover { color: var(--ink); background: var(--alt); }
.nav-links a[aria-current="page"] { color: var(--brand-strong); background: var(--brand-wash); }
.nav-end { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.lang { display: inline-grid; place-items: center; min-width: 40px; min-height: 44px; font: 700 13px/1 var(--f-display);
  letter-spacing: .06em; color: var(--ink-2); text-decoration: none; border-radius: 8px; }
.lang:hover { color: var(--brand-strong); background: var(--alt); }

.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-md); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover { background: var(--alt); }
.menu summary span, .menu summary span::before, .menu summary span::after { content: ""; display: block; width: 20px; height: 2px;
  background: var(--ink); border-radius: 2px; position: relative; transition: transform var(--t-fast) ease, background-color var(--t-fast) ease; }
.menu summary span::before { position: absolute; top: -6px; }
.menu summary span::after { position: absolute; top: 6px; }
.menu[open] summary span { background: transparent; }
.menu[open] summary span::before { top: 0; transform: rotate(45deg); }
.menu[open] summary span::after { top: 0; transform: rotate(-45deg); }
.menu ul { position: absolute; right: 0; top: 54px; list-style: none; padding: 8px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-pop); width: min(300px, calc(100vw - 32px)); }
.menu li a { display: block; padding: 12px 14px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 500; }
.menu li a:hover { background: var(--alt); color: var(--ink); }
.menu li a[aria-current="page"] { background: var(--brand-wash); color: var(--brand-strong); }
@media (max-width: 419px) {
  .brand { font-size: 14px; gap: 7px; } .brand img { width: 26px; height: 26px; }
  .nav-in { gap: 6px; } .nav-end { gap: 2px; }
  .lang { min-width: 32px; }
  .nav-end .btn-sm { padding: 0 10px; font-size: 13.5px; }
  .nav-end { margin-left: auto; padding-left: 4px; }
  .menu summary { width: 40px; }
}
@media (max-width: 359px) { .nav .brand span { display: none; } }
@media (min-width: 1100px) {
  .nav-links { display: flex; }
  .nav-end { margin-left: var(--s3); gap: 8px; }
  .menu { display: none; }
}

/* == capturas: imagen limpia (sin barra de navegador) con etiqueta en la esquina, y móvil en marco fino */
.shot { position: relative; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-shot); overflow: hidden; }
.shot-tag { position: absolute; right: 10px; bottom: 10px; padding: 5px 9px; border-radius: 6px; background: rgb(255 255 255 / .92);
  box-shadow: 0 0 0 1px var(--line); font: 500 11.5px/1 var(--f-body); color: var(--ink-2); white-space: nowrap; }
.shot img { width: 100%; }
@media (max-width: 599px) {
  .shot img { aspect-ratio: 4 / 3; object-fit: cover; object-position: var(--focus, center top); }
}
/* marco de móvil fino: 4 px y esquinas proporcionales al tamaño, para que ningún teléfono parezca de juguete */
.device { background: #1B1E20; padding: 4px; border-radius: 13% / 6.4%; box-shadow: 0 0 0 1px rgb(0 0 0 / .06), 0 28px 56px -26px rgb(0 0 0 / .5); }
.device img { border-radius: 11.8% / 5.8%; width: 100%; }

/* composición: escritorio detrás y el móvil delante, abajo a la derecha */
.stage { position: relative; }
.stage--duo { display: grid; }
.stage--duo > * { grid-area: 1 / 1; }
.stage--duo .shot { justify-self: start; align-self: start; width: 82%; }
/* el móvil va delante: .shot está posicionado (por su etiqueta) y sin esto se pintaría encima */
.stage--duo .device { position: relative; z-index: 1; justify-self: end; align-self: start; width: 36%; margin-top: 12%; }
.stage--duo .shot-tag { right: auto; left: 10px; }
@media (min-width: 600px) { .stage--duo .device { width: 33%; margin-top: 10%; } }

/* == hero */
.hero { padding-top: clamp(32px, 5vw, 80px); padding-bottom: clamp(40px, 5vw, 72px); overflow: clip; }
.hero-grid { display: grid; gap: clamp(36px, 5vw, 56px); }
.hero-text .label { margin-bottom: var(--s4); }
.hero-text h1 { margin-bottom: var(--s5); }
.hero-text .lead { max-width: 54ch; margin-bottom: var(--s6); }
.hero .assure { margin-top: var(--s5); }
.hero .actions .btn { flex: 1 1 100%; }
.hero-vis { width: 100%; max-width: 680px; }
@media (min-width: 600px) { .hero .actions .btn { flex: 0 0 auto; } }
@media (min-width: 740px) { .hero-vis { justify-self: center; } }
@media (min-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr 1fr; align-items: center; column-gap: 56px; }
  .hero-vis { max-width: none; }
}

.hero--404 { padding-block: clamp(64px, 10vw, 128px); }
.hero--404 h1 { margin: var(--s4) 0 var(--s5); }
.hero--404 .lead { max-width: 52ch; margin-bottom: var(--s6); }

/* == tarjetas */
.card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: clamp(20px, 3vw, 30px); color: var(--ink); text-decoration: none;
  transition: transform var(--t-base) ease, box-shadow var(--t-base) ease, border-color var(--t-base) ease; }
a.card:hover { color: var(--ink); box-shadow: var(--sh-lift); border-color: var(--line-2); }

/* == servicios (portada) */
.svc-cards { list-style: none; display: grid; gap: var(--s4); }
.svc-card { display: flex; flex-direction: column; gap: var(--s4); height: 100%; }
.svc-card p { color: var(--ink-2); }
.svc-card .checks { font-size: var(--fs-small); font-weight: 500; }
.svc-go { margin-top: auto; padding-top: var(--s2); font: 700 15.5px/1.3 var(--f-display); color: var(--brand);
  text-decoration: underline; text-decoration-color: rgb(29 116 110 / .35); text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
a.svc-card:hover .svc-go { color: var(--brand-strong); text-decoration-color: currentColor; }
@media (min-width: 900px) { .svc-cards { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* == si contratas varios (panel claro) */
.juntos { display: grid; gap: var(--s5); background: var(--brand-wash); border-radius: 22px; padding: clamp(28px, 5vw, 56px); }
.juntos-text { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink); }
.juntos-ia { margin-top: var(--s5); padding-top: var(--s5); border-top: 1px solid rgb(19 86 80 / .2); color: var(--ink-2); }
.juntos-sec { padding-bottom: 0; }
@media (min-width: 900px) {
  .juntos { grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
  .juntos h2 { grid-column: 1 / span 5; }
  .juntos > div { grid-column: 7 / span 6; }
}

/* == ejemplos (portada) */
.case { display: grid; gap: var(--s5); padding-block: var(--s7); border-top: 1px solid var(--line); }
.case:first-of-type { border-top: 0; padding-top: 0; }
.case:last-child { padding-bottom: 0; }
.case-head h3 { margin-top: var(--s4); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); line-height: 1.12; letter-spacing: -.025em; font-weight: 800; }
.case-body { display: grid; gap: var(--s4); justify-items: start; color: var(--ink-2); max-width: 60ch; }
.case-body .checks { color: var(--ink); }
.panel { background: var(--alt); border-radius: var(--r-card); padding: clamp(24px, 5vw, 48px); display: grid; place-items: center; }
.panel .device { width: min(58%, 270px); }
.case-fig { margin: 0; }
.case-fig figcaption { margin-top: var(--s3); font-size: var(--fs-small); color: var(--ink-2); }
.case-fig figcaption b { color: var(--ink); }
@media (min-width: 900px) {
  .case { grid-template-columns: repeat(12, 1fr); grid-template-rows: 1fr 1fr; column-gap: 24px; row-gap: var(--s5); }
  .case-head { align-self: end; } .case-body { align-self: start; } .case-vis { align-self: center; }
  .case-head { grid-column: 1 / span 5; grid-row: 1; }
  .case-body { grid-column: 1 / span 5; grid-row: 2; }
  .case-vis { grid-column: 6 / span 7; grid-row: 1 / span 2; }
  .case--flip .case-head, .case--flip .case-body { grid-column: 8 / span 5; }
  .case--flip .case-vis { grid-column: 1 / span 7; }
  .case-vis .panel { padding-block: 40px; }
  .stage--case .device { width: 31%; margin-top: 8%; }
}

/* == pasos */
.steps { list-style: none; display: grid; gap: 0; }
.steps li { position: relative; padding: 0 0 var(--s6) 56px; }
.steps li::before { content: ""; position: absolute; left: 17px; top: 44px; bottom: 8px; width: 2px; background: var(--line); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::before { display: none; }
.step-n { position: absolute; left: 0; top: -4px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%;
  background: var(--brand-wash); color: var(--brand-strong); font: 800 15px/1 var(--f-display); }
.steps h3 { font-size: 19px; margin-bottom: var(--s2); }
.steps p { color: var(--ink-2); font-size: var(--fs-small); max-width: 38ch; }
@media (min-width: 900px) {
  .steps { grid-auto-flow: column; grid-auto-columns: 1fr; gap: 24px; }
  .steps li { padding: 56px 0 0; }
  .step-n { top: 0; }
  .steps li::before { left: 48px; right: -12px; top: 17px; bottom: auto; width: auto; height: 2px; display: block; }
  .steps li:last-child::before { display: none; }
}
.como--compact { padding-block: clamp(48px, 6vw, 88px); }

/* == quiénes somos */
.who { display: grid; gap: var(--s5); }
.who-photo { width: 160px; height: 160px; object-fit: cover; border-radius: var(--r-card); }
.who-text { display: grid; gap: var(--s4); max-width: 64ch; color: var(--ink-2); }
.who-text b { color: var(--ink); }
.who-text h2 { margin-bottom: var(--s2); }
.who-links { list-style: none; display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: var(--s2); }
.who-links a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; }
@media (min-width: 900px) {
  .who { grid-template-columns: 280px 1fr; gap: 64px; align-items: start; }
  .who-photo { width: 280px; height: 280px; }
}

/* == preguntas */
.faq-in { display: grid; gap: var(--s5); }
.faq-list { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s4);
  min-height: 60px; padding: 18px 0; font: 700 18px/1.35 var(--f-display); letter-spacing: -.01em; transition: color var(--t-fast) ease; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover, .faq details[open] summary { color: var(--brand-strong); }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%;
  border: 1.5px solid var(--line-2); font: 500 20px/1 var(--f-body); color: var(--brand);
  transition: transform 280ms var(--ease-out), background-color var(--t-fast) ease, border-color var(--t-fast) ease; }
.faq summary:hover::after { border-color: var(--brand); }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--brand-wash); border-color: var(--brand-wash); }
.faq details p { padding: 0 0 var(--s5); max-width: 68ch; color: var(--ink-2); line-height: 1.65; }
@supports selector(::details-content) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { block-size: 0; overflow: hidden; content-visibility: hidden;
    transition: block-size 280ms var(--ease-out), content-visibility 280ms allow-discrete; }
  .faq details[open]::details-content { block-size: auto; content-visibility: visible; }
}
@media (min-width: 900px) {
  .faq-in { grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
  .faq-in h2 { grid-column: 1 / span 4; }
  .faq-list { grid-column: 5 / span 8; }
}

/* == cierre (la única banda oscura de cada página) */
.cta-in { display: grid; gap: var(--s6); }
.cta h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.75rem); line-height: 1.05; letter-spacing: -.03em; max-width: 17ch; }
.cta-in p { margin-top: var(--s4); color: var(--on-deep-2); font-size: var(--fs-lead); line-height: 1.55; max-width: 52ch; }
.cta .actions { margin-top: var(--s6); }
.cta .actions .btn { flex: 1 1 100%; }
.assure--deep { flex-direction: column; gap: 12px; color: var(--on-deep); font-size: var(--fs-body); }
.assure--deep li::before { color: var(--deep-check); }
@media (min-width: 600px) { .cta .actions .btn { flex: 0 0 auto; } }
@media (min-width: 900px) {
  .cta-in { grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; }
  .cta-in > div { grid-column: 1 / span 8; }
  .assure--deep { grid-column: 10 / span 3; padding-bottom: 14px; }
}
@media (max-width: 599px) { .btn-ghost-deep { border-color: transparent; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; } }

/* == también hacemos */
.more-sec { padding-block: clamp(48px, 6vw, 80px); }
.more-h { font-size: var(--fs-h3); margin-bottom: var(--s5); }
.more { list-style: none; display: grid; gap: var(--s4); }
.more-card { display: grid; align-content: start; gap: 6px; height: 100%; }
.more-card h3 { font-size: 19px; color: var(--brand-strong); }
.more-card p { color: var(--ink-2); font-size: var(--fs-small); }
a.more-card:hover h3 { color: var(--brand-strong); }
@media (min-width: 700px) { .more--2, .more--3 { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 900px) { .more--3 { grid-template-columns: repeat(3, 1fr); } }

/* == antes / ahora */
.ba { display: grid; gap: 14px; }
.ba-box { border-radius: var(--r-lg); padding: 20px 22px; background: var(--surface); }
.ba-box .tag { margin-bottom: 12px; }
.ba-before { border: 1px dashed var(--line-2); color: var(--ink-3); }
.ba-before .tag { background: #EEF0EF; color: #5E6667; }
.ba-after { border: 1.5px solid var(--brand); box-shadow: var(--sh-now); }
.ba-after > p { font-weight: 600; color: var(--ink); font-size: 17.5px; line-height: 1.5; }
.ba-after .checks { margin-top: var(--s4); color: var(--ink); }
.ba-arrow { width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center;
  font-weight: 700; justify-self: center; transform: rotate(90deg); }
@media (min-width: 800px) {
  .ba { grid-template-columns: 4fr auto 8fr; align-items: center; gap: 18px; }
  .ba-arrow { transform: none; }
}

/* == lista compacta «título. explicación» (bloques de apoyo; la rejilla .defs va una vez por página) */
.feats { gap: var(--s4) 40px; max-width: 1080px; }
.feats li { color: var(--ink-2); line-height: 1.6; max-width: 62ch; }
.feats b { color: var(--ink); font-weight: 700; }
@media (min-width: 800px) { .feats--2 { grid-template-columns: 1fr 1fr; } .feats--3 { grid-template-columns: repeat(3, 1fr); } }

/* == lista de definición */
.defs { display: grid; gap: var(--s6) 32px; margin: 0; }
.defs > div { position: relative; padding-top: 18px; border-top: 1px solid var(--line-2); }
.defs > div::before { content: ""; position: absolute; left: 0; top: -2px; width: 32px; height: 3px; border-radius: 2px; background: var(--brand); }
.defs dt { font: 700 18px/1.3 var(--f-display); letter-spacing: -.015em; }
.defs dd { margin: var(--s2) 0 0; color: var(--ink-2); font-size: 16px; line-height: 1.6; max-width: 44ch; }
@media (min-width: 600px) { .defs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .defs { grid-template-columns: repeat(3, 1fr); row-gap: var(--s7); } }

/* == galerías y figuras */
.fig { margin: 0; }
.fig figcaption { margin-top: var(--s4); font-size: var(--fs-small); color: var(--ink-2); max-width: 70ch; }
.fig figcaption b { color: var(--ink); }
.gallery { display: grid; gap: var(--s7) 24px; }
.fig--phone .device { width: min(62%, 300px); margin-inline: auto; }
.fig--phone figcaption { text-align: center; margin-inline: auto; max-width: 32ch; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .fig--full { grid-column: 1 / -1; }
  .gallery--side { grid-template-columns: 8fr 4fr; align-items: start; }
  .fig--phone .device { width: 78%; }
}
.gallery--clinic { margin-top: var(--s7); }

/* == contabilidad: lo que cambia (frases con marca, entre líneas finas) */
.stats { gap: 0; border-top: 1px solid var(--line-2); max-width: 760px; }
.stats li { padding: var(--s5) 0 var(--s5) 36px; border-bottom: 1px solid var(--line-2); font-size: var(--fs-lead); line-height: 1.45; color: var(--ink); }
.stats li::before { top: var(--s5); font-size: 1.15em; line-height: 1.3; }

/* == software a medida: joyería y clínicas */
.proof { margin-top: var(--s5); padding: var(--s4) var(--s5); background: var(--surface); border-left: 3px solid var(--brand);
  border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: var(--fs-small); color: var(--ink-2); max-width: 78ch; }
.proof b { color: var(--ink); }
.case-body .proof, .case-card .proof { margin-top: 0; }
.case-card p.proof { font-size: var(--fs-small); }
.joy-vis { display: grid; gap: var(--s7); margin-top: var(--s7); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 6%; align-items: start; padding-inline: 4%; }
.duo .device:nth-child(2) { margin-top: 32px; }
@media (min-width: 900px) {
  .joy-vis { grid-template-columns: 7fr 5fr; column-gap: 40px; align-items: start; margin-top: var(--s8); }
  .duo { padding-inline: 0; gap: 20px; }
  .duo .device:nth-child(2) { margin-top: 48px; }
}
.demo-row { margin-top: var(--s7); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4);
  background: var(--brand-wash); border-radius: var(--r-card); padding: 20px 24px; }
.demo-row p { font: 700 17px/1.4 var(--f-display); color: var(--ink); letter-spacing: -.01em; max-width: 52ch; }

.case-card { max-width: 860px; display: grid; gap: var(--s4); justify-items: start; }
.case-card h2 { font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.5rem); }
.case-card p:not(.label) { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }

/* == legales */
.legal { max-width: 68ch; padding-block: clamp(48px, 7vw, 96px); }
.legal h1 { font-size: clamp(2.25rem, 1.8rem + 2vw, 3.25rem); margin-bottom: var(--s3); }
.legal .muted { color: var(--ink-2); font-size: var(--fs-small); margin-bottom: var(--s6); }
.legal h2 { font-size: 24px; margin: var(--s7) 0 var(--s3); letter-spacing: -.02em; }
.legal p + p { margin-top: var(--s3); }
.legal ul { padding-left: 1.2em; display: grid; gap: 10px; margin: var(--s3) 0; }
.legal .dl { display: grid; grid-template-columns: 1fr; gap: 4px 24px; margin: var(--s5) 0 0; padding-top: var(--s4); border-top: 1px solid var(--line); }
.legal .dl dt { font: 600 14px/1.5 var(--f-body); color: var(--ink-2); padding-top: 12px; }
.legal .dl dd { margin: 0; }
@media (min-width: 600px) { .legal .dl { grid-template-columns: 200px 1fr; } .legal .dl dt { padding-top: 3px; } .legal .dl dd, .legal .dl dt { padding-bottom: 12px; border-bottom: 1px solid var(--line); } }

/* == pie (claro) */
.foot { background: var(--surface); color: var(--ink-2); padding: var(--s8) 0 var(--s6); font-size: var(--fs-small); border-top: 1px solid var(--line); }
.foot-grid { display: grid; gap: var(--s6); padding-bottom: var(--s6); border-bottom: 1px solid var(--line); }
.foot-brand p { margin-top: var(--s4); max-width: 38ch; }
.foot-h { font: 700 14px/1.5 var(--f-display); color: var(--ink); margin-bottom: var(--s3); }
.foot ul { list-style: none; display: grid; }
.foot a { color: var(--ink); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.foot a:hover { color: var(--brand-strong); text-decoration: underline; }
.foot .brand { color: var(--ink); }
.foot .brand:hover { text-decoration: none; }
.foot-lang { font-weight: 600; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: var(--s5); font-size: 13px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 5fr 3fr 3fr; column-gap: 48px; } }

/* == movimiento (docs/redesign/09-CONSTRUCCION-A.md §Movimiento). Nada en bucle, sin parallax, sin librerías. */
a, summary { -webkit-tap-highlight-color: transparent; }
.btn-primary:active { background: var(--brand-strong); }
.btn-secondary:active { border-color: var(--brand); }
.btn-light:active { background: var(--brand-wash); }
.link-arrow:active, .lang:active, .faq summary:active { color: var(--brand-strong); }
.menu summary:active, .menu li a:active { background: var(--alt); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  @view-transition { navigation: auto; }
  .nav { view-transition-name: nav; }
  ::view-transition-group(root), ::view-transition-old(root), ::view-transition-new(root) { animation-duration: var(--t-base); }
  ::view-transition-old(nav) { display: none; }
  ::view-transition-new(nav) { animation: none; }

  /* hover: 1 px arriba en botones; las tarjetas solo cambian borde y sombra (no saltan) */
  .btn-primary:hover, .btn-secondary:hover, .btn-light:hover, .btn-ghost-deep:hover { transform: translateY(-1px); }
  .btn:active { transform: translateY(0); }

  /* entrada del hero al cargar: texto y composición suben 18 px; el texto nunca empieza invisible (opacidad ≥ .3) */
  .hero-text { animation: a-up var(--t-enter) var(--ease-out) both; }
  .hero-vis { animation: a-up var(--t-enter) var(--ease-out) 120ms both; }
  @keyframes a-up { from { transform: translateY(18px); opacity: .3; } }

  .menu[open] ul { animation: a-drop var(--t-fast) ease; }
  @keyframes a-drop { from { opacity: 0; transform: translateY(-4px); } }

  /* un solo momento de movimiento: la entrada del hero. Nada sube ni aparece al hacer scroll (skill frontend-design,
     27/09: las entradas repartidas por cada sección son el rasgo más típico de página generada). */
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}
