/* ════════════════════════════════════════
   1111 — hacemos webs
   Brief: gráfica urbana 90/2000 · B&N + azul eléctrico
   Tipos: Barlow Condensed (display/UI) · Barlow (cuerpo)
   Paleta: White #F4F4F4 · Ink #0A0A0A · Blue #1B4EFF ·
           Blue Dark #1240E0 · Mid #888888
   ════════════════════════════════════════ */

:root {
  --white: #f4f4f4;
  --ink: #0a0a0a;
  --blue: #1b4eff;
  --blue-dark: #1240e0;
  --mid: #888888;
  --line-dark: #1e1e1e; /* bordes sobre ink */
  --line-light: #e0e0e0; /* bordes sobre white */

  /* theme light (default) */
  --bg: var(--white);
  --fg: var(--ink);
  --line: var(--ink);
  --line-soft: var(--line-light);
  --mock-bg: var(--line-light);

  --font-cond: "Barlow Condensed", sans-serif;
  --font-body: "Barlow", sans-serif;
  --nav-h: 72px;
  --pad-x: 40px;
}

[data-theme="dark"] {
  --bg: var(--ink);
  --fg: var(--white);
  --line: var(--white);
  --line-soft: var(--line-dark);
  --mock-bg: #1a1a1a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--blue);
  color: var(--white);
}

/* ── Los “:” titilan como un reloj digital ── */
.tick {
  animation: blink 1s ease infinite;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.15;
  }
}

/* ── Fade-in mínimo en scroll (400ms, según brief) ── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Elemento firma: |||| ── */
.bars {
  font-family: var(--font-cond);
  font-weight: 900;
  letter-spacing: 1.5px;
  color: var(--blue);
}

.label {
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}
.label-blue {
  color: var(--blue);
}
.label-blue .bars {
  color: inherit;
}
.label-white {
  color: var(--white);
}
.label-white .bars {
  color: var(--white);
}

/* ════════ NAV ════════ */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 2px solid var(--line);
  transition:
    background 0.3s,
    border-color 0.3s;
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  /* el lockup (logotipo + tagline) escala junto desde acá */
  font-size: 1.9rem;
  /* el ancho = ancho del 11:11; el tagline (stretch) se iguala a él */
  width: fit-content;
}
.brand-mark {
  font-family: var(--font-cond);
  font-weight: 900;
  font-style: italic;
  font-size: 1em;
  letter-spacing: 1px;
}
.brand-mark .tick {
  color: var(--blue);
}
/* tagline: peso liviano, sin tracking; el font-size lo iguala al ancho del 11:11 */
.brand-tagline {
  font-family: var(--font-cond);
  font-weight: 400;
  font-size: 0.31em;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--mid);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.nav-links a:not(.nav-cta):hover {
  color: var(--blue);
}

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 12px 24px;
  transition: background 0.2s;
}
.nav-cta:hover {
  background: var(--blue-dark);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.theme-toggle,
.lang-toggle {
  line-height: 1;
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  background: transparent;
  color: var(--fg);
  border: 2px solid var(--line);
  padding: 9px 16px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.theme-toggle:hover,
.lang-toggle:hover {
  background: var(--fg);
  color: var(--bg);
}
.lang-toggle {
  display: inline-block;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg);
  margin: 5px 0;
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ════════ HERO ════════ */
.hero {
  padding-top: var(--nav-h);
  background: var(--bg);
  transition: background 0.3s;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: calc(100svh - var(--nav-h));
}
.hero-left {
  padding: 56px var(--pad-x) 56px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 2px solid var(--line);
}
.hero-title {
  font-family: var(--font-cond);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(3rem, 6.5vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.5px;
  margin-bottom: 1.6rem;
}
.blue {
  color: var(--blue);
}
.hero-sub {
  max-width: 480px;
  font-size: 1.05rem;
  color: var(--mid);
  margin-bottom: 2.2rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 56px 0 56px var(--pad-x);
}
.hero-watermark {
  font-family: var(--font-cond);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(5.5rem, 9vw, 7rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--fg);
  user-select: none;
}
.hero-location {
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  color: var(--mid);
}

/* ════════ BOTONES ════════ */
.btn {
  display: inline-block;
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.95rem;
  padding: 14px 32px;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.btn-primary {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.btn-primary:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--fg);
  color: var(--bg);
}
.btn-on-blue {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}
.btn-on-blue:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

/* ════════ SECCIONES ════════ */
.section {
  padding: 56px 0;
}
.section-title {
  font-family: var(--font-cond);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 0.95;
  margin-bottom: 2.8rem;
}
.section-sub {
  max-width: 560px;
  color: var(--mid);
  margin: -1.6rem 0 2.8rem;
}
.section-sub strong {
  color: var(--fg);
  font-weight: 500;
}

/* siempre ink, en ambos themes */
.section-ink {
  background: var(--ink);
  color: var(--white);
}
.section-ink .section-title {
  color: var(--white);
}

/* acompaña el theme (white en light / ink en dark) */
.section-flip {
  background: var(--bg);
  color: var(--fg);
  transition:
    background 0.3s,
    color 0.3s;
}

/* En dark, varias secciones quedan ink seguidas y se funden.
   Un borde fino (mismo #1E1E1E de las cards) las separa — solo en dark. */
[data-theme="dark"] #que-hacemos,
[data-theme="dark"] #como-trabajamos,
[data-theme="dark"] #quienes-somos,
[data-theme="dark"] #contacto {
  border-top: 2px solid var(--line-dark);
}

/* ── Qué hacemos ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 2px solid var(--line-dark);
}
.service {
  padding: 2.2rem 1.8rem;
  border-right: 2px solid var(--line-dark);
  border-bottom: 2px solid var(--line-dark);
}
.service:nth-child(3n) {
  border-right: 0;
}
.service:nth-last-child(-n + 3) {
  border-bottom: 0;
}
.service-num {
  font-family: var(--font-cond);
  font-weight: 900;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--blue);
  display: block;
  margin-bottom: 0.8rem;
}
.service h3 {
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.service p {
  color: var(--mid);
  font-size: 0.95rem;
}

.audience-strip {
  margin-top: 2.4rem;
  padding: 1.6rem 1.8rem;
  border: 2px solid var(--line-dark);
  color: var(--mid);
}
.audience-strip strong {
  color: var(--white);
  font-weight: 500;
}

/* ── El momento 11:11 (siempre azul) ── */
.section-blue {
  background: var(--blue);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 96px 0;
}
.momento-watermark {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-cond);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(10rem, 24vw, 20rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--blue-dark);
  pointer-events: none;
  user-select: none;
}
.momento-content {
  position: relative;
  z-index: 1;
}
.momento-line {
  font-family: var(--font-cond);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 0.98;
  margin-bottom: 1.6rem;
}
.momento-text {
  font-size: 1.15rem;
  max-width: 520px;
  margin-bottom: 0.8rem;
  color: var(--white);
}
.momento-final {
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.35rem;
  margin-bottom: 2.4rem;
}

/* ── Trabajos ── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
}
.work {
  display: block;
  /* borde por box-shadow: se comparte en el gap de 2px y aguanta
     cualquier cantidad de cards sin romperse al agregar más */
  box-shadow: 0 0 0 2px var(--line);
}
a.work:hover .work-info h3 {
  color: var(--blue);
}
.work-mockup {
  aspect-ratio: 4 / 3;
  background: var(--mock-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-cond);
  font-weight: 900;
  font-style: italic;
  font-size: 3rem;
  color: var(--mid);
  border-bottom: 2px solid var(--line);
  transition: background 0.3s;
  overflow: hidden;
}
.work-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  /* B&N por defecto; recupera el color al hover de la card */
  filter: grayscale(1);
  transition: filter 0.4s ease;
}
.work:hover .work-mockup img {
  filter: none;
}
.work-info {
  padding: 1.4rem 1.6rem;
}
.work-info h3 {
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.1rem;
}
.work-info p {
  color: var(--mid);
  font-size: 0.9rem;
}
.work-next .work-mockup {
  color: var(--blue);
}

/* ── Quiénes somos ── */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 2px solid var(--line-dark);
}
.team {
  padding: 2.4rem 2rem;
  border-right: 2px solid var(--line-dark);
}
.team:last-child {
  border-right: 0;
}
.team-head {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-bottom: 1.2rem;
}
.team-head .label {
  margin-bottom: 0.4rem;
}
.team-avatar {
  position: relative;
  width: 96px;
  height: 96px;
  border: 2px solid var(--line-dark);
  flex-shrink: 0;
  overflow: hidden;
  /* aísla el blend para que tiñe la foto y no el fondo de la card */
  isolation: isolate;
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.45s ease;
}
/* capa 1 — tinte azul: overlay semitransparente (blend normal, siempre visible) */
.team-avatar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  opacity: 0.45;
  transition: opacity 0.45s ease;
  pointer-events: none;
  z-index: 1;
}
/* hover — revela la foto real: saca el azul */
.team:hover .team-avatar img {
  filter: none;
}
.team:hover .team-avatar::before {
  opacity: 0;
}
.team h3 {
  font-family: var(--font-cond);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: 2.4rem;
  line-height: 1;
}
.team-role {
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  color: var(--blue);
  margin: 0.5rem 0 1rem;
}
.team-bio {
  color: var(--mid);
  font-size: 0.95rem;
}

.quote {
  margin-top: 2.8rem;
  padding-left: 1.6rem;
  border-left: 4px solid var(--blue);
  font-size: 1.15rem;
  color: var(--mid);
  max-width: 680px;
}

/* ── Contacto ── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 2px solid var(--line);
  /* el fondo del contenedor + gap dibuja las líneas internas:
     evita los hilos de subpíxel entre el hover azul y el borde */
  background: var(--line);
  gap: 2px;
}
.contact-channel {
  padding: 2.2rem 1.8rem;
  background: var(--bg);
  display: block;
  transition: background 0.2s;
}
a.contact-channel:hover {
  background: var(--blue);
  color: var(--white);
}
a.contact-channel:hover p,
a.contact-channel:hover .channel-action {
  color: var(--white);
}
.contact-channel h3 {
  font-family: var(--font-cond);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}
.contact-channel p {
  color: var(--mid);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.channel-action {
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  color: var(--blue);
}
.channel-extra {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  color: var(--mid);
}
a.contact-channel:hover .channel-extra {
  color: var(--white);
}

.contact-note {
  margin-top: 2.4rem;
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  color: var(--mid);
}

/* ════════ FOOTER ════════ */
.footer {
  background: var(--ink);
  color: var(--white);
  border-top: 2px solid var(--line-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-block: 56px 40px;
}
.footer-brand .brand {
  font-size: 2.2rem;
}
.footer-brand .brand-tagline {
  display: block;
  margin-top: 4px;
}
.footer-brand p {
  color: var(--mid);
  font-size: 0.92rem;
  margin-top: 1rem;
  max-width: 320px;
}
.footer h4 {
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  color: var(--mid);
  margin-bottom: 1.1rem;
}
.footer h4 .bars {
  color: var(--blue);
}
.footer-nav,
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: flex-start;
}
.footer-nav a,
.footer-social a {
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  color: var(--white);
  transition: color 0.2s;
}
.footer-nav a:hover,
.footer-social a:hover {
  color: var(--blue);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-block: 1.4rem;
  border-top: 2px solid var(--line-dark);
  font-size: 0.85rem;
  color: var(--mid);
}

/* ════════ BANNER DE CONSENTIMIENTO ════════ */
.consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  background: var(--bg);
  border-top: 2px solid var(--line);
  padding: 20px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
}
.consent.is-hiding {
  opacity: 0;
  transition: opacity 0.25s ease;
}
.consent-text a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ════════ PÁGINAS LEGALES ════════ */
.legal {
  padding: calc(var(--nav-h) + 48px) 0 80px;
}
.legal .container {
  max-width: 760px;
}
.legal h1 {
  font-family: var(--font-cond);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.legal .updated {
  color: var(--mid);
  font-size: 0.9rem;
  margin: 0.8rem 0 2.4rem;
}
.legal h2 {
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.25rem;
  margin-top: 2.6rem;
  margin-bottom: 0.8rem;
}
.legal p,
.legal li {
  color: var(--fg);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0.9rem;
}
.legal ul {
  padding-left: 1.2rem;
  margin-bottom: 0.9rem;
}
.legal li {
  margin-bottom: 0.5rem;
}
.legal a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal strong {
  font-weight: 500;
}

.footer-bottom a {
  color: var(--mid);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.footer-bottom a:hover {
  color: var(--blue);
}

/* ════════ PÁGINA 404 ════════ */
.notfound {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px var(--pad-x);
}
.notfound .brand {
  align-items: center;
  margin-bottom: 2.6rem;
}
.notfound-code {
  font-family: var(--font-cond);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(5rem, 20vw, 12rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.notfound-code .tick {
  color: var(--blue);
}
.notfound h1 {
  font-family: var(--font-cond);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  line-height: 1;
  margin: 1rem 0;
}
.notfound p {
  color: var(--mid);
  max-width: 440px;
  margin-bottom: 2rem;
}
.consent-text {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--fg);
  max-width: 720px;
}
.consent-actions {
  display: flex;
  gap: 0.8rem;
  flex-shrink: 0;
}
.consent .btn {
  padding: 10px 24px;
  font-size: 0.85rem;
}

/* ════════ RESPONSIVE ════════ */
@media (max-width: 900px) {
  :root {
    --pad-x: 24px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-left {
    border-right: 0;
    border-bottom: 2px solid var(--line);
    padding: 48px 0;
  }
  .hero-right {
    padding: 40px 0;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service:nth-child(3n) {
    border-right: 2px solid var(--line-dark);
  }
  .service:nth-child(2n) {
    border-right: 0;
  }
  .service:nth-last-child(-n + 3) {
    border-bottom: 2px solid var(--line-dark);
  }
  .service:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .team {
    border-right: 0;
    border-bottom: 2px solid var(--line-dark);
  }
  .team:last-child {
    border-bottom: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    right: 0;
    width: min(78vw, 320px);
    height: calc(100svh - var(--nav-h));
    flex-direction: column;
    align-items: flex-start;
    gap: 1.6rem;
    padding: 2.4rem 1.8rem;
    background: var(--bg);
    border-left: 2px solid var(--line);
    transform: translateX(100%);
    visibility: hidden;
    transition:
      transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
      visibility 0s 0.4s;
  }
  .nav-links.open {
    transform: translateX(0);
    visibility: visible;
    transition-delay: 0s;
  }
  .nav-links a {
    font-size: 1.05rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  /* en 1 columna todas llevan borde inferior menos la última.
     se listan también los nth-last-child para ganar a las reglas de ≤900px */
  .service,
  .service:nth-child(2n),
  .service:nth-child(3n),
  .service:nth-last-child(-n + 2),
  .service:nth-last-child(-n + 3) {
    border-right: 0;
    border-bottom: 2px solid var(--line-dark);
  }
  .service:last-child {
    border-bottom: 0;
  }
  .section-blue {
    padding: 72px 0;
  }
  .momento-watermark {
    font-size: 9rem;
    right: -10%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
    padding-block: 40px 32px;
  }
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
}
