:root {
  --ink: #202226;
  --ink-soft: #36383e;
  --paper: #f7f3e9;
  --white: #fff;
  --sand: #c8c0a4;
  --sand-light: #e7e0cf;
  --orange: #f59a22;
  --green: #75a929;
  --magenta: #c40078;
  --sky: #82bdd0;
  --line: rgba(32, 34, 38, .16);
  --max: 1240px;
  --header: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Asap", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
section { scroll-margin-top: var(--header); }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  padding: .75rem 1rem;
  color: var(--white);
  background: var(--magenta);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 72px);
  color: var(--white);
  background: linear-gradient(to bottom, rgba(25, 27, 30, .78), transparent);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(32, 34, 38, .96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}
.brand { position: relative; z-index: 102; width: 88px; flex: 0 0 auto; }
.brand img { width: 100%; }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); margin-left: auto; }
.site-nav a {
  position: relative;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.site-nav a::after {
  position: absolute;
  content: "";
  inset: auto 0 -8px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); }
.language-selector {
  position: relative;
  z-index: 102;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
  margin-left: clamp(16px, 2vw, 28px);
  padding: 3px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px;
  background: rgba(32,34,38,.58);
}
.language-selector a, .language-selector span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 28px;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
}
.language-selector [aria-current="page"] { color: var(--ink); background: var(--orange); }
.language-selector a:hover, .language-selector a:focus-visible { color: var(--orange); }
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}
.hero-image, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; }
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(20, 22, 24, .84) 0%, rgba(20, 22, 24, .4) 48%, rgba(20, 22, 24, .05) 75%),
    linear-gradient(0deg, rgba(20, 22, 24, .62), transparent 48%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: min(760px, 88vw);
  margin: 0 clamp(24px, 8vw, 132px) clamp(74px, 11vh, 120px);
}
.eyebrow, .kicker, .section-label {
  margin: 0 0 1rem;
  color: var(--orange);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.hero h1, .section h2 {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: .98;
}
.hero h1 { font-size: clamp(3.2rem, 8vw, 7.6rem); }
.hero h1 em, .section h2 em { color: var(--orange); font-style: normal; }
.hero-copy > p:not(.eyebrow) { max-width: 600px; margin: 2rem 0; font-size: clamp(1rem, 1.5vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: .85rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--orange); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.55); background: rgba(0,0,0,.1); }
.scroll-cue {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 5vw, 72px);
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.scroll-cue span { width: 40px; height: 1px; background: var(--orange); }

.section { padding: clamp(76px, 11vw, 148px) clamp(24px, 7vw, 112px); }
.section > * { max-width: var(--max); margin-inline: auto; }
.section-label { width: 100%; padding-bottom: 1rem; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.section-label.light { color: var(--sand-light); border-color: rgba(255,255,255,.2); }
.section h2 { font-size: clamp(2.45rem, 5vw, 5.4rem); }
.text-link {
  display: inline-flex;
  gap: .5rem;
  margin-top: 1rem;
  color: var(--magenta);
  font-weight: 700;
}
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translate(3px, -3px); }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .75fr);
  gap: clamp(48px, 8vw, 132px);
  margin-top: clamp(48px, 7vw, 90px);
}
.about-copy { padding-top: .5rem; }
.about-copy p { color: #52545a; }
.about-copy .lead { color: var(--ink); font-size: 1.45rem; font-weight: 600; line-height: 1.3; }
.values-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  margin-top: clamp(64px, 9vw, 118px);
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.values-strip i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

.products {
  max-width: none;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  padding: 0;
  background: var(--ink);
  color: var(--white);
}
.products > * { max-width: none; margin: 0; }
.products-image { min-height: 760px; }
.products-image img { width: 100%; height: 100%; object-fit: cover; }
.products-copy { align-self: center; padding: clamp(70px, 9vw, 126px) clamp(32px, 7vw, 96px); }
.products-copy h2 { font-size: clamp(2.5rem, 4.6vw, 5rem); }
.products-copy > p:not(.kicker) { max-width: 620px; color: #d4d2cc; }
.products-copy .button { margin-top: 1.25rem; }

.markets-heading { max-width: 900px; margin: clamp(48px, 7vw, 90px) 0 0; }
.markets-heading > p:last-child { max-width: 680px; color: #5a5c61; font-size: 1.1rem; }
.market-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: clamp(52px, 7vw, 88px);
}
.market-card { margin: 0; overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.market-card img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .45s ease; }
.market-card:hover img { transform: scale(1.025); }
.market-card figcaption { display: flex; flex-direction: column; padding: 1.4rem; }
.market-card b { color: var(--green); font-family: "Montserrat", sans-serif; font-size: 1.1rem; }
.market-card span { color: #676970; font-size: .85rem; }

.sustainability { color: var(--white); background: var(--ink-soft); }
.sustainability-intro { display: grid; grid-template-columns: 1fr; }
.sustainability-intro h2 { max-width: 940px; }
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(64px, 8vw, 104px);
  border-top: 1px solid rgba(255,255,255,.22);
}
.principle { padding: 2.2rem clamp(1rem, 3vw, 2.6rem) 0 0; }
.principle + .principle { padding-left: clamp(1rem, 3vw, 2.6rem); border-left: 1px solid rgba(255,255,255,.22); }
.principle span { color: var(--orange); font-size: .72rem; font-weight: 700; }
.principle h3 { margin: 1.2rem 0 .6rem; font-family: "Montserrat", sans-serif; font-size: 1.35rem; }
.principle p { color: #d1d1cc; }

.numbers-heading { max-width: 900px; margin: clamp(48px, 7vw, 88px) 0; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric { min-height: 220px; display: flex; flex-direction: column; justify-content: center; padding: 2rem; }
.metric + .metric { border-left: 1px solid var(--line); }
.metric strong { color: var(--magenta); font-family: "Montserrat", sans-serif; font-size: clamp(3rem, 5vw, 5rem); line-height: 1; }
.metric span { max-width: 180px; margin-top: 1rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.certifications { background: var(--sand-light); }
.cert-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 8vw, 110px); margin-top: clamp(48px, 7vw, 84px); }
.cert-copy h2 { font-size: clamp(2.4rem, 4vw, 4.3rem); }
.cert-copy > p:last-child { max-width: 580px; }
.cert-badges { display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: 1rem; }
.cert-badge {
  min-height: 142px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 1.4rem;
  background: var(--white);
}
.cert-badge img { width: 100%; max-width: 190px; height: 100px; object-fit: contain; }
.cert-badge:last-child { grid-column: 2; }

.contact { color: var(--white); background: var(--magenta); }
.contact-heading { max-width: 1040px; margin: 0; }
.contact-heading .kicker, .contact-heading h2 em { color: var(--orange); }
.contact-heading > p:last-child { max-width: 640px; color: #f7d6e9; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: clamp(56px, 8vw, 98px); background: rgba(255,255,255,.25); border: 1px solid rgba(255,255,255,.25); }
.contact-card { min-height: 220px; display: flex; flex-direction: column; padding: clamp(1.8rem, 4vw, 3rem); background: var(--magenta); }
.contact-card p { margin: 0 0 1rem; color: var(--orange); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-card h3 { margin: 0 0 1.3rem; font-family: "Montserrat", sans-serif; font-size: 1.6rem; }
.contact-card a { width: fit-content; color: #f9e6f1; font-size: .9rem; }
.contact-card a:hover { color: var(--orange); }

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 2.2rem clamp(24px, 7vw, 112px);
  color: var(--white);
  background: #18191c;
}
.footer-brand { width: 74px; }
.site-footer p { margin: 0; color: #bfc0bd; font-size: .85rem; }
.footer-links { display: flex; gap: 1.3rem; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.site-footer small { grid-column: 2 / -1; color: #7e807f; font-size: .7rem; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

@media (max-width: 1050px) {
  .menu-toggle {
    position: relative;
    z-index: 102;
    width: 46px;
    height: 46px;
    display: grid;
    place-content: center;
    gap: 5px;
    color: var(--white);
    background: transparent;
    border: 0;
  }
  .menu-toggle span { width: 25px; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 101;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
    margin-left: 0;
    padding: 100px 9vw;
    background: rgba(32,34,38,.985);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: .25s ease;
  }
  .menu-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .site-nav a { font-size: clamp(1.2rem, 4vw, 2rem); }
  .language-selector { margin-left: auto; margin-right: 12px; }
  .products { grid-template-columns: 1fr; }
  .products-image { min-height: 55vw; }
  .market-grid { grid-template-columns: 1fr 1fr; }
  .market-card:last-child { grid-column: span 2; width: calc(50% - .6rem); margin-inline: auto; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .metric:nth-child(4) { border-top: 1px solid var(--line); }
}

@media (max-width: 720px) {
  :root { --header: 72px; }
  body { font-size: 16px; }
  .site-header { padding-inline: 20px; }
  .brand { width: 72px; }
  .hero-copy { width: auto; margin: 0 24px 92px; }
  .hero-overlay { background: linear-gradient(0deg, rgba(20,22,24,.86), rgba(20,22,24,.22) 75%); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .scroll-cue { display: none; }
  .section { padding: 76px 24px; }
  .about-grid, .cert-grid { grid-template-columns: 1fr; gap: 40px; }
  .values-strip { align-items: flex-start; flex-direction: column; }
  .values-strip i { display: none; }
  .products-image { min-height: 90vw; }
  .products-copy { padding: 72px 24px; }
  .market-grid { grid-template-columns: 1fr; }
  .market-card:last-child { grid-column: auto; width: auto; }
  .principles { grid-template-columns: 1fr; }
  .principle { padding: 1.8rem 0; }
  .principle + .principle { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.22); }
  .metrics { grid-template-columns: 1fr; }
  .metric { min-height: 170px; padding-inline: 0; }
  .metric + .metric { border-left: 0; border-top: 1px solid var(--line); }
  .cert-badges, .contact-grid { grid-template-columns: 1fr; }
  .cert-badge:last-child { grid-column: auto; }
  .site-footer { grid-template-columns: 1fr; align-items: start; }
  .site-footer small { grid-column: auto; }
  .footer-links { flex-wrap: wrap; }
}

/* Header y footer en color arena */
.site-header,
.site-header.scrolled,
.site-footer {
  background: #C8C0A4;
  color: var(--ink);
}

.site-footer p,
.site-footer small,
.menu-toggle {
  color: var(--ink);
}

/* El selector de idioma conserva su fondo oscuro */
.language-selector {
  color: var(--white);
}

/* El menú móvil conserva su fondo oscuro */
@media (max-width: 1050px) {
  .site-nav {
    color: var(--white);
  }
}