/* Watafil — Home
   Design tokens per handoff README. Single breakpoint at 1000px. */

:root {
  --gutter: clamp(24px, 3.3vw, 88px);
  --section-y: clamp(64px, 8vw, 120px);
  --section-y-lg: clamp(72px, 10.4vw, 150px);
  --eyebrow-gap: clamp(24px, 2.4vw, 34px);

  --bg-page: #EFEFEF;
  --bg-light: #FFFFFF;
  --text-primary: #1E1E1E;
  --text-secondary: #333333;
  --text-tertiary: #8A8A8A;
  --text-support: #4A4A4A;
  --rule: #BDBDBD;
  --field-border: #C4C4C4;
  --dark-green: #16261C;
  --btn-dark: #1E1E1E;
  --btn-dark-hover: #000000;
  --on-dark: #FFFFFF;
  --on-dark-secondary: #FFFFFFCC;
  --on-dark-tertiary: #FFFFFF80;
  --rule-on-dark: #FFFFFF2E;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--dark-green);
  font-family: 'Geist', system-ui, sans-serif;
  font-weight: 400;
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.6; }
img { max-width: 100%; }

main { display: block; background: var(--bg-page); color: var(--text-primary); }

.container {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Visually-hidden section heading (kept for semantic h2 -> h3 hierarchy) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.eyebrow {
  font-family: 'Roboto Mono', monospace;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.08em;
  margin: 0 0 var(--eyebrow-gap);
}

/* ---------- Header / nav (shared by hero + sticky bar) ---------- */

.nav-links {
  display: flex;
  align-items: center;
  gap: 44px;
  font-size: 15px;
  letter-spacing: 0.01em;
}

.burger {
  display: none;
  position: relative;
  z-index: 42;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
}
.burger span {
  position: absolute;
  width: 26px;
  height: 1.5px;
  background: var(--text-primary);
  display: block;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Sticky bar ---------- */

.sticky-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  background: transparent;
  transform: translateY(-100%);
  transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
}
.sticky-bar.is-visible { transform: translateY(0); }
.sticky-bar__inner {
  width: 100%;
  background: var(--bg-light);
  display: flex;
  justify-content: center;
  height: 101px;
}
.sticky-bar__row {
  width: 100%;
  max-width: 1920px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
}
.sticky-bar .logo { height: 46px; width: auto; display: block; }

/* ---------- Mobile menu panel ---------- */

.menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 41;
  width: min(78%, 420px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  padding: 104px 32px 40px;
  overflow-y: auto;
  background-color: var(--bg-light);
  transform: translateX(12%);
  opacity: 0;
  visibility: hidden;
  transition: transform 340ms cubic-bezier(0.22, 1, 0.36, 1), opacity 340ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 340ms;
}
.menu-panel.is-open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  transition: transform 340ms cubic-bezier(0.22, 1, 0.36, 1), opacity 340ms cubic-bezier(0.22, 1, 0.36, 1);
}
.menu-panel__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  font-size: 22px;
  letter-spacing: 0.01em;
  color: var(--text-primary);
}
.menu-panel__nav a { font-size: 24px; }
.menu-panel__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  margin-top: 34px;
  font-size: 13px;
  color: var(--text-primary);
}
.menu-panel__contact a { font-size: 14px; }
.menu-panel__address {
  margin: 26px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--text-primary) url('../assets/hero.jpg') center/cover no-repeat;
  height: 100svh;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero__header {
  position: relative;
  z-index: 45;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 34px var(--gutter);
}
.hero__header .logo { height: 46px; width: auto; display: block; }
.hero__header .nav-links { color: var(--text-primary); }

.hero__bottom {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 56px;
  flex-wrap: wrap;
  padding: 0 var(--gutter) clamp(40px, 5.8vw, 84px);
}
.hero__title {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: clamp(32px, 5.3vw, 76px);
  line-height: 1.28;
  letter-spacing: -0.018em;
  font-weight: 400;
  margin: 0 0 calc((1 - 1.28) * 0.5em);
  color: var(--on-dark);
}
.hero__cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: min(380px, 100%);
}
.hero__subtitle {
  font-family: 'Roboto Mono', monospace;
  font-weight: 400;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.55;
  letter-spacing: 0.005em;
  margin: 0;
  color: var(--on-dark);
}
.cta-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid #FFFFFF66;
  padding: 20px 2px 0;
  font-size: 17px;
  line-height: 1;
  color: var(--on-dark);
  transition: padding 200ms ease, transform 160ms ease-out;
}
.cta-hero:active { transform: scale(0.98); }
.cta-hero__arrow {
  font-size: 20px;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
  display: inline-block;
}
@media (hover: hover) and (pointer: fine) {
  .cta-hero:hover { opacity: 1; padding-left: 6px; }
  .cta-hero:hover .cta-hero__arrow { transform: translateX(8px); }
}

/* ---------- Qué hacemos ---------- */

.section-sobre {
  background: var(--bg-page);
  max-width: 1920px;
  margin: 0 auto;
  padding: var(--section-y-lg) var(--gutter) clamp(60px, 7vw, 100px);
}
.split {
  display: grid;
  grid-template-columns: 315px minmax(0, 1fr);
  gap: 0;
}
.split + .split { margin-top: clamp(48px, 7.4vw, 107px); }
.split__label {
  font-family: 'Roboto Mono', monospace;
  font-size: 15px;
  letter-spacing: 0.08em;
  margin: 0;
  padding-top: 0.32em;
}
.split__lead {
  font-size: clamp(24px, 2.92vw, 42px);
  line-height: 1.32;
  letter-spacing: -0.012em;
  font-weight: 400;
  margin: 0;
  max-width: 1040px;
  color: var(--text-tertiary);
}
.reveal {
  display: inline-block;
  background-image: linear-gradient(90deg, #000000 50%, #8A8A8A 50%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-position: 100% 0;
  transition: background-position 1100ms cubic-bezier(0.33, 1, 0.68, 1);
}
.reveal.is-on { background-position: 0 0; }

.cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.cols__item {
  border-left: 1px solid var(--rule);
  padding: 24px 40px 24px 29px;
  min-height: 274px;
}
.cols__item:first-child { padding-top: 36px; }
.cols__title { font-size: 20px; font-weight: 400; letter-spacing: -0.005em; margin: 0 0 16px; }
.cols__desc { font-size: 16px; line-height: 1.55; margin: 0; color: var(--text-secondary); max-width: 29ch; }

/* ---------- Sectores ---------- */

.sectores {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--text-primary);
}
.sector {
  position: relative;
  aspect-ratio: 480/599;
  min-height: 340px;
  overflow: hidden;
}
.sector img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
}
.sector__gradient { position: absolute; inset: 0; }
.sector__veil {
  position: absolute;
  inset: 0;
  background: #00000047;
  opacity: 0;
  transition: opacity 500ms ease;
}
.sector__copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 44px;
  color: var(--on-dark);
  transition: transform 550ms cubic-bezier(0.22, 1, 0.36, 1);
}
.sector__title { font-size: 20px; letter-spacing: 0.012em; font-weight: 400; margin: 0 0 18px; }
.sector__desc {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  max-width: 31ch;
  opacity: 0.82;
  transition: opacity 450ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .sector:hover img { transform: scale(1.055); }
  .sector:hover .sector__veil { opacity: 1; }
  .sector:hover .sector__copy { transform: translateY(-8px); }
  .sector:hover .sector__desc { opacity: 1; }
}

/* ---------- Fábrica ---------- */

.section-fabrica {
  background: var(--bg-page);
  padding: clamp(64px, 11.3vw, 163px) 0 0;
  text-align: center;
}
.section-fabrica__intro { max-width: 1920px; margin: 0 auto; padding: 0 var(--gutter); }
.section-fabrica__title {
  font-size: clamp(26px, 2.64vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.012em;
  font-weight: 400;
  margin: 0 0 26px;
}
.section-fabrica__body {
  font-size: 16px;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 940px;
  color: var(--text-primary);
}
.section-fabrica__link {
  font-size: 16px;
  line-height: 1.7;
  margin: 26px auto 0;
  max-width: 940px;
}
.section-fabrica__link a { border-bottom: 1px solid var(--rule); padding-bottom: 2px; }
.zoom-wrap { overflow: hidden; line-height: 0; margin-top: clamp(48px, 8.8vw, 127px); }
.zoom-img { display: block; width: 100%; height: auto; transform-origin: 50% 0%; will-change: transform; }

/* ---------- Ontinyent ---------- */

.section-ontinyent { position: relative; background: var(--bg-page); line-height: 0; }
.section-ontinyent img { display: block; width: 100%; height: auto; }
.section-ontinyent__label {
  position: absolute;
  top: clamp(80px, 11.4vw, 165px);
  right: var(--gutter);
  margin: 0;
  font-family: 'Roboto Mono', monospace;
  font-size: clamp(12px, 1.1vw, 16px);
  letter-spacing: 0.14em;
  line-height: 1;
  color: var(--on-dark);
}

/* ---------- Certificados ---------- */

.section-certificados {
  background: var(--bg-page);
  max-width: 1920px;
  margin: 0 auto;
  padding: clamp(56px, 7.2vw, 103px) var(--gutter) clamp(60px, 6.7vw, 96px);
  text-align: center;
}
.section-certificados .eyebrow { margin-bottom: 71px; }
.certificados__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(40px, 14.6vw, 210px);
  flex-wrap: wrap;
  height: 196px;
}
.cert-oekotex { width: clamp(225px, 23.5vw, 336px); height: auto; display: block; }
.cert-grs { height: clamp(130px, 13.6vw, 195px); width: auto; display: block; }

/* ---------- Proyecto financiado ---------- */

.section-financiacion {
  max-width: 1920px;
  margin: clamp(32px, 4vw, 48px) auto 0;
  padding: clamp(28px, 3vw, 40px) 0 clamp(32px, 3.4vw, 48px);
  border-top: 1px solid var(--rule-on-dark);
}
.section-financiacion__logo { height: 40px; width: auto; display: block; margin: 0 0 14px; }
.section-financiacion__text { max-width: none; }
.section-financiacion__text p, .section-financiacion__text ul {
  font-size: 11px;
  line-height: 1.6;
  color: var(--on-dark-tertiary);
  margin: 0 0 8px;
}
.section-financiacion__text strong { font-weight: 500; color: var(--on-dark-secondary); }
.section-financiacion__text ul { padding-left: 16px; }
.section-financiacion__text li { margin-bottom: 2px; }
.section-financiacion__text p:last-child { margin-bottom: 0; font-style: italic; }

/* ---------- Contacto ---------- */

.section-contacto {
  max-width: 1920px;
  margin: 0 auto;
  padding: clamp(64px, 8.6vw, 124px) var(--gutter) clamp(56px, 7vw, 100px);
  padding-top: 159px;
}
.section-contacto__title {
  font-size: clamp(30px, 4.1vw, 59px);
  line-height: 1.14;
  letter-spacing: -0.024em;
  font-weight: 400;
  margin: 0 0 28px;
  max-width: 14ch;
}
.section-contacto__body {
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
  max-width: 36ch;
  color: var(--text-support);
}
.section-contacto__actions { display: flex; align-items: flex-start; margin-top: clamp(32px, 3.4vw, 48px); }
.btn-dark {
  background: var(--btn-dark);
  color: var(--on-dark);
  border-radius: 8px;
  font-size: 15px;
  padding: 17px 38px;
  transition: background 180ms ease, transform 160ms ease-out;
}
.btn-dark:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn-dark:hover { background: var(--btn-dark-hover); opacity: 1; }
}

/* ---------- Pie ---------- */

.footer {
  background: var(--dark-green);
  color: var(--on-dark);
  padding: clamp(48px, 5.4vw, 78px) var(--gutter) 0;
}
.footer__grid {
  max-width: 1920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  padding-bottom: clamp(44px, 5vw, 72px);
}
.footer__col { display: flex; flex-direction: column; gap: 14px; font-size: 14px; line-height: 1.5; }
.footer__col--muted { color: var(--on-dark-secondary); }
.footer__eyebrow {
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--on-dark-tertiary);
  margin: 0 0 6px;
}
.footer__col a { transition: opacity 180ms ease; }
.footer__col--legal a { transition: color 180ms ease; }
@media (hover: hover) and (pointer: fine) {
  .footer__col a:hover { opacity: 0.7; }
  .footer__col--legal a:hover { color: var(--on-dark); opacity: 1; }
}

.footer__bottom {
  max-width: 1920px;
  margin: 0 auto;
  border-top: 1px solid var(--rule-on-dark);
  padding: clamp(32px, 3.4vw, 48px) 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__lockup { width: clamp(200px, 28vw, 404px); height: auto; display: block; margin-bottom: -6px; }
.footer__copyright { font-size: 12px; color: #FFFFFF73; padding-bottom: 22px; }
.footer__spacer { height: clamp(20px, 2vw, 28px); }

/* Inner pages (productos, legales) use 15px footer columns per source */
.footer--pages .footer__col { font-size: 15px; }

/* ---------- Inner pages: simple header ---------- */

.page-pad { padding-left: var(--gutter); padding-right: var(--gutter); }

.simple-header { background: var(--bg-light); padding: 0 var(--gutter); }
.simple-header__row {
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 101px;
}
.simple-header__row .logo { height: 46px; width: auto; display: block; }
.simple-header__back { font-family: 'Roboto Mono', monospace; font-size: 13px; letter-spacing: 0.08em; }

/* ---------- Productos: intro ---------- */

.page-intro { max-width: 1920px; margin: 0 auto; padding: clamp(56px, 7vw, 104px) var(--gutter) clamp(48px, 5vw, 72px); }
.page-intro__eyebrow { font-family: 'Roboto Mono', monospace; font-size: 16px; letter-spacing: 0.08em; margin: 0 0 var(--eyebrow-gap); }
.page-intro__title {
  font-size: clamp(30px, 4.1vw, 59px);
  line-height: 1.16;
  letter-spacing: -0.024em;
  font-weight: 400;
  margin: 0 0 clamp(28px, 3vw, 42px);
  max-width: 22ch;
}
.page-intro__split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 88px); align-items: start; }
.page-intro__split p { margin: 0; color: var(--text-secondary); }
.page-intro__split p:first-child { font-size: 18px; line-height: 1.65; }
.page-intro__split p:last-child { font-size: 16px; line-height: 1.7; }

/* ---------- Productos: ficha de producto ---------- */

.product-block { background: var(--bg-light); }
.product-block + .product-block { border-top: 1px solid #E2E2E2; }
.product-block__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.product-block__media { min-height: min(66vh, 600px); overflow: hidden; background: var(--bg-page); }
.product-block__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-block__content { padding: clamp(44px, 5vw, 80px) var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.product-block__title { font-size: clamp(26px, 3.2vw, 42px); line-height: 1.1; letter-spacing: -0.024em; font-weight: 400; margin: 0 0 20px; }
.product-block__content p { font-size: 16px; line-height: 1.7; margin: 0 0 20px; max-width: 46ch; color: var(--text-secondary); }
.product-block__content p.spaced { margin-bottom: 32px; }

.spec-list { display: grid; grid-template-columns: minmax(0, 170px) minmax(0, 1fr); gap: 0; margin: 0; font-size: 15px; max-width: 560px; }
.spec-list dt { border-top: 1px solid var(--rule); padding: 14px 24px 14px 0; color: var(--text-tertiary); }
.spec-list dd { border-top: 1px solid var(--rule); padding: 14px 0; margin: 0; }
.spec-list dt:last-of-type, .spec-list dd:last-of-type { border-bottom: 1px solid var(--rule); }

/* ---------- Productos: fabricación a medida ---------- */

.section-medida { max-width: 1920px; margin: 0 auto; padding: clamp(64px, 8vw, 120px) var(--gutter); }
.section-medida__title { font-size: clamp(26px, 3.2vw, 42px); line-height: 1.1; letter-spacing: -0.024em; font-weight: 400; margin: 0 0 clamp(28px, 3vw, 40px); max-width: 24ch; }
.section-medida__split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 88px); align-items: start; }
.section-medida__split p { font-size: 18px; line-height: 1.65; margin: 0; color: var(--text-secondary); }

/* ---------- Productos: sectores ---------- */

.section-sectores-page { background: var(--bg-light); border-top: 1px solid #E2E2E2; }
.section-sectores-page__inner { max-width: 1920px; margin: 0 auto; padding: clamp(64px, 8vw, 120px) var(--gutter); }
.section-sectores-page__eyebrow { font-family: 'Roboto Mono', monospace; font-size: 16px; letter-spacing: 0.08em; margin: 0 0 var(--eyebrow-gap); }
.section-sectores-page__title { font-size: clamp(26px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.024em; font-weight: 400; margin: 0 0 clamp(40px, 4.6vw, 64px); max-width: 22ch; }
.sectores-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 2.6vw, 38px); }
.sectores-grid__media { aspect-ratio: 4/5; overflow: hidden; background: var(--bg-page); margin-bottom: 24px; }
.sectores-grid__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sectores-grid h3 { font-size: 20px; font-weight: 400; letter-spacing: -0.008em; margin: 0 0 12px; }
.sectores-grid p { font-size: 15px; line-height: 1.65; margin: 0; color: var(--text-secondary); }

/* ---------- Productos: CTA banner ---------- */

.cta-banner { position: relative; background: #000000; overflow: hidden; min-height: min(60vh, 520px); display: flex; align-items: flex-end; }
.cta-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-banner__veil { position: absolute; inset: 0; background: linear-gradient(180deg, #00000000 50%, #000000BF 100%); }
.cta-banner__row {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 72px) var(--gutter);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner__title { font-size: clamp(24px, 2.8vw, 38px); line-height: 1.14; letter-spacing: -0.022em; font-weight: 400; margin: 0; color: var(--on-dark); max-width: 20ch; }
.cta-banner__link { display: flex; align-items: center; gap: 48px; border-top: 1px solid #FFFFFF66; padding: 20px 2px 0; font-size: 17px; color: var(--on-dark); min-width: 280px; justify-content: space-between; transition: transform 160ms ease-out; }
.cta-banner__link:active { transform: scale(0.98); }
.cta-banner__link span:last-child { font-size: 20px; }

/* ---------- Legal pages ---------- */

.legal-content { max-width: 1920px; margin: 0 auto; padding: clamp(56px, 7vw, 104px) var(--gutter) clamp(64px, 8vw, 120px); }
.legal-content__eyebrow { font-family: 'Roboto Mono', monospace; font-size: 16px; letter-spacing: 0.08em; margin: 0 0 var(--eyebrow-gap); }
.legal-content__title { font-size: clamp(30px, 4vw, 58px); line-height: 1.14; letter-spacing: -0.024em; font-weight: 400; margin: 0 0 clamp(40px, 4.6vw, 66px); }
.legal-body { max-width: 70ch; display: flex; flex-direction: column; gap: 26px; font-size: 16px; line-height: 1.7; color: var(--text-secondary); }
.legal-body p { margin: 0; }
.legal-body a { text-decoration: underline; text-underline-offset: 2px; }
.legal-body h2 { font-size: 22px; font-weight: 400; letter-spacing: -0.01em; line-height: 1.3; margin: 14px 0 0; color: var(--text-primary); }
.legal-body h2.mono { font-family: 'Roboto Mono', monospace; font-size: 14px; letter-spacing: 0.06em; font-weight: 400; line-height: 1.4; margin: 14px 0 0; }

.legal-dl { display: grid; grid-template-columns: minmax(0, 180px) minmax(0, 1fr); gap: 0; margin: 0; border-top: 1px solid var(--rule); }
.legal-dl dt { padding: 16px 24px 16px 0; color: var(--text-primary); }
.legal-dl dd { padding: 16px 0; margin: 0; }
.legal-dl dt:not(:first-of-type), .legal-dl dd:not(:first-of-type) { border-top: 1px solid var(--rule); }
.legal-dl dt:last-of-type, .legal-dl dd:last-of-type { border-bottom: 1px solid var(--rule); }

/* ---------- Scroll reveal (fade + rise) ---------- */

[data-reveal-up] {
  transition: opacity 400ms cubic-bezier(0.23, 1, 0.32, 1), transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
}
[data-reveal-up].reveal-pending { opacity: 0; transform: translateY(16px); }
[data-reveal-up].is-in { opacity: 1; transform: translateY(0); }

.cols__item:nth-child(2), .sector:nth-child(2), .sectores-grid > div:nth-child(2) { transition-delay: 60ms; }
.cols__item:nth-child(3), .sector:nth-child(3), .sectores-grid > div:nth-child(3) { transition-delay: 120ms; }
.certificados__row img:nth-child(2) { transition-delay: 60ms; }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; background-position: 0 0 !important; }
  .sector img, .sector__copy { transition: none; }
  .sector:hover img, .sector:hover .sector__copy { transform: none; }
  .zoom-img { transform: none !important; }
  [data-reveal-up] { transition: opacity 250ms ease !important; }
  [data-reveal-up].reveal-pending, [data-reveal-up].is-in { transform: none !important; }
}

/* ---------- Breakpoint: 1000px ---------- */

@media (max-width: 1000px) {
  .cols, .split, .sectores, .footer__grid { grid-template-columns: 1fr; }

  .nav-links { display: none; }
  .burger { display: flex; }
  .burger__bar1 { transform: translateY(-5px); }
  .burger__bar2 { transform: translateY(5px); }
  .burger[data-open="true"] .burger__bar1 { transform: rotate(45deg); }
  .burger[data-open="true"] .burger__bar2 { transform: rotate(-45deg); }

  .hero { height: 100svh; min-height: 0; }
  .hero__bottom { flex-direction: column; align-items: stretch; gap: 26px; }
  .hero__title { margin-bottom: 0; }
  .hero__cta-wrap { width: 100%; gap: 26px; }
  .cta-hero { justify-content: flex-end; gap: 56px; font-size: 16px; }

  .sector__desc { font-size: 15px; }

  .split { gap: 0; }
  .split + .split { margin-top: clamp(48px, 7.4vw, 107px); }
  .split:first-of-type .split__label { padding-top: 0; margin-bottom: var(--eyebrow-gap); }

  .cols { gap: 56px; }
  .cols__item { min-height: 0; padding: 8px 0 8px 29px; }
  .cols__item:first-child { padding-top: 8px; }
  .cols__item:nth-child(2) { margin-left: 15%; }
  .cols__item:nth-child(3) { margin-left: 30%; }

  .section-fabrica__body { font-size: 15px; }

  .sector { aspect-ratio: auto; min-height: 0; height: clamp(300px, 52vw, 420px); }

  .section-contacto__body, .section-contacto a { font-size: 16px; }
  .footer__eyebrow { font-size: 12px; }
  .footer__grid { gap: 40px; }

  /* Inner pages (productos, legales) */
  .page-pad { padding-left: 24px; padding-right: 24px; }
  .footer--pages .footer__grid { gap: 36px; }
  .page-intro__split,
  .section-medida__split { grid-template-columns: 1fr; gap: 32px; }
  .product-block__grid,
  .sectores-grid { grid-template-columns: 1fr; }
  .sectores-grid { gap: 40px; }
  .product-block--flip .product-block__media { grid-row: 1; }
  .spec-list { grid-template-columns: 1fr; max-width: none; }
  .spec-list dt, .spec-list dt:last-of-type { padding: 16px 0 2px; border-bottom: 0; }
  .spec-list dd { border-top: 0; padding: 0 0 16px; }
}
