/* AIRON Studio — estilos del sitio */

/* Tipografías alojadas en el propio sitio (licencia SIL Open Font License) */
@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/anton-400.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/instrumentsans-var.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/plexmono-400.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/plexmono-500.woff2') format('woff2'); }

:root {
  --bg: #F2F0EB;
  --ink: #111111;
  --texto-2: #3A3833;
  --muted: #5A5750;
  --muted-oscuro: #A8A49B;
  --linea-oscura: #3A3833;
  --placeholder: #DCD8CF;
  --acento: #FF0000;
  --hover: #C00000;

  --f-display: 'Anton', 'Arial Narrow', sans-serif;
  --f-texto: 'Instrument Sans', system-ui, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --gutter: 20px;
  --header-h: 64px;
}
@media (min-width: 700px) { :root { --gutter: 40px; } }
@media (min-width: 1100px) { :root { --gutter: 72px; --header-h: 96px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-texto);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1584px; margin: 0 auto; padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.kicker { display: block; color: var(--muted); margin-bottom: 12px; }
.lead { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; color: var(--texto-2); max-width: 36em; }
.h2 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; line-height: .95; font-size: clamp(44px, 6vw, 88px); }
.h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; line-height: 1; font-size: clamp(34px, 4vw, 56px); }
.num { color: var(--muted); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; }
.skip:focus { left: 8px; }
.oculto { position: absolute; left: -9999px; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 12px 24px; border-radius: 999px;
  font: 600 16px/1 var(--f-texto); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: opacity .15s, background-color .15s;
}
.btn-lg { min-height: 56px; padding: 18px 32px; font-size: 18px; }
.btn-accent { background: var(--acento); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn:hover { opacity: .88; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 600; font-size: 18px; text-underline-offset: 6px; }
.link-arrow:hover, .nav-link:hover { color: var(--hover); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--ink); }
.header-in { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.logo { display: block; color: var(--ink); }
.logo-svg { display: block; height: auto; }
.logo-header { width: clamp(150px, 16vw, 232px); }
.logo-estrella { fill: var(--acento); transition: fill .25s ease; }
.logo, .footer-logo { transition: color .25s ease; }
/* Al pasar el mouse: las letras pasan a rojo y la estrella a negro (en el pie, a blanco) */
.logo:hover, .logo:focus-visible { color: var(--acento); }
.logo:hover .logo-estrella, .logo:focus-visible .logo-estrella { fill: var(--ink); }
.footer-logo:hover, .footer-logo:focus-visible { color: var(--acento); }
.footer-logo:hover .logo-estrella, .footer-logo:focus-visible .logo-estrella { fill: var(--bg); }
.nav { display: flex; align-items: center; gap: 40px; margin-left: auto; }
.idioma { display: flex; align-items: center; gap: 2px; margin-left: 32px; font-size: 13px; }
.idioma a { display: flex; align-items: center; justify-content: center; min-width: 36px; min-height: 44px; text-decoration: none; color: var(--muted); }
.idioma a:hover { color: var(--hover); }
.idioma a[aria-current="true"] { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.idioma span { color: var(--muted); }
.nav-link { font-size: 17px; font-weight: 500; text-decoration: none; }
.nav-link[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; font-weight: 600; }
.nav-cta { padding: 13px 24px; background: var(--ink); color: var(--bg); border-radius: 999px; }
.nav-cta:hover { color: var(--bg); opacity: .88; }
.nav-cta[aria-current="page"] { text-decoration: none; }
.only-menu, .menu-btn { display: none; }
.menu-btn .i-cerrar, .menu-btn[aria-expanded="true"] .i-abrir { display: none; }
.menu-btn[aria-expanded="true"] .i-cerrar { display: block; }

@media (max-width: 899px) {
  .idioma { margin-left: auto; margin-right: 8px; }
  .menu-btn {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 1px solid var(--ink); border-radius: 999px;
    background: transparent; color: var(--ink); cursor: pointer;
  }
  .nav { display: none; }
  .menu-open .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--ink); color: var(--bg);
    padding: 24px var(--gutter) 40px; overflow-y: auto;
  }
  .menu-open .nav .nav-link {
    font-family: var(--f-display); font-weight: 400; font-size: 56px; line-height: 1; text-transform: uppercase;
    padding: 20px 0; border-bottom: 1px solid var(--linea-oscura);
    background: none; border-radius: 0; color: var(--bg);
  }
  .menu-open .nav .nav-link[aria-current="page"] { color: var(--acento); text-decoration: none; }
  .menu-open .only-menu { display: block; }
  .menu-open .nav-redes { display: flex; flex-wrap: wrap; gap: 20px; margin-top: auto; padding-top: 32px; }
  .menu-open .nav-redes a { min-height: 44px; display: flex; align-items: center; text-decoration: none; }
  .menu-open body { overflow: hidden; }
  /* Sin JavaScript: el menú se muestra como una fila simple */
  html:not(.js) .nav { display: flex; gap: 16px; }
  html:not(.js) .menu-btn { display: none; }
  html:not(.js) .nav-cta { padding: 8px 14px; }
}

/* ---------- hero ---------- */
.hero-in { min-height: min(760px, calc(100svh - var(--header-h))); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding-block: 32px 40px; }
.hero-kicker { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; color: var(--muted); }
.hero-title { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; line-height: .92; font-size: clamp(54px, 10.3vw, 148px); max-width: 12.5em; }
.hero-title .palabra { transition: color .2s ease; }
/* Al cargar: las palabras se ponen rojas una por una y vuelven a negro */
.hero-title .palabra { animation: ola 1.1s ease-in-out backwards; }
.hero-title .palabra:nth-child(1) { animation-delay: .3s; }
.hero-title .palabra:nth-child(2) { animation-delay: .45s; }
.hero-title .palabra:nth-child(3) { animation-delay: .6s; }
.hero-title .palabra:nth-child(4) { animation-delay: .75s; }
.hero-title .palabra:nth-child(5) { animation-delay: .9s; }
.hero-title .palabra:nth-child(6) { animation-delay: 1.05s; }
.hero-title .palabra:nth-child(7) { animation-delay: 1.2s; }
.hero-title .palabra:nth-child(8) { animation-delay: 1.35s; }
@keyframes ola { 0%, 100% { color: var(--ink); } 40% { color: var(--acento); } }
.hero-title .palabra:hover { color: var(--acento); }
.hero-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; }
@media (max-width: 699px) {
  .hero-kicker { flex-direction: column; }
  .hero-bottom .btn-row { width: 100%; flex-direction: column; }
  .hero-bottom .btn { width: 100%; }
}

/* ---------- franja de disciplinas (movimiento continuo) ---------- */
.franja { background: var(--ink); color: var(--bg); overflow: hidden; }
.franja-pista { display: flex; width: max-content; animation: franja 45s linear infinite; }
.franja:hover .franja-pista, .franja:focus-within .franja-pista { animation-play-state: paused; }
.franja-lista { display: flex; align-items: center; flex-shrink: 0; height: 88px; }
.franja-lista a {
  display: flex; align-items: center; min-height: 44px; padding: 0 28px;
  font-family: var(--f-display); font-size: clamp(20px, 1.6vw, 26px); text-transform: uppercase; white-space: nowrap; text-decoration: none;
}
.franja-lista a:hover, .franja-lista a:focus-visible { color: var(--acento); }
.franja-sep { width: 10px; height: 10px; background: var(--acento); flex-shrink: 0; }
@keyframes franja { to { transform: translateX(-50%); } }
@media (max-width: 699px) { .franja-lista { height: 60px; } .franja-lista a { padding: 0 18px; } .franja-sep { width: 8px; height: 8px; } }
@media (prefers-reduced-motion: reduce) {
  .franja { overflow-x: auto; }
  .franja-pista { animation: none; }
  .franja-lista[aria-hidden="true"] { display: none; }
}

/* ---------- secciones ---------- */
.seccion { padding-block: clamp(56px, 8vw, 120px); }
.seccion--top { padding-top: clamp(32px, 5vw, 64px); }
.seccion--borde { border-top: 1px solid var(--ink); }
.seccion-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: clamp(32px, 4vw, 56px); }

/* ---------- tarjetas ---------- */
.card { display: flex; flex-direction: column; gap: 16px; text-decoration: none; }
.card-img { aspect-ratio: 202 / 158; overflow: hidden; background: var(--placeholder); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.03); }
.card-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.card-text { display: flex; flex-direction: column; gap: 6px; }
.card-title { font-family: var(--f-display); font-size: clamp(22px, 2vw, 28px); line-height: 1.05; text-transform: uppercase; }
.card--destacado .card-title { font-size: clamp(26px, 2.4vw, 34px); }
.card-sub { font-size: 15px; color: var(--muted); }
.card-cat { font-size: 12px; color: var(--muted); text-align: right; flex-shrink: 0; max-width: 45%; }
.card:hover .card-title { color: var(--hover); }
.card[hidden] { display: none; }

.destacados { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 64px 40px; }
.destacados .card:nth-child(4n+1), .destacados .card:nth-child(4n) { grid-column: span 7; }
.destacados .card:nth-child(4n+2), .destacados .card:nth-child(4n+3) { grid-column: span 5; }
@media (max-width: 899px) {
  .destacados { grid-template-columns: 1fr; gap: 40px; }
  .destacados .card:nth-child(n) { grid-column: auto; }
  .card-meta { flex-direction: column-reverse; gap: 6px; }
  .card-cat { text-align: left; max-width: none; }
}

.grid-proyectos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 40px; }
@media (max-width: 899px) {
  .grid-proyectos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .grid-proyectos .card { gap: 10px; }
  .grid-proyectos .card-title { font-size: 19px; }
  .grid-proyectos .card-sub { display: none; }
  .grid-proyectos .card-cat { font-size: 10px; }
}

/* ---------- servicios ---------- */
.servicios-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.servicios { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.servicio { display: flex; gap: 20px; border-top: 1px solid var(--ink); padding: 22px 0 26px; }
.servicio .num { font-family: var(--f-mono); font-size: 14px; padding-top: 6px; }
.servicio h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(24px, 2.2vw, 30px); text-transform: uppercase; }
.servicio p { color: var(--texto-2); margin-top: 6px; }
.servicio h3 a { text-decoration: none; }
.servicio h3 a:hover { color: var(--hover); }
@media (max-width: 899px) {
  .servicios-grid, .servicios { grid-template-columns: 1fr; }
}

/* ---------- CTA ---------- */
.cta { background: var(--acento); color: var(--ink); }
.cta-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px 48px; padding-block: clamp(48px, 7vw, 96px); }
.cta-title { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; line-height: .95; font-size: clamp(52px, 8.3vw, 120px); max-width: 9em; }
@media (max-width: 699px) { .cta-in .btn { width: 100%; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--bg); }
.site-footer .wrap { display: flex; flex-direction: column; gap: 48px; padding-block: 64px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 24px; }
.footer-logo { display: block; color: var(--bg); }
.logo-footer { width: clamp(220px, 30vw, 420px); }
.footer-redes { display: flex; flex-wrap: wrap; gap: 8px 36px; }
.footer-redes a { min-height: 44px; display: flex; align-items: center; font-weight: 500; font-size: 18px; text-decoration: none; }
.footer-redes a:hover { color: var(--acento); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: var(--muted-oscuro); }

/* ---------- encabezado de página y filtros ---------- */
.page-head-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; padding-block: clamp(32px, 5vw, 64px) clamp(28px, 4vw, 56px); }
.page-title { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; line-height: .86; font-size: clamp(76px, 14vw, 200px); }
.page-title--md { font-size: clamp(52px, 7.8vw, 112px); line-height: .92; }
.filtros { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.filtros-in { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.filtros-pills { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding-block: 12px; }
.filtros-pills::-webkit-scrollbar { display: none; }
.pill {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink);
  font: 500 16px/1 var(--f-texto); cursor: pointer;
}
.pill .mono { font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.pill:hover { opacity: .8; }
.pill[aria-pressed="true"] { background: var(--ink); color: var(--bg); font-weight: 600; }
.pill[aria-pressed="true"] .mono { color: var(--acento); }
.contador { color: var(--muted); flex-shrink: 0; }
@media (max-width: 899px) {
  .filtros-in { flex-direction: column; align-items: stretch; min-height: 0; gap: 4px; padding-inline: 0; }
  .filtros-pills { padding-inline: var(--gutter); gap: 8px; }
  .pill { min-height: 44px; padding: 0 18px; font-size: 15px; }
  .contador { padding: 0 var(--gutter) 12px; }
}

/* ---------- página de proyecto ---------- */
.proyecto-head .wrap { display: flex; flex-direction: column; gap: 24px; padding-block: clamp(20px, 4vw, 56px) clamp(32px, 4vw, 64px); }
.proyecto-crumbs { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: var(--muted); }
.proyecto-crumbs a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.proyecto-crumbs a:hover { color: var(--hover); }
.proyecto-title { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; line-height: .9; font-size: clamp(56px, 10.4vw, 150px); }
.proyecto-portada { aspect-ratio: 16 / 9; overflow: hidden; background: var(--placeholder); }
.proyecto-portada img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 699px) { .proyecto-portada { aspect-ratio: 4 / 5; } }

.ficha {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px 32px;
  margin-top: clamp(40px, 6vw, 80px); padding-block: 40px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
.ficha dt { color: var(--muted); font-size: 12px; margin-bottom: 10px; }
.ficha dd { font-size: 19px; font-weight: 500; line-height: 1.35; }

.bloque { padding-block: clamp(48px, 7vw, 96px); }
.bloque + .bloque { border-top: 1px solid var(--ink); }
.bloque-in { display: grid; grid-template-columns: 1fr 2fr; gap: 24px 40px; }
.bloque-head { display: flex; flex-direction: column; gap: 12px; }
.bloque-head .num { font-family: var(--f-mono); font-size: 14px; }
.bloque-body { display: flex; flex-direction: column; gap: 20px; font-size: 19px; line-height: 1.6; color: var(--texto-2); max-width: 44em; }
.texto-destacado { font-size: clamp(21px, 2.1vw, 30px); line-height: 1.35; color: var(--ink); }
.lista-marcas { display: flex; flex-direction: column; }
.lista-marcas li { border-top: 1px solid var(--ink); padding: 18px 0; }
.lista-marcas h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 24px; color: var(--ink); }
.lista-marcas p { font-size: 17px; margin-top: 4px; }
@media (max-width: 899px) {
  .bloque-in { grid-template-columns: 1fr; }
  .bloque-head { flex-direction: row; align-items: baseline; gap: 14px; }
  .bloque-body { font-size: 17px; }
}

.bloque--media { border-top: 1px solid var(--ink); }
.videos { display: grid; gap: 40px; margin-bottom: 40px; }
.video { position: relative; aspect-ratio: 16 / 9; background: var(--ink); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.galeria { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: start; }
.galeria figure { background: var(--placeholder); }
.galeria img { width: 100%; }
.zoom { display: block; cursor: zoom-in; }
.galeria-full { grid-column: 1 / -1; }
.galeria-grupo + .galeria-grupo { margin-top: clamp(64px, 8vw, 112px); }
.galeria-grupo-head { display: grid; grid-template-columns: 1fr 2fr; gap: 12px 40px; align-items: baseline; margin-bottom: 32px; padding-top: 24px; border-top: 1px solid var(--ink); }
.galeria-titulo { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; line-height: 1; font-size: clamp(28px, 3vw, 44px); }
.galeria-grupo-head p { color: var(--texto-2); font-size: 18px; line-height: 1.55; max-width: 44em; }
.galeria-grupo-head .mono { color: var(--muted); grid-column: 2; }
.galeria--grilla { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.galeria--grilla figure { background: transparent; }
@media (max-width: 899px) {
  .galeria-grupo-head { grid-template-columns: 1fr; }
  .galeria-grupo-head .mono { grid-column: auto; }
  .galeria.galeria--grilla { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
@media (max-width: 699px) { .galeria { grid-template-columns: 1fr; gap: 16px; } .videos { gap: 16px; } }

.behance-cta {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px;
  padding-block: 56px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
.behance-title { font-family: var(--f-display); font-size: clamp(32px, 3.4vw, 48px); line-height: 1.05; text-transform: uppercase; }
@media (max-width: 699px) { .behance-cta .btn { width: 100%; } }
.navegacion-proyectos { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-block: clamp(56px, 8vw, 120px); }
.otro { display: flex; flex-direction: column; text-decoration: none; }
.otro--sig { text-align: right; align-items: flex-end; }
.otro-title { font-family: var(--f-display); text-transform: uppercase; line-height: .95; font-size: clamp(32px, 5.6vw, 88px); }
.otro:hover .otro-title { color: var(--hover); }
@media (max-width: 699px) {
  .navegacion-proyectos { grid-template-columns: 1fr; gap: 32px; }
  .otro--sig { order: -1; }
}

/* ---------- sobre mí ---------- */
.sobre-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 40px 64px; align-items: start; }
.sobre-foto { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: var(--placeholder); }
.sobre-texto { display: flex; flex-direction: column; gap: 24px; }
.sobre-texto p:not(.texto-destacado) { color: var(--texto-2); line-height: 1.6; }
@media (max-width: 899px) { .sobre-grid { grid-template-columns: 1fr; } }

.numeros { background: var(--ink); color: var(--bg); }
.numeros .wrap { padding-block: clamp(56px, 8vw, 112px); }
.numeros .kicker { color: var(--muted-oscuro); margin-bottom: clamp(24px, 3vw, 40px); }
.numeros-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) 40px; }
.numero { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--linea-oscura); padding-top: 20px; }
.numero-valor { font-family: var(--f-display); font-size: clamp(64px, 7.5vw, 120px); line-height: .9; color: var(--acento); font-variant-numeric: tabular-nums; }
.numero .mono { color: var(--muted-oscuro); font-size: 12px; }
@media (max-width: 899px) { .numeros-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 339px) { .numeros-grid { grid-template-columns: 1fr; } }

.disciplinas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 40px; margin-top: 40px; }
.disciplinas li { display: flex; gap: 16px; align-items: baseline; border-top: 1px solid var(--ink); padding: 18px 0 32px; font-family: var(--f-display); font-size: clamp(22px, 2.2vw, 30px); text-transform: uppercase; }
.disciplinas a { text-decoration: none; }
.disciplinas a:hover { color: var(--hover); }
.disciplinas .num { font-family: var(--f-mono); font-size: 13px; }
@media (max-width: 899px) { .disciplinas { grid-template-columns: 1fr; } .disciplinas li { padding-bottom: 18px; } }

.marcas { display: flex; flex-wrap: wrap; gap: 12px 0; font-family: var(--f-display); font-size: clamp(30px, 3.4vw, 48px); line-height: 1.1; text-transform: uppercase; }
.marcas li:not(:last-child)::after { content: '/'; color: #8C887E; margin: 0 .5em; }

/* ---------- contacto ---------- */
.contacto-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 40px; align-items: start; }
.contacto-info { display: flex; flex-direction: column; gap: 28px; }
.redes-lista { display: flex; flex-direction: column; margin-top: 16px; }
.redes-lista a {
  min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-top: 1px solid var(--ink); text-decoration: none; font-family: var(--f-display); font-size: clamp(24px, 2.3vw, 32px); text-transform: uppercase;
}
.redes-lista a:last-child { border-bottom: 1px solid var(--ink); }
.redes-lista a:hover { color: var(--hover); }
.redes-lista .mono { font-size: 13px; text-transform: none; letter-spacing: .02em; }
.form { background: #fff; border: 1px solid var(--ink); padding: clamp(24px, 3.4vw, 48px); display: flex; flex-direction: column; gap: 24px; }
.campo { display: flex; flex-direction: column; gap: 8px; }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: 56px; padding: 14px 16px; border: 1px solid var(--ink); border-radius: 0;
  background: var(--bg); color: var(--ink); font: 400 17px/1.4 var(--f-texto);
}
.campo textarea { resize: vertical; min-height: 160px; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: 2px solid var(--ink); outline-offset: 2px; }
.nota { font-size: 14px; color: var(--muted); }
@media (max-width: 899px) { .contacto-grid { grid-template-columns: 1fr; } }

.simple .wrap { display: flex; flex-direction: column; gap: 28px; min-height: 50vh; justify-content: center; }

/* ---------- visor de imágenes ---------- */
.visor {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(17, 17, 17, .96); color: var(--bg);
}
.visor[open] { display: flex; align-items: center; justify-content: center; }
.visor::backdrop { background: rgba(17, 17, 17, .96); }
.visor-img { max-width: calc(100vw - 160px); max-height: calc(100dvh - 120px); width: auto; height: auto; object-fit: contain; }
.visor-btn {
  position: absolute; width: 52px; height: 52px; border-radius: 999px; border: 1px solid var(--muted-oscuro);
  background: transparent; color: var(--bg); font: 400 22px/1 var(--f-texto); cursor: pointer;
}
.visor-btn:hover { background: var(--acento); border-color: var(--acento); color: var(--ink); }
.visor-btn:focus-visible { outline-color: var(--acento); }
.visor-cerrar { top: 20px; right: 20px; }
.visor-ant { left: 20px; top: 50%; transform: translateY(-50%); }
.visor-sig { right: 20px; top: 50%; transform: translateY(-50%); }
.visor-contador { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: var(--muted-oscuro); }
@media (max-width: 699px) {
  .visor-img { max-width: 100vw; max-height: calc(100dvh - 160px); }
  .visor-ant, .visor-sig { top: auto; bottom: 16px; transform: none; }
  .visor-contador { bottom: 32px; }
}

/* ---------- aparición suave al bajar ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-title .palabra { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- transiciones entre páginas ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
  ::view-transition-group(*) { animation-duration: .55s; animation-timing-function: cubic-bezier(.2, .7, .1, 1); }
}
.site-header { view-transition-name: cabecera; }

/* ---------- vista previa al pasar por una tarjeta ---------- */
.card-img { position: relative; }
.card-previa { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; }
.card:hover .card-previa, .card:focus-visible .card-previa { opacity: 1; }
@media (hover: none) { .card-previa { display: none; } }

/* ---------- cómo trabajamos ---------- */
.proceso { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; counter-reset: paso; }
.paso { display: flex; flex-direction: column; gap: 12px; border-top: 2px solid var(--ink); padding-top: 20px; }
.paso-num { font-family: var(--f-display); font-size: clamp(48px, 5vw, 80px); line-height: 1; color: var(--acento); }
.paso h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(26px, 2.4vw, 34px); text-transform: uppercase; line-height: 1; }
.paso p { color: var(--texto-2); line-height: 1.55; }
@media (max-width: 899px) { .proceso { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; } }
@media (max-width: 499px) { .proceso { grid-template-columns: 1fr; } }

/* ---------- confiaron en nosotros ---------- */
.clientes { border-bottom: 1px solid var(--ink); }
.clientes .wrap { padding-block: clamp(40px, 5vw, 64px); }
.clientes-lista {
  display: flex; flex-wrap: wrap; gap: 12px 44px; margin-top: 8px;
  font-family: var(--f-display); font-size: clamp(26px, 3vw, 44px); line-height: 1.1; text-transform: uppercase; color: #8C887E;
}
.clientes-lista li { transition: color .25s ease; }
.clientes-lista li:hover { color: var(--ink); }

/* ---------- textos que se "arman" ---------- */
.armando { color: var(--acento) !important; }

/* ---------- cursor estrella (solo computadora) ---------- */
.cursor { display: none; }
@media (pointer: fine) {
  .cursor-activo, .cursor-activo * { cursor: none !important; }
  .cursor-activo input, .cursor-activo textarea, .cursor-activo select { cursor: text !important; }
  .cursor {
    display: flex; position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none;
    width: 28px; height: 28px; margin: -14px 0 0 -14px; align-items: center; justify-content: center;
    border-radius: 999px; color: var(--acento); transition: width .25s ease, height .25s ease, margin .25s ease, background-color .25s ease, opacity .2s ease;
    opacity: 0;
  }
  .cursor.visible { opacity: 1; }
  .cursor svg { width: 22px; height: 22px; transition: transform .25s ease, opacity .2s ease; }
  .cursor span { position: absolute; font: 600 14px/1 var(--f-texto); color: var(--ink); opacity: 0; transition: opacity .2s ease; }
  .cursor.enlace svg { transform: scale(1.5) rotate(45deg); }
  .cursor.ver { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: var(--acento); }
  .cursor.ver svg { opacity: 0; }
  .cursor.ver span { opacity: 1; }
  .cursor.oscuro { color: var(--bg); }
}
