/* novoDiseño — sitio 2026 */
:root {
  --ink: #111111;
  --muted: #5c5c5c;
  --line: #e2e2e2;
  --soft: #f5f5f3;
  --ph: #eeedeb;
  --bg: #ffffff;
  --glow: #c8f27a;
  --wrap: 1360px;
  --gut: 40px;
  --font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-weight: 300; font-size: 17px; line-height: 1.7; letter-spacing: 0.06em; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:hover { color: var(--muted); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Pesos: una línea = un peso */
.b { font-weight: 700; }
.u { font-weight: 100; }
.l { display: block; }

/* Header */
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 40px; padding-top: 28px; padding-bottom: 28px; }
.brand { text-decoration: none; font-size: 30px; line-height: 1; letter-spacing: 0.01em; }
.brand .n { font-weight: 100; }
.brand .d { font-weight: 700; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 32px; font-size: 15px; letter-spacing: 0.08em; }
.nav a { text-decoration: none; padding: 12px 0; border-bottom: 1px solid transparent; }
.nav a[aria-current="page"] { font-weight: 700; }

/* Tipografía */
.display { margin: 0; font-size: clamp(46px, 7.4vw, 116px); line-height: 1; letter-spacing: 0.005em; }
.h2 { margin: 0; font-size: clamp(32px, 3.8vw, 56px); line-height: 1.05; letter-spacing: 0.01em; }
.h3 { margin: 0; font-size: 28px; line-height: 1.15; letter-spacing: 0.02em; font-weight: 700; }
.lead { margin: 0; font-size: clamp(22px, 2vw, 28px); line-height: 1.45; font-weight: 300; letter-spacing: 0.04em; }
.label { margin: 0; font-size: 11px; line-height: 1.4; letter-spacing: 0.18em; font-weight: 700; text-transform: uppercase; color: var(--muted); }
.p { margin: 0; max-width: 640px; }
.muted { color: var(--muted); }
.link { text-decoration: none; font-size: 15px; font-weight: 700; letter-spacing: 0.08em; padding: 10px 0; border-bottom: 2px solid currentColor; display: inline-block; }
.btn { display: inline-block; text-decoration: none; font-weight: 700; font-size: 15px; letter-spacing: 0.08em; padding: 16px 28px; background: var(--ink); color: #fff; border: 1px solid var(--ink); cursor: pointer; font-family: inherit; }
.btn:hover { background: #333; color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.inv { background: #fff; color: var(--ink); border-color: #fff; }
.btn.inv:hover { background: #ddd; color: var(--ink); }
.btn.inv-ghost { background: transparent; color: #fff; border-color: #fff; }

/* Secciones */
.sec { padding-top: 140px; padding-bottom: 140px; }
.sec.tight { padding-top: 96px; padding-bottom: 96px; }
.sec.soft { background: var(--soft); }
.sec.dark { background: var(--ink); color: #fff; }
.sec.dark .muted { color: #c9c9c9; }
.rule { border-top: 1px solid var(--line); }
.hero { padding-top: 112px; padding-bottom: 72px; }
.row { display: flex; flex-wrap: wrap; gap: 40px 96px; }
.row > .side { flex: 1 1 300px; }
.row > .main { flex: 999 1 540px; min-width: 0; }
.split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.stack { display: flex; flex-direction: column; gap: 24px; }
.mt-l { margin-top: 64px; }
.mt-m { margin-top: 40px; }
.mb-l { margin-bottom: 56px; }

/* Imágenes */
.ph { background: var(--ph); overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.r169 { aspect-ratio: 16 / 9; }
.r43 { aspect-ratio: 4 / 3; }
.r45 { aspect-ratio: 4 / 5; }
.r11 { aspect-ratio: 1 / 1; }
.hero-img { aspect-ratio: 16 / 8; }
@media (max-width: 700px) { .hero-img { aspect-ratio: 4 / 3; } }

/* Grillas */
.grid { display: grid; gap: 64px 32px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.grid.g4 { gap: 32px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.grid.g2 { gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.card { text-decoration: none; display: flex; flex-direction: column; gap: 18px; }
.card:hover { color: inherit; }
.card .ph img { transition: transform .6s ease; }
.card:hover .ph img { transform: scale(1.025); }
.card .t { display: flex; flex-direction: column; gap: 4px; }
.card .name { font-size: 22px; font-weight: 700; letter-spacing: 0.03em; line-height: 1.25; }
.card .meta { font-size: 15px; color: var(--muted); line-height: 1.5; }

/* Logos */
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); border-top: 1px solid var(--line); }
.logos div { height: 120px; display: flex; align-items: center; justify-content: center; padding: 0 28px; border-bottom: 1px solid var(--line); }
.logos img { width: auto; max-width: 100%; filter: grayscale(1); }

/* Listas con línea */
.cols { display: grid; gap: 56px 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.col { display: flex; flex-direction: column; gap: 14px; border-top: 2px solid currentColor; padding-top: 22px; text-decoration: none; }
.col .num { font-size: 44px; font-weight: 100; line-height: 1; letter-spacing: 0.02em; }
.col .tt { font-size: 22px; font-weight: 700; letter-spacing: 0.03em; line-height: 1.25; }
.col .dd { font-size: 16px; line-height: 1.65; color: var(--muted); }
.sec.dark .col .dd { color: #c9c9c9; }
.items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); column-gap: 48px; }
.items li, .facts div { display: flex; flex-direction: column; gap: 6px; padding: 22px 0; border-top: 1px solid var(--line); }
.items .tt { font-weight: 700; font-size: 18px; letter-spacing: 0.03em; }
.items .dd { font-size: 15px; line-height: 1.6; color: var(--muted); }
.facts { margin: 0; display: grid; }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font-size: 11px; letter-spacing: 0.18em; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.facts dd { margin: 0; font-size: 16px; line-height: 1.55; }

/* Filtros */
.filters { display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 64px 0 48px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.filters button { font-family: inherit; font-size: 15px; font-weight: 300; letter-spacing: 0.08em; color: var(--ink); background: none; border: 0; border-bottom: 2px solid transparent; padding: 12px 0; cursor: pointer; }
.filters button[aria-pressed="true"] { border-bottom-color: var(--ink); }
.filters .c { color: var(--muted); }
[hidden] { display: none !important; }

/* Galería */
.gallery { columns: 2 380px; column-gap: 24px; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; margin: 0 0 24px; background: var(--ph); cursor: zoom-in; break-inside: avoid; }
.gallery img { width: 100%; height: auto; }
.lb { position: fixed; inset: 0; background: rgba(10,10,10,.96); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 56px 16px; }
.lb img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lb button { position: absolute; background: none; border: 0; color: #fff; font-family: inherit; font-size: 15px; letter-spacing: 0.1em; padding: 16px; cursor: pointer; min-width: 44px; min-height: 44px; }
.lb .x { top: 8px; right: 8px; }
.lb .pv { left: 8px; top: 50%; transform: translateY(-50%); font-size: 28px; }
.lb .nx { right: 8px; top: 50%; transform: translateY(-50%); font-size: 28px; }

/* Línea incendio */
.dark-ph { background: #0f0f0f; }

/* Formulario */
.form { display: grid; gap: 28px 32px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); align-content: start; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { font: inherit; font-weight: 300; font-size: 17px; letter-spacing: 0.04em; padding: 12px 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); width: 100%; }
.form textarea { resize: vertical; min-height: 140px; }
.form .note { font-size: 13px; color: var(--muted); font-weight: 300; letter-spacing: 0.06em; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); font-size: 14px; letter-spacing: 0.06em; line-height: 1.9; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-top: 64px; padding-bottom: 32px; }
.site-footer .cols3 { display: flex; flex-wrap: wrap; gap: 32px 56px; }
.site-footer .cols3 div { display: flex; flex-direction: column; }
.site-footer a { text-decoration: none; }
.site-footer .copy { padding-top: 0; padding-bottom: 40px; font-size: 12px; color: var(--muted); }

@media (max-width: 700px) {
  :root { --gut: 20px; }
  body { font-size: 16px; }
  .sec { padding-top: 96px; padding-bottom: 96px; }
  .hero { padding-top: 64px; }
  .nav { gap: 0 22px; }
}
/* Ultra light (100) solo en tamaños grandes: debajo de ~40px pasa a 300 */
@media (max-width: 1050px) { .h2 .u { font-weight: 300; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card .ph img { transition: none; } }
/* Menú hamburguesa (móvil y tableta) */
.nav-toggle { display: none; }
@media (max-width: 1050px) {
  .site-header .wrap { flex-wrap: wrap; }
  .nav-toggle { display: flex; flex-direction: column; justify-content: center; gap: 7px; width: 44px; height: 44px; margin-right: -10px; padding: 0 10px; background: none; border: 0; color: inherit; cursor: pointer; }
  .nav-toggle span { display: block; height: 1.5px; background: currentColor; transition: transform .25s ease, opacity .2s ease; }
  .site-header.open .nav-toggle span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
  .site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.open .nav-toggle span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }
  .site-header .nav { display: none; flex-basis: 100%; flex-direction: column; gap: 0; font-size: 18px; padding-bottom: 8px; }
  .site-header.open .nav { display: flex; }
  .site-header .nav a { padding: 16px 0; border-bottom: 0; border-top: 1px solid rgba(0, 0, 0, .12); }
  .site-header .nav a[aria-current="page"] { font-weight: 700; }
}
@media (prefers-reduced-motion: reduce) { .nav-toggle span { transition: none; } }

/* Antetítulo */
.label.eyebrow { margin-bottom: 20px; }

/* Encuadre de tarjetas en celular (Inicio) */
.ph picture { display: block; width: 100%; height: 100%; }
@media (max-width: 700px) {
  .ph.m-zoom { aspect-ratio: 8 / 9; }
}

/* Reencuadres en celular (Inicio) — 28/10/2026 */
.btn .lt { font-weight: 300; }
@media (max-width: 700px) {
  .ph.m-out { aspect-ratio: 44 / 45; }        /* Undici y Pilay Charrúa: 10% más alejadas */
  .ph.m-left-s img { object-position: 38% 50%; } /* Cuore: un poco a la izquierda */
  .ph.m-left img { object-position: 28% 50%; }   /* Isla del Sur: centrada en el cartel, hacia la izquierda */
}
