/* =========================================================
   ESTILOS — Fábrica de Casas
   Colores: cambiá los valores de abajo para ajustar toda la web.
   ========================================================= */
:root {
  /* La web es siempre oscura, en todos los dispositivos */
  color-scheme: dark;
  --fondo: #121212;
  --fondo-alt: #121212;
  --texto: #f2f2f2;
  --suave: #a3a09a;
  --linea: #2f2f2f;
  --oscuro: #121212;
  --claro: #ffffff;
}

/* Tipografía única de toda la web: Circular Std Book */
@font-face {
  font-family: "Circular";
  src: url("fonts/CircularStd-Book.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }
html, body, button, input, textarea, select { font-family: "Circular", system-ui, sans-serif; }
b, strong, h1, h2, h3, h4, dt, dd, th { font-weight: 400; }
html { font-synthesis: none; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  margin: 0; background: var(--fondo); color: var(--texto);
  font-family: "Circular", system-ui, sans-serif; font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: "Circular", system-ui, sans-serif; font-weight: 400; line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 400; margin: 0 0 18px; }
section { padding: 120px 0; }
.h2 { font-size: clamp(34px, 4.6vw, 56px); }

/* ---------- Menú ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 20; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.solid { background: color-mix(in srgb, var(--fondo) 94%, transparent); backdrop-filter: blur(8px); border-color: var(--linea); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo img { height: 30px; width: auto; filter: invert(1); transition: filter .3s; }
.nav.solid .logo img { filter: none; }
.nav nav { display: flex; gap: 30px; }
.nav nav a { text-decoration: none; font-size: 14px; font-weight: 400; color: #fff; }
.nav.solid nav a { color: var(--texto); }
.nav nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.menu-btn { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.nav.solid .menu-btn { color: var(--texto); }
.nav.solid .logo img { filter: invert(1); }

/* ---------- Portada ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; color: #fff; overflow: hidden; padding: 0; background: #000; }
.hero .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero .slide.on { opacity: 1; }
.hero .slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease-out; }
.hero .slide.on img { transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,.7) 100%); pointer-events: none; }
.hero-text { position: absolute; z-index: 2; left: 0; right: 0; bottom: 11vh; }
.hero-text .eyebrow { opacity: .85; }
.hero h1 { font-size: clamp(46px, 8vw, 104px); max-width: 14ch; min-height: 1.1em; }
.hero p.sub { max-width: 520px; font-size: 19px; margin: 18px 0 34px; opacity: .92; min-height: 3.3em; }
.hero .fade { transition: opacity .5s ease; }
.hero .fade.out { opacity: 0; }
.dots { position: absolute; z-index: 2; right: 24px; bottom: 11vh; display: flex; gap: 8px; }
.dots button { width: 28px; height: 3px; padding: 0; border: 0; background: rgba(255,255,255,.35); cursor: pointer; }
.dots button.on { background: #fff; }
.hero-arrow { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; padding: 0; border: 0; background: none; color: #fff; display: grid; place-items: center; cursor: pointer; opacity: .85; filter: drop-shadow(0 1px 6px rgba(0,0,0,.45)); transition: opacity .25s, transform .25s; }
.hero-arrow svg { width: 38px; height: 38px; }
.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }
.hero-arrow:hover { opacity: 1; transform: translateY(-50%) scale(1.15); }
.hero-arrow:active { transform: translateY(-50%) scale(.95); }
.hero-arrow:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (min-width: 601px) and (max-width: 1400px) { .hero-text .wrap { padding-left: 104px; padding-right: 104px; } }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 999px; background: var(--texto); color: var(--fondo); text-decoration: none; font-weight: 400; font-size: 15px; border: 1px solid var(--texto); transition: opacity .2s, background .2s; cursor: pointer; }
.btn:hover { opacity: .85; }
.btn.ghost { background: transparent; color: var(--texto); }
.btn.ghost:hover { background: var(--fondo-alt); opacity: 1; }
.btn svg { width: 18px; height: 18px; }
.hero .btn { background: #fff; color: #111; border-color: #fff; }
.hero .btn.ghost { background: transparent; color: #fff; }
.hero .btn.ghost:hover { background: rgba(255,255,255,.12); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Intro / La fábrica ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.intro-grid p { margin: 0 0 18px; color: var(--suave); }
.intro-grid p strong { color: var(--texto); font-weight: 400; }

/* ---------- Implantaciones (fondo oscuro) ---------- */
.process { background: var(--oscuro); color: #fff; }
.process .head { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.process .head p { max-width: 420px; color: rgba(255,255,255,.7); margin: 0; }
/* ---------- Implantaciones (videos) ---------- */
.videos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 64px; }
.vcard { all: unset; position: relative; display: block; aspect-ratio: 4/5; overflow: hidden; cursor: pointer; background: #222; color: #fff; }
.vcard img, .vcard video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease, opacity .5s ease; }
.vcard video { opacity: 0; }
.vcard.previewing video { opacity: 1; }
.vcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,.75) 100%); transition: background .4s; }
.vcard:hover img, .vcard:hover video { transform: scale(1.05); }
.vcard:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.vnum { position: absolute; z-index: 2; top: 20px; left: 22px; font-size: 13px; letter-spacing: .15em; }
.vplay { position: absolute; z-index: 2; top: 50%; left: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.8); background: rgba(255,255,255,.12); backdrop-filter: blur(6px); display: grid; place-items: center; transition: transform .35s ease, background .35s ease, color .35s ease; }
.vplay svg { width: 28px; height: 28px; margin-left: 4px; }
.vcard:hover .vplay, .vcard:focus-visible .vplay { transform: scale(1.12); background: #fff; color: #111; }
.vcard.previewing .vplay { opacity: .0; transform: scale(.8); }
.vcard:hover.previewing .vplay { opacity: 1; transform: scale(1.12); }
.vtxt { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 2px; }
.vtxt b { font-weight: 400; font-size: 20px; line-height: 1.2; }
.vtxt span { font-size: 14px; color: rgba(255,255,255,.75); }
.vtxt em { font-style: normal; font-size: 14px; margin-top: 12px; padding-bottom: 2px; border-bottom: 1px solid rgba(255,255,255,.6); align-self: flex-start; }

/* Reproductor de video */
.vb { position: fixed; inset: 0; z-index: 50; background: rgba(5,5,5,.97); display: none; align-items: center; justify-content: center; }
.vb.open { display: flex; }
.vb-box { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 96px 40px; }
.vb-head, .vb-frame, .vb-bar { width: min(100%, calc((100vh - 230px) * 16 / 9), 1200px); }
.vb-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; color: #fff; margin-bottom: 14px; }
.vb-title { font-weight: 400; font-size: 18px; }
.vb-count { font-size: 14px; color: rgba(255,255,255,.6); white-space: nowrap; }
.vb-msg[hidden] { display: none; }
.vb-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.vb-frame video { width: 100%; height: 100%; display: block; object-fit: contain; cursor: pointer; }
.vb-frame:fullscreen { width: 100%; aspect-ratio: auto; }
.vb-big { position: absolute; top: 50%; left: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.85); background: rgba(0,0,0,.35); backdrop-filter: blur(6px); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.vb-big svg { width: 32px; height: 32px; margin-left: 4px; }
.vb.paused .vb-big { opacity: 1; pointer-events: auto; }
.vb-big:hover { transform: scale(1.08); background: #fff; color: #111; }
.vb-frame.error video, .vb-frame.error .vb-big { visibility: hidden; }
.vb-msg { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.8); font-size: 18px; margin: 0; }
.vb-bar { display: flex; align-items: center; gap: 14px; margin-top: 14px; color: #fff; }
.vb-bar button { background: none; border: 0; color: #fff; padding: 6px; cursor: pointer; display: grid; place-items: center; opacity: .9; }
.vb-bar button:hover { opacity: 1; }
.vb-bar svg { width: 22px; height: 22px; }
.vb .i-play, .vb.paused .i-pause, .vb .i-muted, .vb.muted .i-vol { display: none; }
.vb.paused .i-play, .vb.muted .i-muted { display: block; }
.vb-time { font-size: 14px; font-variant-numeric: tabular-nums; min-width: 38px; text-align: center; color: rgba(255,255,255,.85); }
.vb-seek { flex: 1; -webkit-appearance: none; appearance: none; height: 22px; background: transparent; cursor: pointer; margin: 0; }
.vb-seek::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, #fff var(--p, 0%), rgba(255,255,255,.25) var(--p, 0%)); }
.vb-seek::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, #fff var(--p, 0%), rgba(255,255,255,.25) var(--p, 0%)); }
.vb-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: #fff; margin-top: -5px; transition: transform .15s; }
.vb-seek::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; }
.vb-seek:hover::-webkit-slider-thumb { transform: scale(1.25); }
.vb-seek:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.vb > button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; font-size: 36px; padding: 16px; line-height: 1; opacity: .8; z-index: 2; }
.vb > button:hover { opacity: 1; }
.vb .close { top: 12px; right: 16px; font-size: 28px; }
.vb .prev { left: 14px; top: 50%; transform: translateY(-50%); }
.vb .next { right: 14px; top: 50%; transform: translateY(-50%); }


/* ---------- Detalles ---------- */
.details-grid.fab-grid { grid-template-columns: 1.1fr 1fr; }
.details-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.details-grid p { color: var(--suave); margin: 0 0 18px; }
.details-grid blockquote { margin: 30px 0 0; padding-left: 0; border-left: 0; font-family: "Circular", system-ui, sans-serif; font-size: 23px; line-height: 1.4; font-weight: 400; }
.fab-body { margin-top: 28px; }
.fab-body strong { color: var(--texto); font-weight: 400; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 1fr); gap: 10px; aspect-ratio: 1 / 1.05; }
.mosaic button { all: unset; cursor: zoom-in; overflow: hidden; background: var(--linea); }
.mosaic button:nth-child(1) { grid-row: span 2; }
.mosaic button:nth-child(4) { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.mosaic button:hover img { transform: scale(1.04); }
.mosaic button { position: relative; }
.mosaic button:nth-child(n+6) { display: none; }
/* La Fábrica y Detalles: las dos fotos de abajo con la misma altura */
#mosaicFabrica button:nth-child(4), #mosaic button:nth-child(4) { grid-row: auto; }
.mosaic .more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.5); color: #fff; font-size: 15px; }

/* ---------- Obras ---------- */
.works { background: var(--fondo-alt); }
.works-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 64px; }
.works-head h2 { font-size: clamp(40px, 5.4vw, 68px); }
.works-head p { max-width: 420px; color: var(--suave); margin: 0; }
.project { display: grid; grid-template-columns: 1.45fr 1fr; gap: 56px; align-items: center; margin-bottom: 110px; }
.project:last-child { margin-bottom: 0; }
.project:nth-child(even) { grid-template-columns: 1fr 1.45fr; }
.project:nth-child(even) .p-media { order: 2; }
.p-media { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 16/10; }
.p-media button { all: unset; cursor: zoom-in; overflow: hidden; position: relative; background: var(--linea); }
.p-media button:first-child { grid-row: span 2; }
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.p-media button:hover img { transform: scale(1.04); }
.p-media button:focus-visible, .mosaic button:focus-visible { outline: 2px solid var(--texto); outline-offset: 2px; }
.p-media .more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.5); color: #fff; font-weight: 400; font-size: 15px; }
.p-info .loc { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 400; }
.p-info h3 { font-size: clamp(34px, 3.6vw, 46px); margin: 10px 0 20px; }
.p-text { margin-bottom: 26px; }
.p-info .p-text p { color: var(--suave); margin: 0 0 12px; }
.p-info .p-text p:last-child { margin-bottom: 0; }
.facts { display: flex; gap: 40px; border-top: 1px solid var(--linea); padding-top: 20px; margin: 0 0 26px; }
.facts dt { font-size: 12px; color: var(--suave); text-transform: uppercase; letter-spacing: .12em; }
.facts dd { margin: 2px 0 0; font-family: "Circular", system-ui, sans-serif; font-size: 26px; }
.link { background: none; border: 0; padding: 0; font: inherit; font-weight: 400; font-size: 15px; color: var(--texto); cursor: pointer; border-bottom: 1px solid var(--texto); }
.link:hover { opacity: .65; }

/* ---------- Nosotros ---------- */
.about { display: grid; grid-template-columns: 2.6fr 1fr; gap: 20px; align-items: stretch; }
.about img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
/* Foto aérea de fondo con el texto encima; la foto de los arquitectos toma el mismo alto */
.about-hero { position: relative; overflow: hidden; }
.about .about-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: right center; }
.about-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.6) 38%, rgba(0,0,0,0) 62%); }
.about-text { position: relative; z-index: 1; max-width: 470px; padding: 30px 34px; color: #fff; }
.about-text .h2 { font-size: clamp(28px, 2.5vw, 36px); }
.about .about-text p { font-size: 15px; line-height: 1.6; margin-bottom: 14px; }
.about-text .team { margin-top: 22px; justify-content: flex-start; gap: 28px; }
.about-text .eyebrow { color: rgba(255,255,255,.8); }
.about .about-text p { color: rgba(255,255,255,.85); }
.about-text .team b { color: #fff; }
.about .about-foto { height: 0; min-height: 100%; aspect-ratio: auto; }
.about .h2 { font-size: clamp(30px, 3vw, 44px); }
.about p { color: var(--suave); margin: 0 0 18px; }
.team { display: flex; justify-content: center; gap: 40px; margin-top: 34px; font-size: 14px; }
.team b { display: block; font-weight: 400; color: var(--texto); font-size: 16px; }
.team span { color: var(--suave); }

/* ---------- Contacto ---------- */
.contact { background: var(--fondo-alt); text-align: center; }
.contact h2 { font-size: clamp(38px, 5.4vw, 64px); max-width: 16ch; margin: 0 auto 22px; }
.contact p.lead { color: var(--suave); max-width: 520px; margin: 0 auto 30px; }
.phones { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px 72px; margin-bottom: 34px; }
.contact .phone { display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; }
.contact .phone span { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--suave); }
.contact .phone b { font-weight: 400; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; }
.contact .phone:hover b { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }
.contact .btns { justify-content: center; }
.btns-2 { margin-top: 12px; }
.btn.copy .copy-ico { width: 16px; height: 16px; opacity: .6; margin-left: 2px; }
.btn.copy.copied { background: var(--texto); color: var(--fondo); border-color: var(--texto); }
.btn.copy.copied .copy-ico { display: none; }
.location { display: inline-flex; align-items: center; gap: 14px; margin-top: 56px; padding: 18px 26px; border: 1px solid var(--linea); text-decoration: none; text-align: left; transition: border-color .2s, background .2s; }
.location:hover { border-color: var(--texto); }
.location svg { width: 26px; height: 26px; flex: none; }
.location small { display: block; font-size: 12px; color: var(--suave); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 2px; }
.location b { font-weight: 400; font-size: 17px; }
.location:hover b { text-decoration: underline; text-underline-offset: 4px; }
.copy-toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); margin: 0; padding: 12px 20px; border-radius: 999px; background: var(--texto); color: var(--fondo); font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 40; white-space: nowrap; }
.copy-toast.show { opacity: 1; transform: translate(-50%, 0); }

footer { padding: 34px 0; font-size: 13px; color: var(--suave); border-top: 1px solid var(--linea); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer img { height: 22px; width: auto; }
footer img { filter: invert(1); }

/* ---------- Botón flotante WhatsApp ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 56px; height: 56px; border-radius: 50%; background: #111; color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 2px rgba(255,255,255,.85), 0 6px 20px rgba(0,0,0,.25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float { background: #fff; color: #111; }

/* ---------- Galería ---------- */
.lb { position: fixed; inset: 0; z-index: 50; background: rgba(8,8,8,.95); display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; }
.lb img { max-width: 90vw; max-height: 82vh; object-fit: contain; }
.lb button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; font-size: 36px; padding: 16px; line-height: 1; opacity: .8; }
.lb button:hover { opacity: 1; }
.lb .close { top: 12px; right: 16px; font-size: 28px; }
.lb .prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb .next { right: 10px; top: 50%; transform: translateY(-50%); }
.lb .cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.75); font-size: 14px; }

/* ---------- Animación al bajar ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero .slide img { transition: none; transform: none; }
}

/* ---------- Tablet y celular ---------- */
@media (max-width: 960px) {
  section { padding: 84px 0; }
  .intro-grid, .details-grid, .about, .project, .project:nth-child(even) { grid-template-columns: 1fr; gap: 36px; }
  /* Celular y tablet: título y texto primero, fotos entre la superficie y "Ver galería" */
  .project, .project:nth-child(even) { gap: 0; }
  .project .p-info { display: contents; }
  .project .loc { order: 1; }
  .project .p-info h3 { order: 2; }
  .project .p-text { order: 3; }
  .project .facts { order: 4; }
  .project .p-media, .project:nth-child(even) .p-media { order: 5; margin-bottom: 22px; }
  .project .link { order: 6; justify-self: start; }
  .about { gap: 20px; }
  .about .about-foto { height: auto; min-height: 0; aspect-ratio: 4/5; }
  /* Celular: foto vertical con más cielo; el texto va sobre el cielo y la casa queda abajo, visible */
  .about-hero { aspect-ratio: 600 / 1625; }
  .about .about-hero-img { object-position: center bottom; }
  .about-hero::after { background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.4) 45%, rgba(0,0,0,0) 66%); }
  .about-text { padding: 32px 20px; }
  .about-text .team { gap: 16px; }
  .about-text .team b { font-size: 14px; }
  .details-grid.fab-grid { grid-template-columns: 1fr; }
  .fab-grid .fab-text { order: -1; }
  .videos { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .vtxt b { font-size: 19px; }
  .process .head, .works-head { flex-direction: column; align-items: start; gap: 18px; }
  .project { margin-bottom: 80px; }
  .location { margin-top: 40px; }
  .nav nav { position: fixed; inset: 70px 0 auto 0; flex-direction: column; gap: 0; background: var(--fondo); border-bottom: 1px solid var(--linea); display: none; }
  .nav nav.open { display: flex; }
  .nav nav a, .nav.solid nav a { color: var(--texto); padding: 16px 24px; border-top: 1px solid var(--linea); font-size: 16px; }
  .menu-btn { display: block; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .videos { grid-template-columns: 1fr; }
  .vcard { aspect-ratio: 1/1; }
  .vplay { top: 40%; width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .vb-box { padding: 64px 0 70px; }
  .vb-head, .vb-bar { padding: 0 16px; }
  .vb-bar { gap: 8px; }
  .vb .prev, .vb .next { top: auto; bottom: 6px; transform: none; }
  .dots { left: 16px; right: auto; bottom: 4vh; }
  .hero-arrow { width: 44px; height: 44px; top: 38%; }
  .hero-arrow svg { width: 26px; height: 26px; }
  .hero-arrow.prev { left: 10px; }
  .hero-arrow.next { right: 10px; }
  .hero-text { bottom: 9vh; }
  .facts { gap: 26px; }
  .facts dd { font-size: 22px; }
  .p-media { aspect-ratio: 4/3; }
  .team { gap: 24px; flex-wrap: nowrap; }
  .team b { font-size: 15px; white-space: nowrap; }
  .logo img { height: 24px; }
  .wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
}
