/* ===== Reset / base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { overflow-x: clip; }
body:has(.offcanvas.show),
body.offcanvas-open { overflow: hidden !important; touch-action: none; }
html:has(.offcanvas.show) { overflow: hidden; }
body {
  margin: 0;
  font-family: 'Inter', 'BentonSans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #1a1a1a;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* Screen-reader only — visible solo a lectores accesibilidad/buscadores */
.sr-only {
  position: absolute;
  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;
  top: -100px;
  left: 8px;
  background: var(--yellow);
  color: #000;
  padding: 12px 20px;
  border-radius: 8px;
  z-index: 9999;
  font-weight: 700;
  transition: top .2s ease;
}
.skip-link:focus { top: 8px; }

:root {
  --navy: #244a75;
  --navy-dark: #002c4d;
  --yellow: #f7b937;
  --black: #313144;
  --input-bg: #eee7e5;
  --input-placeholder: #73777f;
  --container: 1280px;

  /* Bootstrap variable overrides */
  --bs-body-font-family: 'Inter', 'BentonSans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --bs-body-color: #1a1a1a;
  --bs-body-bg: #fff;
  --bs-primary: #244a75;
  --bs-primary-rgb: 36, 74, 117;
  --bs-link-color: #244a75;
  --bs-link-hover-color: #002c4d;
}

/* Neutralize Bootstrap .btn / .container defaults — keep our own visuals */
.btn {
  --bs-btn-padding-x: 28px;
  --bs-btn-padding-y: 14px;
  --bs-btn-border-radius: 100px;
  --bs-btn-border-color: transparent;
  --bs-btn-bg: transparent;
  --bs-btn-color: inherit;
  border: 0;
}
.btn:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 80px;
}
@media (max-width: 900px) { .container { padding-inline: 24px; } }

/* ===== Topbar (pill DENTRO del hero, no strip externo) ===== */
.hero__topbar {
  position: absolute;
  top: 31px; /* Figma topbar y=31 dentro del panel (que ahora es edge-to-edge) */
  inset-inline: 80px;
  max-width: var(--container);
  margin-inline: auto;
  height: 33px;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  z-index: 11;
  display: flex;
  align-items: center;
}
.topbar__inner {
  width: 100%;
  padding: 0 16px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  color: #fff;
}
.topbar__inner a { color: #fff; }
.topbar__links { display: flex; gap: 24px; }
.topbar__links a:hover { opacity: .85; }
.topbar__locale {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.topbar__locale img { width: 12px; height: 12px; filter: brightness(0) invert(1); }

/* ===== Header (pill DENTRO del hero) ===== */
.header {
  position: absolute;
  top: 71px; /* Figma header y=71 dentro del panel */
  inset-inline: 80px;
  max-width: var(--container);
  margin-inline: auto;
  z-index: 10;
}
.header__inner {
  width: 100%;
  background: #fff;
  border-radius: 12px;
  padding: 6px 6px 6px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.header__logo img { height: 62px; width: auto; }
.header__nav {
  display: flex;
  gap: 40px;
  align-items: center;
}
.header__nav a {
  font-size: 16px;
  color: #000;
  line-height: 1.2;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
.header__nav a.has-caret,
.header__nav-item.has-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.header__nav a:hover { color: var(--navy); }
.header__nav a.is-active { font-weight: 700; }

/* ===== Hamburger button (solo mobile) ===== */
.header__burger {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 50%;
}
.header__burger span {
  width: 22px;
  height: 2px;
  background: #000;
  border-radius: 2px;
  transition: transform .3s cubic-bezier(.22,.61,.36,1),
              opacity .25s ease;
}
.header__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Offcanvas mobile nav ===== */
.mobile-nav {
  background: var(--navy-dark);
  color: #fff;
  width: min(86vw, 380px) !important;
  padding: 24px 28px 32px;
}
.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.mobile-nav__logo {
  height: 48px;
  width: auto;
  background: #fff;
  border-radius: 8px;
  padding: 4px 8px;
}
.mobile-nav__close {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.mobile-nav__close:hover { background: rgba(255,255,255,.18); transform: rotate(90deg); }
.mobile-nav__close svg { width: 20px; height: 20px; }

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 16px;
}
.mobile-nav__list > a,
.mobile-nav__list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 12px;
  font-family: 'Inter', 'BentonSans', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, padding-left .2s ease;
  list-style: none;
}
.mobile-nav__list summary::-webkit-details-marker { display: none; }
.mobile-nav__list > a:hover,
.mobile-nav__list summary:hover {
  background: rgba(255,255,255,.06);
  padding-left: 18px;
}
.mobile-nav__list a.is-active {
  background: rgba(247,185,55,.12);
  color: var(--yellow);
}
.mobile-nav__list summary .caret {
  width: 16px;
  height: 16px;
  transition: transform .25s ease;
}
.mobile-nav__group[open] summary .caret { transform: rotate(180deg); }

.mobile-nav__group ul {
  list-style: none;
  margin: 4px 0 12px 0;
  padding: 4px 0 4px 16px;
  border-left: 2px solid rgba(247,185,55,.4);
}
.mobile-nav__group ul a {
  display: block;
  padding: 10px 12px;
  font-size: 15px;
  color: rgba(255,255,255,.78);
  border-radius: 8px;
  transition: background .2s ease, color .2s ease, padding-left .2s ease;
}
.mobile-nav__group ul a:hover {
  background: rgba(255,255,255,.06);
  color: #fff;
  padding-left: 16px;
}

.mobile-nav__cta {
  margin-top: 24px;
  text-align: center;
  display: block;
}

.mobile-nav__foot {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  align-items: center;
}
.mobile-nav__foot a { color: rgba(255,255,255,.78); }
.mobile-nav__foot a:hover { color: #fff; }
.mobile-nav__foot .mobile-nav__locale {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
}
.mobile-nav__foot .mobile-nav__locale img {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
}

/* Offcanvas backdrop más oscuro */
.offcanvas-backdrop.show { opacity: .65; }

/* Dropdown trigger button (Sectores) */
.header__nav-item.has-dropdown { position: relative; }
.header__nav .has-caret {
  background: none;
  border: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: inherit;
  color: #000;
  font-size: 16px;
  line-height: 1.2;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  position: relative;
}
.header__nav .has-caret .caret {
  width: 12px;
  height: 12px;
  transition: transform .25s ease;
}
.header__nav-item.is-open .caret,
.header__nav .has-caret[aria-expanded="true"] .caret {
  transform: rotate(180deg);
}
.header__nav .has-caret:hover { color: var(--navy); }

/* Dropdown panel + bridge invisible para mantener hover */
.header__nav .dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  margin: 0;
  list-style: none;
  box-shadow: 0 18px 40px -10px rgba(0, 44, 77, .25);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .25s cubic-bezier(.22,.61,.36,1), visibility 0s linear .2s;
  z-index: 50;
}
/* Bridge invisible: 18px arriba del panel → cubre el hueco trigger↔panel */
.header__nav .dropdown::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
  background: transparent;
}
/* Punta de la flecha del panel */
.header__nav .dropdown::after {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 2px;
}
.header__nav-item.has-dropdown:hover .dropdown,
.header__nav-item.has-dropdown:focus-within .dropdown,
.header__nav-item.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity .2s ease, transform .25s cubic-bezier(.22,.61,.36,1), visibility 0s linear 0s;
}
.header__nav .dropdown li { margin: 0; }
.header__nav .dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 15px;
  color: #000;
  border-radius: 8px;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, padding-left .2s ease;
}
.header__nav .dropdown a:hover,
.header__nav .dropdown a:focus-visible {
  background: var(--navy-dark);
  color: #fff;
  padding-left: 18px;
  outline: 0;
}
.header__nav .dropdown a.is-active {
  background: var(--navy-dark);
  color: #fff;
  font-weight: 700;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.28;
  border-radius: 100px;
  padding: 14px 28px;
  transition: filter .15s ease, transform .15s ease;
}
.btn:hover { filter: brightness(.95); }
.btn:active { transform: translateY(1px); }
.btn--yellow {
  background: var(--yellow);
  color: #000;
  /* Overrides Bootstrap vars que se aplican en :hover/:active */
  --bs-btn-bg: var(--yellow);
  --bs-btn-color: #000;
  --bs-btn-hover-bg: var(--yellow);
  --bs-btn-hover-color: #000;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-active-bg: var(--yellow);
  --bs-btn-active-color: #000;
  --bs-btn-active-border-color: transparent;
}
.btn--navy {
  background: var(--navy);
  color: #fff;
  padding: 16px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  --bs-btn-bg: var(--navy);
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: var(--navy);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-active-bg: var(--navy);
  --bs-btn-active-color: #fff;
  --bs-btn-active-border-color: transparent;
}
.btn--block  { width: 100%; border-radius: 58px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  color: #fff;
  padding: 286px 0 73px 0; /* Figma content "Content" 8:969 y=286 dentro del panel */
  min-height: 1024px;
  overflow: hidden;
  /* NO isolation aquí — encierra fixed children del topbar/header sticky */
}
.hero__bg {
  position: absolute;
  inset: 0;
  border-bottom-left-radius: 35px;
  border-bottom-right-radius: 35px;
  background-color: #94a3b8; /* fallback slate */
  background-image:
    linear-gradient(15deg, rgba(0,44,77,.82) 35%, rgba(255,255,255,.02) 109%),
    var(--hero-bg, linear-gradient(135deg, #c2d2e6 0%, #6f8cae 35%, #2f4f74 70%, #0e2540 100%));
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
}
.hero__container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 60px;
  display: grid;
  grid-template-columns: 1fr 604px;
  gap: 92px;
  align-items: start;
}
.hero__content { padding-top: 28px; max-width: 657px; }
.hero__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 53px;
  line-height: .97;
  letter-spacing: -2.12px;
  text-transform: uppercase;
  margin: 0 0 24px 0;
  color: #fff;
}
.hero__title--accent { color: inherit; display: block; }
.hero__lead {
  font-size: 20px;
  line-height: 1.5;
  margin: 0;
  color: #fff;
}

/* Hero form */
.hero__form {
  position: relative;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 33px;
  padding: 33px 33px 49px 33px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.25);
}
.hero__form-title {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px 0;
  line-height: 32px;
}
.hero__form-row { display: flex; gap: 28px; }
.hero__form-row > input { flex: 1; min-width: 0; }
.hero__form input,
.hero__form textarea {
  background: var(--input-bg);
  border: 0;
  border-radius: 9px;
  padding: 18px 16px;
  font-size: 16px;
  color: #000;
  font-family: inherit;
  width: 100%;
}
.hero__form textarea { resize: vertical; min-height: 108px; }
.hero__form input::placeholder,
.hero__form textarea::placeholder { color: var(--input-placeholder); }

/* Hero features bar */
.hero__features {
  position: relative;
  max-width: var(--container);
  margin: 91px auto 0 auto;
  padding-inline: 60px;
}
.hero__features-label {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.45px;
  text-transform: uppercase;
  color: rgba(255,255,255,.84);
  margin: 0 0 24px 0;
}
.hero__features-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
}
.hero__features-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #fff;
  white-space: nowrap;
}
.hero__features-list img { width: 24px; height: 24px; filter: brightness(0) invert(1); }

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  right: 70px;
  top: 766px;
  width: 48px;
  height: 111px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px 12px 8px;
  border-radius: 100px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(30px);
  box-shadow: inset 0 1px 4px rgba(255,255,255,.25);
  color: #fff;
}
.hero__scroll span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 16px;
  font-weight: 500;
}
.hero__scroll img { width: 32px; height: 32px; filter: brightness(0) invert(1); }

/* ===== Page header (banner corto para páginas interiores) =====
   Contiene topbar + header pill como en home, pero sin contenido hero.
   Solo título de página y intro corta. */
.page-header {
  position: relative;
  color: #fff;
  padding: 220px 0 80px;
  min-height: 360px;
  overflow-x: clip;
  overflow-y: visible;
}
.page-header__bg {
  position: absolute;
  inset: 0;
  border-bottom-left-radius: 35px;
  border-bottom-right-radius: 35px;
  background:
    linear-gradient(29deg, rgba(0,44,77,.55) 16%, rgba(0,44,77,.05) 101%),
    linear-gradient(135deg, #c2d2e6 0%, #6f8cae 35%, #2f4f74 70%, #0e2540 100%);
  z-index: -1;
}
.page-header__content {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 80px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.page-header__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin: 0;
}
.page-header__eyebrow .dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--yellow);
}
.page-header__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 64px;
  line-height: .97;
  letter-spacing: -2.4px;
  text-transform: uppercase;
  margin: 0;
  color: #fff;
  max-width: 900px;
}
.page-header__lead {
  font-size: 20px;
  line-height: 1.5;
  margin: 0;
  color: rgba(255,255,255,.92);
  max-width: 640px;
}
@media (max-width: 1100px) {
  .page-header { padding: 150px 0 56px; min-height: 280px; }
  .page-header__content { padding-inline: 24px; }
  .page-header__title { font-size: 44px; letter-spacing: -1.6px; }
}
@media (max-width: 600px) {
  .page-header__title { font-size: 32px; letter-spacing: -1px; }
  .page-header__lead { font-size: 16px; }
}

/* ===== Generic placeholder sections ===== */
.section { padding: 96px 0; }
.section--placeholder { background: #f6f6f6; border-top: 1px dashed #ddd; }
.section__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin: 16px 0 24px 0;
  text-transform: uppercase;
}
.section__lead { font-size: 18px; max-width: 480px; color: #555; }
.section__todo { color: #aa6; font-style: italic; margin-top: 32px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #333;
  margin: 0;
}
.eyebrow .dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--yellow);
  display: inline-block;
}

/* ===== Section header (eyebrow + title + lead)
   Grid 2-col × 2-row. Eyebrow row 1, título + lead row 2 → mismo nivel. */
.section-head {
  display: grid;
  grid-template-columns: 1fr 364px;
  grid-template-rows: auto auto;
  column-gap: 64px;
  row-gap: 24px;
  margin-bottom: 64px;
}
/* Intro como contents → eyebrow y h2 pasan a ser hijos directos del grid */
.section-head__intro { display: contents; }
.section-head > .eyebrow { grid-column: 1; grid-row: 1; }
.section-head__intro > .eyebrow { grid-column: 1; grid-row: 1; }
.section-head__intro > .section-head__title { grid-column: 1; grid-row: 2; align-self: start; max-width: 751px; }
.section-head__lead { grid-column: 2; grid-row: 2; align-self: start; }
.section-head__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 57px;
  line-height: .97;
  letter-spacing: -2.28px;
  text-transform: uppercase;
  margin: 0;
  color: #000;
}
.section-head__lead {
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -.4px;
  color: #000;
  margin: 0;
}
@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .section-head__title { font-size: 38px; letter-spacing: -1.2px; }
  .section-head > .eyebrow,
  .section-head__intro > .eyebrow,
  .section-head__intro > .section-head__title,
  .section-head__lead { grid-column: 1; grid-row: auto; max-width: 100%; }
}

/* ===== Sectores ===== */
.sectores { padding: 112px 0; background: #fff; }
.sectores__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 23px;
}
.card-sector {
  position: relative;
  display: block;
  aspect-ratio: 303 / 246;
  padding: 29px 28px;
  color: #000;
  background: transparent;
  isolation: isolate; /* contiene z-index negativo del pseudo */
}
/* Forma notched gestionada por pseudo bajo el contenido. */
.card-sector::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: #e6e6e6;
  -webkit-mask: url('../assets/card-shape.svg') no-repeat center / 100% 100%;
          mask: url('../assets/card-shape.svg') no-repeat center / 100% 100%;
  transition: background-color .45s cubic-bezier(.22,.61,.36,1);
  z-index: -1;
}
.card-sector:hover::before { background-color: var(--navy-dark); }
.card-sector:hover { color: #fff; }
.card-sector:hover h3 { color: #fff; }
.card-sector:hover .card-sector__icon { filter: brightness(0) invert(1); }
.card-sector__icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.card-sector__icon-fallback {
  display: inline-block;
  width: 56px;
  height: 56px;
  font-size: 40px;
  line-height: 56px;
  text-align: center;
}
.card-sector h3 {
  position: absolute;
  left: 28px;
  right: 80px;
  bottom: 32px;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -1.2px;
  color: #000;
}
.card-sector__arrow {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(0, 44, 77, .12);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(0, 44, 77, .22);
  z-index: 3; /* sobre ::before mask y sobre cualquier hijo */
}
.card-sector__arrow img { width: 28px; height: 28px; }
/* Mobile/tablet: convertir grid en slider scroll-snap horizontal */
@media (max-width: 900px) {
  .sectores__grid {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Bleed lateral hasta borde de viewport para mejor swipe edge */
    margin-inline: -24px;
    padding-inline: 24px;
    /* Hueco vertical para que el arrow del notch no se corte */
    padding-block: 16px 8px;
    margin-block: -16px -8px;
  }
  .sectores__grid::-webkit-scrollbar { display: none; }
  .sectores__grid .card-sector {
    scroll-snap-align: start;
    flex: 0 0 75%;
    max-width: 280px;
  }
}
@media (max-width: 480px) {
  .sectores__grid .card-sector { flex: 0 0 82%; }
}

/* ===== Servicios (slider) ===== */
.servicios { padding: 96px 0; background: #fff; }

.servicios__slider {
  position: relative;
}
.servicios__track {
  display: flex;
  gap: 23px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Hueco arriba para que el badge arrow del notch (top:-8) no se corte */
  padding: 16px 0 8px;
  margin-block: -16px -8px;
}
.servicios__track::-webkit-scrollbar { display: none; }
.servicios__track .card-service {
  scroll-snap-align: start;
  flex: 0 0 calc((100% - 23px * 3) / 4); /* 4 cards per view on desktop */
  aspect-ratio: 303 / 287;
}

/* Arrow controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy-dark);
  color: #fff;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 6px 18px rgba(0, 44, 77, .35);
  transition: background .25s ease, transform .15s ease, opacity .25s ease;
}
.slider-arrow:hover { background: var(--navy); transform: translateY(-50%) scale(1.08); }
.slider-arrow:active { transform: translateY(-50%) scale(.95); }
.slider-arrow:disabled { opacity: .35; cursor: not-allowed; transform: translateY(-50%) scale(1); }
.slider-arrow svg { width: 22px; height: 22px; }
.slider-arrow--prev { left: -56px; }
.slider-arrow--next { right: -56px; }

@media (max-width: 1100px) {
  .servicios__track .card-service { flex: 0 0 calc((100% - 23px) / 2); }
}
@media (max-width: 900px) {
  .servicios__track .card-service {
    flex: 0 0 75%;
    max-width: 280px;
    padding: 28px 24px;
  }
  .card-service h3 { font-size: 22px; letter-spacing: -1.1px; }
  .card-service p { font-size: 14px; line-height: 1.4; }
  .card-service .card-sector__arrow { top: -10px; right: -4px; width: 56px; height: 56px; }
  .card-service .card-sector__arrow img { width: 24px; height: 24px; }
  .slider-arrow { display: none; }
  .servicios__track {
    margin-inline: -24px;
    padding-inline: 24px;
    scroll-padding-inline: 24px;
    gap: 16px;
  }
}
@media (max-width: 480px) {
  .servicios__track .card-service { flex: 0 0 82%; }
}
.card-service {
  position: relative;
  display: block;
  aspect-ratio: 303 / 287;
  padding: 40px 32px;
  color: #282828;
  background: transparent;
  isolation: isolate;
  container-type: inline-size;
  container-name: card-service;
  transition: color .35s cubic-bezier(.22,.61,.36,1),
              transform .3s cubic-bezier(.22,.61,.36,1);
}
.card-service::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: #e6e6e6;
  -webkit-mask: url('../assets/card-shape.svg') no-repeat center / 100% 100%;
          mask: url('../assets/card-shape.svg') no-repeat center / 100% 100%;
  transition: background-color .45s cubic-bezier(.22,.61,.36,1);
  z-index: -1;
}
.card-service:hover {
  transform: translateY(-6px);
  color: #fff;
}
.card-service:hover::before { background-color: var(--navy-dark); }
.card-service:hover h3 { color: #fff; }
.card-service:hover p { color: rgba(255,255,255,.85); }
.card-service:hover .card-sector__arrow {
  background: var(--yellow);
}
.card-service h3 {
  font-family: 'Inter', 'BentonSans', sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -1.5px;
  margin: 0 0 12px 0;
  color: #282828;
}
.card-service p {
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -.3px;
  margin: 0;
  color: #555;
}
/* Misma posición que sectores: dentro del notch top-right.
   `position: absolute` se re-declara aquí porque `.card-service > *`
   tiene misma specificity y carga después → forzaba relative. */
.card-service .card-sector__arrow {
  position: absolute;
  top: -8px;
  right: -8px;
  z-index: 3;
}
.section-head__title--caps { text-transform: none; font-size: 48px; letter-spacing: -1.9px; }

/* ===== About / World Map ===== */
.about { padding: 96px 0; background: #fff; }
.about__panel {
  position: relative;
  height: 700px;
  border-radius: 24px;
  overflow: hidden;
  background: url('../assets/world-map.png') center / cover #0a2a44;
  color: #fff;
}
.about__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.32);
}
.about__stats {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 123px;
}
.about__stat { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.about__num {
  font-family: 'Inter', 'BentonSans', sans-serif;
  font-weight: 800;
  font-size: 105px;
  line-height: 1.1;
  letter-spacing: -3.15px;
  text-transform: uppercase;
  margin: 0;
  color: #fff;
}
.about__label {
  font-size: 27px;
  line-height: 1.5;
  color: rgba(255,255,255,.8);
  margin: 0;
}
.about__note {
  position: absolute;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 12px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #f7b937;
  font-weight: 700;
  opacity: .6;
}
@media (max-width: 900px) {
  .about__stats { flex-direction: column; gap: 32px; }
  .about__num { font-size: 64px; letter-spacing: -2px; }
  .about__label { font-size: 18px; }
  .about__panel { height: 600px; }
}

/* ===== Diferencia ===== */
.diferencia { padding: 96px 0; background: #fff; }
.diferencia .section-head {
  display: grid;
  grid-template-columns: 751fr 462fr;
  grid-template-rows: auto;
  column-gap: clamp(32px, 6vw, 83px);
  align-items: center;
  margin-bottom: 0;
}
/* Override intro a flex column en diferencia (no contents) */
.diferencia .section-head__intro {
  display: flex;
  flex-direction: column;
  gap: 42px;
  min-width: 0;
}
.diferencia .section-head__intro > .eyebrow,
.diferencia .section-head__intro > .section-head__title { grid-column: auto; grid-row: auto; }
.diferencia .section-head__title { font-size: 57px; letter-spacing: -2.28px; line-height: .97; }
.diferencia .section-head__lead {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -.4px;
  color: #000;
}
@media (max-width: 1100px) {
  .diferencia .section-head { grid-template-columns: 1fr; row-gap: 32px; }
  .diferencia .section-head__title { font-size: 38px; letter-spacing: -1.2px; }
  .diferencia .section-head__lead { grid-column: 1; grid-row: auto; max-width: 100%; }
}

/* ===== How it works ===== */
.how { padding: 64px 0 96px; background: #fff; }
.how__grid {
  display: grid;
  grid-template-columns: 609fr 591fr;
  gap: 80px;
  align-items: stretch;
}
.how__image {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #ddd;
  height: 544px;
}
.how__image img { width: 100%; height: 100%; object-fit: cover; }

.how__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.how__step {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.how__step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
}
.how__step-icon img { width: 100%; height: 100%; object-fit: contain; }
.how__step-icon svg { width: 100%; height: 100%; color: var(--navy-dark); }
.how__step-icon--badge {
  background: var(--navy-dark);
  border-radius: 50%;
  padding: 14px;
  width: 52px;
  height: 52px;
  box-sizing: border-box;
}
.how__step-icon--badge img {
  width: 100%;
  height: 100%;
  filter: brightness(0) invert(1);
  object-fit: contain;
}
.how__step-icon--badge svg {
  width: 100%;
  height: 100%;
  color: #fff;
  display: block;
}
.how__step-title {
  font-family: 'Inter', 'BentonSans', sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.3;
  margin: 8px 0 0 0;
  color: rgba(0,0,0,.85);
}
.how__step-desc {
  font-size: 18px;
  line-height: 1.5;
  color: rgba(0,0,0,.6);
  margin: 0;
  max-width: 454px;
}

.how__cta-wrap { display: flex; justify-content: center; margin-top: 48px; }

@media (max-width: 900px) {
  .how__grid { grid-template-columns: 1fr; gap: 32px; }
  .how__image { height: 320px; }
}

/* ===== Quality seals ===== */
.seals {
  background: #e6e6e6;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  padding: 49px 0;
}
.seals__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 80px;
  display: flex;
  gap: 164px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.seals__item img { height: 173px; width: auto; object-fit: contain; }
.seals__item--text {
  background: var(--navy-dark);
  color: rgba(255,255,255,.85);
  width: 178px;
  height: 178px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  font-family: 'Inter', 'BentonSans', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
}

/* ===== DUPLA CORE ===== */
.core {
  padding: 96px 0 112px;
  background: linear-gradient(180deg, #fff 0%, #f6f6f6 100%);
}
.core__head {
  display: grid;
  grid-template-columns: 1fr 478px;
  grid-template-rows: auto auto;
  column-gap: 64px;
  row-gap: 20px;
  align-items: end;
  margin-bottom: 64px;
}
.core__logo {
  grid-column: 1;
  grid-row: 1;
  width: 140px;
  height: auto;
  position: static;
  margin: 0;
}
.core__title {
  grid-column: 1;
  grid-row: 2;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 57px;
  line-height: .97;
  letter-spacing: -2.28px;
  text-transform: uppercase;
  margin: 0;
  color: #000;
}
.core__lead {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: end;
  font-size: 18px;
  line-height: 1.4;
  color: #333;
  margin: 0;
  letter-spacing: -.3px;
}

.core__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.core-card {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 30px;
  min-height: 260px;
  box-shadow: 0 4px 4px rgba(0,0,0,.06);
  color: #000;
  cursor: pointer;
  transition: background-color .4s cubic-bezier(.22,.61,.36,1),
              color .4s cubic-bezier(.22,.61,.36,1),
              transform .35s cubic-bezier(.22,.61,.36,1),
              box-shadow .35s ease;
}
.core-card:hover {
  background: var(--navy-dark);
  color: #fff;
  transform: translateY(-6px);
  box-shadow: 0 22px 44px -16px rgba(0, 44, 77, .45);
}
.core-card:hover h3 { color: #fff; }
.core-card:hover p { color: rgba(255, 255, 255, .9); }
/* Variant "navy" inicial (Card 1 destacada): inversa al hover */
.core-card--navy {
  background: var(--navy-dark);
  color: #fff;
}
.core-card--navy h3 { color: #fff; }
.core-card--navy p { color: rgba(255, 255, 255, .9); }
.core-card--navy:hover {
  background: #fff;
  color: #000;
}
.core-card--navy:hover h3 { color: #000; }
.core-card--navy:hover p { color: rgba(0, 0, 0, .75); }
.core-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--navy-dark);
  margin-bottom: 24px;
  transition: background-color .4s cubic-bezier(.22,.61,.36,1);
}
.core-card__icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter .4s cubic-bezier(.22,.61,.36,1);
}
.core-card:hover .core-card__icon { background: #fff; }
.core-card:hover .core-card__icon img { filter: none; }
/* Variant navy default: icon blanco con icono oscuro inverso */
.core-card--navy .core-card__icon { background: #fff; }
.core-card--navy .core-card__icon img { filter: none; }
.core-card--navy:hover .core-card__icon { background: var(--navy-dark); }
.core-card--navy:hover .core-card__icon img { filter: brightness(0) invert(1); }
.core-card h3 {
  font-family: 'Inter', 'BentonSans', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.24;
  margin: 0 0 16px 0;
  color: inherit;
}
.core-card p { font-size: 16px; line-height: 1.5; margin: 0; color: inherit; opacity: .9; max-width: 320px; }

.core__cta { display: flex; justify-content: center; margin-top: 56px; }

@media (max-width: 900px) {
  .core__head { grid-template-columns: 1fr; grid-template-rows: auto auto auto; gap: 16px; }
  .core__lead { grid-column: 1; grid-row: 3; align-self: start; }
  .core__logo { width: 120px; }
  .core__cards { grid-template-columns: 1fr; }
  .seals__inner { gap: 32px; padding-inline: 24px; }
}

/* ===== News (Actualidad) ===== */
.news { padding: 96px 0; background: #e6e6e6; }
.news__grid {
  display: grid;
  grid-template-columns: 664fr 413fr 413fr;
  gap: 24px;
}
.news-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--navy-dark);
  color: #fff;
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 484px;
}
.news-card__cat {
  align-self: flex-start;
  background: rgba(255,255,255,.42);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -.2px;
  padding: 4px 14px;
  border-radius: 59px;
  text-transform: uppercase;
}
.news-card h3 {
  font-family: 'Inter', 'BentonSans', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 0;
  color: #fff;
}
.news-card p { font-size: 16px; line-height: 1.4; color: #ebebeb; margin: 0; }
.news-card .btn--white {
  background: #fff;
  color: var(--navy-dark);
  padding: 12px 22px;
  align-self: flex-start;
  margin-top: auto;
}
.news-card__media {
  margin: 0 0 8px 0;
  border-radius: 24px;
  overflow: hidden;
  background: #cdcdcd;
  height: 185px;
}
.news-card__media img { width: 100%; height: 100%; object-fit: cover; }

.news-card--featured {
  position: relative;
  padding: 51px 65px 65px;
  grid-row: span 1;
}
.news-card--featured h3 {
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -2px;
  max-width: 567px;
}
.news-card--featured p { font-size: 18px; max-width: 567px; }
.news-card--featured .btn--white {
  margin-top: 24px;
}
.news-card__arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,.1);
  width: 56px;
  height: 56px;
}
.news-card__arrow img { filter: brightness(0) invert(1); }
.news-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .35;
  pointer-events: none;
  z-index: 0;
}
.news-card--featured > *:not(.news-card__bg) { position: relative; z-index: 1; }

@media (max-width: 1100px) {
  .news__grid { grid-template-columns: 1fr 1fr; }
  .news-card--featured { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .news__grid { grid-template-columns: 1fr; }
  .news-card--featured { padding: 32px; }
  .news-card--featured h3 { font-size: 28px; }
}

/* ===== Footer ===== */
.footer {
  background: var(--navy-dark);
  color: #fff;
  border-radius: 33px 33px 0 0;
  padding: 96px 80px;
  margin-top: 0;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 64px;
}
.footer__brand { display: flex; flex-direction: column; gap: 48px; }
.footer__logo { width: 263px; height: auto; }
.footer__heading {
  font-family: 'Inter', 'BentonSans', sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -1.5px;
  color: #fff;
  margin: 0;
}
.footer__card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 41px 41px 56px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer__contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer__contact li {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 18px;
  line-height: 1.4;
  color: #fff;
}
.footer__contact img { width: 22px; height: 22px; flex-shrink: 0; filter: brightness(0) invert(1); }
.footer__contact a { color: inherit; }
.footer__contact a:hover { text-decoration: underline; }

.footer__card-foot {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer__cardbrand {
  font-family: 'Inter', 'BentonSans', sans-serif;
  font-weight: 700;
  font-size: 22px;
  margin: 0;
}
.footer__copy { color: #94a3b8; font-size: 14px; margin: 0; }

.footer__links {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 46px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.footer__links h4 {
  font-family: 'Inter', 'BentonSans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin: 0 0 24px 0;
  color: #fff;
}
.footer__links ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.footer__links a { color: #cbd5e1; font-size: 14px; line-height: 1.4; }
.footer__links a:hover { color: #fff; }

@media (max-width: 900px) {
  .footer { padding: 64px 24px; }
  .footer__top { grid-template-columns: 1fr; gap: 40px; margin-bottom: 48px; }
  .footer__heading { font-size: 32px; letter-spacing: -1px; }
  .footer__links { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 480px) {
  .footer__links { grid-template-columns: 1fr; }
}

/* Hide placeholder helper class once unused */
.section--placeholder { display: none; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .hero__container { grid-template-columns: 1fr; gap: 48px; padding-inline: 32px; }
  .hero__form { max-width: 604px; }
  .hero__title { font-size: 40px; letter-spacing: -1.4px; }
  .hero__scroll { display: none; }
  .hero__topbar { top: 16px; inset-inline: 16px; max-width: none; }
  .header { top: 56px; inset-inline: 16px; max-width: none; }
  .header__inner { padding: 6px 8px 6px 12px; }
  .header__nav { display: none; }
  .header__burger { display: inline-flex; }
  .topbar__inner { padding: 0 12px; gap: 16px; font-size: 12px; }
  .hero { padding-top: 180px; min-height: 0; }
  .hero__features { margin-top: 56px; padding-inline: 32px; }
  .hero__features-list { gap: 24px 32px; }
}
@media (max-width: 600px) {
  .hero__form-row { flex-direction: column; gap: 16px; }
  .hero__title { font-size: 32px; }
  .section__title { font-size: 32px; }
  .header__cta { padding: 10px 18px; font-size: 14px; }
}
@media (max-width: 420px) {
  /* Pantallas muy pequeñas: ocultar CTA del header — queda dentro del menú */
  .header__cta { display: none; }
}

/* ============================================
   PAGE: CONTACTO
   ============================================ */

/* Variante banner más corto */
.page-header--compact {
  padding-top: 200px;
  padding-bottom: 56px;
  min-height: 300px;
}
.page-header__crumb {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.28;
  letter-spacing: -.5px;
  text-transform: uppercase;
  color: var(--navy-dark);
}
.page-header__crumb .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--yellow);
}
@media (max-width: 600px) {
  .page-header__crumb { font-size: 24px; }
}

/* Intro de la página */
.contacto-intro { padding: 80px 0 32px; background: #fff; }
.contacto-intro .section-head { margin-bottom: 0; }
.contacto-intro .section-head__title { font-size: 57px; letter-spacing: -2.28px; }
@media (max-width: 900px) {
  .contacto-intro .section-head__title { font-size: 38px; letter-spacing: -1.2px; }
}

/* Grid form + aside */
.contacto-grid { padding: 32px 0 96px; background: #fff; }
.contacto__layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) {
  .contacto__layout { grid-template-columns: 1fr; gap: 32px; }
}

/* Formulario */
.contacto-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contacto-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.contacto-form .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contacto-form label {
  font-family: 'Inter', 'BentonSans', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .46px;
  text-transform: uppercase;
  color: #1e2022;
}
.contacto-form input[type="text"],
.contacto-form input[type="email"],
.contacto-form input[type="tel"],
.contacto-form textarea {
  background: #fff;
  border: 1px solid #d5dae2;
  border-radius: 4px;
  padding: 13px 17px;
  font: inherit;
  font-size: 14px;
  color: #1e2022;
  width: 100%;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.contacto-form input::placeholder,
.contacto-form textarea::placeholder { color: #99a2aa; }
.contacto-form input:focus,
.contacto-form textarea:focus {
  outline: 0;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(36, 74, 117, .12);
}
.contacto-form textarea { resize: vertical; min-height: 100px; }

.contacto-form__file { display: flex; flex-direction: column; gap: 12px; }
.contacto-form__file-label {
  font-size: 14px;
  color: #99a2aa;
  margin: 0;
}
.contacto-form__file-row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.contacto-form__file-btn {
  cursor: pointer;
  font-size: 12px;
  padding: 8px 20px;
  height: auto;
}
.contacto-form__file-name {
  font-size: 14px;
  color: #99a2aa;
}

.contacto-form__consent {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14px;
  color: #5b6066;
  cursor: pointer;
}
.contacto-form__consent input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  border: 1px solid #d5dae2;
  border-radius: 4px;
  accent-color: var(--yellow);
}
.contacto-form__consent a {
  color: var(--yellow);
  text-decoration: underline;
  font-weight: 700;
}

.contacto-form__submit {
  align-self: flex-start;
  font-size: 16px;
  padding: 12px 28px;
}

/* Aside info + mapa */
.contacto-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contacto-info {
  background: #e6e6e6;
  border-radius: 18px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 2;
  margin-bottom: -120px;
  margin-inline: 32px;
}
.contacto-info ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contacto-info li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: 16px;
  line-height: 1.4;
  color: #000;
}
.contacto-info li img { width: 20px; height: 20px; opacity: .85; }
.contacto-info a { color: inherit; }
.contacto-info a:hover { color: var(--navy); text-decoration: underline; }

.contacto-map {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 48px rgba(0, 0, 0, .06);
  background: #ddd;
  aspect-ratio: 674 / 462;
  position: relative;
}
.contacto-map iframe {
  border: 0;
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 900px) {
  .contacto-info { margin-bottom: 24px; margin-inline: 0; }
  .contacto-map { aspect-ratio: 4 / 3; }
  .contacto-form__row { grid-template-columns: 1fr; gap: 16px; }
}

/* ===== Team strip (slider scroll-snap horizontal con lightbox) ===== */
.contacto-team { padding: 64px 0 96px; background: #fff; overflow: hidden; }
.contacto-team__track {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-inline: clamp(16px, 8vw, 139px);
  cursor: grab;
  user-select: none;
}
.contacto-team__track.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.contacto-team__track.is-dragging img { pointer-events: none; }
.contacto-team__track::-webkit-scrollbar { display: none; }

.contacto-team__item {
  position: relative;
  margin: 0;
  flex: 0 0 calc((100% - clamp(32px, 16vw, 278px) - 10px) / 3);
  aspect-ratio: 497 / 335;
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
  background: #ddd;
  /* Bordes redondeados aplicados via JS o por posición — uso :first/:last */
}
.contacto-team__item:first-child { border-top-left-radius: 20px; border-bottom-left-radius: 20px; }
.contacto-team__item:last-child  { border-top-right-radius: 20px; border-bottom-right-radius: 20px; }

.contacto-team__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.22,.61,.36,1),
              filter .4s ease;
}
.contacto-team__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0,44,77,0) 30%, rgba(0,44,77,.55) 100%);
  opacity: 0;
  transition: opacity .35s ease;
  color: #fff;
  pointer-events: none;
}
.contacto-team__overlay svg {
  width: 48px;
  height: 48px;
  padding: 12px;
  border-radius: 50%;
  background: rgba(247, 185, 55, .92);
  color: #002c4d;
  transform: translateY(8px);
  transition: transform .35s cubic-bezier(.22,.61,.36,1);
}
.contacto-team__item:hover img,
.contacto-team__item:focus-visible img {
  transform: scale(1.08);
  filter: brightness(.85);
}
.contacto-team__item:hover .contacto-team__overlay,
.contacto-team__item:focus-visible .contacto-team__overlay {
  opacity: 1;
}
.contacto-team__item:hover .contacto-team__overlay svg,
.contacto-team__item:focus-visible .contacto-team__overlay svg {
  transform: translateY(0);
}
.contacto-team__item:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

@media (max-width: 900px) {
  .contacto-team__item { flex: 0 0 60%; max-width: 420px; }
}
@media (max-width: 600px) {
  .contacto-team__item { flex: 0 0 82%; }
  .contacto-team__item:first-child,
  .contacto-team__item:last-child { border-radius: 16px; }
  .contacto-team__track { padding-inline: 24px; }
}

/* ===== Lightbox (Bootstrap modal override estilo brand) ===== */
.gallery-modal .modal-content {
  background: transparent;
  border: 0;
  position: relative;
}
.gallery-modal .modal-dialog {
  max-width: min(94vw, 1280px);
  margin: 16px auto;
}
.gallery-modal__close {
  position: absolute;
  top: -56px;
  right: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  color: #fff;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background .25s ease, transform .25s ease;
}
.gallery-modal__close:hover {
  background: rgba(255,255,255,.35);
  transform: rotate(90deg);
}
.gallery-modal__close svg { width: 20px; height: 20px; }

.gallery-modal__carousel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #0a1a2e;
}
.gallery-modal__carousel .carousel-item img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.gallery-modal__carousel .carousel-control-prev,
.gallery-modal__carousel .carousel-control-next {
  width: 64px;
  height: 64px;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  background: rgba(0,44,77,.6);
  border-radius: 50%;
  margin: 0 16px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 1;
  transition: background .25s ease, transform .2s ease;
}
.gallery-modal__carousel .carousel-control-prev { left: 0; }
.gallery-modal__carousel .carousel-control-next { right: 0; }
.gallery-modal__carousel .carousel-control-prev:hover,
.gallery-modal__carousel .carousel-control-next:hover {
  background: rgba(247, 185, 55, .95);
  color: #002c4d;
}
.gallery-modal__carousel .carousel-control-prev:active,
.gallery-modal__carousel .carousel-control-next:active { transform: translateY(-50%) scale(.94); }
.gallery-modal__carousel .carousel-control-prev svg,
.gallery-modal__carousel .carousel-control-next svg { width: 24px; height: 24px; }
.gallery-modal__carousel .carousel-control-prev-icon,
.gallery-modal__carousel .carousel-control-next-icon { display: none; }

.gallery-modal__counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,44,77,.7);
  color: #fff;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0;
  z-index: 5;
}

@media (max-width: 600px) {
  .gallery-modal__carousel .carousel-control-prev,
  .gallery-modal__carousel .carousel-control-next {
    width: 44px; height: 44px; margin: 0 8px;
  }
  .gallery-modal__close { top: -48px; }
}

/* ============================================
   PAGE: ACCESO
   ============================================ */
.acceso { padding: 80px 0 112px; background: #fff; }
.acceso__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

.acceso-card {
  position: relative;
  background: #E8E8E8;
  color: #000;
  border-radius: 24px;
  padding: 30px;
  min-height: 443px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
  box-shadow: 0 4px 4px rgba(0,0,0,.06);
  transition: transform .35s cubic-bezier(.22,.61,.36,1),
              box-shadow .35s ease;
}
.acceso-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -12px rgba(0, 44, 77, .25);
}
.acceso-card--navy {
  background: var(--navy-dark);
  color: #fff;
}
.acceso-card--navy .acceso-card__title,
.acceso-card--navy .acceso-card__lead { color: #fff; }

/* Icono circular — mismo patrón que core-card (home) */
.acceso-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--navy-dark);
}
.acceso-card__icon svg { width: 100%; height: 100%; }
.acceso-card__icon img { width: 100%; height: 100%; object-fit: contain; }
.acceso-card--navy .acceso-card__icon { color: #fff; }
.acceso-card--navy .acceso-card__icon img { filter: brightness(0) invert(1); }

/* Tipografía */
.acceso-card__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -1.68px;
  margin: 0;
  text-transform: none;
}
.acceso-card__lead {
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -1.08px;
  margin: 0;
}

/* CTA dentro de card */
.acceso-card__cta {
  margin-top: auto;
  font-size: 16px;
  padding: 12px 24px;
  align-self: center;
}
.acceso-card__cta--wide { width: 100%; max-width: 200px; }

/* Card form (Card 3) */
.acceso-card--form { justify-content: flex-start; }
.acceso-card__form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 13px;
  text-align: left;
}
.acceso-card__form .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.acceso-card__form label {
  font-family: 'Inter', 'BentonSans', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .46px;
  text-transform: uppercase;
  color: #1e2022;
  transition: color .35s ease;
}
.acceso-card__form input {
  background: #fff;
  border: 1px solid #d5dae2;
  border-radius: 4px;
  padding: 13px 17px;
  font: inherit;
  font-size: 14px;
  color: #1e2022;
  width: 100%;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.acceso-card__form input:focus {
  outline: 0;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(36, 74, 117, .12);
}

@media (max-width: 900px) {
  .acceso__grid { grid-template-columns: 1fr; gap: 24px; }
  .acceso-card { min-height: auto; padding: 28px; }
  .acceso-card__title { font-size: 22px; letter-spacing: -1px; }
  .acceso-card__lead { font-size: 16px; letter-spacing: -.5px; }
}

/* ============================================
   PAGE: CERTIFICACIONES
   ============================================ */
.cert-intro { padding: 64px 0 24px; background: #fff; }
.cert-intro .section-head { margin-bottom: 0; }
.cert-intro .section-head__title { font-size: 57px; letter-spacing: -2.28px; }
@media (max-width: 900px) {
  .cert-intro .section-head__title { font-size: 38px; letter-spacing: -1.2px; }
}

/* Seals variant — gris extendido para que misión card se meta dentro */
.seals--cert { padding: 96px 0 240px; }

/* Misión card — overlap parcial sobre el gris (negativo blanco sobre gris) */
.cert-mission {
  padding: 0 0 96px;
  background: transparent;
  margin-top: -200px;
  position: relative;
  z-index: 2;
}
@media (max-width: 900px) {
  .seals--cert { padding: 64px 0 180px; }
  .cert-mission { margin-top: -150px; }
}
.cert-mission__card {
  background: #fff;
  border-radius: 18px;
  padding: 64px 80px;
  box-shadow: 0 4px 48.8px rgba(0, 0, 0, .15);
  text-align: center;
}
.cert-mission__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 57px;
  line-height: .97;
  letter-spacing: -2.28px;
  text-transform: uppercase;
  margin: 0 0 16px 0;
  color: #000;
}
.cert-mission__lead {
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -.4px;
  color: #000;
  margin: 0;
  max-width: 991px;
  margin-inline: auto;
}
@media (max-width: 900px) {
  .cert-mission__card { padding: 40px 28px; }
  .cert-mission__title { font-size: 36px; letter-spacing: -1.4px; }
  .cert-mission__lead { font-size: 16px; }
}

/* Compromisos lista */
.cert-commitments { padding: 32px 0 96px; background: #fff; }
.cert-commitments__title {
  font-family: 'BankGothic', 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.4;
  letter-spacing: -.5px;
  color: #000;
  margin: 0 0 32px 0;
  text-transform: uppercase;
}
.cert-commitments__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cert-commitments__list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 20px;
  align-items: start;
  font-size: 18px;
  line-height: 1.5;
  color: #1a1a1a;
  letter-spacing: -.2px;
}
.cert-commitments__list img {
  width: 22px;
  height: 22px;
  aspect-ratio: 22 / 21;
  object-fit: contain;
  margin-top: 6px;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .cert-commitments__title { font-size: 22px; }
  .cert-commitments__list li { font-size: 16px; gap: 14px; }
}

/* Cómo trabajamos (slider 4 cards notched, mismo patrón que home servicios) */
.cert-how { padding: 64px 0 96px; background: #fff; }
.cert-how__slider { position: relative; }
.cert-how__track {
  display: flex;
  gap: 23px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 16px 0 8px;
  margin-block: -16px -8px;
}
.cert-how__track::-webkit-scrollbar { display: none; }
.cert-how__track .card-service {
  scroll-snap-align: start;
  flex: 0 0 calc((100% - 23px * 3) / 4); /* 4 cards desktop */
  aspect-ratio: 302 / 312;
  padding: 36px 28px;
}
.card-service__icon {
  width: 58px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 32px;
}
/* Hover navy de cert cards invierte iconos a blanco */
.cert-how .card-service:hover .card-service__icon { filter: brightness(0) invert(1); }

@media (max-width: 1100px) {
  .cert-how__track .card-service { flex: 0 0 calc((100% - 23px) / 2); }
}
@media (max-width: 900px) {
  .cert-how__track .card-service {
    flex: 0 0 75%;
    max-width: 280px;
    padding: 28px 24px;
  }
  .cert-how .card-service h3 { font-size: 22px; letter-spacing: -1.1px; }
  .cert-how .card-service p { font-size: 14px; line-height: 1.4; }
  .cert-how .card-service .card-sector__arrow { top: -10px; right: -4px; width: 56px; height: 56px; }
  .cert-how .card-service .card-sector__arrow img { width: 24px; height: 24px; }
  .cert-how__slider .slider-arrow { display: none; }
  .cert-how__track {
    margin-inline: -24px;
    padding-inline: 24px;
    scroll-padding-inline: 24px;
    gap: 16px;
  }
}
@media (max-width: 480px) {
  .cert-how__track .card-service { flex: 0 0 82%; }
}

/* CTA form bloque inferior */
.cert-cta {
  padding: 84px 0 96px;
  background: linear-gradient(180deg, rgba(231,231,231,0) 0%, #e6e6e6 100%);
}
.cert-cta__card {
  background: #fff;
  border-radius: 24px;
  padding: 56px 80px;
  box-shadow: 0 4px 46.75px rgba(0, 0, 0, .15);
  display: grid;
  grid-template-columns: 1fr 584px;
  gap: 24px;
  align-items: center;
}
.cert-cta__text {
  display: flex;
  flex-direction: column;
  gap: 22px;
  color: var(--navy-dark);
  max-width: 508px;
}
.cert-cta__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 39px;
  line-height: 1.1;
  letter-spacing: -1.17px;
  text-transform: uppercase;
  margin: 0;
  color: var(--navy-dark);
}
.cert-cta__lead {
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -.6px;
  margin: 0;
  color: var(--navy-dark);
}
.cert-cta__form {
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(0, 44, 77, .08);
  border-radius: 33px;
  padding: 33px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .15);
}
.cert-cta__form-title {
  font-family: 'Inter', 'BentonSans', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  margin: 0 0 8px 0;
  color: var(--navy-dark);
}
.cert-cta__form input {
  background: #efeeee;
  border: 0;
  border-radius: 9px;
  padding: 18px 16px;
  font: inherit;
  font-size: 16px;
  color: #1e2022;
  width: 100%;
  transition: background .25s ease, box-shadow .25s ease;
}
.cert-cta__form input::placeholder { color: #73777f; }
.cert-cta__form input:focus {
  outline: 0;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(247, 185, 55, .25);
}
/* Campos extra (form RRHH/Empleo): textarea, archivo CV y aceptación — mismo lenguaje visual */
.cert-cta__form textarea {
  background: #efeeee;
  border: 0;
  border-radius: 9px;
  padding: 18px 16px;
  font: inherit;
  font-size: 16px;
  color: #1e2022;
  width: 100%;
  min-height: 120px;
  resize: vertical;
  transition: background .25s ease, box-shadow .25s ease;
}
.cert-cta__form textarea::placeholder { color: #73777f; }
.cert-cta__form textarea:focus {
  outline: 0;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(247, 185, 55, .25);
}
.cert-cta__file label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 6px;
}
.cert-cta__form input[type="file"] {
  background: #efeeee;
  border: 0;
  border-radius: 9px;
  padding: 12px 16px;
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: #1e2022;
  cursor: pointer;
}
.cert-cta__form input[type="file"]::file-selector-button {
  border: 0;
  border-radius: 7px;
  padding: 9px 14px;
  margin-right: 12px;
  cursor: pointer;
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s ease;
}
.cert-cta__form input[type="file"]::file-selector-button:hover { background: var(--navy-dark); }
.cert-cta__accept {
  font-size: 13px;
  line-height: 1.5;
  color: #5a6066;
}
.cert-cta__accept .wpcf7-list-item { margin: 0; display: flex; align-items: flex-start; gap: 8px; }
.cert-cta__form input[type="checkbox"] {
  width: auto;
  margin: 3px 0 0 0;
  padding: 0;
  flex: 0 0 auto;
  accent-color: var(--navy);
}
.cert-cta__accept a { color: var(--navy); text-decoration: underline; }
@media (max-width: 1100px) {
  .cert-cta__card { grid-template-columns: 1fr; padding: 40px 32px; }
  .cert-cta__title { font-size: 28px; letter-spacing: -.8px; }
}

/* ============================================
   PAGE: ACTUALIDAD
   ============================================ */

/* Featured article (Bootstrap Carousel) */
.news-featured { padding: 56px 0 32px; background: #fff; }
.news-featured__card {
  position: relative;
  background: #f4f5f7;
  border-radius: 26px;
  padding: 32px;
  min-height: 600px;
  overflow: hidden;
}
/* Carousel-fade: items posicionados absolute, opacity transition. */
.news-featured__card .carousel-inner {
  position: relative;
  min-height: 540px;
  overflow: hidden;
}
.news-featured__card .carousel-item {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: grid;
  grid-template-columns: 527fr 684fr;
  gap: 56px;
  align-items: center;
  min-height: 540px;
  opacity: 0;
  transform: none !important; /* anular translateX por defecto del carousel slide */
  transition: opacity .55s ease-in-out;
  pointer-events: none;
}
.news-featured__card .carousel-item.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.news-featured__media {
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 527 / 659;
  background: #ddd;
}
.news-featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.22,.61,.36,1);
}
.news-featured__card:hover .news-featured__media img { transform: scale(1.04); }
.news-featured__content { display: flex; flex-direction: column; gap: 17px; padding-right: 48px; }
.news-featured__cat {
  font-family: 'Inter', 'BentonSans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: #333;
  margin: 0;
}
.news-featured__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: .95;
  letter-spacing: .2px;
  color: #000;
  margin: 0;
}
.news-featured__date {
  font-family: 'Inter', 'BentonSans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #000;
  margin: 0;
}
.news-featured__excerpt { font-size: 16px; line-height: 1.4; color: #040404; margin: 0; max-width: 437px; }
/* Dots — círculos iguales, active cambia color (match Figma) */
/* Override completo de los defaults Bootstrap .carousel-indicators */
.news-featured__dots,
.news-featured__dots.carousel-indicators {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  bottom: 56px;
  left: 47%;
  right: auto;
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  z-index: 5;
}
.news-featured__dots li,
.news-featured__dots.carousel-indicators [data-bs-target] {
  box-sizing: border-box;
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border: 0;
  border-top: 0;
  border-bottom: 0;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background: #d5dae2;
  background-clip: border-box;
  cursor: pointer;
  text-indent: 0;
  opacity: 1;
  transition: background .3s ease, transform .3s ease;
}
.news-featured__dots li.active,
.news-featured__dots li[aria-current="true"],
.news-featured__dots.carousel-indicators .active {
  background: var(--navy-dark);
  opacity: 1;
  transform: scale(1.2);
}
.news-featured__dots li:hover { background: #99a2aa; }
.news-featured__dots li.active:hover { background: var(--navy-dark); }
.news-featured__cta { font-size: 14px; padding: 10px 22px; align-self: flex-start; margin-top: 12px; }
@media (max-width: 1100px) {
  .news-featured__dots {
    position: static;
    margin-top: 16px;
    left: auto;
    justify-content: center;
  }
}

@media (max-width: 1100px) {
  .news-featured__card .carousel-item { grid-template-columns: 1fr; gap: 24px; min-height: auto; }
  .news-featured__card .carousel-inner { min-height: auto; }
  .news-featured__content { padding-right: 0; }
  .news-featured__title { font-size: 26px; }
}

/* Posts grid */
.news-grid-page { padding: 32px 0 96px; background: #fff; }
.news-grid-page__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 41px;
}
.news-post { display: flex; flex-direction: column; gap: 11px; cursor: pointer; }
.news-post__media {
  margin: 0 0 6px 0;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 404 / 505;
  background: #cce9ff;
}
.news-post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.22,.61,.36,1), filter .4s ease;
}
.news-post:hover .news-post__media img {
  transform: scale(1.06);
  filter: brightness(.95);
}
.news-post__date { font-size: 12px; line-height: 1.5; color: #999; margin: 0; }
.news-post__cat {
  font-family: 'Inter', 'BentonSans', sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .8px;
  color: #000;
  margin: 0;
  text-transform: uppercase;
}
.news-post__title {
  font-family: 'Inter', 'BentonSans', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  color: #000;
  margin: 0;
  transition: color .25s ease;
}
.news-post:hover .news-post__title { color: var(--navy); }
.news-post__cta { align-self: flex-start; font-size: 14px; padding: 10px 22px; margin-top: 4px; }

@media (max-width: 900px) {
  .news-grid-page__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .news-post__title { font-size: 18px; }
}
@media (max-width: 600px) {
  .news-grid-page__grid { grid-template-columns: 1fr; }
}

/* Pagination */
.news-pagination {
  margin-top: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.news-pagination__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', 'BentonSans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy-dark);
  transition: color .2s ease, transform .2s ease;
}
.news-pagination__link:hover { color: var(--navy); }
.news-pagination__link svg { width: 14px; height: 14px; }
.news-pagination__link--prev:hover { transform: translateX(-2px); }
.news-pagination__link--next:hover { transform: translateX(2px); }
.news-pagination__nums {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 16px;
  align-items: center;
}
.news-pagination__nums a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 6px;
  font-family: 'Inter', 'BentonSans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy-dark);
  border-radius: 5px;
  transition: background .25s ease, color .25s ease;
}
.news-pagination__nums a:hover { background: rgba(0, 44, 77, .08); }
.news-pagination__nums a.is-current { background: var(--yellow); color: #000; }
.news-pagination__ellipsis {
  font-family: 'Inter', 'BentonSans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy-dark);
  opacity: .55;
}

/* ============================================
   PAGE: LOGÍSTICA (servicios)
   ============================================ */
.logistica-services { padding: 72px 0 64px; background: #fff; }
.logistica-services .eyebrow { margin-bottom: 16px; }
.logistica-services__lead {
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: -.4px;
  color: #000;
  margin: 0 0 32px 0;
  max-width: 760px;
}
@media (max-width: 768px) {
  .logistica-services__lead { font-size: 16px; }
}
.logistica-services__grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
/* Row 1 (2 cards): centradas en su contenedor, gap 9% (= 119/1324 Figma), cards 27.34% */
.svc-row--top {
  display: grid;
  grid-template-columns: 27.34% 27.34%;
  gap: 9%;
  justify-content: center;
}
/* Row 2 (3 cards): full width, mismo gap 9% */
.svc-row--bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 9%;
}

/* Wrapper: icon arriba COMPLETAMENTE encima del card (sin overlap) + gap 12px */
.svc-card-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.svc-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 65px;
  color: #000;
  flex-shrink: 0;
  transition: transform .35s cubic-bezier(.22,.61,.36,1);
}
.svc-card__icon svg { width: 100%; height: 100%; }
.svc-card__icon img { width: 100%; height: 100%; object-fit: contain; }
.svc-card-wrap:hover .svc-card__icon { transform: translateY(-4px); }

/* Card body — bg gris claro #E8E8E8, radius 24px */
.svc-card {
  background: #E8E8E8;
  color: #000;
  border-radius: 24px;
  padding: 40px 32px 32px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  min-height: 282px;
  transition: transform .35s cubic-bezier(.22,.61,.36,1),
              box-shadow .35s ease;
}
.svc-card-wrap:hover .svc-card {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -12px rgba(0, 44, 77, .25);
}

.svc-card__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -1.2px;
  margin: 0;
  color: #000;
}
.svc-card__lead {
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -.3px;
  color: #000;
  margin: 0;
  max-width: 296px;
  flex: 1;
}
.svc-card__cta {
  margin-top: auto;
  font-size: 13px;
  padding: 14px 26px;
  letter-spacing: .8px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--yellow);
  color: #000;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}
.svc-card__cta:hover { background: #f5b913; color: #000; }
.svc-card__arrow { width: 17px; height: 17px; flex-shrink: 0; }

@media (max-width: 900px) {
  .svc-row--top, .svc-row--bottom {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 24px;
  }
}
@media (max-width: 520px) {
  .svc-row--top, .svc-row--bottom { grid-template-columns: 1fr; }
  .svc-card__title { font-size: 22px; letter-spacing: -.9px; }
}

/* Metodología — 4 cards navy con borde izquierdo amarillo (match Figma) */
.logistica-method { padding: 32px 0 80px; background: #fff; }
.logistica-method .section-head { margin-bottom: 40px; }
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 23px;
}
.method-card {
  background: var(--navy-dark);
  color: #fff;
  border-left: 9px solid var(--yellow);
  border-radius: 20px;
  padding: 32px 32px 32px 41px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 208px;
  transition: transform .35s cubic-bezier(.22,.61,.36,1),
              box-shadow .35s ease;
}
.method-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -12px rgba(0, 44, 77, .45);
}
.method-card__title {
  font-family: 'Inter', 'BentonSans', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  margin: 0;
  color: #fff;
}
.method-card__lead {
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  margin: 0;
}
/* Capacidades transversales (logistica-sectores) — 4 cards alternando colores
   Sin border-left amarillo. Solo card 3 con icono FUERA del card encima. */
.caps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 23px;
  padding-top: 56px; /* hueco para icono que sobresale por arriba del card 3 */
}
.caps-card {
  position: relative;
  background: #e9eaee;
  color: #000;
  border-radius: 18px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 208px;
  transition: transform .35s cubic-bezier(.22,.61,.36,1),
              box-shadow .35s ease;
}
.caps-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -12px rgba(0, 44, 77, .25);
}
.caps-card--navy {
  background: var(--navy-dark);
  color: #fff;
}
.caps-card__title {
  font-family: 'Inter', 'BentonSans', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  margin: 0;
  color: inherit;
}
.caps-card__lead {
  font-size: 16px;
  line-height: 24px;
  margin: 0;
  color: inherit;
}
.caps-card--navy .caps-card__title,
.caps-card--navy .caps-card__lead { color: #fff; }

/* Icono SOLO en card 3 — círculo amarillo SOBRESALE por arriba del card */
.caps-card__icon {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(0, 44, 77, .2);
  z-index: 2;
  transition: transform .35s ease;
}
.caps-card__icon svg { width: 28px; height: 28px; }
.caps-card--withicon:hover .caps-card__icon { transform: translateX(-50%) rotate(-10deg) scale(1.08); }

@media (max-width: 1100px) {
  .caps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .caps-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
  .method-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .method-grid { grid-template-columns: 1fr; }
}

/* ============================================
   PAGE: LOGÍSTICA INVERSA
   ============================================ */

.inversa-intro { padding: 56px 0 16px; background: #fff; }
.inversa-intro .section-head { margin-bottom: 0; }
.inversa-intro .section-head__title { font-size: 57px; letter-spacing: -2.28px; }
@media (max-width: 900px) {
  .inversa-intro .section-head__title { font-size: 38px; letter-spacing: -1.2px; }
}
@media (max-width: 768px) {
  body.page-id-4 .inversa-intro .section-head__title,
  body.page-id-4 .inversa-intro .section-head__lead {
    font-size: 12px;
    letter-spacing: 0;
    line-height: 1.4;
  }
}

/* Puntos clave + imagen */
.inversa-key { padding: 24px 0 64px; background: #fff; }
.inversa-key__grid {
  display: grid;
  grid-template-columns: 582fr 739fr;
  gap: 64px;
  align-items: center;
}
.inversa-key__label {
  font-family: 'Inter', 'BentonSans', sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.2;
  color: #000;
  margin: 0 0 24px 0;
  text-transform: uppercase;
}
.inversa-key__list {
  list-style: none;
  margin: 0 0 32px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.inversa-key__list li {
  position: relative;
  padding-left: 28px;
  font-size: 18px;
  line-height: 1.5;
  color: #1a1a1a;
}
.inversa-key__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  background: var(--yellow);
  border-radius: 50%;
}
.inversa-key__cta { font-size: 14px; padding: 12px 24px; }
.inversa-key__image {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 739 / 500;
}
.inversa-key__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.inversa-key__image:hover img { transform: scale(1.04); }

@media (max-width: 1100px) {
  .inversa-key__grid,
  .inversa-key--reverse .inversa-key__grid { grid-template-columns: 1fr; gap: 32px; }
}
/* Variant reverse: imagen izq, texto der (sanitario) */
.inversa-key--reverse .inversa-key__grid {
  grid-template-columns: 739fr 582fr;
}

/* Cómo funciona — reusa clase .how completa de home (animaciones + grid) */

/* FAQ */
.inversa-faq { padding: 32px 0 80px; background: #fff; }
.section-head--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section-head--centered .section-head__intro {
  align-items: center;
  width: 100%;
  max-width: none;
}
.section-head--centered .eyebrow { justify-content: center; }
.section-head--centered .section-head__title { text-align: center; }

.faq-accordion { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #f4f5f7;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
}
.faq-item .accordion-header { margin: 0; }
.faq-item .accordion-button {
  background: #f4f5f7;
  color: #000;
  border: 0;
  padding: 28px 32px;
  font: inherit;
  display: flex;
  align-items: center;
  gap: 56px;
  width: 100%;
  text-align: left;
  box-shadow: none;
  transition: background-color .3s ease;
}
.faq-item .accordion-button:not(.collapsed) {
  background: #fff;
  color: #000;
  box-shadow: none;
}
.faq-item .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}
.faq-item .accordion-button::after {
  background: var(--yellow);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23002c4d' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-position: center;
  background-size: 22px;
  background-repeat: no-repeat;
  margin-left: auto;
}
.faq-item__num {
  font-family: 'Inter', 'BentonSans', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: #000;
  min-width: 60px;
  flex-shrink: 0;
}
.faq-item__title {
  font-family: 'Inter', 'BentonSans', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #000;
  flex: 1;
}
.faq-item .accordion-body {
  padding: 0 32px 32px calc(60px + 56px + 32px); /* alineado bajo title */
  background: #fff;
  font-size: 16px;
  line-height: 1.5;
  color: #444;
}
.faq-item .accordion-body p { margin: 0; }

@media (max-width: 700px) {
  .faq-item .accordion-button { padding: 20px; gap: 20px; }
  .faq-item__num { font-size: 22px; min-width: 32px; }
  .faq-item__title { font-size: 16px; }
  .faq-item .accordion-body { padding: 0 20px 20px 20px; }
}

/* ============================================
   PAGE: LOGÍSTICA POR SECTORES
   ============================================ */
.sectores-page__title {
  font-size: 57px;
  letter-spacing: -2.28px;
  margin: 16px 0 48px 0;
  color: #000;
}
@media (max-width: 900px) {
  .sectores-page__title { font-size: 38px; letter-spacing: -1.2px; margin: 12px 0 32px 0; }
}

/* Sectores cards grid (5 grandes + 1 foto) */
.sec-list { padding: 80px 0 64px; background: #fff; }
.sec-list__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.sec-list__photo {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 583 / 294;
  background: #ddd;
}
.sec-list__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}
.sec-list__photo:hover img { transform: scale(1.05); }

/* Cards con forma notched (mismo card-shape.svg que home sectores/servicios) */
.sector-card {
  position: relative;
  background: transparent;
  color: #000;
  padding: 42px 44px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 294px;
  isolation: isolate;
  transition: color .4s cubic-bezier(.22,.61,.36,1),
              transform .35s cubic-bezier(.22,.61,.36,1);
}
/* Pseudo con mask = forma notched. bg-color anima en hover. */
.sector-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: #e9eaee;
  -webkit-mask: url('../assets/card-shape.svg') no-repeat center / 100% 100%;
          mask: url('../assets/card-shape.svg') no-repeat center / 100% 100%;
  transition: background-color .45s cubic-bezier(.22,.61,.36,1);
  z-index: -1;
}
.sector-card:hover { transform: translateY(-6px); color: #fff; }
.sector-card:hover::before { background-color: var(--navy-dark); }
.sector-card:hover .sector-card__title,
.sector-card:hover .sector-card__sub { color: #fff; }

.sector-card__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -1.4px;
  margin: 0;
  color: #000;
  max-width: 385px;
}
.sector-card__sub {
  font-family: 'Inter', 'BentonSans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 1px;
  color: rgba(0, 0, 0, .85);
  margin: 0;
  text-transform: uppercase;
  max-width: 385px;
}
.sector-card--navy .sector-card__sub { color: rgba(255, 255, 255, .85); }
.sector-card__cta {
  align-self: flex-start;
  margin-top: auto;
  font-size: 14px;
  padding: 12px 24px;
  letter-spacing: .5px;
}

/* Arrow badge top-right (en el notch) */
.sector-card__arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--navy-dark);
  border: 1px solid rgba(0, 44, 77, .12);
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(0, 44, 77, .15);
  z-index: 2;
  transition: background .25s ease, color .25s ease, transform .3s cubic-bezier(.22,.61,.36,1);
}
.sector-card__arrow:hover {
  background: var(--yellow);
  color: var(--navy-dark);
  transform: rotate(-8deg) scale(1.08);
}
.sector-card__arrow svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .sec-list__grid { grid-template-columns: 1fr; gap: 20px; }
  .sec-list__photo { aspect-ratio: 16/9; }
  .sector-card { min-height: auto; padding: 32px; }
  .sector-card__title { font-size: 24px; }
}

/* ============================================
   PAGE: TECNOLOGÍA — 3 stacked tech cards
   ============================================ */
.tech-stack { padding: 48px 0 80px; background: #fff; }
.tech-stack__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.tech-card {
  position: relative;
  background: transparent;
  color: #000;
  padding: 36px 100px 36px 40px;
  display: flex;
  align-items: flex-start;
  gap: 32px;
  min-height: 196px;
  isolation: isolate;
  transition: transform .35s ease, color .4s ease;
}
/* Forma notched ANCHA específica para tech cards (1306×308 con notch top-right) */
.tech-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: #e9eaee;
  -webkit-mask: url('../assets/tech-card-shape.svg') no-repeat center / 100% 100%;
          mask: url('../assets/tech-card-shape.svg') no-repeat center / 100% 100%;
  transition: background-color .4s ease;
  z-index: -1;
}
.tech-card:hover { transform: translateY(-4px); }
.tech-card--navy {
  color: #fff;
  padding: 36px 40px 36px 130px; /* texto desplazado a derecha (notch izquierdo) */
}
.tech-card--navy::before {
  background-color: var(--navy-dark);
  transform: scaleX(-1); /* flip horizontal → notch top-LEFT */
}
.tech-card__icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0px;
  right: 24px;
  color: var(--navy-dark);
  opacity: 1;
}
.tech-card__icon svg { width: 100%; height: 100%; }
/* Variant navy: icono dentro del notch top-LEFT */
.tech-card--navy .tech-card__icon {
  left: 24px;
  right: auto;
  top: 0px;
  width: 65px;
  height: 65px;
  color: var(--navy-dark);
}
.tech-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 64px;
}
.tech-card__title {
  font-family: 'Inter', 'BentonSans', sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  margin: 0;
  color: inherit;
}
.tech-card__sub {
  font-family: 'Inter', 'BentonSans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: inherit;
  opacity: .8;
  margin: 0;
}
.tech-card__desc {
  font-size: 16px;
  line-height: 1.5;
  color: inherit;
  margin: 8px 0 0 0;
  opacity: .92;
}
.tech-card__benefit {
  font-size: 15px;
  line-height: 1.5;
  color: inherit;
  margin: 0;
  opacity: .92;
}
.tech-card__benefit strong { font-weight: 700; opacity: 1; }

@media (max-width: 900px) {
  .tech-card { padding: 32px 28px 28px; flex-direction: column; gap: 16px; }
  .tech-card__icon { position: static; align-self: flex-end; width: 44px; height: 44px; }
  .tech-card__content { padding-right: 0; }
  .tech-card__title { font-size: 22px; }
}

/* ============================================
   PAGE: LEGAL (Privacy / Cookies / Aviso Legal)
   ============================================ */
.legal-page { padding: 64px 0 96px; background: #fff; }
.legal-page .container { max-width: 880px; }

.legal-page__header { margin-bottom: 48px; }
.legal-page__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--navy-dark);
  margin: 0 0 16px;
}
.legal-page__eyebrow .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--yellow);
}
.legal-page__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -1.6px;
  color: var(--navy-dark);
  margin: 0 0 12px;
}
.legal-page__updated {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

.legal-content {
  font-size: 17px;
  line-height: 1.65;
  color: #1d2530;
}
.legal-content > * + * { margin-top: 18px; }
.legal-content h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  color: var(--navy-dark);
  margin: 40px 0 12px;
  letter-spacing: -.4px;
}
.legal-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.25;
  color: var(--navy-dark);
  margin: 28px 0 10px;
}
.legal-content p { margin: 0 0 14px; }
.legal-content ul,
.legal-content ol { padding-left: 22px; margin: 0 0 16px; }
.legal-content li { margin: 6px 0; }
.legal-content a { color: var(--navy-dark); text-decoration: underline; text-underline-offset: 3px; }
.legal-content a:hover { color: var(--yellow); }
.legal-content strong { font-weight: 700; color: var(--navy-dark); }
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 15px;
}
.legal-content th,
.legal-content td {
  border: 1px solid #e5e7eb;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.legal-content th {
  background: #f3f4f6;
  font-weight: 700;
  color: var(--navy-dark);
}
.legal-content hr {
  border: 0;
  height: 1px;
  background: #e5e7eb;
  margin: 32px 0;
}

@media (max-width: 768px) {
  .legal-page { padding: 40px 0 64px; }
  .legal-page__title { font-size: 34px; letter-spacing: -1px; }
  .legal-content { font-size: 16px; }
  .legal-content h2 { font-size: 22px; margin-top: 32px; }
  .legal-content h3 { font-size: 17px; }
}

/* ===== Language switcher topbar ===== */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  color: inherit;
}
.lang-switch__link,
.lang-switch__current {
  font: inherit;
  color: inherit;
  text-decoration: none;
  letter-spacing: .5px;
}
.lang-switch__link { opacity: .7; transition: opacity .15s ease; }
.lang-switch__link:hover { opacity: 1; }
.lang-switch__current { font-weight: 600; opacity: 1; }
.lang-switch__sep { opacity: .55; padding: 0 2px; }

/* ===== Footer RRSS (social icons) ===== */
.footer__rrss {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  gap: 28px;
  align-items: center;
}
.footer__rrss li { margin: 0; }
.footer__rrss a {
  display: inline-flex;
  width: 25px;
  height: 25px;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: opacity .15s ease;
}
.footer__rrss a:hover { opacity: .7; }
.footer__rrss img {
  width: 100%;
  height: 100%;
  display: block;
  filter: brightness(0) invert(1);
}

/* ===== Dupla Gallery (post carousel + modal lightbox) ===== */
.dupla-gallery {
  margin: 32px 0;
  border-radius: 16px;
  overflow: hidden;
  background: #f6f6f6;
}
.dupla-gallery__carousel { position: relative; }
.dupla-gallery__carousel .carousel-item {
  aspect-ratio: 16 / 9;
  background: #0e2540;
}
.dupla-gallery__btn {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}
.dupla-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.dupla-gallery__btn:hover .dupla-gallery__img { transform: scale(1.03); }

.dupla-gallery__carousel .carousel-control-prev,
.dupla-gallery__carousel .carousel-control-next {
  width: 48px; height: 48px;
  background: rgba(0,44,77,.55);
  border-radius: 50%;
  top: 50%; transform: translateY(-50%);
  bottom: auto;
  border: 0;
  opacity: 1;
  margin: 0 16px;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.dupla-gallery__carousel .carousel-control-prev:hover,
.dupla-gallery__carousel .carousel-control-next:hover { background: rgba(0,44,77,.85); }
.dupla-gallery__carousel .carousel-control-prev svg,
.dupla-gallery__carousel .carousel-control-next svg { width: 22px; height: 22px; }

.dupla-gallery__dots {
  position: absolute;
  bottom: 16px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.dupla-gallery__dots li {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  cursor: pointer;
  text-indent: -9999px;
  border: 0;
  margin: 0;
}
.dupla-gallery__dots li.active { background: var(--yellow); }

/* Modal lightbox */
.dupla-gallery__modal .modal-dialog { max-width: min(94vw, 1280px); margin: 24px auto; }
.dupla-gallery__modal .modal-content {
  background: rgba(0,0,0,.92);
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
}
.dupla-gallery__modal .carousel-item {
  height: 80vh;
  display: flex; align-items: center; justify-content: center;
  background: #000;
}
.dupla-gallery__modal .carousel-item.active { display: flex; }
.dupla-gallery__modal .carousel-item img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
}
.dupla-gallery__modal .carousel-control-prev,
.dupla-gallery__modal .carousel-control-next {
  width: 52px; height: 52px;
  background: rgba(255,255,255,.12);
  border-radius: 50%;
  top: 50%; transform: translateY(-50%);
  bottom: auto;
  border: 0;
  margin: 0 18px;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.dupla-gallery__modal .carousel-control-prev:hover,
.dupla-gallery__modal .carousel-control-next:hover { background: rgba(255,255,255,.25); }
.dupla-gallery__close {
  position: absolute;
  top: 12px; right: 12px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 0;
  color: #fff;
  z-index: 10;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.dupla-gallery__close:hover { background: rgba(255,255,255,.28); }
.dupla-gallery__counter {
  position: absolute;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  margin: 0;
  color: #fff;
  font-family: 'Inter', 'BentonSans', sans-serif;
  font-size: 14px;
  letter-spacing: .8px;
  background: rgba(0,0,0,.4);
  padding: 6px 14px;
  border-radius: 999px;
  z-index: 5;
}

@media (max-width: 768px) {
  .dupla-gallery__carousel .carousel-item { aspect-ratio: 4 / 3; }
  .dupla-gallery__carousel .carousel-control-prev,
  .dupla-gallery__carousel .carousel-control-next { width: 40px; height: 40px; margin: 0 8px; }
  .dupla-gallery__modal .carousel-item { height: 70vh; }
}

/* ===== Página 404 ===== */
.err404{
  position:relative;min-height:72vh;
  display:flex;align-items:center;justify-content:center;text-align:center;
  padding:96px 24px;color:#fff;overflow:hidden;
  background:radial-gradient(1100px 560px at 50% -10%, #244a75 0%, #002c4d 62%);
}
.err404__inner{position:relative;max-width:680px;margin:0 auto;}
.err404__eyebrow{display:inline-flex;align-items:center;gap:8px;margin:0 0 6px;
  text-transform:uppercase;letter-spacing:.28em;font-size:13px;font-weight:600;color:rgba(255,255,255,.72);}
.err404__eyebrow .dot{width:8px;height:8px;border-radius:50%;background:#f7b937;display:inline-block;}
.err404__code{
  font-family:'Inter','BentonSans',sans-serif;font-weight:800;
  font-size:clamp(96px,22vw,196px);line-height:.9;letter-spacing:-.04em;margin:0;
  background:linear-gradient(180deg,#f7b937 0%,#ffd982 100%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
  filter:drop-shadow(0 12px 30px rgba(0,0,0,.28));
}
.err404__title{font-family:'Inter','BentonSans',sans-serif;font-weight:700;
  font-size:clamp(26px,4vw,40px);line-height:1.15;margin:6px 0 12px;color:#fff;}
.err404__text{font-size:clamp(15px,2vw,18px);line-height:1.6;color:rgba(255,255,255,.82);
  margin:0 auto 28px;max-width:520px;}
.err404__actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-bottom:34px;}
.err404 .btn--ghost{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.45);}
.err404 .btn--ghost:hover{border-color:#f7b937;color:#f7b937;}
.err404__menu{list-style:none;margin:0;padding:0;display:flex;gap:10px 26px;
  justify-content:center;flex-wrap:wrap;}
.err404__menu li{margin:0;}
.err404__menu a{color:rgba(255,255,255,.8);text-decoration:none;font-size:14px;
  border-bottom:1px solid rgba(247,185,55,.5);padding-bottom:2px;transition:color .2s,border-color .2s;}
.err404__menu a:hover{color:#f7b937;border-color:#f7b937;}
.err404__menu .sub-menu{display:none;}
