/* ==========================================================================
   VITA COMEX — v0.2 redesign per DESIGN(Example) (Dala reference)
   Constellation-on-void: pure black canvas, monumental weight-400 type with
   negative tracking, weight-200 body, one filled white pill, zero panels.
   Particle planet of "V" glyphs in the three sub-brand palettes (canvas).
   ========================================================================== */

/* ---- Fonts (self-hosted Saira variable 100–900) ---- */
@font-face {
  font-family: 'Saira';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/saira-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Saira';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/saira-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Tokens ---- */
:root {
  /* Colours — core (void + type) */
  --color-void: #000000;
  --color-white: #ffffff;
  --color-ash: #9a9a9a;
  --color-silver: #bdbdbd;
  --color-iron: #333333;
  --color-teal: #085556;
  --color-teal-text: #35a29e; /* legible teal for eyebrows/emphasis on black */

  /* Colours — sub-brand spectrum (particles + contained brand accents) */
  --logistics-1: #426BAD; --logistics-2: #40A879;
  --gourmet-1: #A3B267;  --gourmet-2: #4C4F41;
  --deko-1: #C89267;     --deko-2: #997156;

  /* Typography — reference scale on Saira */
  --font-saira: 'Saira', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text-caption: 12px;
  --text-nav: 13px;
  --text-body: 16.5px;
  --text-heading-xs: clamp(19px, 1.6vw + 11px, 23px);
  --text-subheading: clamp(24px, 2vw + 12px, 30px);
  --text-heading-sm: clamp(24px, 2.2vw + 12px, 34px);
  --text-heading: clamp(28px, 2.6vw + 13px, 40px);
  --text-heading-lg: clamp(30px, 3.8vw, 54px);
  --text-display: clamp(32px, 4.6vw, 64px);
  --tracking-tight: -0.04em;
  --tracking-nav: 0.025em;
  --tracking-eyebrow: 0.09em;

  /* Layout */
  --page-max-width: 1280px;
  --gutter: 24px;
  --narrative-max-width: 680px;

  /* Radius */
  --radius-pill: 24px;

  --ease-premium: cubic-bezier(0.19, 1, 0.22, 1);
}

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;          /* hard barrier against any horizontal overflow → no mobile zoom-to-fit pulsing */
  max-width: 100%;
}

body {
  background: var(--color-void);
  color: var(--color-white);
  font-family: var(--font-saira);
  font-weight: 200;
  font-size: var(--text-body);
  line-height: 1.5;
  overflow-x: clip;
  min-height: 100vh;
}

img, svg, canvas { max-width: 100%; display: block; }

a { color: var(--color-white); text-decoration: none; }

h1, h2, h3, h4 { font-weight: 400; }

strong { font-weight: 400; }

::selection { background: var(--color-white); color: var(--color-void); }

:focus-visible {
  outline: 1px solid var(--color-white);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  max-width: var(--page-max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---- The cosmos: fixed particle canvas behind everything ---- */
.cosmos {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.cosmos canvas { width: 100%; height: 100%; }

/* animated film grain — texture over the whole page, beneath content.
   Sits exactly on the viewport (inset:0) and animates BACKGROUND-POSITION, not
   the element box — so it never overflows or shifts the page's scroll bounds
   (an overflowing, box-animated fixed layer causes mobile zoom-to-fit pulsing). */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.055;
  background-repeat: repeat;
  animation: grain-shift 900ms steps(3) infinite;
}
@keyframes grain-shift {
  0% { background-position: 0 0; }
  33% { background-position: -42px 26px; }
  66% { background-position: 28px -38px; }
  100% { background-position: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
}

/* all content floats above the particle field */
.site {
  position: relative;
  z-index: 2;
}

/* ---- Type roles ---- */
.display {
  font-size: var(--text-display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: var(--tracking-tight);
  /* metallic sheen */
  background: linear-gradient(180deg, #ffffff 55%, #b9c6c5 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.heading-lg {
  font-size: var(--text-heading-lg);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: var(--tracking-tight);
  background: linear-gradient(180deg, #ffffff 55%, #b9c6c5 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.heading {
  font-size: var(--text-heading);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: var(--tracking-tight);
}
.heading-sm {
  font-size: var(--text-heading-sm);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.subheading {
  font-size: var(--text-subheading);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: var(--text-nav);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-teal-text);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}
.section-header--center .eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}
.muted { color: var(--color-ash); }

p { font-weight: 200; }

/* readability over particles */
.text-shield { text-shadow: 0 0 18px rgba(0, 0, 0, 0.9), 0 0 44px rgba(0, 0, 0, 0.7); }
/* the stat strip crosses the densest transition — strongest shield */
.proof-item.text-shield {
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 1),
    0 0 10px rgba(0, 0, 0, 0.98),
    0 0 26px rgba(0, 0, 0, 0.92),
    0 0 52px rgba(0, 0, 0, 0.8);
}

/* ---- Buttons ---- */
/* Primary: the single filled pill (white on black — reference's violet role) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 13px 26px;
  border: none;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, #ffffff 0%, #dfe7e6 120%);
  color: var(--color-void);
  font-family: var(--font-saira);
  font-size: var(--text-nav);
  font-weight: 600;
  letter-spacing: var(--tracking-nav);
  text-transform: uppercase;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 6px 28px rgba(255, 255, 255, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 350ms var(--ease-premium), box-shadow 350ms var(--ease-premium);
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(160, 235, 230, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  text-decoration: none;
}
.btn:active { transform: none; }

/* Secondary: bare ghost text link */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 13px 6px;
  background: none;
  border: none;
  color: var(--color-ash);
  font-family: var(--font-saira);
  font-size: var(--text-nav);
  font-weight: 600;
  letter-spacing: var(--tracking-nav);
  text-transform: uppercase;
  line-height: 1.2;
  cursor: pointer;
  transition: color 300ms ease;
}
.btn-ghost::after { content: '→'; transition: transform 350ms var(--ease-premium); }
.btn-ghost { position: relative; }
.btn-ghost::before {
  content: '';
  position: absolute;
  left: 6px; right: 6px; bottom: 8px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 450ms var(--ease-premium);
}
.btn-ghost:hover { color: var(--color-white); text-decoration: none; }
.btn-ghost:hover::before { transform: scaleX(1); }
.btn-ghost:hover::after { transform: translateX(4px); }

/* ---- Navigation: bounded bar, frosts the content scrolling beneath ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background 500ms ease, -webkit-backdrop-filter 500ms ease, backdrop-filter 500ms ease;
}
.nav.is-solid {
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(26px) saturate(1.2);
  backdrop-filter: blur(26px) saturate(1.2);
}
.nav__inner {
  max-width: var(--page-max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 80px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav__links a {
  font-size: var(--text-nav);
  font-weight: 600;
  letter-spacing: var(--tracking-nav);
  text-transform: uppercase;
  color: var(--color-ash);
  transition: color 300ms ease;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--color-white); text-decoration: none; }
.nav__actions { display: flex; align-items: center; gap: 18px; }

/* Language toggle — ghost, no box */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 6px;
  border: none;
  background: transparent;
  font-family: var(--font-saira);
  font-size: var(--text-nav);
  font-weight: 600;
  letter-spacing: var(--tracking-nav);
  cursor: pointer;
  color: var(--color-ash);
}
.lang-toggle .lang { color: var(--color-ash); transition: color 300ms ease; }
.lang-toggle .lang.is-active { color: var(--color-white); }
.lang-toggle .lang-sep { margin-inline: 7px; color: var(--color-iron); }

/* Mobile nav */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--color-white);
  transition: transform 350ms var(--ease-premium), opacity 350ms var(--ease-premium);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.93);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  padding: 130px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 450ms var(--ease-premium), visibility 450ms;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a:not(.btn) {
  font-size: var(--text-heading-sm);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--color-white);
  padding: 16px 0;
  transform: translateY(24px);
  opacity: 0;
  transition: transform 600ms var(--ease-premium), opacity 600ms var(--ease-premium);
}
.mobile-menu.is-open a:not(.btn) { transform: none; opacity: 1; }
.mobile-menu.is-open a:nth-child(1) { transition-delay: 60ms; }
.mobile-menu.is-open a:nth-child(2) { transition-delay: 120ms; }
.mobile-menu.is-open a:nth-child(3) { transition-delay: 180ms; }
.mobile-menu.is-open a:nth-child(4) { transition-delay: 240ms; }
.mobile-menu a:hover { text-decoration: none; color: var(--color-ash); }
.mobile-menu .btn { margin-top: 28px; align-self: flex-start; opacity: 0; transition: opacity 600ms var(--ease-premium) 320ms; }
.mobile-menu.is-open .btn { opacity: 1; }

/* ---- Sections ---- */
.section { position: relative; padding-block: clamp(96px, 14vh, 160px); }

/* compact breathing room between sections — the formation morph happens
   while content is still on screen (never a background-only viewport) */
.cosmos-gap { height: 18vh; }
.cosmos-gap--short { height: 10vh; }

/* defined section boundary — a drawn hairline over the void */
.section-rule {
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
  max-width: var(--page-max-width);
  margin-inline: auto;
  transform-origin: left center;
}
html.js .section-rule { transform: scaleX(0); }
html.js .section-rule.is-visible { transform: scaleX(1); transition: transform 1300ms var(--ease-premium); }

/* glass surface — defined boundaries that still float on the cosmos */
.glass {
  background: rgba(12, 13, 14, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.section-header { margin-bottom: 64px; }
.section-header .eyebrow { margin-bottom: 20px; }
.section-header .section-intro {
  margin-top: 24px;
  max-width: 560px;
  color: var(--color-silver);
}
.section-header--center { text-align: center; }
.section-header--center .section-intro { margin-inline: auto; }

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 96px;
}
.hero__inner { width: 100%; }
.hero__copy { max-width: 46%; }
.hero__title { margin-bottom: 26px; }
/* the second sentence carries the brand: teal-tinted sheen for visual entity */
.hero__title > span:last-child {
  background: linear-gradient(92deg, #ffffff 20%, #7fd9d4 115%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  color: var(--color-silver);
  max-width: 430px;
  font-size: 15.5px;
  margin-bottom: 38px;
}
/* the shortened sub (ending at “proyectos.”) is now the only version, all viewports */
.m-dot { display: inline; }
.hero__sub-more { display: none; }
.hero__ctas { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

/* staged entrance */
html.js .hero .eyebrow,
html.js .hero__title,
html.js .hero__sub,
html.js .hero__ctas {
  opacity: 0;
  transform: translateY(30px);
}
html.js.is-loaded .hero .eyebrow,
html.js.is-loaded .hero__title,
html.js.is-loaded .hero__sub,
html.js.is-loaded .hero__ctas {
  opacity: 1;
  transform: none;
  transition: opacity 1100ms var(--ease-premium), transform 1100ms var(--ease-premium);
}
html.js.is-loaded .hero .eyebrow { transition-delay: 120ms; }
html.js.is-loaded .hero__title { transition-delay: 240ms; }
html.js.is-loaded .hero__sub { transition-delay: 400ms; }
html.js.is-loaded .hero__ctas { transition-delay: 560ms; }

.hero-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 48px;
  overflow: hidden;
  opacity: 0.6;
}
.hero-hint::after {
  content: '';
  position: absolute;
  top: -48px; left: 0;
  width: 1px; height: 48px;
  background: var(--color-white);
  animation: hint-drop 2.6s var(--ease-premium) infinite;
}
@keyframes hint-drop {
  0% { transform: translateY(0); }
  60%, 100% { transform: translateY(96px); }
}

/* ---- Proof strip: floating type, no rules ---- */
.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 88px;
  padding-block: 24px;
}
.proof-item {
  max-width: 360px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 22px;
  flex: 1 1 240px;
}
.proof-item__value {
  font-size: var(--text-heading-sm);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 10px;
  color: #ffffff; /* pure white — this strip crosses the densest particle transition */
}
.proof-item__label { color: #ffffff; font-size: 16px; font-weight: 300; }
.proof-item { border-top-color: rgba(63, 179, 174, 0.35); }

/* ---- Nosotros: narrative floating on the starfield ---- */
.narrative {
  max-width: var(--narrative-max-width);
  margin-inline: auto;
  text-align: center;
}
.narrative .eyebrow { margin-bottom: 20px; }
.narrative h2.display { margin-bottom: 40px; }
.narrative h3 {
  font-size: var(--text-subheading);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 60px 0 18px;
}
.narrative p { color: var(--color-silver); margin-bottom: 22px; }
.narrative p.lead {
  color: var(--color-white);
  font-size: var(--text-heading-xs);
  font-weight: 200;
  line-height: 1.45;
}

/* Comex mark closing the Nosotros narrative — layered orbital halo */
.narrative__mark {
  margin-top: 110px;
  min-height: 480px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
/* breathing core — centered via inset/margin so it never overflows the viewport */
.mark-aura {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(520px, 82vw);
  height: min(520px, 82vw);
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(63, 179, 174, 0.20), rgba(63, 179, 174, 0.07) 42%, transparent 68%),
    radial-gradient(closest-side, rgba(255, 255, 255, 0.10), transparent 45%);
  pointer-events: none;
  animation: mark-breathe 6.5s ease-in-out infinite;
}
@keyframes mark-breathe {
  0%, 100% { transform: scale(1); opacity: 0.75; }
  50% { transform: scale(1.12); opacity: 1; }
}
/* counter-rotating light arms on orbital rings */
.mark-ring {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(460px, 74vw);
  height: min(460px, 74vw);
  border-radius: 50%;
  pointer-events: none;
  background: conic-gradient(from 0deg,
    transparent 0deg,
    rgba(63, 179, 174, 0.0) 258deg,
    rgba(63, 179, 174, 0.55) 300deg,
    rgba(234, 255, 253, 0.95) 318deg,
    transparent 330deg);
  -webkit-mask: radial-gradient(closest-side, transparent 77.5%, #000 78.5%, #000 80.5%, transparent 81.5%);
  mask: radial-gradient(closest-side, transparent 77.5%, #000 78.5%, #000 80.5%, transparent 81.5%);
  animation: mark-orbit 10s linear infinite;
}
.mark-ring--2 {
  width: min(560px, 82vw);
  height: min(560px, 82vw);
  background: conic-gradient(from 180deg,
    transparent 0deg,
    rgba(255, 255, 255, 0.0) 268deg,
    rgba(255, 255, 255, 0.5) 312deg,
    rgba(63, 179, 174, 0.8) 326deg,
    transparent 336deg);
  animation: mark-orbit 16s linear infinite reverse;
}
@keyframes mark-orbit {
  to { transform: rotate(360deg); }
}
/* the mark itself: large, floating, pulsing light */
.narrative__mark img {
  position: relative;
  height: 220px;
  width: auto;
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.30)) drop-shadow(0 0 80px rgba(63, 179, 174, 0.35));
  animation: mark-float 7s ease-in-out infinite;
}
@keyframes mark-float {
  0%, 100% { transform: translateY(6px); filter: drop-shadow(0 0 26px rgba(255, 255, 255, 0.24)) drop-shadow(0 0 60px rgba(63, 179, 174, 0.25)); }
  50% { transform: translateY(-6px); filter: drop-shadow(0 0 36px rgba(255, 255, 255, 0.40)) drop-shadow(0 0 95px rgba(63, 179, 174, 0.45)); }
}
@media (max-width: 767px) {
  .narrative__mark { min-height: 340px; }
  .narrative__mark img { height: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  .mark-aura, .mark-ring, .mark-ring--2, .narrative__mark img { animation: none; }
}

/* ---- Marcas: glass brand cards beside the great planet ---- */
.brand-card {
  position: relative;
  max-width: 640px;
  margin-block: clamp(56px, 9vh, 96px);
  padding: clamp(30px, 3.6vw, 48px);
  overflow: hidden;
  transition: border-color 500ms var(--ease-premium);
}
.brand-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-accent, rgba(255,255,255,0.3)), transparent);
}
/* brand light: radial accent washes inside the card */
.brand-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(70% 55% at 18% 4%, color-mix(in srgb, var(--brand-accent) 22%, transparent), transparent 68%),
    radial-gradient(55% 45% at 92% 88%, color-mix(in srgb, var(--brand-accent) 10%, transparent), transparent 70%);
  opacity: 0.8;
  transition: opacity 600ms var(--ease-premium);
}
.brand-card:hover { border-color: color-mix(in srgb, var(--brand-accent) 45%, transparent); }
.brand-card:hover::after { opacity: 1; }
.brand-card > div { position: relative; z-index: 1; }
.brand-card .eyebrow { margin-bottom: 18px; color: var(--brand-accent-text, var(--color-teal-text)); }
.brand-card h3 { margin-bottom: 24px; }
.brand-card__open { color: var(--color-silver); margin-bottom: 8px; }
.brand-card .feature {
  border-left: 1px solid color-mix(in srgb, var(--brand-accent) 55%, transparent);
  padding-left: 22px;
  margin-top: 28px;
}
.brand-card h4 {
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--brand-accent-text, var(--color-teal-text));
  margin: 0 0 8px;
}
.brand-card .feature-text { color: var(--color-silver); }
.brand-card__logo {
  margin-bottom: 38px;
  display: flex;
  justify-content: center;
}
.brand-card__logo img {
  height: clamp(150px, 15vw, 200px);
  width: auto;
  filter: drop-shadow(0 0 26px color-mix(in srgb, var(--brand-accent) 55%, transparent));
  transition: transform 700ms var(--ease-premium), filter 700ms var(--ease-premium);
}
.brand-card:hover .brand-card__logo img {
  transform: scale(1.04);
  filter: drop-shadow(0 0 38px color-mix(in srgb, var(--brand-accent) 75%, transparent));
}
.brand-card__cta { margin-top: 42px; display: flex; align-items: center; gap: 26px; }
.brand-card--logistics { --brand-accent: #426BAD; --brand-accent-text: #7fa3d6; }
.brand-card--gourmet   { --brand-accent: #A3B267; --brand-accent-text: #b8c584; }
.brand-card--deko      { --brand-accent: #C89267; --brand-accent-text: #d8ac83; }

.badge-soon {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 13px 24px;
  border: 1px dashed var(--color-iron);
  border-radius: var(--radius-pill);
  color: var(--color-ash);
  font-size: var(--text-nav);
  font-weight: 600;
  letter-spacing: var(--tracking-nav);
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---- Contact wizard: glass card on the void ---- */
.wizard-wrap { max-width: 640px; margin-inline: auto; }
.wizard { position: relative; padding: clamp(28px, 4vw, 48px); }
.wizard__progress {
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-ash);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  min-height: 24px;
}
.wizard__back {
  background: none;
  border: none;
  color: var(--color-ash);
  font-family: var(--font-saira);
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: var(--tracking-nav);
  text-transform: uppercase;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 300ms ease;
}
.wizard__back:hover { color: var(--color-white); }
.wizard__back[hidden] { display: none; }

.wizard__bar {
  height: 1px;
  background: var(--color-iron);
  overflow: hidden;
  margin-bottom: 44px;
}
.wizard__bar span {
  display: block;
  height: 100%;
  width: 25%;
  background: var(--color-white);
  transition: width 700ms var(--ease-premium);
}

.wizard__step { display: none; }
.wizard__step.is-active { display: block; animation: step-in 550ms var(--ease-premium); }
@keyframes step-in {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

.wizard__question {
  text-align: center;
  margin-bottom: 40px;
  font-size: var(--text-heading-sm);
  font-weight: 400;
  letter-spacing: -0.03em;
}
.wizard__options { display: flex; flex-direction: column; gap: 12px; }
.option-pill {
  width: 100%;
  min-height: 52px;
  padding: 14px 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-white);
  font-family: var(--font-saira);
  font-size: 16px;
  font-weight: 200;
  cursor: pointer;
  transition: border-color 350ms var(--ease-premium), background-color 350ms var(--ease-premium), transform 350ms var(--ease-premium);
  text-align: center;
}
.option-pill:hover { border-color: var(--color-white); transform: translateY(-2px); }
.option-pill:active { background: rgba(255, 255, 255, 0.08); transform: none; }
.option-pill.is-selected { border-color: var(--color-white); background: rgba(255, 255, 255, 0.08); }

.wizard__other { margin-top: 6px; }
.wizard__other[hidden] { display: none; }
.wizard__other input, .field input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-iron);
  padding: 14px 4px;
  color: var(--color-white);
  font-family: var(--font-saira);
  font-size: 16px;
  font-weight: 200;
  transition: border-color 350ms ease;
}
.wizard__other input:focus, .field input:focus { outline: none; border-bottom-color: var(--color-white); }
.wizard__other input::placeholder, .field input::placeholder { color: var(--color-ash); opacity: 0.8; }

.wizard__next { margin-top: 28px; text-align: center; }
.wizard__next[hidden] { display: none; }

.field { margin-bottom: 32px; text-align: left; }
.field label {
  display: block;
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-ash);
  margin-bottom: 8px;
}
.field .field-error {
  display: none;
  color: var(--color-silver);
  font-size: 14px;
  margin-top: 8px;
}
.field.has-error input { border-bottom-color: var(--color-silver); }
.field.has-error .field-error { display: block; }

.wizard__submit { text-align: center; margin-top: 12px; }
.wizard__result { text-align: center; padding-block: 40px; }
.wizard__result[hidden] { display: none; }
.wizard__result p { color: var(--color-white); }

/* ---- Footer: floats, minimal ---- */
.footer {
  padding-block: 96px 48px;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 40%);
}
.footer__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 72px;
}
.footer__brand img { height: 44px; width: auto; margin-bottom: 18px; }
.footer__brand p { color: var(--color-ash); font-size: 15px; max-width: 320px; }
.footer__col h4 {
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-ash);
  margin-bottom: 18px;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer__col a, .footer__col li { color: var(--color-silver); font-size: 15px; font-weight: 200; }
.footer__col a {
  display: inline-block;
  transition: color 300ms ease, transform 300ms var(--ease-premium);
}
.footer__col a:hover { color: var(--color-white); transform: translateX(4px); text-decoration: none; }
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: space-between;
  color: var(--color-ash);
  font-size: var(--text-caption);
  font-weight: 200;
}
.footer__legal a { color: var(--color-ash); }
.footer__legal a:hover { color: var(--color-white); }

/* ---- Reveals (JS-gated; no-JS sees everything) ---- */
html.js .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1100ms var(--ease-premium), transform 1100ms var(--ease-premium);
  transition-delay: var(--rv-delay, 0ms);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }

.reveal-line { overflow: hidden; display: block; }
.reveal-line > span { display: block; }
html.js .reveal-line > span {
  transform: translateY(112%);
  transition: transform 1200ms var(--ease-premium);
  transition-delay: var(--rv-delay, 0ms);
}
html.js .reveal-line.is-visible > span { transform: none; }

/* ---- Page head (privacidad) ---- */
.page-head { padding-block: 180px 0; }
.page-head .eyebrow { margin-bottom: 16px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1023px) {
  .hero__copy { max-width: 100%; }
  /* planet owns the top of the viewport as the focal element; copy below */
  .hero { padding-top: 50vh; }
  .cosmos-gap { height: 14vh; }
  .cosmos-gap--short { height: 8vh; }
}

@media (max-width: 767px) {
  :root {
    --gutter: 20px;
    /* compact, elegant mobile type */
    --text-display: 29px;
    --text-heading-lg: 26px;
    --text-heading: 25px;
    --text-heading-sm: 22px;
    --text-subheading: 20px;
    --text-heading-xs: 18px;
    --text-body: 15.5px;
  }
  /* one clean line per sentence, with real presence */
  .hero__title > span { display: block; }
  .hero__title { font-size: 31px; line-height: 1.12; }
  .hero__sub { font-size: 15px; max-width: 100%; }
  .narrative p.lead { font-size: 17px; }
  .proof-item__value { font-size: 26px; }
  .proof-item__label { font-size: 16px; }
  .brand-card__logo img { height: 130px; }

  .nav__inner { height: 72px; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav .nav__cta { display: none; }
  .nav__logo img { height: 60px; }

  .hero { min-height: auto; padding-bottom: 64px; }
  .hero__ctas { gap: 16px; }
  .hero__ctas .btn { width: 100%; }
  .hero__ctas .btn-ghost { width: 100%; justify-content: center; }

  /* flex-basis 240px becomes min-HEIGHT in column direction — reset it.
     Doubled vertical spacing between the three stats for more presence. */
  .proof-strip { flex-direction: column; gap: 48px; padding-block: 24px; }
  .proof-item { flex: 0 0 auto; max-width: none; padding-top: 24px; }
  .cosmos-gap { height: 10vh; }
  .cosmos-gap--short { height: 6vh; }
  .footer__grid { flex-direction: column; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .hero-hint::after { animation: none; }
  html.js .reveal, html.js .reveal-line > span,
  html.js .hero .eyebrow, html.js .hero__title,
  html.js .hero__sub, html.js .hero__ctas {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .wizard__step.is-active { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
