/* =====================================================================
   CROMASA S.A.C. — Hoja de estilos principal
   Paleta: amarillo #FDCB17, negro #000, blanco #FFF + neutros #171717 / #F3F3F3
   Regla: fondos sólidos. La única transición de transparencia permitida es
   el oscurecimiento lateral negro de los HERO (.hero-shade).
   Enfoque mobile-first.
   ===================================================================== */

@font-face { font-family: "Manrope"; src: url("../fonts/manrope-var.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --yellow: #FDCB17;
  --black: #000000;
  --white: #FFFFFF;
  --ink: #171717;
  --gray: #F3F3F3;
  --line: #E2E2E2;
  --line-dark: #2B2B2B;
  --muted: #5C5C5C;
  --muted-light: #A8A8A8;
  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --container: 1280px;
  --gutter: 20px;
  --nav-h: 68px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --section-y: 72px;
}
@media (min-width: 768px) { :root { --gutter: 32px; --section-y: 96px; } }
@media (min-width: 1100px) { :root { --nav-h: 80px; --section-y: 120px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; background: var(--black); overscroll-behavior-y: none; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--white); color: var(--black); font-family: var(--font-body); font-size: 16px; line-height: 1.6; overflow-x: clip; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, video, svg, iframe { display: block; max-width: 100%; }
[hidden] { display: none !important; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .8em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.section--white :focus-visible, .section--gray :focus-visible, .form :focus-visible { outline-color: var(--black); }
main:focus { outline: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--yellow); color: var(--black); padding: 10px 16px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }

/* Datos pendientes */
.pending { color: inherit; opacity: .75; font-style: italic; font-size: .92em; }
.is-pending { cursor: help; }
.placeholder-text { color: var(--muted); font-style: italic; border-left: 3px solid var(--yellow); padding-left: 14px; }
.placeholder-text--light { color: var(--muted-light); }
.muted { color: var(--muted); font-size: .9rem; margin-top: 12px; }

/* ---------- Tipografía de secciones ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--black); margin: 0 0 16px; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--yellow); flex: none; }
.section--black .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta .eyebrow, .mega .eyebrow { color: var(--yellow); }
.section-title { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 800; text-transform: uppercase; letter-spacing: -0.015em; margin-bottom: 18px; }
.section-title--light { color: var(--white); }
.section-text { color: var(--muted); font-size: 1.05rem; max-width: 60ch; }
.section--black .section-text { color: var(--muted-light); }
.lead { font-size: 1.15rem; line-height: 1.55; color: var(--black); font-weight: 500; }
.section-head { margin-bottom: 40px; }
.section-head--center { text-align: center; }
.section-head--center .section-text { margin-inline: auto; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 3px; background: var(--yellow); }
.sub-title { font-size: 1.15rem; font-weight: 800; text-transform: uppercase; margin-bottom: 18px; }
.split-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 40px; }
.split-head .section-head { margin-bottom: 0; }

/* ---------- Secciones ---------- */
.section { padding-block: var(--section-y); }
.section--white { background: var(--white); }
.section--gray { background: var(--gray); }
.section--black { background: var(--black); color: var(--white); }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 2px solid transparent; border-radius: var(--radius); font-family: var(--font-head); font-weight: 800; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); white-space: nowrap; }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.btn--primary:hover { background: var(--white); border-color: var(--white); }
.section--white .btn--primary:hover, .section--gray .btn--primary:hover, .form .btn--primary:hover { background: var(--black); color: var(--yellow); border-color: var(--black); }
.btn--dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn--dark:hover { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn--outline-light:hover { border-color: var(--yellow); color: var(--yellow); }
.btn.is-disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 800; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid var(--yellow); padding-bottom: 4px; }
.link-arrow:hover { color: var(--black); background: var(--yellow); }
.mega .link-arrow:hover { color: var(--black); }
.doc-note { font-size: .82rem; color: var(--muted); margin: 10px 0 0; display: flex; gap: 6px; align-items: center; }
.footer .doc-note { color: var(--muted-light); }

/* ---------- Marcadores de imagen ---------- */
.media { position: relative; margin: 0; aspect-ratio: var(--ratio, 16/10); background: var(--ink); overflow: hidden; }
.media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 16px; text-align: center; color: #8D8D8D; font-size: .8rem; }
.media__ph::before, .media__ph::after { content: ""; position: absolute; width: 22px; height: 22px; border-color: var(--yellow); border-style: solid; opacity: .9; }
.media__ph::before { top: 12px; left: 12px; border-width: 2px 0 0 2px; }
.media__ph::after { bottom: 12px; right: 12px; border-width: 0 2px 2px 0; }
.media__ph .icon { width: 28px; height: 28px; color: var(--yellow); }
.media__ph code { color: var(--white); background: rgba(255,255,255,.06); padding: 3px 8px; word-break: break-all; max-width: 100%; }
.media__ph small { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Barra superior ---------- */
.topbar { background: var(--black); color: var(--white); font-size: .8rem; border-bottom: 1px solid var(--line-dark); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__contact { display: flex; gap: 20px; min-width: 0; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; }
.topbar__item .icon { color: var(--yellow); }
.topbar__item a { text-decoration: none; }
.topbar__item a:hover { color: var(--yellow); }
.topbar__item:nth-child(2) { display: none; }
.topbar__right { display: flex; align-items: center; gap: 18px; }
.topbar__social { display: none; gap: 4px; }
.topbar__social-link { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; color: var(--white); transition: color .2s; }
.topbar__social-link .icon { width: 15px; height: 15px; }
.topbar__social-link:hover { color: var(--yellow); }
.topbar__social-link.is-pending { opacity: .45; }
.topbar__quote { display: inline-flex; align-items: center; gap: 6px; color: var(--yellow); font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; white-space: nowrap; }
.topbar__quote:hover { color: var(--white); }
@media (max-width: 479px) { .topbar__item .pending { max-width: 140px; overflow: hidden; text-overflow: ellipsis; display: inline-block; vertical-align: bottom; } }
@media (min-width: 640px) { .topbar__item:nth-child(2) { display: inline-flex; } }
@media (min-width: 900px) { .topbar__social { display: flex; } .topbar__right { gap: 24px; } }

/* ---------- Navbar ---------- */
.nav { position: sticky; top: 0; z-index: 100; background: var(--black); color: var(--white); border-bottom: 1px solid var(--line-dark); transition: box-shadow .25s var(--ease); }
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line-dark), 0 10px 30px rgba(0,0,0,.35); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: var(--nav-h); }
.nav__logo { display: flex; align-items: center; height: 100%; text-decoration: none; margin-right: auto; }
.nav__logo img { height: 40px; width: auto; max-width: 190px; object-fit: contain; }
@media (min-width: 1100px) { .nav__logo img { height: 46px; } }
.nav__logo-fallback { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; letter-spacing: .06em; color: var(--white); display: flex; flex-direction: column; line-height: 1; }
.nav__logo-fallback small { font-size: .55rem; color: var(--yellow); font-weight: 600; letter-spacing: .04em; margin-top: 4px; }
.nav__cta { display: none; }
.nav__burger { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-right: -10px; background: none; border: 0; color: var(--white); cursor: pointer; }
.nav__burger .icon { width: 26px; height: 26px; }
.nav__burger .icon--close, .nav__burger[aria-expanded="true"] .icon--open { display: none; }
.nav__burger[aria-expanded="true"] .icon--close { display: block; color: var(--yellow); }

/* Móvil: panel desplegable */
.nav__menu { position: fixed; inset: var(--nav-top, 0) 0 0 0; top: var(--nav-bottom, var(--nav-h)); background: var(--black); overflow-y: auto; padding: 8px var(--gutter) 40px; transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s linear .35s; }
.nav__menu.is-open { transform: none; visibility: visible; transition: transform .35s var(--ease); }
.nav__list { border-top: 1px solid var(--line-dark); }
.nav__item { border-bottom: 1px solid var(--line-dark); }
.nav__link { display: flex; align-items: center; min-height: 58px; font-family: var(--font-head); font-weight: 800; font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--white); position: relative; }
.nav__link[aria-current="page"] { color: var(--yellow); }
.nav__split { display: flex; align-items: center; justify-content: space-between; }
.nav__toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: none; border: 0; color: var(--white); cursor: pointer; }
.nav__toggle .icon { transition: transform .25s var(--ease); }
.nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); color: var(--yellow); }
.nav__sub { display: none; padding: 0 0 14px; }
.nav__item--mega.is-open .nav__sub { display: block; }
.nav__sub a { display: flex; align-items: center; gap: 12px; padding: 12px 0 12px 4px; color: #D6D6D6; text-decoration: none; font-size: .95rem; }
.nav__sub a .icon { color: var(--yellow); }
.nav__sub a:hover { color: var(--yellow); }
.mega { display: none; }
.nav__mobile-extra { padding-top: 28px; display: grid; gap: 14px; color: #D6D6D6; font-size: .92rem; }
.nav__mobile-extra p { display: flex; align-items: center; gap: 10px; margin: 0; }
.nav__mobile-extra p .icon { color: var(--yellow); }
.nav__mobile-extra a { text-decoration: none; }
.nav__mobile-social { display: flex; gap: 6px; }
body.menu-open { overflow: hidden; }

/* Escritorio */
@media (min-width: 1100px) {
  .nav__burger, .nav__mobile-extra, .nav__sub { display: none !important; }
  .nav__cta { display: inline-flex; min-height: 44px; padding: 10px 18px; font-size: .78rem; }
  .nav__menu { position: static; transform: none; visibility: visible; background: none; padding: 0; overflow: visible; height: 100%; transition: none; }
  .nav__list { display: flex; height: 100%; border: 0; gap: 4px; }
  .nav__item { border: 0; height: 100%; display: flex; align-items: center; }
  .nav__split { height: 100%; }
  .nav__link { min-height: 0; height: 100%; padding: 0 12px; font-size: .8rem; letter-spacing: .12em; }
  .nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .nav__link:hover, .nav__item--mega.is-open .nav__link { color: var(--yellow); }
  .nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__item--mega.is-open .nav__link::after { transform: scaleX(1); }
  .nav__item--mega .nav__link { padding-right: 2px; }
  .nav__toggle { width: 28px; height: 28px; margin-right: 6px; }
  .mega { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); border-top: 3px solid var(--yellow); border-bottom: 1px solid var(--line-dark); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s linear .22s; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
  .nav__item--mega.is-open .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .22s var(--ease), transform .22s var(--ease); }
  .mega__inner { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding-block: 36px 40px; }
  .mega__title { font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; line-height: 1.2; color: var(--white); margin-bottom: 24px; }
  .mega__intro .link-arrow { color: var(--white); }
  .mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .mega__card { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; text-decoration: none; color: var(--white); padding: 0 0 12px; border-bottom: 1px solid var(--line-dark); transition: border-color .2s; }
  .mega__card:hover, .mega__card:focus-visible { border-color: var(--yellow); }
  .mega__img { grid-column: 1 / -1; margin-bottom: 12px; --ratio: 16/8 !important; }
  .mega__img .media__ph code, .mega__img .media__ph small { display: none; }
  .mega__img img { transition: transform .5s var(--ease); }
  .mega__card:hover .mega__img img { transform: scale(1.05); }
  .mega__num { font-family: var(--font-head); font-weight: 800; font-size: .75rem; color: var(--yellow); padding-top: 2px; }
  .mega__name { font-family: var(--font-head); font-weight: 800; font-size: .92rem; text-transform: uppercase; letter-spacing: .04em; }
  .mega__desc { grid-column: 2; font-size: .82rem; color: var(--muted-light); line-height: 1.45; margin-top: 4px; }
}
@media (min-width: 1280px) { .nav__link { padding: 0 16px; } .nav__link::after { left: 16px; right: 16px; } .nav__list { gap: 8px; } }

/* ---------- Oscurecimiento de HERO (única transparencia permitida) ---------- */
.hero-shade { position: absolute; inset: 0; background: rgba(0,0,0,.55); pointer-events: none; }
@media (min-width: 768px) {
  .hero-shade { background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.72) 35%, rgba(0,0,0,.25) 70%, rgba(0,0,0,.1) 100%); }
}
.hero-shade--bottom { background: rgba(0,0,0,.5); }
@media (min-width: 768px) { .hero-shade--bottom { background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.15) 100%); } }

/* ---------- HERO principal ---------- */
.hero { position: relative; isolation: isolate; min-height: calc(88svh - var(--nav-h)); display: flex; flex-direction: column; justify-content: flex-end; color: var(--white); background: var(--black); overflow: hidden; }
@media (min-width: 1100px) { .hero { min-height: calc(100svh - var(--nav-h) - 40px); max-height: 1000px; } }
.hero__media { position: absolute; inset: 0; z-index: -1; background: var(--ink); }
.hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity 1s var(--ease); }
.hero__video.is-ready { opacity: 1; }
.media__ph--hero { justify-content: center; align-items: flex-end; padding: 0 var(--gutter) 120px; text-align: right; }
@media (max-width: 767px) { .media__ph--hero { display: none; } }
.hero-shade { z-index: 0; }
.hero__content { position: relative; z-index: 1; padding-block: 64px 32px; }
.hero__title { font-size: clamp(2.1rem, 6.2vw, 4.6rem); font-weight: 800; text-transform: uppercase; line-height: 1.02; letter-spacing: -0.02em; max-width: 16ch; margin-bottom: 22px; }
.hero__text { font-size: clamp(1rem, 1.6vw, 1.2rem); color: #E4E4E4; max-width: 52ch; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .hero__actions .btn { width: 100%; } }
.hero__foot { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px 22px; border-top: 1px solid rgba(255,255,255,.18); }
.hero__plants { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.hero__plants a { display: inline-flex; align-items: center; gap: 6px; color: var(--white); text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.hero__plants .icon { color: var(--yellow); }
.hero__plants a:hover { color: var(--yellow); }
.hero__toggle { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.5); background: rgba(0,0,0,.4); color: var(--white); border-radius: 50%; cursor: pointer; flex: none; }
.hero__toggle:hover { border-color: var(--yellow); color: var(--yellow); }
.hero__toggle .icon--play, .hero__toggle.is-paused .icon--pause { display: none; }
.hero__toggle.is-paused .icon--play { display: block; }
.hero__in { opacity: 0; transform: translateY(18px); animation: rise .8s var(--ease) forwards; animation-delay: var(--d, 0ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- HERO interior ---------- */
.page-hero { position: relative; isolation: isolate; min-height: 420px; display: flex; align-items: flex-end; color: var(--white); background: var(--black); overflow: hidden; }
@media (min-width: 768px) { .page-hero { min-height: 520px; } }
.page-hero--short { min-height: 360px; }
@media (min-width: 768px) { .page-hero--short { min-height: 420px; } }
.page-hero__media { position: absolute; inset: 0; aspect-ratio: auto; z-index: -1; }
.page-hero__media .media__ph { align-items: flex-end; justify-content: flex-start; padding: 24px var(--gutter); }
@media (max-width: 767px) { .page-hero__media .media__ph { display: none; } }
.page-hero__content { position: relative; z-index: 1; padding-block: 56px; }
.page-hero__title { font-size: clamp(2rem, 5vw, 3.8rem); font-weight: 800; text-transform: uppercase; line-height: 1.04; max-width: 18ch; margin-bottom: 18px; letter-spacing: -0.02em; }
.page-hero__text { color: #E4E4E4; font-size: 1.1rem; max-width: 56ch; margin: 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 26px; color: #CFCFCF; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--yellow); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--yellow); }
.crumbs li[aria-current] { color: var(--white); font-weight: 600; }
.crumbs--dark ol { color: var(--muted); }
.crumbs--dark li[aria-current] { color: var(--black); }
.crumbs--dark a:hover { color: var(--black); text-decoration: underline; text-decoration-color: var(--yellow); }

/* ---------- Pilares (sección B) ---------- */
.pillars-head { display: grid; gap: 0 48px; margin-bottom: 48px; }
.pillars-head .section-head { margin: 0; }
@media (min-width: 900px) { .pillars-head { grid-template-columns: 1.2fr 1fr; align-items: end; } .pillars-head .section-text { margin-bottom: 18px; } }
.pillars { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillar { position: relative; padding: 32px 24px 32px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .pillar { padding: 36px 28px; border-right: 1px solid var(--line); } .pillar:nth-child(2n) { border-right: 0; } }
@media (min-width: 1100px) { .pillar:nth-child(2n) { border-right: 1px solid var(--line); } .pillar:last-child { border-right: 0; } .pillar:first-child { padding-left: 0; } }
.pillar::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 3px; background: var(--yellow); transition: width .5s var(--ease); }
@media (min-width: 640px) { .pillar::before { left: 28px; } }
@media (min-width: 1100px) { .pillar:first-child::before { left: 0; } }
.pillar:hover::before { width: 64px; }
.pillar__icon { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; background: var(--black); color: var(--yellow); margin-bottom: 22px; }
.pillar__icon .icon { width: 26px; height: 26px; }
.pillar__num { position: absolute; top: 36px; right: 28px; font-family: var(--font-head); font-weight: 800; font-size: .8rem; color: #B5B5B5; }
.pillar__title { font-size: 1.12rem; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; margin-bottom: 10px; line-height: 1.25; }
.pillar p { color: var(--muted); font-size: .95rem; margin: 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; margin-top: 56px; }
.stat { border-left: 3px solid var(--yellow); padding-left: 18px; }
.stat__value { display: block; font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; }
.stat__label { color: var(--muted); font-size: .9rem; }

/* ---------- Plantas (sección C) ---------- */
.plants { display: grid; gap: 24px; }
@media (min-width: 900px) { .plants { grid-template-columns: repeat(3, 1fr); } }
.plant { background: var(--ink); display: flex; flex-direction: column; border-bottom: 3px solid transparent; transition: border-color .3s var(--ease); }
.plant:hover { border-color: var(--yellow); }
.plant__media { --ratio: 3/2 !important; }
.plant__media img { transition: transform .7s var(--ease); }
.plant:hover .plant__media img { transform: scale(1.04); }
.plant__body { padding: 28px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.plant__tag { display: inline-flex; align-items: center; gap: 6px; color: var(--yellow); font-family: var(--font-head); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; }
.plant__name { font-size: 1.6rem; font-weight: 800; text-transform: uppercase; margin-bottom: 12px; }
.plant__desc { color: var(--muted-light); font-size: .93rem; }
.plant__data { display: grid; gap: 12px; margin: 8px 0 26px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: .9rem; }
.plant__data li { display: flex; gap: 12px; align-items: flex-start; color: #DADADA; word-break: break-word; }
.plant__data .icon { color: var(--yellow); margin-top: 3px; }
.plant__data a { text-decoration: none; }
.plant__data a:hover { color: var(--yellow); }
.plant .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Tarjetas de servicio ---------- */
.svc-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.svc-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--white); border: 1px solid var(--line); transition: border-color .25s var(--ease); }
.section--white .svc-card a { background: var(--gray); border-color: var(--gray); }
.svc-card a:hover { border-color: var(--black); }
.svc-card__media { --ratio: 4/3 !important; }
.svc-card__media img { transition: transform .7s var(--ease); }
.svc-card a:hover .svc-card__media img, .svc-card a:focus-visible .svc-card__media img { transform: scale(1.06); }
.svc-card__body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 26px 24px 24px; }
.svc-card__num { position: absolute; top: -22px; left: 24px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--yellow); font-family: var(--font-head); font-weight: 800; font-size: .9rem; }
.svc-card__title { font-family: var(--font-head); font-size: 1.18rem; font-weight: 800; text-transform: uppercase; line-height: 1.22; margin: 12px 0 10px; }
.svc-card__text { color: var(--muted); font-size: .94rem; margin-bottom: 20px; }
.svc-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 800; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.svc-card__more .icon { transition: transform .25s var(--ease); color: var(--black); }
.svc-card a:hover .svc-card__more .icon { transform: translateX(4px); }
.svc-card a:hover .svc-card__more { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* ---------- Clientes ---------- */
.clients { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 640px) { .clients { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .clients { grid-template-columns: repeat(6, 1fr); } }
.client { position: relative; background: var(--white); aspect-ratio: 2/1; display: flex; align-items: center; justify-content: center; padding: 18px 22px; }
.client img { position: relative; max-height: 64px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.client:hover img { filter: none; opacity: 1; }
.client__ph { position: absolute; inset: 10px; display: flex; align-items: center; justify-content: center; border: 1px dashed #C9C9C9; color: #8A8A8A; font-size: .78rem; }
.client:has(img:not([hidden])) .client__ph { display: none; }
.marquee { overflow: hidden; border-block: 1px solid var(--line); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee .client { width: 220px; border-right: 1px solid var(--line); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Talento ---------- */
.talent { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .talent { grid-template-columns: 1.1fr 1fr; gap: 72px; } }
.talent__media { --ratio: 7/5 !important; }
.talent__media::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34%; height: 8px; background: var(--yellow); }
.talent__body .section-text { margin-bottom: 30px; }

/* ---------- CTA ---------- */
.cta { background: var(--black); color: var(--white); border-top: 1px solid var(--line-dark); }
.cta__inner { display: grid; gap: 32px; align-items: center; padding-block: 72px; position: relative; }
.cta__inner::before { content: ""; position: absolute; top: 0; left: var(--gutter); width: 80px; height: 4px; background: var(--yellow); }
@media (min-width: 900px) { .cta__inner { grid-template-columns: 1fr auto; padding-block: 96px; gap: 64px; } }
.cta__title { font-size: clamp(1.7rem, 3.6vw, 2.7rem); font-weight: 800; text-transform: uppercase; line-height: 1.1; margin-bottom: 14px; max-width: 22ch; }
.cta__text { color: var(--muted-light); max-width: 58ch; margin: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: #CFCFCF; font-size: .92rem; border-top: 4px solid var(--yellow); }
.footer__grid { display: grid; gap: 40px; padding-block: 64px 48px; }
@media (min-width: 700px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: 1.5fr .8fr 1.1fr 1.1fr; gap: 48px; } }
.footer__logo { display: inline-flex; margin-bottom: 20px; text-decoration: none; }
.footer__logo img { height: 46px; width: auto; }
.footer__brand p { max-width: 40ch; margin-bottom: 24px; }
.footer__heading { font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--white); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line-dark); position: relative; }
.footer__heading::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 28px; height: 2px; background: var(--yellow); }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { text-decoration: none; }
.footer__col a:hover { color: var(--yellow); }
.footer__plants { gap: 16px !important; }
.footer__plants li { display: grid; gap: 2px; font-size: .85rem; }
.footer__plant { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-weight: 700; }
.footer__plant .icon { color: var(--yellow); }
.footer__plants li > span { padding-left: 26px; color: var(--muted-light); word-break: break-word; }
.footer__bottom { border-top: 1px solid var(--line-dark); font-size: .82rem; }
.footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 28px; padding-block: 22px; }
.footer__bottom p { margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.footer__legal a { text-decoration: none; }
.footer__legal a:hover { color: var(--yellow); }
.footer__contact { display: inline-flex; align-items: center; gap: 8px; }
.footer__contact .icon { color: var(--yellow); }
.footer__social { display: flex; gap: 4px; }
.footer__social-link { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid var(--line-dark); color: var(--white); transition: .2s; }
.footer__social-link .icon { width: 16px; height: 16px; }
.footer__social-link:hover { background: var(--yellow); border-color: var(--yellow); color: var(--black); }
.footer__social-link.is-pending { opacity: .4; }

/* ---------- Nosotros ---------- */
.about-hero { position: relative; isolation: isolate; min-height: 520px; display: flex; align-items: flex-end; color: var(--white); background: var(--black); overflow: hidden; }
@media (min-width: 900px) { .about-hero { min-height: 640px; } }
.about-hero__media { position: absolute; inset: 0; aspect-ratio: auto; z-index: -1; }
.about-hero__media .media__ph { justify-content: flex-start; padding-top: 48px; }
.about-hero .hero-shade { z-index: 0; }
.about-hero__content { position: relative; z-index: 1; padding-block: 64px; display: grid; gap: 8px; }
@media (min-width: 900px) { .about-hero__content { grid-template-columns: 1fr 1fr; align-items: end; } .about-hero__content .crumbs { grid-column: 1 / -1; } }
.about-hero__title { font-size: clamp(2.6rem, 9vw, 7rem); font-weight: 800; text-transform: uppercase; line-height: .92; letter-spacing: -0.03em; }
.about-hero__title span { color: var(--yellow); }
.about-hero__text { font-size: 1.15rem; color: #E4E4E4; max-width: 40ch; margin: 18px 0 0; border-left: 3px solid var(--yellow); padding-left: 18px; }
@media (min-width: 900px) { .about-hero__text { justify-self: end; margin-bottom: 8px; } }
.about-intro { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .about-intro { grid-template-columns: 1.1fr .9fr; gap: 80px; } }
.about-intro__media { --ratio: 6/7 !important; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tag-list li > a, .tag-list li { font-size: .8rem; font-weight: 600; }
.tag-list a { display: inline-block; padding: 8px 14px; border: 1px solid var(--black); text-decoration: none; transition: .2s; }
.tag-list a:hover { background: var(--yellow); border-color: var(--yellow); }
.tag-list--plain li { padding: 10px 16px; background: var(--white); border: 1px solid var(--line); font-size: .9rem; }
.section--white .tag-list--plain li { background: var(--gray); border-color: var(--gray); }
.mv { display: grid; }
@media (min-width: 900px) { .mv { grid-template-columns: 1fr 1fr; } }
.mv__item { padding: 72px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); min-height: 360px; }
@media (min-width: 900px) { .mv__item--black { padding-right: 64px; } .mv__item--yellow { padding-left: 64px; } }
.mv__item--black { background: var(--black); color: var(--white); }
.mv__item--yellow { background: var(--yellow); color: var(--black); }
.mv__item--yellow .placeholder-text { color: #3D3D3D; border-color: var(--black); }
.mv__icon { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; border: 2px solid currentColor; margin-bottom: 26px; }
.mv__item--black .mv__icon { color: var(--yellow); }
.mv__icon .icon { width: 26px; height: 26px; }
.mv__title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; text-transform: uppercase; margin-bottom: 22px; }
.safety { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .safety { grid-template-columns: 1fr 1.1fr; gap: 72px; } }
.safety__media { --ratio: 6/5 !important; }
.notice { display: flex; gap: 12px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--yellow); padding: 16px 18px; margin-bottom: 22px; font-size: .92rem; }
.section--white .notice { background: var(--gray); }
.notice p { margin: 0; }
.notice .icon { margin-top: 3px; }
.values { display: grid; gap: 16px; }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .values { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.value { padding: 30px 28px; background: var(--gray); border-top: 3px solid var(--black); transition: border-color .25s; }
.value:hover { border-color: var(--yellow); }
.value__icon { display: inline-flex; color: var(--black); background: var(--yellow); width: 48px; height: 48px; align-items: center; justify-content: center; margin-bottom: 18px; }
.value h3 { font-size: 1.2rem; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; }
.value .placeholder-text { margin: 0; font-size: .92rem; }
.timeline { position: relative; display: grid; gap: 40px; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--line-dark); }
.milestone { position: relative; display: grid; gap: 14px; }
.milestone::before { content: ""; position: absolute; left: -28px; top: 6px; width: 14px; height: 14px; background: var(--yellow); }
.milestone__year { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--yellow); line-height: 1; }
.milestone__card { background: var(--ink); display: grid; }
@media (min-width: 700px) { .milestone__card { grid-template-columns: 280px 1fr; } .milestone__media { height: 100%; } }
.milestone__body { padding: 24px 26px; }
.milestone__body h3 { font-size: 1.15rem; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; }
@media (min-width: 1000px) {
  .timeline { padding-left: 0; }
  .timeline::before { left: 160px; }
  .milestone { grid-template-columns: 160px 1fr; gap: 0; }
  .milestone::before { left: 154px; }
  .milestone__year { padding-top: 0; }
  .milestone__card { margin-left: 40px; }
}
.certs { display: grid; gap: 20px; }
@media (min-width: 700px) { .certs { grid-template-columns: repeat(3, 1fr); } }
.cert { background: var(--gray); display: flex; flex-direction: column; }
.cert__media { --ratio: 3/4 !important; }
.cert__body { padding: 22px 22px 26px; }
.cert__body h3 { font-size: 1.05rem; font-weight: 800; text-transform: uppercase; margin-bottom: 14px; }
.cert dl { margin: 0 0 18px; display: grid; gap: 6px; font-size: .88rem; }
.cert dl div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.cert dt { color: var(--muted); }
.cert dd { margin: 0; font-weight: 600; }

/* ---------- Servicios (índice) ---------- */
.svc-rows { display: grid; gap: 64px; }
.svc-row { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .svc-row { grid-template-columns: 1.1fr 1fr; gap: 64px; } .svc-row:nth-child(even) .svc-row__media { order: 2; } }
.svc-row__num { font-family: var(--font-head); font-weight: 800; font-size: .82rem; letter-spacing: .14em; background: var(--yellow); padding: 6px 10px; display: inline-block; margin-bottom: 18px; }
.svc-row__title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; text-transform: uppercase; margin-bottom: 16px; }
.svc-row__body > p { color: var(--muted); }
.svc-row__more { font-size: .95rem; }
.svc-row__actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 26px; }

/* ---------- Página de servicio ---------- */
.svc-nav { position: sticky; top: var(--nav-h); z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.svc-nav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.svc-nav ul::-webkit-scrollbar { display: none; }
.svc-nav a { display: inline-flex; align-items: center; height: 54px; padding: 0 14px; font-family: var(--font-head); font-weight: 700; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; color: var(--muted); }
.svc-nav a:hover, .svc-nav a.is-active { color: var(--black); border-color: var(--yellow); }
.svc-nav__cta { margin-left: auto; color: var(--black) !important; background: var(--yellow); border-bottom-color: var(--yellow) !important; }
.svc-intro { display: grid; gap: 40px; }
@media (min-width: 1000px) { .svc-intro { grid-template-columns: 1.2fr 1fr; gap: 72px; align-items: start; } }
.svc-intro p { color: #2E2E2E; }
.svc-blocks { display: grid; gap: 16px; }
.svc-block { background: var(--black); color: var(--white); padding: 30px 28px; }
.svc-block__icon { display: inline-flex; color: var(--yellow); margin-bottom: 16px; }
.svc-block__icon .icon { width: 30px; height: 30px; }
.svc-block h3 { font-size: 1.2rem; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; }
.svc-block p { color: #CFCFCF !important; margin: 0; font-size: .95rem; }
.scope { display: grid; gap: 48px; }
@media (min-width: 900px) { .scope { grid-template-columns: 1.1fr 1fr; gap: 72px; } }
.scope .section-head { margin-bottom: 28px; }
.checklist { display: grid; gap: 0; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.section--gray .checklist li { border-color: #DCDCDC; }
.checklist .icon { background: var(--yellow); padding: 3px; width: 22px; height: 22px; margin-top: 1px; }
.checklist--sm li { padding: 10px 0; font-size: .95rem; }
.type-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 480px) { .type-grid { grid-template-columns: 1fr 1fr; } }
.type-grid li { background: var(--white); padding: 16px 18px; border-left: 3px solid var(--yellow); font-weight: 600; font-size: .92rem; }
.section--white .type-grid li { background: var(--gray); }
.caps { display: grid; gap: 32px; }
@media (min-width: 900px) { .caps { grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start; } .caps .section-head { margin: 0; } }
.spec-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec-table th, .spec-table td { text-align: left; padding: 18px 0; border-bottom: 1px solid var(--line-dark); vertical-align: top; }
.spec-table tr:first-child th, .spec-table tr:first-child td { border-top: 1px solid var(--line-dark); }
.spec-table th { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; color: var(--white); padding-right: 24px; width: 50%; }
.spec-table td { color: var(--yellow); }
.apps { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 560px) { .apps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .apps { grid-template-columns: repeat(5, 1fr); } }
.app { background: var(--white); display: flex; flex-direction: column; gap: 18px; padding: 28px 22px; font-family: var(--font-head); font-weight: 700; font-size: .98rem; line-height: 1.3; min-height: 150px; transition: background-color .2s; }
.app .icon { width: 28px; height: 28px; color: var(--black); }
.app:hover { background: var(--yellow); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
.gallery__btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; }
.gallery__btn .media { --ratio: 4/3 !important; }
.gallery__btn .media__ph small { display: none; }
@media (max-width: 599px) { .gallery__btn .media__ph code { display: none; } }
.gallery__btn img { transition: transform .6s var(--ease); }
.gallery__btn:hover img { transform: scale(1.05); }
.gallery__cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; background: var(--black); color: var(--white); font-size: .8rem; font-weight: 600; }
.gallery__cap .icon { color: var(--yellow); }
.steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); counter-reset: s; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(var(--cols, 3), 1fr); } }
.step { background: var(--white); padding: 30px 26px; position: relative; }
.step__num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--black); margin-bottom: 18px; }
.step__num::after { content: ""; display: block; width: 32px; height: 4px; background: var(--yellow); margin-top: 12px; }
.step h3 { font-size: 1.05rem; font-weight: 800; text-transform: uppercase; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }
.docs { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .docs { grid-template-columns: 1fr 1fr; gap: 64px; } }
.doc-card { display: grid; grid-template-columns: auto 1fr; gap: 16px 18px; align-items: center; background: var(--black); color: var(--white); padding: 26px; }
.doc-card .btn { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 560px) { .doc-card { grid-template-columns: auto 1fr auto; } .doc-card .btn { grid-column: auto; } }
.doc-card .doc-note { grid-column: 1 / -1; margin: 0; color: var(--muted-light); }
.doc-card__icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; background: var(--yellow); color: var(--black); }
.doc-card__name { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; margin: 0 0 4px; font-size: .95rem; }
.doc-card__path { margin: 0; color: var(--muted-light); font-size: .85rem; word-break: break-all; }
.doc-card .btn--dark { background: var(--white); color: var(--black); border-color: var(--white); }
.doc-card .btn--dark:hover { background: var(--yellow); border-color: var(--yellow); }
.before-after { display: grid; gap: 20px; }
@media (min-width: 760px) { .before-after { grid-template-columns: 1fr 1fr; } }
.ba { margin: 0; }
.ba figcaption { display: flex; align-items: center; gap: 12px; padding: 14px 0; color: var(--muted); font-size: .92rem; }
.ba__tag { background: var(--black); color: var(--white); font-family: var(--font-head); font-weight: 800; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; }
.ba__tag--yellow { background: var(--yellow); color: var(--black); }
.quote { display: grid; gap: 40px; }
@media (min-width: 1000px) { .quote { grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; } .quote__aside { position: sticky; top: calc(var(--nav-h) + 80px); } }
.quote__form { background: var(--white); padding: 28px 22px; border-top: 4px solid var(--yellow); }
@media (min-width: 640px) { .quote__form { padding: 40px; } }

/* ---------- Formularios ---------- */
.form__grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; gap: 22px 20px; } }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.req { color: #B8860B; }
.opt { color: var(--muted); font-weight: 500; text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #CFCFCF; border-radius: var(--radius); background: var(--white); color: var(--black); font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input[type="file"] { padding: 10px; min-height: 0; background: var(--gray); border-style: dashed; cursor: pointer; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #8A8A8A; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px var(--yellow); }
.field [aria-invalid="true"] { border-color: #B42318; box-shadow: none; }
.field__hint { font-size: .82rem; color: var(--muted); margin: 0; }
.field__error { font-size: .84rem; color: #B42318; margin: 0; font-weight: 600; }
.field__error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__consent { font-size: .84rem; color: var(--muted); margin: 22px 0 18px; }
.form__consent a { color: var(--black); text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.form__actions .btn[disabled] { opacity: .6; cursor: progress; }
.form__status { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding: 16px 18px; border: 1px solid var(--line); border-left: 4px solid var(--black); background: var(--gray); font-size: .94rem; }
.form__status p { margin: 0; }
.form__status .icon { margin-top: 3px; }
.form__status--success { border-left-color: #1F7A3A; }
.form__status--success .icon { color: #1F7A3A; }
.form__status--error { border-left-color: #B42318; }
.form__status--error .icon { color: #B42318; }
.form__status--info { border-left-color: var(--yellow); }

/* ---------- Contacto ---------- */
.sites { display: grid; gap: 24px; }
@media (min-width: 1000px) { .sites { grid-template-columns: repeat(3, 1fr); } }
.site { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--white); scroll-margin-top: calc(var(--nav-h) + 20px); }
.site:target { outline: 3px solid var(--yellow); outline-offset: 0; }
.site__head { display: flex; align-items: center; gap: 14px; padding: 20px 22px; background: var(--black); color: var(--white); }
.site__num { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: var(--yellow); color: var(--black); font-family: var(--font-head); font-weight: 800; }
.site__name { font-size: 1.3rem; font-weight: 800; text-transform: uppercase; }
.site__media { --ratio: 12/7 !important; }
.site__data { margin: 0; padding: 8px 22px; display: grid; }
.site__data div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.site__data dt { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.site__data dt .icon { color: var(--black); width: 14px; height: 14px; }
.site__data dd { margin: 0; font-weight: 600; word-break: break-word; }
.site__data a { text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.site__map { margin: 14px 22px; aspect-ratio: 16/10; background: var(--gray); }
.site__map iframe { width: 100%; height: 100%; border: 0; }
.map-ph { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; color: var(--muted); font-size: .85rem; border: 1px dashed #C9C9C9; }
.map-ph .icon { width: 28px; height: 28px; color: var(--black); }
.site > .btn { margin: 0 22px 22px; width: auto; }
.contact { display: grid; gap: 32px; }
@media (min-width: 1000px) { .contact { grid-template-columns: 1.5fr .8fr; gap: 48px; align-items: start; } }
.contact__form { background: var(--white); padding: 28px 22px; border-top: 4px solid var(--yellow); }
@media (min-width: 640px) { .contact__form { padding: 44px; } }
.quick { background: var(--black); color: var(--white); padding: 32px 26px; }
@media (min-width: 1000px) { .quick { position: sticky; top: calc(var(--nav-h) + 24px); } }
.quick__title { font-size: 1.3rem; font-weight: 800; text-transform: uppercase; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line-dark); }
.quick__label { display: block; font-family: var(--font-head); font-weight: 700; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 8px; }
.quick__select { width: 100%; min-height: 50px; padding: 12px 14px; background: var(--ink); color: var(--white); border: 1px solid var(--line-dark); appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23FDCB17' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.quick__addr { color: #CFCFCF; font-size: .9rem; margin: 16px 0 20px; min-height: 1.5em; }
.quick__actions { display: grid; gap: 10px; }
.quick__note { margin: 16px 0 0; font-size: .84rem; color: var(--yellow); }

/* ---------- Noticias ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip { min-height: 42px; padding: 8px 16px; background: var(--white); border: 1px solid #CFCFCF; font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: .2s; }
.chip:hover { border-color: var(--black); }
.chip.is-active { background: var(--black); border-color: var(--black); color: var(--yellow); }
.news-grid { display: grid; gap: 28px; }
@media (min-width: 640px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }
.news-card { display: flex; flex-direction: column; background: var(--white); border-bottom: 3px solid var(--black); transition: border-color .25s; }
.section--white .news-card { background: var(--gray); }
.news-card:hover { border-color: var(--yellow); }
.news-card .media img { transition: transform .6s var(--ease); }
.news-card:hover .media img { transform: scale(1.04); }
.news-card__body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.news-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .8rem; color: var(--muted); margin-bottom: 12px; }
.badge { display: inline-block; background: var(--yellow); color: var(--black); font-family: var(--font-head); font-weight: 800; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; padding: 5px 9px; }
.badge--dark { background: var(--black); color: var(--white); }
.news-card__title { font-size: 1.2rem; font-weight: 800; line-height: 1.25; margin-bottom: 10px; }
.news-card__title a { text-decoration: none; }
.news-card__title a::after { content: ""; position: absolute; inset: 0; }
.news-card { position: relative; }
.news-card__sum { color: var(--muted); font-size: .94rem; }
.news-card .link-arrow { margin-top: auto; align-self: flex-start; position: relative; z-index: 1; }
.empty { display: flex; align-items: center; gap: 12px; padding: 28px; background: var(--gray); color: var(--muted); }
.empty--dark { background: var(--ink); color: var(--muted-light); }
.empty .icon { width: 26px; height: 26px; color: var(--yellow); }
.article__head { background: var(--white); padding-block: 48px 36px; }
.article__meta { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: .9rem; }
.article__title { font-size: clamp(1.9rem, 4.5vw, 3.2rem); font-weight: 800; line-height: 1.1; margin: 10px 0 18px; }
.article__lead { font-size: 1.15rem; color: var(--muted); margin: 0; }
.article__cover { margin-bottom: 40px; }
.article__body { font-size: 1.06rem; line-height: 1.75; margin-bottom: 40px; max-width: 70ch; }
.article__body h2 { font-size: 1.5rem; margin: 1.5em 0 .6em; }
.gallery--sm { margin-bottom: 40px; }
.page-article main > article { padding-bottom: 64px; }

/* ---------- Trabaja con nosotros ---------- */
.jobs { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.job { background: var(--ink); padding: 26px; display: grid; gap: 16px; }
@media (min-width: 800px) { .job { grid-template-columns: 1fr auto; align-items: center; } }
.job__title { font-size: 1.25rem; font-weight: 800; text-transform: uppercase; margin-bottom: 8px; }
.job__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted-light); font-size: .88rem; }
.job__meta span { display: inline-flex; align-items: center; gap: 6px; }
.job__meta .icon { color: var(--yellow); }
.job__desc { color: #CFCFCF; margin: 10px 0 0; font-size: .94rem; }

/* ---------- Varios ---------- */
.prose h2 { font-size: 1.3rem; margin: 2em 0 .6em; }
.notfound { min-height: 60vh; display: flex; align-items: center; }
.notfound__code { font-family: var(--font-head); font-size: clamp(5rem, 18vw, 11rem); font-weight: 800; line-height: .9; color: var(--yellow); margin: 0 0 10px; }

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0,0,0,.94); color: var(--white); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(0,0,0,.9); }
.lightbox__figure { margin: 0; max-width: min(92vw, 1400px); }
.lightbox__figure img { max-height: 80vh; width: auto; margin: 0 auto; }
.lightbox__figure figcaption { text-align: center; padding-top: 14px; font-size: .92rem; color: #DADADA; }
.lightbox__close, .lightbox__nav { position: absolute; display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; background: var(--black); border: 1px solid var(--line-dark); color: var(--white); cursor: pointer; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--yellow); color: var(--black); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav--prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__missing { padding: 40px; border: 1px dashed #555; text-align: center; }

/* Aparición al hacer scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =====================================================================
   NAVBAR BLANCO (el logo oficial está diseñado para fondo claro)
   ===================================================================== */
.nav { background: var(--white); color: var(--black); border-bottom: 1px solid var(--line); }
.nav.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.nav :focus-visible { outline-color: var(--black); }
.nav__logo img { height: 44px; max-width: 160px; }
@media (min-width: 1100px) { .nav__logo img { height: 52px; max-width: 180px; } }
.nav__logo-fallback { color: var(--black); }
.nav__logo-fallback small { color: var(--muted); }
.nav__burger { color: var(--black); }
.nav__burger[aria-expanded="true"] .icon--close { color: var(--black); }
.nav .btn--primary:hover { background: var(--black); color: var(--yellow); border-color: var(--black); }
.nav__link { color: var(--black); }
.nav__link[aria-current="page"] { color: var(--black); }
.nav__toggle { color: var(--black); }
.nav__toggle[aria-expanded="true"] .icon { color: var(--black); }
/* Panel móvil */
.nav__menu { background: var(--white); }
.nav__list, .nav__item { border-color: var(--line); }
.nav__link[aria-current="page"]::before { content: ""; width: 4px; height: 22px; background: var(--yellow); margin-right: 12px; }
.nav__sub a { color: #2E2E2E; }
.nav__sub a .icon { color: var(--black); }
.nav__sub a:hover { color: var(--black); background: var(--gray); }
.nav__mobile-extra { color: #2E2E2E; }
.nav__mobile-extra p .icon { color: var(--black); }
.nav__mobile-extra .topbar__social-link { color: var(--black); border: 1px solid var(--line); }
.nav__mobile-extra .btn--primary:hover { background: var(--black); color: var(--yellow); }
@media (min-width: 1100px) {
  .nav__menu { background: none; }
  .nav__link[aria-current="page"]::before { display: none; }
  .nav__link:hover, .nav__item--mega.is-open .nav__link { color: var(--black); }
  .nav__link::after { height: 4px; }
  .mega { border-top-width: 4px; }
}
/* Footer: logo en versión blanca, sin placa */
.footer__logo img { height: 56px; width: auto; max-width: 200px; object-fit: contain; }
.footer__logo .nav__logo-fallback { color: var(--white); }
.footer__logo .nav__logo-fallback small { color: var(--yellow); }

/* Movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js .reveal, .hero__in { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
}

/* Impresión */
@media print {
  .topbar, .nav, .footer, .cta, .svc-nav, .hero__media, .hero-shade { display: none !important; }
  .hero, .page-hero, .about-hero { min-height: 0; color: #000; background: #fff; }
}
