/* Tipografía alojada en la propia web (sin conexiones a Google) */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("assets/fonts/jakarta-latin.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: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("assets/fonts/jakarta-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Albert Pintors — rediseño: moderno, directo y pensado primero para el móvil */

:root {
  --navy: #0e1a2b;
  --navy-2: #15243a;
  --navy-3: #1d3150;
  --blue: #3a6eb5;
  --blue-2: #2f5c99;
  --blue-soft: #e8f0fa;
  --red: #eb6060;
  --green: #74b843;
  --call: #17834a;
  --call-2: #126b3c;
  --ink: #0e1a2b;
  --soft: #4b5567;
  --line: #e4e2dc;
  --bg: #ffffff;
  --warm: #f5f2ec;

  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --pad: 20px;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --dock-h: 76px;

  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.45, 0.64, 1);
  --shadow: 0 1px 2px rgb(14 26 43 / 0.06), 0 12px 32px -12px rgb(14 26 43 / 0.22);
  --shadow-lg: 0 2px 4px rgb(14 26 43 / 0.06), 0 30px 60px -24px rgb(14 26 43 / 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }
body {
  margin: 0; overflow-x: clip;
  background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom));
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ico { width: 20px; height: 20px; flex: none; }

.wrap { width: min(100% - 2 * var(--pad), 1200px); margin-inline: auto; }

/* Títulos: una sola familia, grande y con peso */
.h2 {
  font-size: clamp(2rem, 1.3rem + 3.2vw, 3.5rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -0.035em;
  text-wrap: balance;
}
.h2--xl { font-size: clamp(2.6rem, 1.6rem + 4.6vw, 4.75rem); }
.sec-head { display: grid; gap: 14px; margin-bottom: 32px; max-width: 760px; }
.sec-head__lead { font-size: 1.125rem; color: var(--soft); max-width: 52ch; }
.sec-head--light .h2 { color: #fff; }

/* Tres barras del logo */
.tri { display: inline-flex; gap: 3px; }
.tri i { display: block; width: 14px; height: 6px; border-radius: 3px; }
.tri i:nth-child(1) { background: var(--red); }
.tri i:nth-child(2) { background: var(--blue); }
.tri i:nth-child(3) { background: var(--green); }

/* ---------- Botones ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 10px 22px;
  border: 0; border-radius: var(--r-sm); cursor: pointer;
  font: 700 1.0625rem/1.15 var(--font); text-decoration: none; text-align: left;
  transition: transform 160ms var(--ease), background-color 200ms var(--ease), box-shadow 200ms var(--ease);
  touch-action: manipulation; user-select: none; -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn--xl { min-height: 68px; padding: 10px 22px 10px 12px; justify-content: flex-start; font-size: 1.1875rem; }
.btn__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: rgb(255 255 255 / 0.18); flex: none; }
.btn__ico .ico { width: 24px; height: 24px; }
.btn__txt { display: grid; }
.btn__txt small { font-size: 0.875rem; font-weight: 500; opacity: 0.9; letter-spacing: 0.01em; }
.btn--call { background: var(--call); color: #fff; box-shadow: 0 10px 24px -10px rgb(23 131 74 / 0.7); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--lg { min-height: 60px; padding: 0 26px; font-size: 1.125rem; }
.btn--lg .ico { width: 22px; height: 22px; }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.5); }
.btn--block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); }
  .btn:active { transform: translateY(0) scale(0.97); }
  .btn--call:hover { background: var(--call-2); box-shadow: 0 16px 30px -12px rgb(23 131 74 / 0.75); }
  .btn--ghost:hover { background: rgb(255 255 255 / 0.1); }
  .btn--blue:hover { background: var(--blue-2); }
}
.btn--shine { overflow: hidden; isolation: isolate; }
.btn--shine::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 46px;
  background: rgb(255 255 255 / 0.3); transform: translateX(-90px) skewX(-20deg); pointer-events: none;
}

/* ---------- Barra superior ---------- */
.topbar { background: var(--navy); color: #cfd6e2; font-size: 0.8125rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
.topbar__msg { display: flex; align-items: center; gap: 8px; min-width: 0; }
.topbar__msg span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__msg .ico { width: 16px; height: 16px; color: var(--green); }
.topbar__more { display: none; }
@media (min-width: 720px) { .topbar__more { display: inline; } }
.lang { position: relative; display: inline-flex; padding: 3px; border-radius: 999px; background: rgb(255 255 255 / 0.1); isolation: isolate; flex: none; }
.lang__pill { position: absolute; top: 3px; bottom: 3px; left: 0; z-index: -1; width: var(--pill-w, 0); transform: translateX(var(--pill-x, 0)); background: #fff; border-radius: 999px; transition: transform 320ms var(--ease-out), width 320ms var(--ease-out); }
.lang__btn { min-height: 32px; min-width: 44px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: #cfd6e2; font: 700 0.8125rem/1 var(--font); cursor: pointer; transition: color 200ms var(--ease); }
.lang__btn[aria-pressed="true"] { color: var(--navy); }

/* ---------- Cabecera fija ---------- */
.head { position: sticky; top: 0; z-index: 40; background: rgb(255 255 255 / 0.94); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); transition: box-shadow 250ms var(--ease); }
.head.is-stuck { box-shadow: 0 6px 24px -12px rgb(14 26 43 / 0.25); }
.head__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__logo { width: 46px; height: 46px; }
.brand__name { font-weight: 800; font-size: 0.9375rem; line-height: 1.05; letter-spacing: -0.01em; }
.head__nav { display: none; }
.head__contact { display: grid; justify-items: end; gap: 1px; }
.head__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.0625rem; color: var(--call); text-decoration: none; white-space: nowrap; }
.head__phone-ico { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e7f4ec; }
.head__phone-ico .ico { width: 16px; height: 16px; }
.head__mail { font-size: 0.8125rem; color: var(--soft); text-decoration: none; }
@media (max-width: 380px) {
  .brand__name { display: none; }
}

/* ---------- Primera pantalla ---------- */
/* Móvil: la foto entera arriba (sin cortar al pintor) y el texto debajo */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--navy); }
.hero__media { position: relative; z-index: -2; aspect-ratio: 16 / 10; overflow: hidden; }
.hero__media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 38%; background: linear-gradient(180deg, rgb(14 26 43 / 0), var(--navy)); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__scrim { display: none; }
.hero__inner { display: flex; flex-direction: column; gap: 18px; padding: 8px 0 40px; }
.hero__title { font-size: clamp(2.5rem, 1.2rem + 6.6vw, 5.4rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; }
.hero__title .ln { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__title .ln > span { display: block; }
.hero__title em {
  font-style: normal; white-space: nowrap;
  background-image: linear-gradient(transparent 60%, rgb(116 184 67 / 0.9) 60%, rgb(116 184 67 / 0.9) 90%, transparent 90%);
  background-repeat: no-repeat; background-size: 100% 100%;
}
.hero__lead { font-size: 1.125rem; color: #c9d2df; max-width: 36ch; }
.hero__cta { display: grid; gap: 10px; margin-top: 10px; }

/* ---------- Cifras ---------- */
.stats { position: relative; z-index: 2; padding: 36px 0 8px; }
.stats__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
.stat { padding: 0; }
.stat__num { font-size: 2.25rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--navy); min-height: 40px; display: flex; align-items: center; font-variant-numeric: tabular-nums; }
.stat__ico { width: 38px; height: 38px; color: var(--blue); }
.stat:nth-child(3) .stat__ico { color: var(--call); }
.stat:nth-child(4) .stat__ico { color: #e2a33a; }
.stat__txt { margin-top: 8px; font-size: 0.9375rem; line-height: 1.35; color: var(--soft); font-weight: 500; }

/* ---------- Cinta de servicios ---------- */

/* ---------- Trabajos (mosaico) ---------- */
.work { padding: 64px 0; }
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r); background: var(--warm); aspect-ratio: 3 / 4; isolation: isolate; }
.tile--a, .tile--f { grid-column: span 2; aspect-ratio: 16 / 11; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, transparent 25%, rgb(14 26 43 / 0.55) 55%, rgb(14 26 43 / 0.92) 100%); }
.tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 14px; color: #fff; display: grid; gap: 4px; }
.tile figcaption strong { font-size: 1.0625rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.tile figcaption span { font-size: 0.8125rem; line-height: 1.35; opacity: 0.88; }
.tile--a figcaption strong, .tile--f figcaption strong { font-size: 1.375rem; }
.tile--a figcaption span, .tile--f figcaption span { font-size: 0.9375rem; }
@media (hover: hover) and (pointer: fine) { .tile:hover img { transform: scale(1.06); } }

/* ---------- Por qué conmigo ---------- */
.why { background: var(--warm); padding: 76px 0; }
.why__inner { display: grid; gap: 36px; }
.why__frame { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.4; background: #e9e4da; }
.why__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.why__photo figcaption { margin-top: 12px; font-size: 0.9375rem; color: var(--soft); }
.why__photo figcaption strong { color: var(--ink); }
.why__lead { margin-top: 18px; font-size: 1.1875rem; line-height: 1.55; color: var(--ink); max-width: 46ch; }
.why__list { margin: 30px 0 0; border-top: 1px solid #ddd8ce; }
.why__row { padding: 20px 0; border-bottom: 1px solid #ddd8ce; }
.why__row dt { position: relative; padding-left: 18px; font-size: 1.1875rem; font-weight: 800; letter-spacing: -0.015em; line-height: 1.3; }
.why__row dt::before { content: ""; position: absolute; left: 0; top: 0.2em; bottom: 0.2em; width: 4px; border-radius: 2px; background: var(--blue); }
.why__row:nth-child(1) dt::before { background: var(--red); }
.why__row:nth-child(3) dt::before { background: var(--green); }
.why__row:nth-child(4) dt::before { background: var(--navy); }
.why__row dd { margin: 6px 0 0; padding-left: 18px; color: var(--soft); }

/* ---------- Nos adaptamos ---------- */
.adapt { padding: 76px 0; }
.adapt__grid { display: grid; gap: 14px; }
.pcard { background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.pcard img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 25%; }
.pcard__body { padding: 20px 22px 24px; }
.pcard__tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 8px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-2); font-size: 0.8125rem; font-weight: 700; }
.pcard__tag .ico { width: 16px; height: 16px; }
.pcard h3 { margin-top: 12px; font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; }
.pcard p { margin-top: 6px; color: var(--soft); }
.worry { margin-top: 14px; border-radius: var(--r-lg); padding: 26px 22px; color: #fff; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-2) 100%); display: grid; gap: 20px; box-shadow: var(--shadow); }
.worry__head { display: flex; gap: 16px; align-items: flex-start; }
.worry__ico { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 14px; background: rgb(255 255 255 / 0.16); }
.worry__ico svg { width: 26px; height: 26px; }
.worry h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.worry__head p { margin-top: 4px; opacity: 0.9; }
.worry__list { display: grid; gap: 12px; }
.worry__list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.worry__list .ico { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: #fff; color: var(--blue); flex: none; }

/* ---------- Cierre y formulario ---------- */
.close { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 76px 0 84px; isolation: isolate; }
.close::before { content: ""; position: absolute; inset: auto -10% -45% auto; width: 520px; height: 520px; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgb(23 131 74 / 0.28), transparent 70%); }
.close__inner { display: grid; gap: 36px; }
.close__text { display: grid; gap: 18px; justify-items: start; }
.close__text .h2 { color: #fff; }
.close__lead { font-size: 1.1875rem; color: #c5cfdf; max-width: 36ch; }
.close__text .btn { width: 100%; max-width: 420px; }
.close__mail { display: inline-flex; align-items: center; gap: 8px; color: #c5cfdf; text-decoration: none; font-size: 0.9375rem; }
.close__mail u { color: #fff; text-underline-offset: 3px; }

.formcard { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 24px 20px; box-shadow: var(--shadow-lg); }
.formcard__title { display: flex; align-items: center; gap: 10px; font-size: 1.625rem; font-weight: 800; letter-spacing: -0.02em; }
.formcard__title .ico { width: 26px; height: 26px; color: var(--blue); }
.formcard__lead { margin-top: 6px; color: var(--soft); }
.picker { margin-top: 22px; display: grid; gap: 22px; }
.picker__group { border: 0; margin: 0; padding: 0; min-width: 0; }
.picker__group legend { padding: 0; margin-bottom: 10px; font-weight: 800; font-size: 1rem; }
.chips { display: grid; gap: 8px; }
.chips--days, .chips--hours { grid-template-columns: repeat(3, 1fr); }
.chip { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: grid; place-items: center; text-align: center; min-height: 54px; padding: 8px 4px;
  background: var(--warm); border: 2px solid transparent; border-radius: var(--r-sm);
  font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease), transform 120ms var(--ease);
}
.chip small { display: block; font-weight: 500; font-size: 0.8125rem; color: var(--soft); }
.chip:active span { transform: scale(0.96); }
.chip input:checked + span { background: var(--blue); color: #fff; }
.chip input:checked + span small { color: #e2ebf8; }
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.chip input:disabled + span { color: #a6a6a0; background: transparent; border-color: var(--line); text-decoration: line-through; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) { .chip:hover input:not(:checked):not(:disabled) + span { border-color: var(--blue); } }
.picker__fields { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field__label { font-weight: 700; font-size: 0.9375rem; }
.field__input { width: 100%; min-height: 54px; padding: 0 14px; font: inherit; color: var(--ink); background: var(--warm); border: 2px solid transparent; border-radius: var(--r-sm); transition: border-color 150ms var(--ease), background-color 150ms var(--ease); }
.field__input:focus { outline: none; border-color: var(--blue); background: #fff; }
.field__input[aria-invalid="true"] { border-color: #c23b3b; }
.picker__summary { color: var(--soft); font-size: 0.9375rem; }
.picker__summary.is-ready { color: var(--ink); font-weight: 700; }
.picker__summary.is-error { color: #b03030; font-weight: 700; }
.picker__summary + .btn { margin-top: -10px; }
.picker__alt { text-align: center; color: var(--soft); }
.picker__alt a { color: var(--call); font-weight: 800; }
.picker__done { display: grid; gap: 10px; justify-items: start; }
.picker__done h3 { font-size: 1.5rem; font-weight: 800; }
.done-check { width: 64px; height: 64px; }
.done-check circle { fill: none; stroke: var(--green); stroke-width: 3; }
.done-check path { fill: none; stroke: var(--call); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }

/* Consentimiento y aviso de protección de datos */
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9375rem; cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--blue); cursor: pointer; }
.consent a { color: var(--blue-2); font-weight: 700; }
.consent.is-error span { color: #b03030; }
.rgpd { margin-top: 18px; font-size: 0.75rem; line-height: 1.5; color: var(--soft); }
.rgpd a { color: inherit; }

/* ---------- Pie ---------- */
.foot { background: #0a1320; color: #fff; padding: 48px 0 32px; }
.foot__inner { display: grid; gap: 26px; }
.foot__brand { display: flex; align-items: center; gap: 14px; }
.foot__logo { width: 72px; height: 72px; background: #fff; border-radius: 50%; }
.foot__name { font-weight: 800; font-size: 1.375rem; letter-spacing: -0.02em; }
.foot__tag { color: #9fabbd; }
.foot__links { display: grid; gap: 12px; }
.foot__links a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; }
.foot__legal { color: #8996a8; font-size: 0.875rem; }
.foot__law { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.875rem; }
.foot__law a { color: #c5cfdf; text-decoration: none; }
.foot__law a:hover { color: #fff; text-decoration: underline; }
.foot__credits { color: #6f7c8f; font-size: 0.75rem; }
.foot__credits a { color: inherit; }

/* ---------- Barra fija (móvil) ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 8px;
  padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  background: rgb(255 255 255 / 0.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 -8px 30px -14px rgb(14 26 43 / 0.35);
  transition: transform 300ms var(--ease-out);
}
.dock.is-hidden { transform: translateY(115%); }
.dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; border-radius: var(--r-sm); font-weight: 800; font-size: 1.0625rem; color: #fff; text-decoration: none; transition: transform 140ms var(--ease); }
.dock a:active { transform: scale(0.97); }
.dock__call { background: var(--call); }
.dock__back { background: var(--navy); }

/* =========================================================
   Pantallas medianas y grandes
   ========================================================= */
@media (min-width: 720px) {
  :root { --pad: 32px; }
  .hero__cta { grid-template-columns: auto auto; justify-content: start; }
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .adapt__grid { grid-template-columns: 1fr 1fr; }
  .worry { grid-template-columns: 1fr 1.1fr; align-items: center; padding: 32px; }
  .picker__fields { grid-template-columns: 1fr 1fr; }
  .chips--days { grid-template-columns: repeat(6, 1fr); }
  .chips--hours { grid-template-columns: repeat(5, 1fr); }
  .foot__inner { grid-template-columns: 1fr auto; align-items: center; }
  .foot__legal, .foot__law, .foot__credits { grid-column: 1 / -1; }
}

@media (min-width: 1000px) {
  body { padding-bottom: 0; }
  .dock { display: none; }
  .head__inner { min-height: 80px; }
  .brand__logo { width: 56px; height: 56px; }
  .brand__name { font-size: 1.0625rem; }
  .head__nav { display: flex; gap: 30px; font-weight: 600; font-size: 0.9375rem; }
  .head__nav a { text-decoration: none; color: var(--soft); position: relative; padding: 6px 0; transition: color 200ms var(--ease); }
  .head__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease-out); }
  .head__nav a:hover { color: var(--ink); }
  .head__nav a:hover::after { transform: scaleX(1); }
  .head__phone { font-size: 1.25rem; }
  .head__phone-ico { width: 34px; height: 34px; }
  .head__mail { font-size: 0.875rem; }

  .hero { min-height: min(86vh, 860px); display: flex; }
  .hero__media { position: absolute; inset: 0; aspect-ratio: auto; }
  .hero__media::after { display: none; }
  .hero__media img { object-position: 70% 30%; }
  .hero__scrim { display: block; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(14 26 43 / 0.94) 0%, rgb(14 26 43 / 0.82) 36%, rgb(14 26 43 / 0.25) 64%, rgb(14 26 43 / 0.05) 100%); }
  .hero__inner { justify-content: center; padding: 80px 0 140px; max-width: 1200px; }
  .hero__inner > * { max-width: 640px; }
  .hero__inner > .hero__title { max-width: 780px; font-size: clamp(3.5rem, 2rem + 3.2vw, 4.6rem); }
  .hero__lead { font-size: 1.1875rem; }

  .stats { margin-top: -84px; padding: 0; }
  .stats__grid { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 10px; gap: 0; }
  .stat { background: transparent; padding: 26px 28px; border-radius: 0; }
  .stat + .stat { border-left: 1px solid var(--line); }
  .stat__num { font-size: 2.75rem; }

    
  .work { padding: 120px 0 100px; }
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 14px; grid-template-areas: "a a b b" "a a c d" "e e f d"; }
  .tile { aspect-ratio: auto; }
  .tile--a { grid-area: a; } .tile--b { grid-area: b; } .tile--c { grid-area: c; }
  .tile--d { grid-area: d; } .tile--e { grid-area: e; } .tile--f { grid-area: f; grid-column: auto; }
  .tile figcaption { padding: 20px; }
  .tile--a figcaption strong { font-size: 1.75rem; }
  .tile--f figcaption strong { font-size: 1.0625rem; } .tile--f figcaption span { font-size: 0.8125rem; }

  .why { padding: 110px 0; }
  .why__inner { grid-template-columns: 0.85fr 1fr; gap: 72px; align-items: center; }
  .why__frame { aspect-ratio: 4 / 5; }
  .why__row { display: grid; grid-template-columns: 0.9fr 1.2fr; gap: 24px; padding: 22px 0; }
  .why__row dd { margin: 0; padding-left: 0; }

  .adapt { padding: 110px 0; }

  .close { padding: 110px 0; }
  .close__inner { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .formcard { padding: 32px; }
}

/* =========================================================
   Movimiento (solo si no se pide reducirlo)
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
  @keyframes line-up { from { transform: translateY(105%); } to { transform: none; } }
  @keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
  @keyframes highlight { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes shine { 0%, 76% { transform: translateX(-90px) skewX(-20deg); } 100% { transform: translateX(560px) skewX(-20deg); } }
  @keyframes dock-in { from { transform: translateY(115%); } }
  @keyframes pop { 0% { transform: scale(0.94); } 60% { transform: scale(1.04); } 100% { transform: scale(1); } }

  .js .hero__media img { animation: kenburns 9s var(--ease-out) both; }
  .js .hero__title .ln > span { animation: line-up 900ms var(--ease-out) both; }
  .js .hero__title .ln:nth-child(1) > span { animation-delay: 150ms; }
  .js .hero__title .ln:nth-child(2) > span { animation-delay: 280ms; }
  .js .hero__title em { background-size: 0% 100%; animation: highlight 700ms var(--ease-out) 1000ms forwards; }
  .js [data-anim] { animation: rise 700ms var(--ease-out) both; }
  .js [data-anim="1"] { animation-delay: 60ms; }
  .js [data-anim="3"] { animation-delay: 480ms; }
  .js [data-anim="4"] { animation-delay: 600ms; }
  .btn--shine::after { animation: shine 5.5s var(--ease) 2.2s infinite; }
  .hero .btn--call .btn__ico .ico { animation: ring 900ms var(--ease) 1.2s 2; transform-origin: 50% 60%; }
  @keyframes ring { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(-16deg); } 30% { transform: rotate(14deg); } 45% { transform: rotate(-10deg); } 60% { transform: rotate(6deg); } 75% { transform: rotate(-2deg); } }

  
  .js .reveal { opacity: 0; transform: translateY(26px); }
  .js .reveal.is-visible { opacity: 1; transform: none; transition: opacity 700ms var(--ease-out) var(--d, 0ms), transform 800ms var(--ease-out) var(--d, 0ms); }
  .js .tile.reveal img { transform: scale(1.15); }
  .js .tile.reveal.is-visible img { transform: scale(1); transition: transform 1400ms var(--ease-out) var(--d, 0ms); }
  @media (hover: hover) and (pointer: fine) { .js .tile.reveal.is-visible:hover img { transform: scale(1.06); transition-duration: 900ms; transition-delay: 0ms; } }
  .js .pcard.reveal img { clip-path: inset(0 100% 0 0); }
  .js .pcard.reveal.is-visible img { clip-path: inset(0); transition: clip-path 1100ms var(--ease-out) calc(var(--d, 0ms) + 150ms); }
  .js .why__photo.reveal img { transform: scale(1.12); }
  .js .hero__media img { transform-origin: 50% 30%; }
  .js .why__photo.reveal.is-visible img { transform: none; transition: transform 1400ms var(--ease-out); }
  .js .why__row.reveal dt::before { transform: scaleY(0); }
  .js .why__row.reveal.is-visible dt::before { transform: none; transition: transform 500ms var(--ease-out) calc(var(--d, 0ms) + 200ms); }
  .js .worry__list .ico { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .js .worry.is-visible .worry__list .ico { stroke-dashoffset: 0; transition: stroke-dashoffset 450ms var(--ease-out); }
  .js .worry.is-visible .worry__list li:nth-child(1) .ico { transition-delay: 400ms; }
  .js .worry.is-visible .worry__list li:nth-child(2) .ico { transition-delay: 650ms; }
  .js .worry.is-visible .worry__list li:nth-child(3) .ico { transition-delay: 900ms; }

  @media (hover: hover) and (pointer: fine) {
    .pcard, .stat { transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out); }
    .pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  }

  .dock { animation: dock-in 500ms var(--ease-out) 1.4s backwards; }
  .chip input:checked + span { animation: pop 260ms var(--ease-out); }
  .done-check circle { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 600ms var(--ease-out) forwards; }
  .done-check path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 400ms var(--ease-out) 450ms forwards; }
  .picker__done > :not(svg) { animation: rise 500ms var(--ease-out) both; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
    }
