/* ============================================================
   NUCO — Site CSS  |  nuco.lat
   Shared: /, /nosotros, /ubicacion, /contacto
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@1,600&family=DM+Sans:wght@300;400;500;700&display=swap');

/* ── Design tokens ────────────────────────────────────────── */
:root {
  --negro:   #0D0D0D;
  --verde:   #4A6741;
  --espuma:  #F5F0E8;
  --surface: #111111;
  --border:  #1E1E1E;

  --xs:  8px;
  --sm:  16px;
  --md:  24px;
  --lg:  48px;
  --xl:  96px;
  --2xl: 160px;

  --body: 'DM Sans', system-ui, sans-serif;
  --edit: 'Cormorant Garamond', Georgia, serif;
  --ui:   0.15em;
  --wide: 0.20em;

  --nav-h: 64px;
  --wrap:  1280px;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--negro);
  color: var(--espuma);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--verde); outline-offset: 2px; }

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245, 240, 232, 0.06);
}
.nav__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--lg);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--espuma);
}
.nav__sym {
  height: 20px;
  width: 20px;
  flex-shrink: 0;
  color: var(--espuma);
}
.nav__wm {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: var(--wide);
  text-transform: uppercase;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--lg);
}
.nav__links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--wide);
  text-transform: uppercase;
  color: var(--espuma);
  opacity: 0.7;
  transition: opacity 0.15s ease;
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { opacity: 1; }

/* Hamburger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--espuma);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav__burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile overlay */
.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--negro);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--lg);
}
.nav__overlay.open { display: flex; }
.nav__overlay a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: var(--wide);
  text-transform: uppercase;
  color: var(--espuma);
  opacity: 0.7;
  transition: opacity 0.15s ease;
}
.nav__overlay a:hover { opacity: 1; }

/* ── Page layout ──────────────────────────────────────────── */
.main { padding-top: var(--nav-h); }
.section { padding: var(--2xl) var(--lg); }
.section--surface { background: var(--surface); }
.wrap { max-width: var(--wrap); margin: 0 auto; }

/* ── Type utilities ───────────────────────────────────────── */
.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--wide);
  text-transform: uppercase;
  color: var(--verde);
  margin-bottom: var(--sm);
}
.edit-title {
  font-family: var(--edit);
  font-style: italic;
  font-weight: 600;
  color: var(--espuma);
  line-height: 1.15;
}

/* ── Button ───────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--wide);
  text-transform: uppercase;
  border: 1px solid var(--espuma);
  background: transparent;
  color: var(--espuma);
  transition: background 0.15s ease, color 0.15s ease;
  cursor: pointer;
}
.btn:hover,
.btn:focus-visible {
  background: var(--espuma);
  color: var(--negro);
  outline: none;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--negro);
  border-top: 1px solid var(--verde);
  padding: var(--xl) var(--lg) var(--lg);
}
.footer__grid {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: var(--xl);
  padding-bottom: var(--lg);
  border-bottom: 1px solid rgba(245, 240, 232, 0.08);
}
.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--espuma);
  margin-bottom: var(--sm);
}
.footer__brand-logo .f-sym { height: 16px; width: 16px; }
.footer__brand-logo .f-wm {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: var(--wide);
  text-transform: uppercase;
}
.footer__tagline {
  font-size: 12px;
  color: rgba(245, 240, 232, 0.6);
  line-height: 1.8;
}
.footer__col-head {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--ui);
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.6);
  margin-bottom: var(--md);
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__links a {
  font-size: 13px;
  color: rgba(245, 240, 232, 0.7);
  transition: color 0.15s ease;
}
.footer__links a:hover { color: var(--espuma); }
.footer__bottom {
  max-width: var(--wrap);
  margin: var(--md) auto 0;
  text-align: center;
}
.footer__bottom p { font-size: 11px; color: rgba(245, 240, 232, 0.3); }

/* ── Scroll reveal ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
.reveal.in { opacity: 1; transform: none; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav__inner { padding: 0 var(--md); }
  .section { padding: var(--2xl) var(--md); }
}
@media (max-width: 768px) {
  :root { --2xl: 96px; --xl: 64px; --lg: 32px; }
  .section { padding: var(--xl) var(--md); }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--lg); }
}
