/* =============================================================
   IPP Ltd — Stylesheet v5
   Light mode · IPP brand palette · Mobile-first · Sin frameworks
   ============================================================= */

/* ─── 1. CUSTOM PROPERTIES ─────────────────────────────────── */
:root {
  --color-bg:          #F8F6F0;
  --color-bg-white:    #FFFFFF;
  --color-navy-dark:   #0B2D71;
  --color-navy:        #006DB8;
  --color-navy-light:  #009DD9;
  --color-navy-tint:   #E6F4FB;
  --color-red:         #C8102E;
  --color-red-dark:    #A00D24;
  --color-text:        #1A1A2E;
  --color-text-muted:  #5A6478;
  --color-border:      rgba(0,109,184,0.15);

  --font-serif:  'Montserrat', sans-serif;
  --font-sans:   'Source Sans 3', system-ui, sans-serif;

  --max-width:   1200px;
  --section-pad: clamp(80px, 10vw, 120px);
  --gutter:      clamp(20px, 4vw, 40px);
  --radius:      4px;
  --transition:  0.25s ease;
}

/* ─── 2. RESET & BASE ───────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── 3. TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-navy);
}
h1 { font-weight: 900; letter-spacing: -0.03em; line-height: 1.05; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 700; letter-spacing: -0.01em; }

p {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--color-text-muted);
  max-width: 68ch;
}

/* ─── 4. LAYOUT UTILITIES ───────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-pad); }
.section--white     { background-color: var(--color-bg-white); }
.section--cream     { background-color: var(--color-bg); }
.section--light     { background-color: var(--color-navy-tint); }
.section--navy      { background-color: var(--color-navy); }
.section--navy-dark { background-color: var(--color-navy-dark); }

/* Eyebrow */
.eyebrow {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 14px;
}
.eyebrow::before { content: "— "; }

/* Divider */
.divider-red {
  display: block;
  width: 48px;
  height: 2px;
  background-color: var(--color-red);
  margin-block: 28px;
}
.divider-gold {
  display: block;
  width: 48px;
  height: 2px;
  background-color: var(--color-red);
  margin-block: 28px;
}

/* ─── 5. SCROLL ANIMATIONS ──────────────────────────────────── */

/* Standard fade-in (text, cards) */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }

/* Float-in (photos, mosaic cells) — more dramatic entrance */
.float-in {
  opacity: 0;
  transform: translateY(48px) scale(0.97);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.float-in.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger mosaic cells */
.img-mosaic .float-in:nth-child(1) { transition-delay: 0.00s; }
.img-mosaic .float-in:nth-child(2) { transition-delay: 0.07s; }
.img-mosaic .float-in:nth-child(3) { transition-delay: 0.14s; }
.img-mosaic .float-in:nth-child(4) { transition-delay: 0.21s; }
.img-mosaic .float-in:nth-child(5) { transition-delay: 0.28s; }
.img-mosaic .float-in:nth-child(6) { transition-delay: 0.35s; }
.img-mosaic .float-in:nth-child(7) { transition-delay: 0.42s; }
.img-mosaic .float-in:nth-child(8) { transition-delay: 0.49s; }

/* ─── 6. CTA ARROW LINK ─────────────────────────────────────── */
.cta-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  color: var(--color-navy);
  cursor: pointer;
}
.cta-arrow__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 109, 184, 0.12);
  font-size: 1rem;
  transition: background var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.cta-arrow:hover .cta-arrow__icon {
  background: var(--color-navy-light);
  transform: translateX(3px);
  color: #fff;
}
.cta-arrow__text {
  position: relative;
  padding-bottom: 2px;
}
.cta-arrow__text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.cta-arrow:hover .cta-arrow__text::after { transform: scaleX(1); }

/* Light (dark-bg) variant */
.cta-arrow--light {
  color: #fff;
}
.cta-arrow--light .cta-arrow__icon {
  background: rgba(255, 255, 255, 0.2);
}
.cta-arrow--light:hover .cta-arrow__icon {
  background: var(--color-navy-light);
  color: #fff;
}

/* ─── 7. STANDARD BUTTONS ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 48px;
  padding-inline: 28px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background-color: var(--color-navy);
  color: #fff;
  border-color: var(--color-navy);
}
.btn--primary:hover {
  background-color: var(--color-navy-dark);
  border-color: var(--color-navy-dark);
}
.btn--outline {
  background-color: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}
.btn--outline:hover {
  background-color: var(--color-navy);
  color: #fff;
}
.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}

/* ─── 8. HEADER — ver SMART HEADER al final del archivo ─────── */

.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
}
.header__left {
  display: flex;
  align-items: center;
}
.header__center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-svg { height: 44px; width: auto; }
.footer__col .logo-svg { height: 32px; margin-bottom: 20px; }
.logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}
/* Footer logo */
.footer-logo .logo-img {
  height: 40px;
}

/* Desktop nav */
.site-nav { display: none; }
.site-nav ul { display: flex; align-items: center; gap: 32px; }
.site-nav a {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  color: var(--color-navy);
  position: relative;
  padding-bottom: 3px;
  transition: color var(--transition);
}
.site-nav a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-navy-light);
  transition: width var(--transition);
}
.site-nav a:hover,
.site-nav a.active { color: var(--color-navy-light); }
.site-nav a:hover::after,
.site-nav a.active::after { width: 100%; }

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.lang-toggle__sep { color: var(--color-border); user-select: none; }
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 5px;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  color: var(--color-text-muted);
  transition: color var(--transition);
}
.lang-btn:hover { color: var(--color-navy); }
.lang-btn.lang-active { color: var(--color-navy-light); }

.header__right { display: flex; align-items: center; gap: 24px; justify-content: flex-end; }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 36px;
  height: 36px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: var(--color-navy);
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: var(--color-bg-white);
  border-top: 1px solid var(--color-border);
  padding: 24px var(--gutter);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding-block: 15px;
  border-bottom: 1px solid var(--color-border);
  transition: color var(--transition);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--color-navy-light); }

/* ─── 9. HERO CAROUSEL ──────────────────────────────────────── */
.hero-carousel {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--color-navy-dark);
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}
.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-slide__bg {
  position: absolute;
  inset: 0;
  background-color: var(--color-navy);
  background-size: cover;
  background-position: center;
  /* Subtle Ken Burns motion on active slide */
  transition: transform 8s ease-out;
}
.carousel-slide.active .carousel-slide__bg {
  transform: scale(1.04);
}

.carousel-slide__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(11, 45, 113, 0.45) 0%,
      rgba(11, 45, 113, 0.10) 35%,
      rgba(11, 45, 113, 0.70) 100%
    ),
    linear-gradient(
      to right,
      rgba(11, 45, 113, 0.75) 0%,
      rgba(11, 45, 113, 0.30) 55%,
      rgba(11, 45, 113, 0.0) 100%
    );
  z-index: 1;
}

/* Franja superior oscura — legibilidad del header */
.carousel-slide::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 140px;
  background: linear-gradient(
    to bottom,
    rgba(11, 45, 113, 0.7) 0%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Background de las slides */
.carousel-slide {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Slide 1 — refinería → foco izquierda */
.carousel-slide:nth-child(1) .carousel-slide__bg { background-position: center 40%; }
/* Slide 2 — offshore → centrado */
.carousel-slide:nth-child(2) .carousel-slide__bg { background-position: center center; }
/* Slide 3 — yacimiento → foco derecha */
.carousel-slide:nth-child(3) .carousel-slide__bg { background-position: 60% center; }

/* Content — posicionado bottom-left sin recuadro, estilo Chevron */
.carousel-content {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-width);
  padding-inline: var(--gutter);
  z-index: 3;
}
.carousel-content__box {
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  max-width: 660px;
}
.carousel-content__title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
  max-width: 660px;
  margin-bottom: 20px;
}
.carousel-content__desc {
  font-family: var(--font-sans);
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  max-width: 500px;
  margin-bottom: 32px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}
.carousel-content .cta-arrow {
  justify-content: flex-start;
  color: #fff;
}
.carousel-content .cta-arrow .cta-arrow__icon {
  background: rgba(255, 255, 255, 0.2);
}
.carousel-content .cta-arrow:hover .cta-arrow__icon {
  background: var(--color-navy-light);
}

/* Pagination dots */
.carousel-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.carousel-dot.active {
  background: var(--color-red);
  transform: scale(1.25);
}

/* ─── 10. STATEMENT SECTION ─────────────────────────────────── */
.section-statement {
  position: relative;
  overflow: hidden;
  background: var(--color-navy);
  padding-block: clamp(80px, 12vw, 140px);
}

/* Giant background watermark word */
.statement__bg-word {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-size: clamp(10rem, 26vw, 22rem);
  font-weight: 700;
  color: var(--color-navy-light);
  opacity: 0.06;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%, black 75%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, black 25%, black 75%, transparent 100%);
}

.section-statement__inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
}
.section-statement__text {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.55;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}
.section-statement__text em {
  font-style: normal;
  color: var(--color-navy-light);
}
.section-statement .cta-arrow {
  color: #fff;
}
.section-statement .cta-arrow .cta-arrow__icon {
  background: rgba(255, 255, 255, 0.2);
}
.section-statement .cta-arrow:hover .cta-arrow__icon {
  background: var(--color-navy-light);
}

/* ─── 11. CENTERED INTRO SECTION ────────────────────────────── */
.section-centered {
  background: var(--color-bg);
  text-align: center;
}
.section-centered .eyebrow { display: inline-block; }
.section-centered .eyebrow::before { content: ""; }
.section-centered h2 {
  margin-inline: auto;
  max-width: 16ch;
  color: var(--color-navy);
}
.section-centered p {
  margin-inline: auto;
  font-size: 1rem;
  max-width: 56ch;
  color: var(--color-text-muted);
}
.section-centered .cta-arrow {
  justify-content: center;
  margin-top: 28px;
}

/* ─── 12. IMAGE MOSAIC ───────────────────────────────────────── */
.img-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}
.img-mosaic__cell {
  background-color: var(--color-navy-tint);
  background-size: cover;
  background-position: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.img-mosaic__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.img-mosaic__cell:hover img {
  transform: scale(1.04);
}

/* ─── 13. WHO WE ARE — 3 column feature cards ────────────────── */
.section--who {
  background-color: var(--color-bg-white);
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.card-feature {
  border-top: 2px solid var(--color-navy);
  padding-top: 24px;
  padding-bottom: 40px;
  padding-right: 32px;
}
.card-feature h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--color-navy);
}
.card-feature p {
  font-size: 0.95rem;
  max-width: none;
  color: var(--color-text-muted);
}

/* ─── 14. BUSINESS LINES — 2 col cards ──────────────────────── */
.section--biz {
  background-color: var(--color-navy-dark);
}
.section--biz .eyebrow {
  color: var(--color-navy-light);
}
.section--biz .eyebrow::before { content: "— "; }
.section--biz h2 { color: #fff; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}
.card-biz {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  transition: background-color var(--transition);
}
.card-biz:hover { background-color: rgba(255, 255, 255, 0.10); }
.card-biz__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: rgba(255, 255, 255, 0.08);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: transform 0.6s ease;
}
.card-biz:hover .card-biz__img {
  transform: scale(1.03);
}
.card-biz__body { padding: 32px; }
.card-biz__body h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
  color: #fff;
}
.card-biz__body p {
  font-size: 0.95rem;
  max-width: none;
  color: rgba(255, 255, 255, 0.70);
}
.card-biz .cta-arrow {
  margin-top: 20px;
  color: #fff;
}
.card-biz .cta-arrow .cta-arrow__icon {
  background: rgba(255, 255, 255, 0.2);
}
.card-biz .cta-arrow:hover .cta-arrow__icon {
  background: var(--color-navy-light);
}

/* ─── 15. SECTION INTRO (split layout) ─────────────────────── */
.section__intro { margin-bottom: 48px; }
.section__intro h2 { margin-top: 10px; margin-bottom: 18px; }
.section__intro > p { font-size: 1rem; }

/* ─── 16. SAFETY SECTION ────────────────────────────────────── */
.section--safety {
  background-color: var(--color-bg);
}

.safety-strip {
  text-align: left;
  max-width: 680px;
  border-left: 3px solid var(--color-navy);
  padding-left: 28px;
}
.safety-strip h2 {
  margin-top: 10px;
  margin-bottom: 20px;
  color: var(--color-navy);
}
.safety-strip p {
  margin-bottom: 32px;
  color: var(--color-text-muted);
}
.safety-strip .cta-arrow { color: var(--color-navy); }
.safety-strip .cta-arrow:hover .cta-arrow__icon {
  background: var(--color-navy-light);
  color: #fff;
}

/* ─── 17. FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background-color: var(--color-navy-dark);
}

.footer__main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-block: 64px;
}

.footer__col-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 18px;
}
.footer__address {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  max-width: none;
}
.footer__tagline {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.60);
  margin-top: 16px;
  margin-bottom: 24px;
  max-width: 36ch;
}

/* Footer accordion nav */
.footer-accordion { border-top: 1px solid rgba(255, 255, 255, 0.10); }
.footer-accordion__item { border-bottom: 1px solid rgba(255, 255, 255, 0.10); }
.footer-accordion__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding-block: 16px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  text-align: left;
  transition: color var(--transition);
}
.footer-accordion__btn:hover { color: var(--color-navy-light); }
.footer-accordion__chevron {
  font-style: normal;
  font-size: 0.7rem;
  transition: transform 0.25s ease;
}
.footer-accordion__btn[aria-expanded="true"] .footer-accordion__chevron {
  transform: rotate(180deg);
}
.footer-accordion__panel {
  display: none;
  padding-bottom: 16px;
}
.footer-accordion__panel.open { display: block; }
.footer-accordion__panel a {
  display: block;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  padding-block: 6px;
  transition: color var(--transition);
}
.footer-accordion__panel a:hover { color: var(--color-navy-light); }

.footer__cta.cta-arrow {
  color: rgba(255, 255, 255, 0.75);
}
.footer__cta.cta-arrow .cta-arrow__icon {
  background: rgba(255, 255, 255, 0.15);
}
.footer__cta.cta-arrow:hover .cta-arrow__icon {
  background: var(--color-navy-light);
}

/* Footer bottom bar */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.footer__copy {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer__legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__legal a {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition);
}
.footer__legal a:hover { color: var(--color-navy-light); }

/* ─── 18. RESPONSIVE — 768px ────────────────────────────────── */
@media (min-width: 768px) {
  .grid-3     { grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
  .grid-2     { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .img-mosaic { grid-template-columns: repeat(4, 1fr); }

  .footer__main { grid-template-columns: 1fr 1fr; }
}

/* ─── 19. RESPONSIVE — 1024px ───────────────────────────────── */
@media (min-width: 1024px) {
  .site-nav { display: flex; }
  .hamburger { display: none; }

  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 0 56px; }

  .footer__main { grid-template-columns: 1fr 2fr; gap: 80px; }

  .footer-accordion { border: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
  .footer-accordion__item { border: none; }
  .footer-accordion__btn { pointer-events: none; padding-block: 0 16px; }
  .footer-accordion__chevron { display: none; }
  .footer-accordion__panel { display: block !important; }
}

/* ═══════════════════════════════════════════════════════════
   INNER PAGE COMPONENTS (company.html, operations.html, etc.)
   ═══════════════════════════════════════════════════════════ */

/* ─── Page Hero (simple, no carousel) ──────────────────────── */
.page-hero {
  position: relative;
  height: 60vh;
  min-height: 380px;
  background-color: var(--color-navy-dark);
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(48px, 8vw, 80px);
  margin-top: 0; /* header es fixed y se superpone al hero */
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,29,80,0.25) 0%, rgba(0,29,80,0.80) 100%);
}
.page-hero__content {
  position: relative;
  z-index: 1;
}
.page-hero .eyebrow {
  color: var(--color-navy-light);
  margin-bottom: 16px;
}
.page-hero .eyebrow::before { content: ""; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  max-width: 20ch;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.0;
}

/* ─── Split 2-col (text + aside) ───────────────────────────── */
.split-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 768px) {
  .split-2 { grid-template-columns: 1.6fr 1fr; gap: 80px; }
}

/* ─── Stat pair ─────────────────────────────────────────────── */
.stat-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-top: 16px;
}
.stat-item__num {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-item__label {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--color-text-muted);
  max-width: 18ch;
  line-height: 1.4;
}

/* ─── Corporate structure cards ─────────────────────────────── */
.corp-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-navy);
  border-radius: var(--radius);
  padding: 36px;
}
.corp-card__tag {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}
.corp-card h3 {
  color: var(--color-navy);
  font-size: 1.35rem;
  margin-bottom: 16px;
}
.corp-card p {
  font-size: 0.95rem;
  max-width: none;
  color: var(--color-text-muted);
}

/* ─── Values grid (4 col on desktop) ───────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 48px;
}
@media (min-width: 1024px) {
  .values-grid { grid-template-columns: repeat(4, 1fr); gap: 48px; }
}
.value-card__icon {
  width: 36px;
  height: 36px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
  flex-shrink: 0;
}
.value-card h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 10px;
}
.value-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: none;
  line-height: 1.65;
}

/* ─── CTA section ───────────────────────────────────────────── */
.cta-section {
  text-align: center;
  background-color: var(--color-bg);
}
.cta-section h2 {
  color: var(--color-navy);
  margin-bottom: 36px;
  max-width: 22ch;
  margin-inline: auto;
}
.btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════
   TEXTO OUTLINE — títulos grandes sobre fondo oscuro
   ═══════════════════════════════════════════════════════════ */
.text-outline {
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.3);
  color: transparent;
}
.text-outline-faint {
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.12);
  color: transparent;
}

/* Eyebrow variante oscura */
.eyebrow--light {
  color: var(--color-navy-light);
}

/* ═══════════════════════════════════════════════════════════
   TIPOGRAFÍA — jerarquía global
   ═══════════════════════════════════════════════════════════ */
.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.0;
}

.tagline-word {
  letter-spacing: -0.03em;
}

.section h2,
.section-whatwedo h2,
.section-who h2,
.section-biz h2,
.section-safety h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.15;
}

.section p,
.section-whatwedo p,
.section-who p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.75;
  max-width: 680px;
}

.section-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
}

.stat-number {
  font-size: clamp(3rem, 6vw, 5rem);
}

/* ═══════════════════════════════════════════════════════════
   PÁGINAS INTERNAS — clases adicionales
   (operations.html · products.html · safety.html · contact.html)
   ═══════════════════════════════════════════════════════════ */

/* ─── Field cards con imagen (operations.html) ──────────── */
.field-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-navy);
  border-radius: var(--radius);
  overflow: hidden;
}
.field-card__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.field-card:hover .field-card__img { transform: scale(1.03); }
.field-card__body { padding: 32px; }
.field-card__body .eyebrow { margin-bottom: 10px; }
.field-card__body h3 { color: var(--color-navy); margin-bottom: 14px; }
.field-card__body p  { font-size: 0.95rem; max-width: none; }

/* ─── Product cards con ícono (products.html) ───────────── */
.product-card {
  border-top: 2px solid var(--color-navy);
  padding-top: 24px;
  padding-bottom: 40px;
  padding-right: 16px;
}
.product-card__icon {
  width: 36px;
  height: 36px;
  color: var(--color-navy);
  margin-bottom: 16px;
}
.product-card h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--color-navy); }
.product-card p  { font-size: 0.92rem; max-width: none; }

/* ─── Pillar cards (safety.html) ────────────────────────── */
.pillar-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-navy);
  border-radius: var(--radius);
  padding: 36px;
}
.pillar-card__icon {
  width: 40px;
  height: 40px;
  color: var(--color-navy);
  margin-bottom: 20px;
}
.pillar-card h3 { color: var(--color-navy); margin-bottom: 14px; }
.pillar-card p  { font-size: 0.95rem; max-width: none; }

/* ─── Contact form (contact.html) ───────────────────────── */
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label {
  display: block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 7px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--color-navy);
}
.contact-form textarea  { min-height: 140px; resize: vertical; }
.contact-form .btn      { margin-top: 8px; }
.contact-form .form-note {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-top: 14px;
  max-width: none;
}

/* ─── Contact info column (contact.html) ────────────────── */
.contact-info-group { margin-bottom: 36px; }
.contact-info-group h4 {
  font-size: 0.95rem;
  color: var(--color-navy);
  margin-bottom: 10px;
}
.contact-info-group p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  max-width: none;
  line-height: 1.75;
}
.contact-info-group a { color: var(--color-navy); }
.contact-info-group a:hover { color: var(--color-navy-light); }

/* ─── Map placeholder (contact.html) ────────────────────── */
.map-placeholder {
  height: 400px;
  background: var(--color-navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-placeholder p {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.30);
  text-align: center;
  max-width: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════
   SMART HEADER — reglas consolidadas (sobreescriben bloque base)
   ═══════════════════════════════════════════════════════════ */

/* ─── SMART HEADER ──────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background-color: #ffffff;
  border-bottom: 2px solid var(--color-navy);
  transition: background-color 0.4s ease,
              backdrop-filter 0.4s ease,
              border-color 0.4s ease,
              box-shadow 0.4s ease,
              transform 0.4s ease;
}

/* Estado scrolled — glassmorphism blanco */
.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 109, 184, 0.15);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.site-header.header--hidden {
  transform: translateY(-100%);
}

/* Transparente — mayor especificidad para ganar */
.site-header.header--transparent {
  background-color: transparent !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
}

.site-header.header--transparent .site-nav a {
  color: rgba(255, 255, 255, 0.92);
}
.site-header.header--transparent .site-nav a::after {
  background-color: #fff;
}
.site-header.header--transparent .site-nav a:hover,
.site-header.header--transparent .site-nav a.active {
  color: #fff;
}
.site-header.header--transparent .lang-btn {
  color: rgba(255, 255, 255, 0.70);
}
.site-header.header--transparent .lang-btn.lang-active {
  color: #fff;
}
.site-header.header--transparent .lang-toggle__sep {
  color: rgba(255, 255, 255, 0.25);
}
.site-header.header--transparent .hamburger span {
  background-color: #fff;
}

/* Logo tamaño según estado */
.logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: height 0.4s ease;
}
.site-header.header--transparent .logo-img {
  height: 60px;
}
.site-header.scrolled .logo-img {
  height: 44px;
}
/* ─── OIL PRICES WIDGET ─────────────────────────────── */
.oil-prices {
  display: none;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .oil-prices { display: flex; }
}
.oil-price-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
}
.oil-price-label {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}
.oil-price-val {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
}
.oil-price-sep {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}
/* Scrolled: texto sobre fondo blanco */
.site-header.scrolled .oil-price-label { color: rgba(11, 45, 113, 0.5); }
.site-header.scrolled .oil-price-val   { color: var(--color-navy-dark); }
.site-header.scrolled .oil-price-sep   { background: rgba(11, 45, 113, 0.2); }

.footer-logo .logo-img {
  height: 40px;
  transition: none;
}

/* ─── FOOTER CONTACT ITEMS ─────────────────────────── */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}
.footer-contact-icon {
  width: 14px;
  height: 14px;
  fill: var(--color-navy-light);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ─── SECCIONES PRINCIPALES — más aire estilo Chevron ───── */
.section-statement,
.section-centered,
.section--who,
.section--biz,
.section--safety {
  padding-top: clamp(100px, 14vw, 160px);
  padding-bottom: clamp(100px, 14vw, 160px);
}

/* ─── ROTATING TEXT ─────────────────────────────────────── */
/* ─── PARTNERS / ALIANZAS — infinite slider ─────────────── */
.partners-section {
  background: var(--color-navy-dark);
  padding: clamp(60px, 8vw, 100px) 0;
  text-align: center;
  overflow: hidden;
}
.partners-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 5%;
}
.partners-eyebrow {
  color: var(--color-navy-light);
  margin-bottom: 3rem;
}

/* Slider container */
.partners-slider-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Animación del track */
@keyframes partners-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.partners-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 64px;
  padding: 8px 0;
  animation: partners-scroll 32s linear infinite;
}

.partners-track:hover {
  animation-play-state: paused;
}

/* Cada logo */
.partner-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-item img {
  height: 28px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.4;
  transition: opacity 0.3s ease;
  user-select: none;
  pointer-events: none;
}

.partners-track:hover .partner-item img {
  /* En hover del track, todos se ven ligeramente más claros */
  opacity: 0.55;
}

/* Fade en bordes — equivalente al ProgressiveBlur del componente React */
.partners-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(80px, 12vw, 180px);
  pointer-events: none;
  z-index: 2;
}
.partners-fade--left {
  left: 0;
  background: linear-gradient(to right,
    var(--color-navy-dark) 0%,
    rgba(11, 45, 113, 0.8) 40%,
    transparent 100%
  );
}
.partners-fade--right {
  right: 0;
  background: linear-gradient(to left,
    var(--color-navy-dark) 0%,
    rgba(11, 45, 113, 0.8) 40%,
    transparent 100%
  );
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .partners-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding: 0 5%;
    gap: 2rem 3.5rem;
  }
  .partners-fade { display: none; }
}

/* ─── NEWS SECTION ──────────────────────────────────────── */
.news-section {
  background: var(--color-bg);
  padding: clamp(80px, 10vw, 120px) 5%;
}
.news-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.news-header {
  margin-bottom: clamp(40px, 5vw, 60px);
}
.news-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-navy-dark);
  margin-top: 12px;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.news-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(11,45,113,0.12);
}
.news-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-card:hover .news-card-img img {
  transform: scale(1.04);
}
.news-card-body {
  padding: 24px;
}
.news-card-date {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-navy-light);
  display: block;
  margin-bottom: 10px;
}
.news-card h3 {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 600;
  color: var(--color-navy-dark);
  line-height: 1.4;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.news-card-link {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.news-card-link:hover {
  color: var(--color-red);
}
@media (max-width: 900px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .news-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   NAV — reduce gap for 6 items
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  .site-nav ul { gap: 22px; }
  .site-nav a  { font-size: 0.82rem; }
}

/* ═══════════════════════════════════════════════════════════
   STATS STRIP — 4 numbers on dark navy
   ═══════════════════════════════════════════════════════════ */
.stats-strip {
  background: var(--color-navy-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-block: clamp(56px, 8vw, 80px);
}
.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 24px;
  text-align: center;
}
@media (min-width: 768px) {
  .stats-strip__grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}
.stats-strip__item { display: flex; flex-direction: column; align-items: center; }
.stats-strip__num {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}
.stats-strip__label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.5;
  max-width: 18ch;
}

/* ═══════════════════════════════════════════════════════════
   DIVISION CARDS — 4-col grid (replaces partners)
   ═══════════════════════════════════════════════════════════ */
.divisions-section { background: var(--color-bg-white); }

.grid-4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

.division-card {
  border-top: 3px solid var(--color-navy);
  padding-top: 24px;
  padding-bottom: 32px;
  padding-right: 12px;
  display: flex;
  flex-direction: column;
}
.division-card__top { margin-bottom: 12px; }
.division-card__name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 4px;
  line-height: 1.3;
}
.division-card__tag {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  display: block;
}
.division-card__p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
  max-width: none;
}
.division-card__link { margin-top: auto; }
.division-card .cta-arrow { color: var(--color-navy); }

/* ═══════════════════════════════════════════════════════════
   INTEGRATED CYCLE — split layout with circular diagram
   ═══════════════════════════════════════════════════════════ */
.cycle-section { background: var(--color-navy-dark); }
.cycle-section__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}
@media (min-width: 768px) {
  .cycle-section__inner { grid-template-columns: 1fr 1fr; gap: 80px; }
}
.cycle-section__text .divider-red { margin-block: 28px; }
.cycle-section__text p { max-width: 52ch; }

/* Circular diagram */
.cycle-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}
.cycle-ring {
  position: relative;
  width: 260px;
  height: 260px;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  flex-shrink: 0;
}
.cycle-ring::before {
  content: 'IPP';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.12em;
}
.cycle-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transform: translate(-50%, -50%);
}
.cycle-node--top    { top: 0;   left: 50%; }
.cycle-node--right  { top: 50%; left: 100%; }
.cycle-node--bottom { top: 100%; left: 50%; }
.cycle-node--left   { top: 50%; left: 0; }
.cycle-node__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-navy-light);
  border: 2px solid var(--color-navy-dark);
  flex-shrink: 0;
}
.cycle-node__label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
  text-align: center;
}
/* Arrows between nodes — decorative arcs */
.cycle-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: 60%;
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   ORG CHART — group.html
   ═══════════════════════════════════════════════════════════ */
.org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-block: 48px;
  overflow-x: auto;
}
.org-chart__parent {
  display: flex;
  justify-content: center;
  width: 100%;
}
.org-node {
  background: var(--color-bg-white);
  border: 1.5px solid var(--color-border);
  border-top: 3px solid var(--color-navy);
  border-radius: var(--radius);
  padding: 18px 24px;
  min-width: 200px;
  text-align: center;
}
.org-node--parent {
  border-top-color: var(--color-red);
  min-width: 240px;
  background: var(--color-navy-dark);
  border-color: transparent;
}
.org-node--parent .org-node__name { color: #fff; }
.org-node--parent .org-node__meta span { color: rgba(255,255,255,0.55); }
.org-node__name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 6px;
  line-height: 1.3;
}
.org-node__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.org-node__meta span {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.4;
}
.org-node__meta span:first-child {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.65rem;
  color: var(--color-navy-light);
}

/* Connector lines */
.org-chart__connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: relative;
}
.org-chart__vline-top {
  width: 2px;
  height: 24px;
  background: var(--color-border);
}
.org-chart__hline {
  width: 100%;
  max-width: 640px;
  height: 2px;
  background: var(--color-border);
}
.org-chart__vlines {
  display: flex;
  justify-content: space-around;
  width: 100%;
  max-width: 640px;
}
.org-chart__vline-down {
  width: 2px;
  height: 24px;
  background: var(--color-border);
}
.org-chart__children {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

/* ═══════════════════════════════════════════════════════════
   CHEMICAL FAMILY CARDS
   ═══════════════════════════════════════════════════════════ */
.chem-grid {
  margin-top: 48px;
  gap: 0;
}
.chem-family-card {
  border-top: 2px solid var(--color-navy);
  padding: 28px 24px 32px 0;
}
.chem-family-card__name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 4px;
}
.chem-family-card__series {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 12px;
}
.chem-family-card p {
  font-size: 0.9rem;
  max-width: none;
  line-height: 1.7;
}

/* R&D block */
.chem-rd-block {
  background: var(--color-navy-dark);
  border-radius: var(--radius);
  padding: 36px 40px;
  margin-top: 64px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.chem-rd-block .eyebrow { color: var(--color-navy-light); }
.chem-rd-block h3 { color: #fff; font-size: 1.2rem; margin-top: 8px; margin-bottom: 12px; }
.chem-rd-block p  { color: rgba(255,255,255,0.65); max-width: 58ch; font-size: 0.95rem; }

/* ═══════════════════════════════════════════════════════════
   SERVICE LIST — engineering.html
   ═══════════════════════════════════════════════════════════ */
.svc-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.svc-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  align-items: start;
  padding-block: 32px;
  border-top: 1px solid var(--color-border);
}
.svc-item:last-child { border-bottom: 1px solid var(--color-border); }
.svc-item__num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-navy);
  opacity: 0.25;
  line-height: 1;
  padding-top: 4px;
}
.svc-item__body h3 {
  color: var(--color-navy);
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.svc-item__body p {
  font-size: 0.95rem;
  max-width: none;
  color: var(--color-text-muted);
}

/* ═══════════════════════════════════════════════════════════
   DIVISION BANNER — inside operations / group pages
   ═══════════════════════════════════════════════════════════ */
.division-banner {
  background: var(--color-navy-dark);
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.division-banner__inner {
  display: flex;
  align-items: center;
  gap: 16px;
}
.division-banner__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-navy-light);
}
.division-banner__text {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  max-width: 60ch;
}
.division-banner__sep {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   CLAIM STRIP — dark band with centered quote
   ═══════════════════════════════════════════════════════════ */
.claim-strip {
  background: var(--color-navy);
  padding-block: clamp(64px, 9vw, 100px);
  text-align: center;
}
.claim-strip__text {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 400;
  color: rgba(255,255,255,0.92);
  line-height: 1.55;
  max-width: 72ch;
  margin-inline: auto;
  margin-bottom: 36px;
  letter-spacing: -0.02em;
}
.claim-strip .cta-arrow {
  color: #fff;
  justify-content: center;
}
.claim-strip .cta-arrow .cta-arrow__icon {
  background: rgba(255,255,255,0.2);
}
.claim-strip .cta-arrow:hover .cta-arrow__icon {
  background: var(--color-navy-light);
}

/* ═══════════════════════════════════════════════════════════
   UPDATED FOOTER — locations list
   ═══════════════════════════════════════════════════════════ */
.footer-locations {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.footer-loc-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}
.footer-loc-icon {
  width: 13px;
  height: 13px;
  fill: var(--color-navy-light);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-loc-entity {
  font-size: 10px;
  opacity: 0.55;
  font-style: italic;
}

/* ═══════════════════════════════════════════════════════════
   CORP CARD GRID — 4-up for company.html update
   ═══════════════════════════════════════════════════════════ */
.grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (min-width: 1024px) {
  .grid-2x2 { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

/* ═══════════════════════════════════════════════════════════
   SECTION — light cream for alternating bg
   ═══════════════════════════════════════════════════════════ */
.section--alt { background-color: var(--color-bg); }

/* ═══════════════════════════════════════════════════════════
   CHEMICALS — enhanced product cards (2-col grid, icon + body)
   ═══════════════════════════════════════════════════════════ */
.chem-products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 48px;
}
@media (min-width: 768px) {
  .chem-products-grid { grid-template-columns: 1fr 1fr; gap: 0 32px; }
}
.chem-product-card {
  display: flex;
  gap: 20px;
  padding-block: 32px;
  border-top: 1px solid var(--color-border);
  align-items: flex-start;
}
.chem-product-card:nth-last-child(-n+2) { /* last row */
  border-bottom: 1px solid var(--color-border);
}
@media (max-width: 767px) {
  .chem-product-card:last-child { border-bottom: 1px solid var(--color-border); }
}
.chem-product-card__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: var(--color-navy);
  margin-top: 2px;
}
.chem-product-card__icon svg { width: 100%; height: 100%; }
.chem-product-card__body { flex: 1; }
.chem-product-card__body h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 4px;
}
.chem-product-card__series {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 10px;
}
.chem-product-card__body p {
  font-size: 0.88rem;
  max-width: none;
  line-height: 1.7;
  color: var(--color-text-muted);
}
.chem-product-card__specs {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.chem-product-card__specs li {
  font-size: 0.8rem;
  color: var(--color-navy);
  padding-left: 16px;
  position: relative;
  font-weight: 600;
}
.chem-product-card__specs li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-red);
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════
   CHEMICALS — client references
   ═══════════════════════════════════════════════════════════ */
.chem-clients-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  justify-content: center;
  margin: 40px auto 20px;
  max-width: 860px;
}
.chem-client-item {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-navy-dark);
  letter-spacing: 0.01em;
  padding: 10px 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
}
.chem-clients-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 16px;
}

/* ═══════════════════════════════════════════════════════════
   SECTION-CENTERED utility (for non-section divs)
   ═══════════════════════════════════════════════════════════ */
div.section-centered { text-align: center; }
