:root {
  /* variables sueltas (colores, espacios, etc) — van para todo el css */
  --color-navy: #0b1d3a;
  --color-navy-dark: #061020;
  --color-navy-mid: #0f2a52;
  --color-gold: #c8923e;
  --color-gold-soft: #e4b86a;
  --color-gold-dark: #9a702e;
  --color-white: #ffffff;
  --color-gray-50: #f5f6f8;
  --color-gray-100: #e8eaef;
  --color-gray-400: #8b93a5;
  --color-gray-600: #5c6478;
  --color-gray-900: #1a2233;

  --color-text: var(--color-gray-900);
  --color-text-muted: var(--color-gray-600);
  --color-bg: var(--color-white);
  --color-bg-alt: var(--color-gray-50);
  --color-border: rgba(11, 29, 58, 0.12);

  /* color del header fijo — sale en todos los html con .site-header */
  --header-surface: var(--color-white);

  --font: "Montserrat", system-ui, -apple-system, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 5.5rem;

  --radius: 14px;
  --radius-sm: 8px;
  --header-h: 120px;
  --header-h-compact: 78px;
  --header-blur: 16px;
  --shadow: 0 18px 40px rgba(11, 29, 58, 0.12);
  --shadow-soft: 0 8px 24px rgba(11, 29, 58, 0.08);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-premium: cubic-bezier(0.65, 0, 0.35, 1);
  --transition: 0.35s var(--ease);
}

/* reset basico nada fancy */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* smooth scroll en links #... (index contact etc) — si molesta quitar el media */
html {
  scroll-behavior: auto;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* para que al ir a #seccion el titulo no quede tapado por el header fijo (index #about etc) */
#main>section[id] {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-navy-mid);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-gold-dark);
}

h1,
h2,
h3 {
  line-height: 1.2;
  color: var(--color-navy);
}

/* wrapper tipico max 1140 — casi todas las secciones usan .container */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

/* por si en algun lado quieren mas angosto (container--narrow) */
.container--narrow {
  max-width: 48rem;
}

/* skip link accesibilidad — primer <a> en cada html */
.skip-link {
  position: absolute;
  left: var(--space-md);
  top: -120px;
  z-index: 1000;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-gold);
  color: var(--color-navy-dark);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: var(--space-sm);
}

/* ============================================================
   HEADER — Modern Premium (rediseño Fase 1)
   ============================================================
   Tres zonas en desktop: [brand] [nav] [utility (lang · linkedin · cta)]
   Compact-on-scroll con backdrop blur. Scroll progress bar dorada arriba.
   Mobile: drawer desde la derecha con stagger y backdrop blur.
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(var(--header-blur)) saturate(180%);
  backdrop-filter: blur(var(--header-blur)) saturate(180%);
  border-bottom: 1px solid rgba(11, 29, 58, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 4px 20px rgba(11, 29, 58, 0.04);
  transition:
    background 0.45s var(--ease),
    border-color 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 12px 40px rgba(11, 29, 58, 0.12),
    0 2px 6px rgba(11, 29, 58, 0.06);
  border-bottom-color: rgba(11, 29, 58, 0.06);
}

/* Barra de progreso dorada — asciende con el scroll */
.site-header__progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(11, 29, 58, 0.04);
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}

.site-header__progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-gold-dark) 0%, var(--color-gold) 45%, var(--color-gold-soft) 100%);
  box-shadow: 0 0 12px rgba(200, 146, 62, 0.55);
  transition: width 0.12s linear;
}

/* ============ ROW 1: top bar (brand + utility + toggle mobile) ============ */
.site-header__top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.6rem clamp(1rem, 3vw, 2.25rem) 0.25rem;
  transition: padding 0.4s var(--ease);
}

.site-header.is-scrolled .site-header__top {
  padding: 0.4rem clamp(1rem, 3vw, 2.25rem) 0.15rem;
}

/* Brand / logo */
.site-header__brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--color-navy);
  line-height: 0;
  transition: opacity 0.3s var(--ease);
}

.site-header__brand:hover {
  opacity: 0.85;
}

.site-header__logo {
  display: block;
  width: auto;
  height: clamp(26px, 2.6vw, 38px);
  max-width: 420px;
  object-fit: contain;
  object-position: left center;
  transition: height 0.4s var(--ease);
}

.site-header.is-scrolled .site-header__logo {
  height: clamp(20px, 2vw, 28px);
}

/* ============ ROW 2: nav row (desktop) / drawer content (mobile) ============ */
.site-header__nav-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2.25rem) 0.5rem;
  transition: padding 0.4s var(--ease);
  min-width: 0;
}

.site-header.is-scrolled .site-header__nav-wrap {
  padding-bottom: 0.3rem;
}

/* ============ NAV (desktop) ============ */
.site-nav {
  display: flex;
  justify-content: center;
  min-width: 0;
  width: 100%;
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(0.1rem, 0.7vw, 0.75rem);
  flex-wrap: nowrap;
}

.site-nav__item {
  position: relative;
  display: flex;
  align-items: center;
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  color: var(--color-navy);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.015em;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 8px;
  transition: color 0.3s var(--ease);
}

/* Underline dorado que se dibuja desde la izquierda en hover y se retira a la derecha */
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.45rem;
  height: 2px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.45s var(--ease);
  border-radius: 2px;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: var(--color-gold-dark);
  outline: none;
}

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* Estado activo por scroll-spy (JS agrega .is-active) */
.site-nav__link.is-active {
  color: var(--color-navy-dark);
  font-weight: 600;
}

.site-nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.site-nav__link-label {
  display: inline-block;
}

.site-nav__chevron {
  width: 10px;
  height: 7px;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease);
}

.site-nav__item--has-submenu:hover .site-nav__chevron,
.site-nav__item--has-submenu:focus-within .site-nav__chevron,
.site-nav__item--has-submenu.is-submenu-open .site-nav__chevron {
  transform: rotate(180deg);
}

/* ============ DROPDOWN (desktop) ============ */
.site-nav__sublist {
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  min-width: 260px;
  max-width: 320px;
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(11, 29, 58, 0.08);
  border-radius: 14px;
  box-shadow:
    0 24px 60px rgba(11, 29, 58, 0.18),
    0 4px 12px rgba(11, 29, 58, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.35s var(--ease),
    visibility 0.35s var(--ease),
    transform 0.35s var(--ease);
  z-index: 950;
}

/* Pequeño pico arriba del dropdown que indica de dónde sale */
.site-nav__sublist::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.97);
  border-left: 1px solid rgba(11, 29, 58, 0.08);
  border-top: 1px solid rgba(11, 29, 58, 0.08);
  border-top-left-radius: 3px;
}

.site-nav__item--has-submenu:hover > .site-nav__sublist,
.site-nav__item--has-submenu:focus-within > .site-nav__sublist,
.site-nav__item--has-submenu.is-submenu-open > .site-nav__sublist {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.site-nav__subitem {
  margin: 0;
}

.site-nav__sublink {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.9rem;
  color: var(--color-navy);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  border-radius: 10px;
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    padding-left 0.3s var(--ease);
}

.site-nav__sublink-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
  flex-shrink: 0;
  opacity: 0.6;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.site-nav__sublink-label {
  flex: 1;
}

.site-nav__sublink:hover,
.site-nav__sublink:focus-visible {
  background: linear-gradient(
    90deg,
    rgba(200, 146, 62, 0.12) 0%,
    rgba(200, 146, 62, 0.04) 100%
  );
  color: var(--color-gold-dark);
  padding-left: 1.1rem;
  outline: none;
}

.site-nav__sublink:hover .site-nav__sublink-dot,
.site-nav__sublink:focus-visible .site-nav__sublink-dot {
  transform: scale(1.4);
  opacity: 1;
}

.site-nav__sublink[aria-current="page"] {
  background: rgba(200, 146, 62, 0.1);
  color: var(--color-gold-dark);
  font-weight: 600;
}

.site-nav__sublink[aria-current="page"] .site-nav__sublink-dot {
  opacity: 1;
  transform: scale(1.3);
}

/* ============ UTILITY (lang · linkedin · cta) ============ */
.site-header__utility {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.2vw, 0.85rem);
  flex-shrink: 0;
}

/* Desktop: mostrar utility del top row, ocultar la del drawer */
.site-header__utility--drawer {
  display: none;
}

/* Lang switch con thumb deslizante */
.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 4px;
  background: rgba(11, 29, 58, 0.08);
  border: 1px solid rgba(11, 29, 58, 0.14);
  border-radius: 999px;
  isolation: isolate;
  box-shadow: inset 0 1px 2px rgba(11, 29, 58, 0.06);
}

.lang-switch__btn {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0.35rem 0.7rem;
  min-width: 2.2rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--color-navy);
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  cursor: pointer;
  transition: color 0.35s var(--ease);
}

.lang-switch__btn[aria-pressed="true"] {
  color: var(--color-white);
}

.lang-switch__btn:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

.lang-switch__thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: linear-gradient(135deg, var(--color-navy-mid) 0%, var(--color-navy-dark) 100%);
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(11, 29, 58, 0.25);
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 1;
}

.lang-switch[data-active="es"] .lang-switch__thumb {
  transform: translateX(calc(100% + 0px));
}

/* LinkedIn circular — hover con fill navy desde el centro */
.site-header__linkedin {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(11, 29, 58, 0.12);
  background: transparent;
  color: var(--color-navy);
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.site-header__linkedin::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-mid) 100%);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.4s var(--ease);
}

.site-header__linkedin-icon {
  position: relative;
  width: 16px;
  height: 16px;
  z-index: 1;
  transition: color 0.35s var(--ease), transform 0.4s var(--ease);
}

.site-header__linkedin:hover,
.site-header__linkedin:focus-visible {
  border-color: var(--color-navy);
  color: var(--color-white);
  outline: none;
  transform: translateY(-1px);
}

.site-header__linkedin:hover::before,
.site-header__linkedin:focus-visible::before {
  transform: scale(1);
}

.site-header__linkedin:hover .site-header__linkedin-icon {
  transform: scale(1.1);
}

/* CTA Contact — relleno navy anima desde abajo en hover */
.site-header__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  background: var(--color-gold);
  color: var(--color-navy-dark);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 6px 18px rgba(200, 146, 62, 0.3);
  transition:
    color 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    transform 0.3s var(--ease);
}

.site-header__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-mid) 100%);
  transform: translateY(105%);
  transition: transform 0.45s var(--ease);
  z-index: -1;
}

.site-header__cta-label,
.site-header__cta-arrow {
  position: relative;
  z-index: 1;
}

.site-header__cta-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease);
}

.site-header__cta:hover,
.site-header__cta:focus-visible {
  color: var(--color-white);
  box-shadow: 0 12px 32px rgba(11, 29, 58, 0.25);
  transform: translateY(-2px);
  outline: none;
}

.site-header__cta:hover::before,
.site-header__cta:focus-visible::before {
  transform: translateY(0);
}

.site-header__cta:hover .site-header__cta-arrow {
  transform: translateX(4px);
}

/* Hamburguesa — oculta en desktop, visible en mobile */
.site-header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(11, 29, 58, 0.1);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  color: var(--color-navy);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-header__toggle:hover {
  background: rgba(11, 29, 58, 0.04);
  border-color: rgba(11, 29, 58, 0.18);
}

.site-header__toggle:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.site-header__toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.site-header__toggle[aria-expanded="true"] {
  background: rgba(11, 29, 58, 0.06);
  border-color: rgba(11, 29, 58, 0.2);
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Backdrop overlay del drawer mobile */
.site-header__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 16, 32, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
  z-index: 890;
}

.site-header.is-drawer-open .site-header__backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ============ MOBILE (drawer) ============ */
@media (max-width: 1023px) {
  .site-header__toggle {
    display: flex;
  }

  /* Ocultar utility del top row en mobile (se usa la del drawer) */
  .site-header__utility--top {
    display: none;
  }

  .site-header__utility--drawer {
    display: flex;
  }

  .site-header__top {
    padding: 0.65rem clamp(1rem, 3vw, 1.5rem);
  }

  .site-header__nav-wrap {
    position: fixed;
    top: 0;
    right: 0;
    width: min(86vw, 380px);
    max-width: none;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: calc(var(--header-h) + 1rem) 1.75rem 2.5rem;
    background: linear-gradient(165deg, var(--color-navy-dark) 0%, var(--color-navy) 60%, var(--color-navy-mid) 100%);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 1.5rem;
    transform: translateX(105%);
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 895;
    box-shadow: -30px 0 80px rgba(0, 0, 0, 0);
  }

  .site-header.is-drawer-open .site-header__nav-wrap {
    transform: translateX(0);
    box-shadow: -30px 0 80px rgba(0, 0, 0, 0.4);
  }

  .site-nav {
    display: block;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.1rem;
  }

  .site-nav__item {
    display: block;
    opacity: 0;
    transform: translateX(24px);
    transition:
      opacity 0.45s var(--ease),
      transform 0.45s var(--ease);
  }

  .site-header.is-drawer-open .site-nav__item {
    opacity: 1;
    transform: translateX(0);
  }

  /* Stagger de entrada de items */
  .site-header.is-drawer-open .site-nav__item:nth-child(1) { transition-delay: 0.10s; }
  .site-header.is-drawer-open .site-nav__item:nth-child(2) { transition-delay: 0.15s; }
  .site-header.is-drawer-open .site-nav__item:nth-child(3) { transition-delay: 0.20s; }
  .site-header.is-drawer-open .site-nav__item:nth-child(4) { transition-delay: 0.25s; }
  .site-header.is-drawer-open .site-nav__item:nth-child(5) { transition-delay: 0.30s; }
  .site-header.is-drawer-open .site-nav__item:nth-child(6) { transition-delay: 0.35s; }
  .site-header.is-drawer-open .site-nav__item:nth-child(7) { transition-delay: 0.40s; }
  .site-header.is-drawer-open .site-nav__item:nth-child(8) { transition-delay: 0.45s; }
  .site-header.is-drawer-open .site-nav__item:nth-child(9) { transition-delay: 0.50s; }

  .site-nav__link {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 0.25rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav__link::after {
    display: none;
  }

  .site-nav__link:hover,
  .site-nav__link:focus-visible,
  .site-nav__link.is-active {
    color: var(--color-gold);
    background: transparent;
  }

  .site-nav__chevron {
    width: 12px;
    height: 8px;
  }

  /* Submenús en el drawer: acordeón */
  .site-nav__sublist {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    min-width: 0;
    max-width: none;
    max-height: 0;
    padding: 0 0 0 1rem;
    margin: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
  }

  .site-nav__sublist::before {
    display: none;
  }

  .site-nav__item--has-submenu.is-submenu-open > .site-nav__sublist {
    max-height: 240px;
    padding: 0.25rem 0 0.5rem 1rem;
  }

  .site-nav__sublink {
    padding: 0.75rem 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    border-radius: 0;
  }

  .site-nav__sublink:hover,
  .site-nav__sublink:focus-visible {
    background: transparent;
    color: var(--color-gold);
    padding-left: 1rem;
  }

  .site-nav__sublink-dot {
    background: var(--color-gold);
  }

  .site-nav__sublink[aria-current="page"] {
    background: transparent;
    color: var(--color-gold);
  }

  /* Utility en el drawer: stacked vertical */
  .site-header__utility {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateX(24px);
    transition:
      opacity 0.5s var(--ease) 0.55s,
      transform 0.5s var(--ease) 0.55s;
  }

  .site-header.is-drawer-open .site-header__utility {
    opacity: 1;
    transform: translateX(0);
  }

  .lang-switch {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
  }

  .lang-switch__btn {
    color: rgba(255, 255, 255, 0.75);
  }

  .lang-switch__btn[aria-pressed="true"] {
    color: var(--color-navy-dark);
  }

  .lang-switch__thumb {
    background: linear-gradient(135deg, var(--color-gold-soft) 0%, var(--color-gold) 100%);
  }

  .site-header__linkedin {
    align-self: flex-start;
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.88);
  }

  .site-header__linkedin::before {
    background: var(--color-white);
  }

  .site-header__linkedin:hover {
    color: var(--color-navy-dark);
    border-color: var(--color-white);
  }

  .site-header__cta {
    justify-content: center;
    padding: 0.85rem 1.3rem;
    font-size: 0.9rem;
  }

  /* Evita scroll del body cuando el drawer está abierto */
  .site-header.is-drawer-open ~ main,
  body.drawer-open {
    /* nada aquí — se maneja con overflow en body via JS */
  }
}

/* ============ Accesibilidad: reducir movimiento ============ */
@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header__logo,
  .site-header__progress span,
  .site-nav__link,
  .site-nav__link::after,
  .site-nav__sublist,
  .site-nav__chevron,
  .site-header__cta,
  .site-header__cta::before,
  .site-header__cta-arrow,
  .site-header__linkedin,
  .site-header__linkedin::before,
  .site-header__linkedin-icon,
  .lang-switch__thumb,
  .site-header__nav-wrap,
  .site-nav__item,
  .site-header__utility {
    transition-duration: 0.01ms !important;
  }
}


/* botones genericos .btn — salen en index (hero cta) y donde los pongan */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.85rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn--primary {
  background: var(--color-gold);
  color: var(--color-navy-dark);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(200, 146, 62, 0.35);
}

.btn--accent {
  background: var(--color-white);
  color: var(--color-navy);
}

.btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ============================================================
   HERO — Modern Premium "Mining Strata" (Fase 2)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: calc(var(--header-h) + var(--space-xl));
  padding-bottom: var(--space-xl);
  color: var(--color-white);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: -10% 0;
  z-index: 0;
  background-color: var(--color-navy-dark);
  background-image: linear-gradient(120deg, rgba(6, 16, 32, 0.78), rgba(11, 29, 58, 0.45)),
    url("../assets/images/Mina-cieloabierto.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
}

/* Overlay con doble capa: radial gold + gradiente navy */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 78% 32%, rgba(200, 146, 62, 0.22) 0%, transparent 45%),
    radial-gradient(ellipse at 18% 80%, rgba(15, 42, 82, 0.4) 0%, transparent 50%),
    linear-gradient(180deg,
      rgba(6, 16, 32, 0.25) 0%,
      rgba(6, 16, 32, 0.7) 55%,
      rgba(6, 16, 32, 0.92) 100%);
  pointer-events: none;
}

/* Partículas minerales flotantes */
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero__particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--color-gold);
  border-radius: 50%;
  opacity: 0;
  box-shadow:
    0 0 8px rgba(200, 146, 62, 0.7),
    0 0 16px rgba(200, 146, 62, 0.3);
  will-change: transform, opacity;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero__title {
  margin: 0 0 var(--space-md);
  font-size: clamp(1.85rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

/* Cada palabra del título es un span animable individualmente */
.hero__title-word {
  display: inline-block;
  will-change: transform, opacity;
}

.hero__tagline {
  margin: 0 0 var(--space-md);
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  max-width: 60ch;
  color: var(--color-gold-soft);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  padding-left: 3rem;
}

/* Línea dorada decorativa antes del tagline */
.hero__tagline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2.4rem;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold) 0%, transparent 100%);
}

.hero__lead {
  margin: 0 0 var(--space-md);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 400;
  line-height: 1.65;
}

.hero__motto {
  margin: 0 0 var(--space-lg);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.78);
  font-style: italic;
}

.why-intro {
  margin: 0 0 var(--space-md);
  color: var(--color-text-muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.opportunities__list {
  margin: 0 0 var(--space-md);
  padding-left: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.7;
}

.opportunities__list li {
  margin-bottom: 0.35rem;
}

.opportunities__close {
  margin: 0 0 var(--space-lg);
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  font-style: italic;
}

.hero__cta {
  align-self: flex-start;
  position: relative;
}

/* Halo dorado pulsante continuo después del reveal */
.hero__cta.is-pulsing {
  animation: heroCtaPulse 2.6s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes heroCtaPulse {
  0%, 100% {
    box-shadow:
      0 12px 28px rgba(200, 146, 62, 0.35),
      0 0 0 0 rgba(200, 146, 62, 0.45);
  }
  50% {
    box-shadow:
      0 16px 36px rgba(200, 146, 62, 0.5),
      0 0 0 14px rgba(200, 146, 62, 0);
  }
}

/* las 4 cajitas debajo del titulo — hero__values + ul.hero-values */
.hero__values {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding-top: var(--space-xl);
  width: 100%;
}

.hero-values {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .hero-values {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero-values {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hero-values__item {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: var(--space-md) var(--space-md) calc(var(--space-md) + 0.25rem);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.5s var(--ease),
    border-color 0.5s var(--ease),
    box-shadow 0.5s var(--ease),
    background 0.5s var(--ease);
}

/* Glow dorado radial que se enciende en hover */
.hero-values__item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(200, 146, 62, 0.18), transparent 65%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: -1;
}

/* Línea dorada superior que se dibuja en hover */
.hero-values__item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.55s var(--ease);
}

.hero-values__item:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(200, 146, 62, 0.55);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.35),
    0 0 32px rgba(200, 146, 62, 0.18),
    inset 0 0 0 1px rgba(200, 146, 62, 0.25);
}

.hero-values__item:hover::before {
  opacity: 1;
}

.hero-values__item:hover::after {
  transform: scaleX(1);
}

.hero-values__item:hover .hero-values__icon {
  animation: heroIconBounce 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes heroIconBounce {
  0%   { transform: translateY(0) scale(1); }
  35%  { transform: translateY(-8px) scale(1.1); }
  100% { transform: translateY(0) scale(1); }
}

.hero-values__icon {
  margin-bottom: var(--space-sm);
  filter: drop-shadow(0 4px 12px rgba(200, 146, 62, 0.25));
  transition: filter 0.5s var(--ease);
}

.hero-values__item:hover .hero-values__icon {
  filter: drop-shadow(0 6px 16px rgba(200, 146, 62, 0.55));
}

.hero-values__title {
  margin: 0 0 var(--space-xs);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.005em;
}

.hero-values__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

/* Scroll indicator: línea con punto dorado descendiendo */
.hero__scroll-indicator {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  margin-left: -14px;
  z-index: 3;
  width: 28px;
  height: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.hero__scroll-line {
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.35) 30%, rgba(255, 255, 255, 0.45) 100%);
}

.hero__scroll-dot {
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -3.5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow:
    0 0 12px rgba(200, 146, 62, 0.8),
    0 0 24px rgba(200, 146, 62, 0.4);
  animation: heroScrollDot 2.6s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes heroScrollDot {
  0%   { top: 0;  opacity: 0; }
  18%  { opacity: 1; }
  82%  { opacity: 1; }
  100% { top: calc(100% - 7px); opacity: 0; }
}

@media (max-width: 768px) {
  .hero__scroll-indicator {
    display: none;
  }
}

/* ============================================================
   HERO REVEAL — CSS animations (orquestado sin dependencia de rAF)
   ============================================================ */
/* Estado inicial: contenido oculto preparado para animar.
   Solo aplica cuando JS activa .is-revealing en el hero, para que sin JS el contenido quede visible. */
.hero.is-revealing .hero__title-word,
.hero.is-revealing .hero__tagline,
.hero.is-revealing .hero__lead,
.hero.is-revealing .hero__motto,
.hero.is-revealing .hero__cta,
.hero.is-revealing .hero-values__item,
.hero.is-revealing .hero__scroll-indicator {
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes heroWordIn {
  from { opacity: 0; transform: translateY(44px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroTaglineIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroLeadIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroMottoIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroCtaIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes heroValueIn {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroScrollIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero.is-revealing .hero__title-word {
  animation-name: heroWordIn;
  animation-duration: 0.85s;
  /* animation-delay se aplica por JS per-word */
}

.hero.is-revealing .hero__tagline {
  animation-name: heroTaglineIn;
  animation-duration: 0.7s;
  animation-delay: 0.95s;
}

.hero.is-revealing .hero__lead {
  animation-name: heroLeadIn;
  animation-duration: 0.7s;
  animation-delay: 1.15s;
}

.hero.is-revealing .hero__motto {
  animation-name: heroMottoIn;
  animation-duration: 0.65s;
  animation-delay: 1.35s;
}

.hero.is-revealing .hero__cta {
  animation-name: heroCtaIn;
  animation-duration: 0.7s;
  animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
  animation-delay: 1.55s;
}

.hero.is-revealing .hero-values__item {
  animation-name: heroValueIn;
  animation-duration: 0.75s;
  animation-delay: 1.8s;
}

.hero.is-revealing .hero-values__item:nth-child(2) { animation-delay: 1.93s; }
.hero.is-revealing .hero-values__item:nth-child(3) { animation-delay: 2.06s; }
.hero.is-revealing .hero-values__item:nth-child(4) { animation-delay: 2.19s; }

.hero.is-revealing .hero__scroll-indicator {
  animation-name: heroScrollIn;
  animation-duration: 0.6s;
  animation-delay: 2.4s;
}

/* Safety net: tras 3.5s, el JS agrega .is-revealed que fuerza visibilidad absoluta.
   Cubre el edge case donde CSS animations no avanzan (headless, browsers exóticos). */
.hero.is-revealed .hero__title-word,
.hero.is-revealed .hero__tagline,
.hero.is-revealed .hero__lead,
.hero.is-revealed .hero__motto,
.hero.is-revealed .hero__cta,
.hero.is-revealed .hero-values__item {
  opacity: 1 !important;
  transform: none !important;
}

.hero.is-revealed .hero__scroll-indicator {
  opacity: 1 !important;
}

@media (prefers-reduced-motion: reduce) {
  .hero.is-revealing .hero__title-word,
  .hero.is-revealing .hero__tagline,
  .hero.is-revealing .hero__lead,
  .hero.is-revealing .hero__motto,
  .hero.is-revealing .hero__cta,
  .hero.is-revealing .hero-values__item {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .hero.is-revealing .hero__scroll-indicator {
    animation: none !important;
    opacity: 1 !important;
  }
  .hero__cta.is-pulsing,
  .hero__scroll-dot,
  .hero__particle {
    animation: none !important;
  }
}

/* estilos sueltos de secciones — .section esta en index y en varias paginas internas */
.section {
  padding: var(--space-2xl) 0;
}

.section--alt {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section__title {
  margin: 0 0 var(--space-md);
  font-size: clamp(1.65rem, 3.5vw, 2.1rem);
  font-weight: 700;
  color: var(--color-gold-dark);
}

.section__title--on-dark {
  color: var(--color-white);
}

.section__lead,
.section__intro {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 var(--space-md);
}

.section__head {
  margin-bottom: var(--space-lg);
  max-width: 800px;
}

.section__head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section__intro {
  margin-bottom: 0;
}

/* about con video de fondo — index #about + video.about-video */

.section--about {
  position: relative;
  overflow: hidden;
}

.about-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
}

/* tinta encima del video (pseudo ::before) */
.section--about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 16, 32, 0.65);
  z-index: 1;
}

/* contenido encima del video */
.about-grid {
  position: relative;
  z-index: 2;
}


/* grid 2 cols en desktop — index about: texto izq infografia der */
.about-grid {
  display: grid;
  gap: var(--space-xl);
  align-items: start;
}

@media (min-width: 900px) {

  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
  }

  /* columna de la timeline / evolution */
  .about-grid__evolution {
    justify-self: end;
    width: 100%;
    max-width: min(100%, 26.5rem);
  }
}

/* caja de la linea de tiempo (muchas clases evolution-infographic__*) */
.evolution-infographic {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(11, 29, 58, 0.1);
  border-radius: var(--radius);
  padding: var(--space-lg) var(--space-md);
  box-shadow: var(--shadow-soft);
  background-color: var(--color-navy-dark);
  background-image:
    linear-gradient(165deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 251, 0.88) 40%, rgba(248, 249, 251, 0.92) 100%),
    url("../assets/images/mineral.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.evolution-infographic__title {
  margin: 0 0 var(--space-lg);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-gold-dark);
  text-align: left;
  line-height: 1.3;
}

.evolution-infographic__track {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.evolution-infographic__phase {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: var(--space-md);
  align-items: start;
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(11, 29, 58, 0.08);
  backdrop-filter: blur(4px);
  min-width: 0;
}

.evolution-infographic__marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-white);
  background: linear-gradient(145deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  box-shadow: 0 2px 8px rgba(11, 29, 58, 0.15);
  flex-shrink: 0;
  align-self: start;
}

.evolution-infographic__body {
  min-width: 0;
}

.evolution-infographic__label {
  display: block;
  font-weight: 700;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--color-navy);
  margin-bottom: var(--space-xs);
  line-height: 1.25;
  overflow-wrap: break-word;
  word-break: break-word;
}

.evolution-infographic__desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  overflow-wrap: break-word;
  word-break: break-word;
}

.evolution-infographic__connector {
  position: relative;
  height: 1.5rem;
  flex-shrink: 0;
  margin: 0.1rem 0 0.1rem calc(var(--space-md) + 1.25rem - 1px);
  align-self: start;
  width: 2px;
  max-width: none;
}

.evolution-infographic__connector::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--color-gold-soft) 0%, var(--color-gold-dark) 50%, var(--color-gold-soft) 100%);
  border-radius: 2px;
}

.evolution-infographic__connector::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 0);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--color-gold-dark);
}

@media (min-width: 900px) {
  .evolution-infographic {
    padding: var(--space-xl) var(--space-lg);
  }
}

/* disclaimer abajo del titulo business — index #business */
.business-disclaimer {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* la palabra "important" o similar en negrita */
.business-disclaimer__label {
  color: var(--color-navy);
  margin-right: 0.35em;
}

/* cards reutilizables — index business/products y partners etc */
.cards-grid {
  display: grid;
  gap: var(--space-md);
}

.cards-grid--3 {
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .cards-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cards-grid--4 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .cards-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cards-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

.section--alt .card {
  background: var(--color-white);
}

.card:hover {
  border-color: rgba(200, 146, 62, 0.45);
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}

.card__title {
  margin: 0 0 var(--space-sm);
  font-size: 1.05rem;
  font-weight: 700;
}

.card__text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

/* tarjetas oscuras de productos — index #products .products-visual */
.products-visual .card--product {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
  overflow: hidden;
  border: none;
  position: relative;
}

.card__product-body {
  padding: var(--space-lg);
  background: linear-gradient(180deg, transparent 0%, rgba(6, 16, 32, 0.92) 45%);
  position: relative;
  z-index: 1;
}

.card--product-1 {
  background: linear-gradient(135deg, var(--color-navy-mid), #1a3a6e);
}

.card--product-2 {
  background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold));
}

.card--product-3 {
  background: linear-gradient(135deg, #0a1628, var(--color-navy));
}

.card--product .card__title {
  color: var(--color-white);
}

.card--product .card__text {
  color: rgba(255, 255, 255, 0.88);
}

/* sección partners (#partners) — cards con icono arriba */
.card--partner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-xs);
  text-align: left;
}

.card--partner__icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.15rem;
}

.card--partner__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card--partner .card__title {
  margin-bottom: 0.35rem;
}

/* seccion enfoque — index #approach (3 columnas en desktop) */
.approach-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .approach-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }
}

.approach-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--space-lg);
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  transition: border-color var(--transition);
}

.section--alt .approach-col {
  background: var(--color-white);
}

.approach-col:hover {
  border-color: var(--color-gold);
}

.approach-col__icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: var(--space-sm);
}

.approach-col__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.approach-col__title {
  margin: 0 0 var(--space-sm);
  font-size: 1.2rem;
}

.approach-col__text {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* why us — index #why lista + quote */
.why-grid {
  display: grid;
  gap: var(--space-xl);
  align-items: start;
}

@media (min-width: 900px) {
  .why-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.why-list {
  margin: var(--space-md) 0 0;
  padding-left: 1.2rem;
  color: var(--color-text-muted);
}

.why-list li {
  margin-bottom: var(--space-sm);
}

.why-quote {
  margin: 0;
  padding: var(--space-lg);
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: var(--radius);
  border-left: 4px solid var(--color-gold);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.55;
  box-shadow: var(--shadow);
}

.why-quote p {
  margin: 0;
}

/* sección compliance (#compliance) — bloque gris */
.section--compliance {
  background: var(--color-gray-50);
}

/* layout compliance: icono al lado del texto */
.compliance {
  display: grid;
  gap: var(--space-lg);
  align-items: start;
}

@media (min-width: 768px) {
  .compliance {
    grid-template-columns: auto 1fr;
    gap: var(--space-xl);
  }
}

.compliance__icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.compliance__lead {
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

.compliance__highlight {
  margin-top: var(--space-md);
  padding: var(--space-md);
  background: var(--color-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.compliance__sub {
  margin: 0 0 var(--space-sm);
  font-size: 1rem;
  color: var(--color-navy);
}

/* en pantalla grande parto texto y cajita OFAC en 2 cols */
@media (min-width: 900px) {
  .compliance__body {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    column-gap: clamp(var(--space-lg), 4vw, var(--space-2xl));
    row-gap: var(--space-md);
    align-items: start;
  }

  .compliance__body > .section__title {
    grid-column: 1 / -1;
    margin-bottom: var(--space-md);
  }

  .compliance__body > .compliance__lead {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
  }

  .compliance__body > p:not(.compliance__lead) {
    grid-column: 1;
    grid-row: 3;
    margin: 0;
  }

  .compliance__highlight {
    grid-column: 2;
    grid-row: 2 / span 2;
    margin-top: 0;
    align-self: start;
    min-height: 0;
  }
}

/* sección opportunities (#opportunities) — fondo oscuro centrado */
.section--opportunities {
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 55%, var(--color-navy-mid) 100%);
  color: var(--color-white);
  text-align: center;
  padding: var(--space-2xl) 0;
}

.section--opportunities__inner {
  max-width: 720px;
  margin: 0 auto;
}

.opportunities__lead {
  margin: 0 0 var(--space-lg);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
}

/* contacto + form — index #contact */
.section--contact {
  padding-bottom: var(--space-2xl);
}

.contact-grid {
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.15fr;
    align-items: start;
    gap: var(--space-2xl);
  }
}

.contact-grid__intro {
  color: var(--color-text-muted);
}

.contact-grid__address {
  margin-top: var(--space-lg);
  font-style: normal;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.contact-grid__address p {
  margin: 0 0 var(--space-xs);
}

.contact-form {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-lg);
}

.contact-form__row {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.contact-form__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-navy);
}

.contact-form__input {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form__input:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(200, 146, 62, 0.2);
}

.contact-form__textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form__status {
  min-height: 1.4rem;
  margin: 0 0 var(--space-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-gold-dark);
}

.contact-form__submit {
  width: 100%;
}

/* footer — mismo markup en todos los html */
.site-footer {
  background: var(--color-navy-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: var(--space-lg) 0;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: flex-start;
}

@media (min-width: 768px) {
  .site-footer__inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
}

.site-footer__brand {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--color-gold-soft);
}

.site-footer__copy {
  margin: 0;
  font-size: 0.85rem;
}

.site-footer__top {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  font-weight: 600;
}

.site-footer__top:hover {
  color: var(--color-gold-soft);
}

/* padding top en la primera section de las paginas internas (por el header fixed) */
.page-main>.page-section:first-of-type {
  padding-top: max(var(--space-2xl), calc(var(--header-h) + var(--space-md)));
}

/* texto del capitulo fortalezas — nuestras-fortalezas.html .page-chapter-prose */
.page-chapter-prose {
  max-width: 42rem;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-navy);
}

.page-chapter-prose p+p {
  margin-top: var(--space-md);
}

/* ============================================================
   POR QUÉ MINERÍA — Full-screen cinematic (por-que-mineria.html)
   ============================================================ */
.pq-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: calc(var(--header-h) + var(--space-xl)) var(--space-md) var(--space-xl);
  color: var(--color-white);
  overflow: hidden;
  text-align: center;
}

.pq-hero__media {
  position: absolute;
  inset: -10% 0;
  z-index: 0;
  background-color: var(--color-navy-dark);
  background-image:
    linear-gradient(120deg, rgba(6, 16, 32, 0.82), rgba(11, 29, 58, 0.5)),
    url("../assets/images/mineral.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
}

.pq-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(200, 146, 62, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(15, 42, 82, 0.45) 0%, transparent 50%),
    linear-gradient(180deg,
      rgba(6, 16, 32, 0.3) 0%,
      rgba(6, 16, 32, 0.6) 50%,
      rgba(6, 16, 32, 0.9) 100%);
  pointer-events: none;
}

.pq-hero__particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.pq-hero__content {
  position: relative;
  z-index: 2;
  max-width: 740px;
  margin-bottom: var(--space-2xl);
}

.pq-hero__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-gold-soft);
  margin-bottom: var(--space-md);
  opacity: 0.8;
}

.pq-hero__title {
  margin: 0 0 var(--space-md);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--color-white);
}

.pq-hero__divider {
  width: 72px;
  height: 3px;
  margin: 0 auto var(--space-lg);
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(200, 146, 62, 0.45);
}

.pq-hero__lead {
  margin: 0 auto;
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  max-width: 52ch;
}

.pq-hero__statement {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin-bottom: var(--space-xl);
}

.pq-statement {
  position: relative;
  margin: 0;
  padding: var(--space-xl) var(--space-xl) var(--space-lg);
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.pq-statement::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 10%, var(--color-gold-dark), var(--color-gold), var(--color-gold-soft), transparent 90%);
  border-radius: 20px 20px 0 0;
}

.pq-statement__mark {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 36px;
  color: var(--color-gold);
  opacity: 0.5;
  filter: drop-shadow(0 4px 12px rgba(200, 146, 62, 0.4));
}

.pq-statement__text {
  margin: 0;
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  font-weight: 400;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.pq-hero__nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.pq-hero__nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  transition:
    color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    background 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.pq-hero__nav-link:hover {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.pq-hero__nav-link--cta {
  background: var(--color-gold);
  color: var(--color-navy-dark);
  border-color: var(--color-gold);
  box-shadow: 0 8px 24px rgba(200, 146, 62, 0.35);
}

.pq-hero__nav-link--cta:hover {
  background: var(--color-gold-soft);
  color: var(--color-navy-dark);
  border-color: var(--color-gold-soft);
  box-shadow: 0 14px 36px rgba(200, 146, 62, 0.45);
}

@media (max-width: 640px) {
  .pq-statement {
    padding: var(--space-lg) var(--space-md) var(--space-md);
  }
  .pq-hero__nav {
    flex-direction: column;
    gap: var(--space-sm);
  }
  .pq-hero__nav-link {
    width: 100%;
    justify-content: center;
  }
}



/* ============================================================
   NUESTRAS FORTALEZAS — Full-screen cinematic (nuestras-fortalezas.html)
   ============================================================ */
.nf-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: calc(var(--header-h) + var(--space-lg)) var(--space-md) var(--space-xl);
  color: var(--color-white);
  overflow: hidden;
  text-align: center;
}

.nf-hero__media {
  position: absolute;
  inset: -10% 0;
  z-index: 0;
  background-color: var(--color-navy-dark);
  background-image:
    linear-gradient(120deg, rgba(6, 16, 32, 0.75), rgba(11, 29, 58, 0.45)),
    url("../assets/images/conexiones.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
}

.nf-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 30% 25%, rgba(200, 146, 62, 0.18) 0%, transparent 45%),
    radial-gradient(ellipse at 75% 75%, rgba(15, 42, 82, 0.5) 0%, transparent 50%),
    linear-gradient(180deg,
      rgba(6, 16, 32, 0.35) 0%,
      rgba(6, 16, 32, 0.55) 40%,
      rgba(6, 16, 32, 0.88) 100%);
  pointer-events: none;
}

.nf-hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin-bottom: var(--space-xl);
}

.nf-hero__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-gold-soft);
  margin-bottom: var(--space-md);
  opacity: 0.8;
}

.nf-hero__title {
  margin: 0 0 var(--space-md);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--color-white);
}

.nf-hero__divider {
  width: 72px;
  height: 3px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(200, 146, 62, 0.45);
}

.nf-hero__pillars {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  max-width: 1000px;
  margin-bottom: var(--space-xl);
  width: 100%;
}

@media (min-width: 600px) {
  .nf-hero__pillars {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .nf-hero__pillars {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
  }
}

.nf-pillar {
  position: relative;
  padding: var(--space-lg) var(--space-md) var(--space-md);
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  overflow: hidden;
  text-align: center;
  transition:
    transform 0.5s var(--ease),
    border-color 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}

.nf-pillar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  transform: scaleX(0);
  transition: transform 0.55s var(--ease);
}

.nf-pillar:hover {
  transform: translateY(-8px);
  border-color: rgba(200, 146, 62, 0.5);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.35),
    0 0 32px rgba(200, 146, 62, 0.15);
}

.nf-pillar:hover::before {
  transform: scaleX(1);
}

.nf-pillar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  color: var(--color-gold);
  filter: drop-shadow(0 4px 10px rgba(200, 146, 62, 0.35));
  transition: transform 0.5s var(--ease);
}

.nf-pillar__icon svg {
  width: 100%;
  height: 100%;
}

.nf-pillar:hover .nf-pillar__icon {
  transform: scale(1.12) rotate(-4deg);
}

.nf-pillar__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 400;
}

.nf-hero__nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .nf-hero__nav {
    flex-direction: column;
    gap: var(--space-sm);
  }
  .nf-hero__nav .pq-hero__nav-link {
    width: 100%;
    justify-content: center;
  }
}


/* sección partners (#partners) — fondo con mapa + foto */
.section.section--partners {
  position: relative;
  isolation: isolate;
  background-color: var(--color-navy-dark);
  background-image:
    linear-gradient(180deg, rgba(6, 16, 32, 0.82) 0%, rgba(6, 16, 32, 0.55) 22%, rgba(6, 16, 32, 0.25) 45%, rgba(6, 16, 32, 0.5) 100%),
    url("../assets/images/mapa-mundial-partners.svg"),
    url("../assets/images/socios.png");
  background-size: cover, min(165%, 2200px) auto, cover;
  /* ajuste a ojo del mapa y la foto (si se cambia la imagen retocar %) */
  background-position: center, 50% 50%, center 22%;
  background-repeat: no-repeat, no-repeat, no-repeat;
}

.section.section--partners .section__head {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-xl);
  position: relative;
}

.section.section--partners .section__title {
  color: var(--color-white);
  text-shadow:
    0 1px 2px rgba(6, 16, 32, 0.95),
    0 2px 8px rgba(6, 16, 32, 0.85),
    0 4px 22px rgba(6, 16, 32, 0.75);
}

.section.section--partners .section__intro {
  color: rgba(255, 255, 255, 0.95);
  text-shadow:
    0 1px 2px rgba(6, 16, 32, 0.9),
    0 2px 10px rgba(6, 16, 32, 0.75);
}

.section.section--partners .card {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.75);
}

/* reduced motion: saque el blur raro en partners */
@media (prefers-reduced-motion: reduce) {
  .section.section--partners .card {
    backdrop-filter: none;
    background: rgba(255, 255, 255, 0.9);
  }
}

/* lista con bullets en fortalezas */
.strengths-list {
  margin: 0 auto;
  padding-left: 1.25rem;
  list-style-type: disc;
}

.strengths-list li+li {
  margin-top: var(--space-sm);
}

/* Partners world-map figure con rutas animadas overlay */
.partners-map {
  position: relative;
  margin: 0 auto var(--space-xl);
  max-width: 1100px;
  padding: 0;
  text-align: center;
  border-radius: 18px;
  overflow: hidden;
}

.partners-map__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(6, 16, 32, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.partners-map__routes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
}

.partners-map__route {
  fill: none;
  stroke: var(--color-gold);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0.92;
}

.partners-map.is-visible .partners-map__route {
  animation: partnersRouteDraw 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.partners-map.is-visible .partners-map__route:nth-child(1) { animation-delay: 0.25s; }
.partners-map.is-visible .partners-map__route:nth-child(2) { animation-delay: 0.45s; }
.partners-map.is-visible .partners-map__route:nth-child(3) { animation-delay: 0.65s; }
.partners-map.is-visible .partners-map__route:nth-child(4) { animation-delay: 0.85s; }
.partners-map.is-visible .partners-map__route:nth-child(5) { animation-delay: 1.05s; }
.partners-map.is-visible .partners-map__route:nth-child(6) { animation-delay: 1.25s; }
.partners-map.is-visible .partners-map__route:nth-child(7) { animation-delay: 1.45s; }

@keyframes partnersRouteDraw {
  0%   { stroke-dashoffset: 1; opacity: 0; }
  15%  { opacity: 0.92; }
  100% { stroke-dashoffset: 0; opacity: 0.92; }
}

.partners-map__point {
  fill: var(--color-gold);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  filter: drop-shadow(0 0 6px rgba(200, 146, 62, 0.85));
}

.partners-map.is-visible .partners-map__point {
  animation: partnersPointPulse 2.6s cubic-bezier(0.4, 0, 0.6, 1) 2s infinite;
}

.partners-map.is-visible .partners-map__point:nth-child(2) { animation-delay: 2.1s; }
.partners-map.is-visible .partners-map__point:nth-child(3) { animation-delay: 2.2s; }
.partners-map.is-visible .partners-map__point:nth-child(4) { animation-delay: 2.3s; }
.partners-map.is-visible .partners-map__point:nth-child(5) { animation-delay: 2.4s; }
.partners-map.is-visible .partners-map__point:nth-child(6) { animation-delay: 2.5s; }
.partners-map.is-visible .partners-map__point:nth-child(7) { animation-delay: 2.6s; }

@keyframes partnersPointPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.45); }
}

@media (prefers-reduced-motion: reduce) {
  .partners-map__route {
    stroke-dashoffset: 0;
    opacity: 0.7;
    animation: none !important;
  }
  .partners-map__point {
    opacity: 0.8;
    animation: none !important;
  }
}

.section__note {
  margin: var(--space-sm) auto 0;
  max-width: 48rem;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--color-text-muted);
  opacity: 0.85;
}

.approach-tagline {
  margin: var(--space-xl) auto 0;
  max-width: 52rem;
  text-align: center;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-style: italic;
  color: var(--color-navy);
  font-weight: 500;
}

.business-close {
  margin: var(--space-xl) auto 0;
  max-width: 52rem;
  text-align: center;
  font-size: 1.02rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ============================================================
   SECTION PERSONALITIES — cada sección con identidad visual única
   ============================================================ */

/* ---- BUSINESS: dark navy con glass cards ---- */
#business.section--alt {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(200, 146, 62, 0.08) 0%, transparent 40%),
    linear-gradient(175deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
  border-color: transparent;
  color: var(--color-white);
}

#business .section__title { color: var(--color-gold-soft); }
#business .business-disclaimer { color: rgba(255,255,255,0.75); }
#business .business-disclaimer__label { color: var(--color-gold); }
#business .business-close { color: rgba(255,255,255,0.7); }

#business .biz-card {
  position: relative;
  background: rgba(255,255,255,0.05);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-color: rgba(255,255,255,0.1);
  padding: var(--space-xl) var(--space-md) var(--space-md);
}

#business .biz-card .card__title { color: var(--color-white); }
#business .biz-card .card__text { color: rgba(255,255,255,0.75); }
#business .biz-card:hover .card__title { color: var(--color-gold-soft); }

.biz-card__num {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-gold);
  opacity: 0.12;
  letter-spacing: -0.04em;
  pointer-events: none;
}

.biz-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-md);
  color: var(--color-gold);
  opacity: 0.85;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}

.biz-card__icon svg { width: 100%; height: 100%; }

.biz-card:hover .biz-card__icon {
  transform: scale(1.15) rotate(-5deg);
  opacity: 1;
}

.biz-card:hover .biz-card__num { opacity: 0.25; }

/* ---- PRODUCTS: dark gradient con cards de mineral identity ---- */
#products.section {
  background:
    radial-gradient(ellipse at 70% 80%, rgba(200, 146, 62, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, var(--color-navy-dark) 0%, #0a1628 50%, var(--color-navy-dark) 100%);
  color: var(--color-white);
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

#products .section__title { color: var(--color-gold-soft); }
#products .section__intro { color: rgba(255,255,255,0.82); }
#products .section__note { color: rgba(255,255,255,0.55); }

.card--product {
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.card--product .card__product-body {
  padding: var(--space-lg) var(--space-md) var(--space-md);
  width: 100%;
}

.card--product .card__title { color: var(--color-white); font-size: 1.12rem; }
.card--product .card__text { color: rgba(255,255,255,0.78); }
.card--product:hover .card__title { color: var(--color-gold-soft); }

.card--product-1 {
  background:
    linear-gradient(180deg, rgba(6, 16, 32, 0.15) 0%, rgba(6, 16, 32, 0.75) 55%, rgba(6, 16, 32, 0.92) 100%),
    url("../assets/images/industriales.png") center / cover no-repeat;
}

.card--product-2 {
  background:
    linear-gradient(180deg, rgba(6, 16, 32, 0.15) 0%, rgba(6, 16, 32, 0.75) 55%, rgba(6, 16, 32, 0.92) 100%),
    url("../assets/images/basics.png") center / cover no-repeat;
}

.card--product-3 {
  background:
    linear-gradient(180deg, rgba(6, 16, 32, 0.15) 0%, rgba(6, 16, 32, 0.75) 55%, rgba(6, 16, 32, 0.92) 100%),
    url("../assets/images/estrategicos.png") center / cover no-repeat;
}

.card--product:hover {
  transform: translateY(-10px);
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(200, 146, 62, 0.12);
}

/* ---- APPROACH: keep original alt style, numbers are the only addition ---- */
.approach-col__num {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
  opacity: 0.65;
}

/* ---- WHY RETAILNOVA: dark confident bold ---- */
#why.section {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(200, 146, 62, 0.15) 0%, transparent 45%),
    linear-gradient(180deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
  color: var(--color-white);
  padding: var(--space-2xl) 0;
}

#why .section__title { color: var(--color-gold-soft); }
#why .why-intro { color: rgba(255,255,255,0.82); }

#why .why-list {
  padding-left: 0;
  list-style: none;
}

#why .why-list li {
  position: relative;
  padding-left: 2rem;
  padding-top: 0.4rem;
  padding-bottom: 0.6rem;
  color: rgba(255,255,255,0.88);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

#why .why-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 18px;
  height: 18px;
  background: var(--color-gold);
  opacity: 0.85;
  border-radius: 50%;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10l3 3 5-6' stroke='%23fff' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10l3 3 5-6' stroke='%23fff' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
}

#why .why-quote {
  background:
    linear-gradient(135deg, rgba(200, 146, 62, 0.15), rgba(200, 146, 62, 0.04));
  border: 1px solid rgba(200, 146, 62, 0.25);
  border-left: 4px solid var(--color-gold);
  padding: var(--space-lg) var(--space-xl);
  border-radius: 0 16px 16px 0;
  color: rgba(255,255,255,0.95);
  font-size: 1.08rem;
  font-style: italic;
  box-shadow: 0 12px 40px rgba(200, 146, 62, 0.12);
}

/* ---- COMPLIANCE: institutional cool with trust badges ---- */
#compliance.section--compliance {
  position: relative;
  background:
    linear-gradient(180deg, #f2f3f7 0%, #e9ebf0 100%);
  overflow: hidden;
}

.compliance__bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(11, 29, 58, 0.04) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}

#compliance .section__title { color: var(--color-navy); }

#compliance .compliance__highlight {
  background: var(--color-white);
  border: 1px solid rgba(11, 29, 58, 0.08);
  border-left: 4px solid var(--color-gold);
  border-radius: 0 14px 14px 0;
  padding: var(--space-md) var(--space-lg);
  box-shadow: 0 8px 28px rgba(11, 29, 58, 0.08);
  margin-top: var(--space-lg);
}

#compliance .compliance__highlight .compliance__sub {
  color: var(--color-navy);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#compliance .compliance__highlight .compliance__sub::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  background: var(--color-gold);
  border-radius: 50%;
  flex-shrink: 0;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2L3 7v5c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V7l-9-5z' fill='%23fff'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2L3 7v5c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V7l-9-5z' fill='%23fff'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
}

/* ---- CONTACT: subtle warm background ---- */
.section--contact {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(200, 146, 62, 0.06) 0%, transparent 50%),
    var(--color-bg-alt);
}

/* ============================================================
   REVEAL ON SCROLL — variantes + stagger (Fase 3)
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

[data-reveal-variant="fade-left"] {
  transform: translateX(-32px);
}

[data-reveal-variant="fade-right"] {
  transform: translateX(32px);
}

[data-reveal-variant="scale"] {
  transform: scale(0.92);
}

[data-reveal-variant="fade-down"] {
  transform: translateY(-28px);
}

/* Stagger: los hijos directos animan con delay incremental */
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
}

[data-reveal-stagger].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-stagger].is-visible > *:nth-child(1) { transition-delay: 0.00s; }
[data-reveal-stagger].is-visible > *:nth-child(2) { transition-delay: 0.10s; }
[data-reveal-stagger].is-visible > *:nth-child(3) { transition-delay: 0.20s; }
[data-reveal-stagger].is-visible > *:nth-child(4) { transition-delay: 0.30s; }
[data-reveal-stagger].is-visible > *:nth-child(5) { transition-delay: 0.40s; }
[data-reveal-stagger].is-visible > *:nth-child(6) { transition-delay: 0.50s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-reveal-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================================
   GLOBAL POLISH — scrollbar, selection, section heads
   ============================================================ */
::selection {
  background: rgba(200, 146, 62, 0.32);
  color: var(--color-navy-dark);
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--color-gray-50);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--color-navy-mid), var(--color-navy));
  border-radius: 999px;
  border: 2px solid var(--color-gray-50);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--color-gold), var(--color-gold-dark));
}

html {
  scrollbar-width: thin;
  scrollbar-color: var(--color-navy) var(--color-gray-50);
}

/* Section titles con línea dorada decorativa */
.section__head .section__title::after,
.section__head--center .section__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 0.85rem;
  background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-gold-soft) 100%);
  border-radius: 2px;
  box-shadow: 0 0 16px rgba(200, 146, 62, 0.35);
}

.section__head--center .section__title::after {
  margin-left: auto;
  margin-right: auto;
}

.section--opportunities .section__title::after,
.section--about .section__title::after {
  background: linear-gradient(90deg, var(--color-gold-soft) 0%, var(--color-gold) 100%);
}

/* ============================================================
   ABOUT — Evolution infographic enhanced
   ============================================================ */
.evolution-infographic__phase {
  position: relative;
  transition: transform 0.5s var(--ease);
}

.evolution-infographic__marker {
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.evolution-infographic__marker::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--color-gold);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.evolution-infographic.is-visible .evolution-infographic__phase:hover .evolution-infographic__marker::before {
  opacity: 1;
  transform: scale(1);
}

.evolution-infographic.is-visible .evolution-infographic__phase:hover {
  transform: translateX(4px);
}

.evolution-infographic__connector {
  position: relative;
  overflow: hidden;
}

.evolution-infographic__connector::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  transform: translateX(-100%);
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.evolution-infographic.is-visible .evolution-infographic__connector::after {
  transform: translateX(100%);
  transition-delay: 0.5s;
}

/* ============================================================
   BUSINESS / PRODUCTS / PARTNERS — Cards hover premium
   ============================================================ */
.card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease),
    border-color 0.5s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold), var(--color-gold-soft));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.6s var(--ease);
  z-index: 2;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(200, 146, 62, 0.10), transparent 65%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: -1;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 24px 48px rgba(11, 29, 58, 0.14),
    0 0 24px rgba(200, 146, 62, 0.08);
  border-color: rgba(200, 146, 62, 0.4);
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover::after {
  opacity: 1;
}

.card:hover .card__title {
  color: var(--color-gold-dark);
}

.card__title {
  transition: color 0.4s var(--ease);
}

/* Cards de productos (commodities) con imagen: ken burns sutil en hover */
.card--product {
  position: relative;
  overflow: hidden;
}

.card--product::after {
  /* refuerzo del hover glow por encima del background */
  z-index: 1;
}

.card--product .card__product-body {
  position: relative;
  z-index: 2;
}

.card--product:hover {
  transform: translateY(-8px);
}

/* Partner cards con ícono que rota sutilmente en hover */
.card--partner__icon {
  transition: transform 0.6s var(--ease);
}

.card--partner:hover .card--partner__icon {
  transform: rotate(-8deg) scale(1.1);
}

/* ============================================================
   APPROACH — Iconos con path-draw al entrar en viewport
   ============================================================ */
.approach-col {
  position: relative;
  transition: transform 0.5s var(--ease);
}

.approach-col__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: var(--space-sm);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(200, 146, 62, 0.14), rgba(200, 146, 62, 0.04));
  border: 1px solid rgba(200, 146, 62, 0.25);
  transition: all 0.5s var(--ease);
}

.approach-col__icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.approach-col__icon img {
  position: relative;
  z-index: 1;
  transition: transform 0.5s var(--ease), filter 0.5s var(--ease);
}

.approach-col:hover .approach-col__icon {
  transform: translateY(-4px) rotate(-3deg);
  box-shadow: 0 12px 28px rgba(200, 146, 62, 0.35);
  border-color: var(--color-gold);
}

.approach-col:hover .approach-col__icon::before {
  opacity: 0.12;
}

.approach-col:hover .approach-col__icon img {
  transform: scale(1.1);
  filter: drop-shadow(0 3px 6px rgba(200, 146, 62, 0.5));
}

/* ============================================================
   COMPLIANCE — Shield icon con shine diagonal
   ============================================================ */
.compliance {
  position: relative;
}

.compliance__icon {
  position: relative;
  display: inline-flex;
  padding: 1.2rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(200, 146, 62, 0.12), rgba(11, 29, 58, 0.06));
  border: 1px solid rgba(200, 146, 62, 0.3);
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.compliance__icon::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 60%
  );
  transform: translateX(-100%);
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.compliance.is-visible .compliance__icon::before {
  transform: translateX(100%);
  transition-delay: 0.6s;
}

.compliance__icon img {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 10px rgba(200, 146, 62, 0.25));
}

/* ============================================================
   OPPORTUNITIES — CTA dorado con shimmer continuo sutil
   ============================================================ */
.section--opportunities {
  position: relative;
  overflow: hidden;
}

.section--opportunities::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70%;
  height: 180%;
  background: radial-gradient(ellipse, rgba(200, 146, 62, 0.12), transparent 60%);
  pointer-events: none;
}

.opportunities__list li {
  position: relative;
  padding-left: 0;
}

.opportunities__list li::marker {
  color: var(--color-gold);
}

.section--opportunities .btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.section--opportunities .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    110deg,
    transparent 40%,
    rgba(255, 255, 255, 0.6) 50%,
    transparent 60%
  );
  transition: left 0.85s cubic-bezier(0.4, 0, 0.2, 1);
}

.section--opportunities .btn:hover::before {
  left: 100%;
}

/* ============================================================
   CONTACT — Floating labels + gold focus underline
   ============================================================ */
.contact-form__row {
  position: relative;
  margin-bottom: 1.35rem;
}

.contact-form__label {
  position: absolute;
  top: 0.95rem;
  left: 1rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text-muted);
  pointer-events: none;
  transition:
    transform 0.3s var(--ease),
    color 0.3s var(--ease),
    font-size 0.3s var(--ease),
    background 0.3s var(--ease);
  background: transparent;
  padding: 0 0.4rem;
  transform-origin: left center;
}

.contact-form__input {
  width: 100%;
  padding: 0.95rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-navy-dark);
  background: var(--color-white);
  border: 1.5px solid rgba(11, 29, 58, 0.12);
  border-radius: 10px;
  transition:
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    background 0.3s var(--ease);
}

.contact-form__input::placeholder {
  color: transparent;
}

.contact-form__input:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 4px rgba(200, 146, 62, 0.15);
}

.contact-form__input:focus + .contact-form__label,
.contact-form__input:not(:placeholder-shown) + .contact-form__label {
  transform: translateY(-1.55rem) scale(0.85);
  color: var(--color-gold-dark);
  background: var(--color-white);
  font-weight: 600;
}

.contact-form__textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form__submit {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.contact-form__submit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-mid));
  transform: translateY(100%);
  transition: transform 0.45s var(--ease);
  z-index: -1;
}

.contact-form__submit:hover {
  color: var(--color-white);
  transform: translateY(-2px);
}

.contact-form__submit:hover::before {
  transform: translateY(0);
}

/* sección Commodities (sourcing) — index #products (hereda fondo navy oscuro) */
.sourcing-block {
  max-width: 820px;
  margin: var(--space-lg) auto 0;
  text-align: center;
  position: relative;
}

#products .sourcing-block__lead {
  margin: 0 auto var(--space-xl);
  font-size: 1.08rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
}

#products .sourcing-block__tagline {
  margin: 0 auto;
  padding: var(--space-lg) var(--space-lg) var(--space-md);
  font-family: var(--font);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 500;
  color: var(--color-gold-soft);
  border-top: 1px solid rgba(200, 146, 62, 0.3);
  letter-spacing: 0.01em;
  position: relative;
  text-shadow: 0 1px 2px rgba(6, 16, 32, 0.5);
}

#products .sourcing-block__tagline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-gold);
  width: 48px;
  height: 3px;
  border-radius: 3px;
  box-shadow: 0 0 12px rgba(200, 146, 62, 0.45);
}

#products .sourcing-block__tagline::after {
  display: none;
}

@media (min-width: 768px) {
  #products .sourcing-block__lead {
    font-size: 1.18rem;
  }
  #products .sourcing-block__tagline {
    font-size: 1.15rem;
  }
}

/* footer legal — privacy / terms links */
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.65rem;
  font-size: 0.85rem;
}

.site-footer__legal a {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  transition: color var(--transition);
}

.site-footer__legal a:hover {
  color: var(--color-gold-soft);
}

.site-footer__sep {
  color: rgba(255, 255, 255, 0.35);
}

/* páginas legales (privacy / terms) */
.legal-page {
  padding-top: max(var(--space-2xl), calc(var(--header-h) + var(--space-lg)));
  padding-bottom: var(--space-2xl);
  background: var(--color-bg);
}

.legal-page__container {
  max-width: 860px;
  margin: 0 auto;
}

.legal-page__head {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.legal-page__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: var(--space-sm);
}

.legal-page__title {
  margin: 0 0 var(--space-sm);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--color-navy);
}

.legal-page__updated {
  margin: 0;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  font-style: italic;
}

.legal-page__body {
  color: var(--color-text);
  line-height: 1.75;
}

.legal-page__body h2 {
  margin: var(--space-xl) 0 var(--space-sm);
  font-size: 1.25rem;
  color: var(--color-navy);
  position: relative;
  padding-left: 0.9rem;
}

.legal-page__body h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 3px;
  background: var(--color-gold);
  border-radius: 2px;
}

.legal-page__body p {
  margin: 0 0 var(--space-md);
  font-size: 1rem;
  color: var(--color-text);
}

.legal-page__body a {
  color: var(--color-navy-mid);
  border-bottom: 1px solid rgba(11, 29, 58, 0.25);
  transition: color var(--transition), border-color var(--transition);
}

.legal-page__body a:hover {
  color: var(--color-gold-dark);
  border-bottom-color: var(--color-gold);
}

.legal-page__nav {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
  justify-content: space-between;
  align-items: center;
}

.legal-page__nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-navy-mid);
}

.legal-page__nav a:hover {
  color: var(--color-gold-dark);
}