/* ===== Fuentes (propias, sin pedidos a terceros) ===== */
@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-wght-italic.woff2") format("woff2");
  font-weight: 200 800; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/plex-sans-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/plex-sans-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/plex-sans-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/plex-mono-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/plex-mono-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}

/* ===== Tokens ===== */
:root {
  color-scheme: light dark;
  --paper: #f5f3ee;
  --paper-2: #ece9e1;
  --card: #fcfbf8;
  --ink: #12212c;
  --muted: #56656f;
  --line: #d8d4c8;
  --accent: #0e5f7c;
  --accent-hover: #0a4a61;
  --accent-ink: #ffffff;
  --accent-soft: #dcebee;
  --topo: rgba(14, 95, 124, .30);
  --band: #12212c;
  --band-ink: #f5f3ee;
  --band-muted: #a9b8c0;
  --band-line: rgba(245, 243, 238, .16);
  --band-accent: #7fc8dc;
  --band-topo: rgba(127, 200, 220, .22);
  --frame: #0d1117;
  --shadow: 0 1px 0 rgba(18, 33, 44, .04), 0 28px 56px -32px rgba(18, 33, 44, .45);

  --font-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1180px;
  --gutter: 1.25rem;
  --radius: 6px;
  --top: 4.5rem;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0b151b;
    --paper-2: #0e1a21;
    --card: #111f28;
    --ink: #e8eef0;
    --muted: #94a5ae;
    --line: #243540;
    --accent: #7fc8dc;
    --accent-hover: #a5dbea;
    --accent-ink: #06202a;
    --accent-soft: #132d38;
    --topo: rgba(127, 200, 220, .20);
    --band: #111f28;
    --band-ink: #e8eef0;
    --band-muted: #94a5ae;
    --band-line: #243540;
    --frame: #05090c;
    --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 28px 56px -32px rgba(0, 0, 0, .9);
  }
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 1rem); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip {
  position: absolute; left: var(--gutter); top: -4rem; z-index: 60;
  background: var(--ink); color: var(--paper);
  padding: .6rem 1rem; border-radius: var(--radius); text-decoration: none;
}
.skip:focus { top: .75rem; }

.label {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.label--accent { color: var(--accent); }
.arrow { width: 1em; height: 1em; flex: none; transition: transform .25s var(--ease); }

/* ===== Botones y enlaces ===== */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .9rem 1.5rem;
  background: var(--ink); color: var(--paper);
  font-weight: 500; font-size: .98rem; line-height: 1.2; text-decoration: none;
  border: 1px solid transparent; border-radius: var(--radius);
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .25s var(--ease);
}
.btn:hover { background: var(--accent); color: var(--accent-ink); transform: translateY(-1px); }
.btn:hover .arrow { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--sm { padding: .55rem 1rem; font-size: .9rem; }
.link {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 500; text-decoration: none; color: var(--accent);
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  padding-bottom: .1rem;
  transition: border-color .2s ease, color .2s ease;
}
.link:hover { color: var(--accent-hover); border-color: currentColor; }
.link:hover .arrow { transform: translateX(3px); }

/* ===== Barra superior ===== */
.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--top); }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.brand__mark { width: 2rem; height: 2rem; flex: none; color: var(--accent); }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.32rem; font-weight: 500; letter-spacing: -.01em; line-height: 1;
  white-space: nowrap;
}
.brand__name span { font-style: italic; font-weight: 400; color: var(--muted); }

.top__nav { display: flex; align-items: center; gap: 1.6rem; }
.top__links { display: flex; align-items: center; gap: 1.6rem; }
.top__links a {
  font-size: .94rem; font-weight: 500; color: var(--muted); text-decoration: none;
  padding: .3rem 0; border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.top__links a:hover { color: var(--ink); border-color: var(--accent); }
.top__links a.btn { color: var(--paper); padding: .55rem 1rem; border: 1px solid transparent; }
.top__links a.btn:hover { color: var(--accent-ink); border-color: transparent; }
.lang {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono); font-size: .74rem; font-weight: 500; letter-spacing: .1em;
  border: 1px solid var(--line); border-radius: 999px; padding: 2px;
}
.lang a, .lang span { padding: .26rem .66rem; border-radius: 999px; text-decoration: none; }
.lang a { color: var(--muted); transition: color .2s ease; }
.lang a:hover { color: var(--ink); }
.lang span { background: var(--ink); color: var(--paper); }
.menu {
  display: none; position: relative; width: 2.5rem; height: 2.5rem;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); cursor: pointer;
}
.menu span {
  position: absolute; left: .7rem; right: .7rem; height: 1.5px; background: currentColor;
  transition: transform .25s var(--ease), opacity .2s ease, top .25s var(--ease);
}
.menu span:nth-child(1) { top: .9rem; }
.menu span:nth-child(2) { top: 1.2rem; }
.menu span:nth-child(3) { top: 1.5rem; }
.menu[aria-expanded="true"] span:nth-child(1) { top: 1.2rem; transform: rotate(45deg); }
.menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu[aria-expanded="true"] span:nth-child(3) { top: 1.2rem; transform: rotate(-45deg); }

/* ===== Encabezado ===== */
.hero { position: relative; overflow: hidden; isolation: isolate; padding-top: clamp(3rem, 7vw, 5.5rem); }
.topo {
  position: absolute; z-index: -1; pointer-events: none;
  background: var(--topo);
  -webkit-mask: url("topo.svg") center / contain no-repeat,
                radial-gradient(closest-side, #000 35%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask: url("topo.svg") center / contain no-repeat,
        radial-gradient(closest-side, #000 35%, transparent 100%);
  mask-composite: intersect;
}
.hero .topo { top: -14%; right: -12%; width: min(66rem, 96vw); aspect-ratio: 900 / 720; }
.hero__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.55rem, 5vw, 4.15rem);
  line-height: 1.04;
  letter-spacing: -.025em;
  margin: 1.1rem 0 1.4rem;
  text-wrap: balance;
}
.hero h1 em { font-style: italic; font-weight: 400; color: var(--accent); }
.lead { font-size: 1.16rem; line-height: 1.6; color: var(--muted); max-width: 33rem; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 2.1rem; }

/* Composición con capturas reales */
.shots { position: relative; padding: 0 0 2.4rem 2.6rem; }
.browser {
  background: var(--frame);
  border: 1px solid color-mix(in srgb, var(--ink) 20%, var(--line));
  border-radius: 10px; overflow: hidden;
  box-shadow: var(--shadow);
}
.browser__bar { display: flex; align-items: center; gap: .38rem; padding: .62rem .8rem; background: #161b22; }
.browser__bar i { width: .56rem; height: .56rem; border-radius: 50%; background: #39424d; }
.browser__bar b {
  margin-left: .7rem; padding: .16rem .7rem; border-radius: 999px; background: #0d1117;
  font: 400 .66rem/1.5 var(--font-mono); letter-spacing: .04em; color: #8b98a5;
}
.browser img { width: 100%; }
.phone {
  position: absolute; left: 0; bottom: 0; width: 27%;
  background: var(--frame);
  border: 5px solid #1b232d; border-radius: 20px; overflow: hidden;
  box-shadow: 0 24px 44px -18px rgba(0, 0, 0, .7);
}
.phone img { width: 100%; aspect-ratio: 600 / 1130; object-fit: cover; object-position: top; }
.shots figcaption { position: absolute; right: 0; bottom: 0; text-align: right; }

/* Datos rápidos */
.facts { border-top: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 70%, transparent); }
.facts ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts li { padding: 1.5rem 1.5rem 1.6rem; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts strong {
  display: block; font-family: var(--font-display); font-weight: 500;
  font-size: 1.5rem; line-height: 1.15; letter-spacing: -.015em; margin-bottom: .25rem;
}
.facts span { font-size: .93rem; color: var(--muted); line-height: 1.45; display: block; }

/* ===== Secciones ===== */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; border-top: 1px solid var(--line); }
.section--alt { background: var(--paper-2); }
.section__head { max-width: 42rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section__head h2, .band h2 {
  font-family: var(--font-display);
  font-weight: 500; font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.06; letter-spacing: -.022em;
  margin: .8rem 0 .9rem; text-wrap: balance;
}
.section__head p:not(.label) { color: var(--muted); font-size: 1.1rem; }

/* Servicios */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.service {
  padding: 1.7rem 1.6rem 1.8rem;
  background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .25s ease, transform .35s var(--ease), box-shadow .35s var(--ease);
}
.service:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -30px color-mix(in srgb, var(--accent) 70%, transparent);
}
.service__icon {
  width: 2.75rem; height: 2.75rem; display: grid; place-items: center;
  border-radius: var(--radius); background: var(--accent-soft); color: var(--accent);
  margin-bottom: 1.2rem;
}
.service__icon svg {
  width: 1.45rem; height: 1.45rem; fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.service h3, .project h3, .steps h3 {
  font-family: var(--font-display);
  font-weight: 500; font-size: 1.4rem; line-height: 1.15; letter-spacing: -.015em;
  margin-bottom: .55rem;
}
.service p, .project p:not(.label), .steps p { color: var(--muted); font-size: .98rem; }

/* Proyectos */
.feature {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  padding: clamp(1.6rem, 4vw, 3rem);
  padding-right: 0;
  background: var(--accent-soft);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.1rem;
}
.feature h3 {
  font-family: var(--font-display);
  font-weight: 500; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; letter-spacing: -.025em;
  margin: .7rem 0 .9rem;
}
.feature p:not(.label) { color: color-mix(in srgb, var(--ink) 80%, transparent); margin-bottom: 1.3rem; }
.feature .chips { margin-bottom: 1.6rem; }
.feature__shot { margin: 0 calc(clamp(1.6rem, 4vw, 3rem) * -1) calc(clamp(1.6rem, 4vw, 3rem) * -1) 0; }
.feature__shot .browser { border-radius: 10px 0 0 0; border-right: 0; border-bottom: 0; }
.feature__shot img { aspect-ratio: 1600 / 1080; object-fit: cover; object-position: top left; }

.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.project {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 1.8rem 1.7rem;
  background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.project h3 { font-size: 1.5rem; margin: .7rem 0 .6rem; }
.project p:not(.label) { margin-bottom: 1.4rem; }
.project .chips { margin-top: auto; }

.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chips li {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .04em;
  color: var(--muted);
  border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); border-radius: 999px;
  padding: .2rem .7rem;
}
.chips--lg { gap: .55rem; }
.chips--lg li { font-size: .84rem; padding: .45rem 1rem; color: var(--ink); background: var(--card); border-color: var(--line); }

/* Proceso */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.6rem; counter-reset: paso; }
.steps li { position: relative; padding-top: 1.5rem; border-top: 1px solid var(--ink); }
.steps li::before {
  content: ""; position: absolute; top: -5px; left: 0;
  width: 9px; height: 9px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px var(--paper);
}
.steps__n { display: block; font-family: var(--font-mono); font-size: .76rem; font-weight: 500; letter-spacing: .1em; color: var(--accent); margin-bottom: .7rem; }
.steps h3 { font-size: 1.28rem; }
.steps p { font-size: .94rem; }

.stack {
  display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 1.5rem 3rem; align-items: center;
  margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: clamp(2rem, 4vw, 2.8rem);
  border-top: 1px solid var(--line);
}
.stack h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; line-height: 1.15; letter-spacing: -.015em; margin-top: .5rem; }

/* Empresa */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.about .section__head { margin-bottom: 0; }
.about__text p { font-size: 1.12rem; color: var(--muted); margin-bottom: 1.1rem; }
.about__text p:first-child {
  font-family: var(--font-display); font-size: clamp(1.45rem, 2.2vw, 1.8rem); line-height: 1.3;
  letter-spacing: -.012em; color: var(--ink); margin-bottom: 1.4rem; text-wrap: pretty;
}
.about dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; margin-top: 2.2rem; border-top: 1px solid var(--line); }
.about dl div { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.about dt { margin-bottom: .2rem; }
.about dd { font-size: 1rem; }
.about dd a { text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .2s ease; }
.about dd a:hover { border-color: var(--accent); }

/* Contacto */
.band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--band); color: var(--band-ink);
  padding: clamp(4rem, 9vw, 7rem) 0;
  border-top: 1px solid var(--line);
}
.band .topo { background: var(--band-topo); top: -40%; right: -8%; width: min(60rem, 110vw); aspect-ratio: 900 / 720; }
.band__in { max-width: 44rem; }
.band .label { color: var(--band-accent, var(--accent)); }
.band h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.band p:not(.label) { color: var(--band-muted); font-size: 1.14rem; max-width: 36rem; }
.band .actions { margin-top: 2.2rem; }
.band .btn { background: var(--band-ink); color: var(--band); overflow-wrap: anywhere; }
.band .btn:hover { background: var(--band-accent, var(--accent)); color: #06202a; }

/* ===== Pie ===== */
.foot { background: var(--band); color: var(--band-muted); border-top: 1px solid var(--band-line); padding: 3rem 0 2rem; font-size: .93rem; }
.foot__in { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 2rem 3rem; }
.foot .brand { color: var(--band-ink); margin-bottom: 1rem; }
.foot .brand__mark { color: var(--band-accent, var(--accent)); }
.foot .brand__name span { color: var(--band-muted); }
.foot .label { color: var(--band-muted); margin-bottom: .9rem; opacity: .8; }
.foot li { margin-bottom: .45rem; }
.foot a { text-decoration: none; color: var(--band-ink); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.foot a:hover { border-color: currentColor; }
.foot__legal {
  margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--band-line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 2rem;
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .04em;
}

/* ===== Página de error ===== */
.lost { min-height: 62vh; display: grid; align-content: center; padding: 4rem 0; }
.lost h1 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -.02em;
  margin: 1rem 0 1.2rem;
}

/* ===== Movimiento ===== */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); }
  .rise--1 { --i: 1; } .rise--2 { --i: 2; } .rise--3 { --i: 3; } .rise--4 { --i: 4; }
  .hero .topo { animation: surface 1.8s ease both; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } }
  @keyframes surface { from { opacity: 0; } }

  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .services .reveal:nth-child(3n + 2), .projects .reveal:nth-child(2), .steps .reveal:nth-child(2) { --d: 80ms; }
  .services .reveal:nth-child(3n), .projects .reveal:nth-child(3), .steps .reveal:nth-child(3) { --d: 160ms; }
  .steps .reveal:nth-child(4) { --d: 240ms; }
  .steps .reveal:nth-child(5) { --d: 320ms; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .service:hover, .btn:hover .arrow, .link:hover .arrow { transform: none; }
}

/* ===== Adaptación ===== */
@media (max-width: 1040px) {
  .top__links { gap: 1.1rem; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2.4rem; }
}
@media (max-width: 920px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); }
  .shots { max-width: 40rem; }
  .hero .topo { top: -4%; right: -30%; width: 120vw; }
  .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .facts li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .projects { grid-template-columns: minmax(0, 1fr); }
  .feature { grid-template-columns: minmax(0, 1fr); padding-right: clamp(1.6rem, 4vw, 3rem); }
  .feature__shot { margin-right: calc(clamp(1.6rem, 4vw, 3rem) * -1); margin-left: 0; }
  .about { grid-template-columns: minmax(0, 1fr); }
  .stack { grid-template-columns: minmax(0, 1fr); }
  .foot__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__in > :first-child { grid-column: 1 / -1; }

  .menu { display: block; }
  .top__links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .4rem var(--gutter) 1.2rem;
    box-shadow: 0 24px 40px -28px rgba(0, 0, 0, .5);
  }
  .top__links.is-open { display: flex; }
  .top__links a { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; color: var(--ink); }
  .top__links a.btn { margin-top: 1rem; justify-content: center; padding: .85rem 1rem; }
  .top__nav { gap: .7rem; }
  html:not(.js) .menu { display: none; }
  html:not(.js) .top__links { display: none; }
}
@media (max-width: 640px) {
  .services, .projects { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 0; gap: 0; }
  .steps li { padding: 1.4rem 0 1.5rem 1.6rem; border-top: 0; border-left: 1px solid var(--ink); }
  .steps li::before { top: 1.75rem; left: -5px; }
  .about dl { grid-template-columns: minmax(0, 1fr); }
  .foot__in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  :root { --gutter: 1rem; --top: 4rem; }
  body { font-size: 1rem; }
  .brand__mark { width: 1.7rem; height: 1.7rem; }
  .brand__name { font-size: 1.1rem; }
  .brand { gap: .5rem; }
  .lead { font-size: 1.06rem; }
  .actions .btn { width: 100%; justify-content: center; }
  .shots { padding: 0 0 2.6rem 1.6rem; }
  .shots figcaption { position: static; text-align: left; margin-top: .9rem; }
  .shots { padding-bottom: 0; }
  .phone { bottom: 2.4rem; border-width: 4px; border-radius: 14px; }
  .facts li { padding: 1.1rem .9rem 1.2rem; }
  .facts strong { font-size: 1.22rem; }
  .facts span { font-size: .86rem; }
}
@media (max-width: 380px) {
  .brand__name span { display: none; }
}

@media print {
  .topo, .lang, .menu, .skip, .top__links { display: none; }
  .top { position: static; }
  body { background: #fff; color: #000; }
}
