/* =========================================================
   SIGRAL — Sistema visual renovado
   Direcci\u00f3n: Corporativo elegante (serif + azul + crema)
   ========================================================= */

/* Jaapokkl (logo mark): place font file at assets/fonts/Jaapokkl-Regular.woff2 and uncomment:
@font-face {
  font-family: 'Jaapokkl';
  src: url('../fonts/Jaapokkl-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
*/

:root {
  /* Brand */
  --blue: #1E88E5;
  --blue-bright: #2E9BF5;
  --blue-soft: #E8F2FC;
  --blue-deep: #0E2A47;
  --navy: #0A1F38;
  --ink: #102036;
  --ink-2: #2A3B52;
  --ink-muted: #5A6B82;
  --ink-faint: #8B98AB;

  /* Neutrals */
  --paper: #FAF7F1;
  --cream: #F4EFE5;
  --line: #E8E1D2;
  --line-strong: #D6CDB8;
  --white: #FFFFFF;

  /* Accents */
  --gold: #B08B4F;
  --gold-soft: #E9DDC4;

  /* Typography — Brandbook: Helvetica (Light/Roman/Medium/Bold) + Jaapokkl (logo mark) */
  --helvetica: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --serif: var(--helvetica);
  --sans: var(--helvetica);
  --font-logo: 'Jaapokkl', var(--helvetica);

  /* Spacing */
  --shell: clamp(20px, 5vw, 80px);
  --section: clamp(72px, 9vw, 140px);
  --radius: 4px;
  --radius-lg: 8px;

  --shadow-card: 0 24px 60px -30px rgba(14, 42, 71, 0.35), 0 4px 16px -8px rgba(14, 42, 71, 0.12);
  --shadow-hover: 0 36px 80px -30px rgba(14, 42, 71, 0.5), 0 8px 24px -8px rgba(14, 42, 71, 0.2);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, video { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
.display, .h1, .h2, .h3, .eyebrow-display {
  font-family: var(--sans);
  color: var(--ink);
  text-wrap: balance;
}

.display {
  font-size: clamp(48px, 7.5vw, 112px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.h1 {
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.h2 {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.h3 {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.005em;
}

.italic { font-style: italic; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--blue);
}
.eyebrow.on-dark { color: #fff; }
.eyebrow.on-dark::before { background: #fff; }

.lead {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 60ch;
  text-wrap: pretty;
}

.body-text {
  color: var(--ink-2);
  text-wrap: pretty;
}

/* =========================================================
   LAYOUT PRIMITIVES
   ========================================================= */
.shell {
  max-width: 1480px;
  margin: 0 auto;
  padding-left: var(--shell);
  padding-right: var(--shell);
}

.section {
  padding-top: var(--section);
  padding-bottom: var(--section);
}

.section-tight {
  padding-top: calc(var(--section) * 0.65);
  padding-bottom: calc(var(--section) * 0.65);
}

.bg-cream { background: var(--cream); }
.bg-paper { background: var(--paper); }
.bg-white { background: var(--white); }
.bg-navy { background: var(--navy); color: #E0E8F0; }
.bg-navy .h1, .bg-navy .h2, .bg-navy .h3, .bg-navy .display { color: var(--white); }
.bg-navy .lead { color: #B8C5D6; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.section-head .h2 { margin-top: 16px; }
.section-head .lead { margin-top: 8px; }
@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; align-items: start; }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: white;
}
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-2px); }

.btn-dark {
  background: var(--ink);
  color: white;
}
.btn-dark:hover { background: var(--blue); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: white; }

.btn-ghost-light {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-ghost-light:hover { background: white; color: var(--ink); border-color: white; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  transition: gap 0.25s ease;
}
.link-arrow svg { transition: transform 0.25s ease; }
.link-arrow:hover { gap: 18px; }
.link-arrow:hover svg { transform: translateX(4px); }

/* =========================================================
   NAVBAR
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px var(--shell);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled, .nav.solid {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px var(--shell);
  box-shadow: 0 1px 0 var(--line);
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 74px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  display: inline-block;
  padding: 10px 14px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.92);
  border-radius: 2px;
  transition: color 0.2s ease, background 0.2s ease;
  position: relative;
}
.nav-links a:hover { color: white; }
.nav.scrolled .nav-links a, .nav.solid .nav-links a { color: var(--ink-2); }
.nav.scrolled .nav-links a:hover, .nav.solid .nav-links a:hover { color: var(--blue); }
.nav-links a.active { color: var(--blue); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 1px; background: var(--blue);
}

.nav-cta {
  padding: 10px 20px;
  background: var(--blue);
  color: white !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover { background: var(--blue-deep) !important; transform: translateY(-1px); }

.nav-burger {
  display: none;
  width: 44px; height: 44px;
  position: relative;
}
.nav-burger span {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px; background: white;
  transition: all 0.3s ease;
}
.nav-burger span:nth-child(1) { top: 16px; }
.nav-burger span:nth-child(2) { top: 22px; }
.nav-burger span:nth-child(3) { top: 28px; }
.nav.scrolled .nav-burger span, .nav.solid .nav-burger span { background: var(--ink); }
.nav-burger.open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: block; }
  .nav-links.mobile-open {
    display: flex;
    position: fixed;
    inset: 70px 0 0 0;
    flex-direction: column;
    background: var(--white);
    padding: 32px var(--shell);
    gap: 4px;
    align-items: stretch;
  }
  .nav-links.mobile-open a {
    color: var(--ink) !important;
    padding: 16px 0;
    font-size: 18px;
    border-bottom: 1px solid var(--line);
  }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: white;
  overflow: hidden;
  padding-bottom: 0;
}
.hero-media {
  position: absolute; inset: 0;
  overflow: hidden;
}
.hero-media img, .hero-media video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 31, 56, 0.55) 0%, rgba(10, 31, 56, 0.2) 35%, rgba(10, 31, 56, 0.85) 100%),
    linear-gradient(90deg, rgba(10, 31, 56, 0.6) 0%, rgba(10, 31, 56, 0) 60%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 var(--shell) clamp(124px, 9vw, 140px); /* 04/11: más espacio abajo para no chocar con "Explorar"; antes clamp(56px, 7vw, 112px) */
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr); /* 04/11: título más ancho; antes 1.6fr / 1fr */
  gap: clamp(32px, 4vw, 72px);
  align-items: end;
}
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; }
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: ''; width: 40px; height: 1px; background: var(--blue-bright);
}

.hero-title {
  font-family: var(--sans);
  font-size: clamp(34px, 4.6vw, 68px); /* 04/11: título más largo (Propuestas de Textos v2); antes clamp(46px, 7.2vw, 108px) */
  font-weight: 700;
  line-height: 1.06;
  max-width: 22ch; /* 04/11: antes 15ch, se veía apretado */
  letter-spacing: -0.02em;
  color: white;
  margin-bottom: 8px;
}
.hero-title em {
  font-style: italic;
  color: var(--blue-bright);
}

.hero-aside {
  align-self: end;
  padding-bottom: 12px;
  max-width: 420px;
  margin-left: auto;
}
.hero-aside p {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,0.88);
  margin-bottom: 24px;
}
.hero-aside .btn { margin-right: 12px; margin-bottom: 12px; }

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  z-index: 2;
}
.hero-scroll-bar {
  width: 1px; height: 56px; background: rgba(255,255,255,0.4); position: relative; overflow: hidden;
}
.hero-scroll-bar::after {
  content: '';
  position: absolute; left: 0; right: 0; top: -56px;
  height: 56px; background: white;
  animation: scrollBar 2.4s infinite;
}
@keyframes scrollBar {
  0% { top: -56px; } 100% { top: 56px; }
}

.video-pill {
  position: absolute;
  right: var(--shell);
  bottom: 32px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.video-pill .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #F44336;
  box-shadow: 0 0 0 0 rgba(244, 67, 54, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(244, 67, 54, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(244, 67, 54, 0); }
  100% { box-shadow: 0 0 0 0 rgba(244, 67, 54, 0); }
}

/* Page hero (interior pages) */
.page-hero {
  position: relative;
  padding: clamp(140px, 14vw, 200px) var(--shell) clamp(64px, 8vw, 96px);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero .shell { padding: 0; }
.page-hero .h1 { max-width: 14ch; }
.page-hero .lead { margin-top: 20px; }
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  mix-blend-mode: multiply;
}
.page-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--cream) 0%, rgba(244, 239, 229, 0) 70%);
}
.crumbs {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  position: relative;
}
.crumbs a:hover { color: var(--blue); }

/* =========================================================
   METRICS STRIP
   ========================================================= */
.metrics {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.metric {
  padding: clamp(40px, 5vw, 64px) clamp(20px, 3vw, 40px);
  border-right: 1px solid var(--line);
  position: relative;
}
.metric:last-child { border-right: none; }
.metric-value {
  font-family: var(--sans);
  font-size: clamp(48px, 5.5vw, 84px);
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.metric-value sup {
  font-size: 0.4em;
  color: var(--blue);
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0;
  vertical-align: top;
  margin-top: 8px;
}
.metric-value { flex-wrap: wrap; }
.metric-value .metric-prefix {
  font-size: 0.4em;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--blue);
  margin-right: 4px;
}
.metric-label {
  margin-top: 14px;
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  line-height: 1.3;
}
.metric-label .unit { text-transform: none; } /* m² siempre en minúscula (metros cuadrados) */
@media (max-width: 820px) {
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metric { border-bottom: 1px solid var(--line); }
  .metric:nth-child(2) { border-right: none; }
}
@media (max-width: 480px) {
  .metrics-grid { grid-template-columns: 1fr; }
  .metric { border-right: none; }
}

/* =========================================================
   SERVICES (4 cards with photo)
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
}
.service-card {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.service-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.service-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-img img { transform: scale(1.04); }
.service-num {
  position: absolute;
  top: 20px; left: 24px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.14em;
  color: white;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 100px;
}
.service-body {
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-body .h3 {
  margin-bottom: 12px;
}
.service-body p {
  color: var(--ink-muted);
  margin-bottom: 28px;
  flex: 1;
}
@media (max-width: 820px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   PROJECTS (bento grid with real images)
   ========================================================= */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 300px; /* 24/09: antes 220px — tarjetas más cuadradas para las fotos */
  gap: clamp(12px, 1.4vw, 20px);
}
.project-card {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  cursor: pointer;
  transition: transform 0.4s ease;
}
.project-card img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.85;
  transition: transform 0.7s ease, opacity 0.4s ease;
}
.project-card:hover img { transform: scale(1.06); opacity: 1; }
.project-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,31,56,0) 40%, rgba(10,31,56,0.85) 100%);
}
.project-content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px;
  z-index: 2;
  color: white;
}
.project-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 8px;
}
.project-desc {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  margin-top: 10px;
  max-width: 52ch;
}
.project-title {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.005em;
}
.project-arrow {
  position: absolute;
  top: 20px; right: 20px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border-radius: 100px;
  display: grid;
  place-items: center;
  color: white;
  opacity: 0;
  transform: translate(-8px, 8px);
  transition: all 0.3s ease;
  z-index: 2;
}
.project-card:hover .project-arrow { opacity: 1; transform: translate(0,0); }

.span-2 { grid-column: span 2; }
.span-2-rows { grid-row: span 2; }
.span-2-cols-2-rows { grid-column: span 2; grid-row: span 2; }

@media (max-width: 900px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .span-2-cols-2-rows { grid-column: span 2; grid-row: span 2; }
  .span-2 { grid-column: span 2; }
  .span-2-rows { grid-row: span 1; grid-column: span 1; }
}

/* =========================================================
   SECTORS (horizontal pill list with image reveal)
   ========================================================= */
.sectors {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.sectors-list { list-style: none; }
.sector-item {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  transition: padding 0.3s ease;
}
.sector-item:last-child { border-bottom: 1px solid var(--line); }
.sector-item .num {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink-faint);
  font-size: 14px;
  letter-spacing: 0.1em;
  width: 40px;
}
.sector-item .name {
  font-family: var(--sans);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.1;
  flex: 1;
  transition: color 0.3s ease, transform 0.3s ease;
}
.sector-item .arrow {
  color: var(--ink-faint);
  transition: color 0.3s ease, transform 0.3s ease;
}
.sector-item:hover {
  padding-left: 12px;
}
.sector-item:hover .name { color: var(--blue); }
.sector-item:hover .arrow { color: var(--blue); transform: translateX(6px); }
.sector-item.active .name { color: var(--blue); }

.sectors-image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--ink);
}
.sectors-image img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.8s ease;
}
.sectors-image img.active { opacity: 1; transform: scale(1.02); }
.sectors-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,31,56,0) 60%, rgba(10,31,56,0.6) 100%);
  pointer-events: none;
}
.sectors-image-label {
  position: absolute;
  left: 32px; bottom: 32px;
  color: white;
  z-index: 2;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .sectors { grid-template-columns: 1fr; }
  .sectors-image { aspect-ratio: 16/10; }
}

/* =========================================================
   WHY SIGRAL (diferenciadores)
   ========================================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.why-item {
  padding: clamp(40px, 4vw, 56px) clamp(24px, 2.5vw, 36px);
  border-right: 1px solid rgba(255,255,255,0.15);
}
.why-item:last-child { border-right: none; }
.why-num {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--blue-bright);
  font-size: 13px;
  letter-spacing: 0.2em;
  margin-bottom: 24px;
}
.why-title {
  font-family: var(--sans);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 600;
  line-height: 1.15;
  color: white;
  margin-bottom: 12px;
}
.why-text {
  font-size: 14px;
  line-height: 1.6;
  color: #95A6BD;
}
@media (max-width: 900px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-item:nth-child(2) { border-right: none; }
  .why-item:nth-child(1), .why-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.15); }
}
@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .why-item:last-child { border-bottom: none; }
}

/* =========================================================
   VIDEO INSTITUCIONAL (poster + play)
   ========================================================= */
.video-block {
  position: relative;
  aspect-ratio: 16/8;
  overflow: hidden;
  background: var(--ink);
  cursor: pointer;
}
.video-block img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.75;
  transition: transform 0.6s ease, opacity 0.4s ease;
}
.video-block:hover img { transform: scale(1.03); opacity: 0.85; }
.video-block::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,31,56,0.3) 0%, rgba(10,31,56,0.6) 100%);
}
.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  color: white;
  text-align: center;
}
.video-play-circle {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.35);
  display: grid; place-items: center;
  transition: all 0.3s ease;
  position: relative;
}
.video-play-circle::before {
  content: '';
  position: absolute; inset: -10px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  animation: ripple 2.4s ease-in-out infinite;
}
@keyframes ripple {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.3); opacity: 0; }
}
.video-block:hover .video-play-circle {
  background: var(--blue);
  border-color: var(--blue);
  transform: scale(1.06);
}
.video-play-label {
  font-family: var(--sans);
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 400;
  letter-spacing: 0.02em;
}
.video-play-meta {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.video-slot-badge {
  position: absolute;
  top: 24px; left: 24px;
  z-index: 3;
  padding: 6px 12px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.video-slot-badge::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%; background: #F4C04D;
}

/* =========================================================
   CERTIFICATIONS
   ========================================================= */
.cert-band {
  background: var(--navy);
  color: white;
  position: relative;
  overflow: hidden;
}
.cert-band .display,
.cert-band .h1,
.cert-band .h2,
.cert-band .h3 { color: white; }
.cert-band::before {
  content: '';
  position: absolute;
  top: 0; right: 0; width: 50%; height: 100%;
  background: radial-gradient(circle at top right, rgba(30, 136, 229, 0.18) 0%, transparent 50%);
}
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.cert-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: clamp(28px, 2.5vw, 36px);
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.cert-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(30, 136, 229, 0.5);
  transform: translateY(-4px);
}
.cert-icon {
  display: inline-flex;
  margin-bottom: 24px;
}
.cert-icon img {
  height: 72px; /* 24/09: sellos SGS reales en PNG blanco transparente (antes 52px + filtro) */
  width: auto;
  opacity: 0.9;
}
/* 17/11: sello enlaza al directorio de clientes certificados de SGS (nueva pestaña) */
.cert-icon a { display: inline-flex; }
.cert-icon a img { transition: opacity .2s ease; }
.cert-icon a:hover img, .cert-icon a:focus-visible img { opacity: 1; }
.cert-norm {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 8px;
}
.cert-name {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.15;
  color: white;
  margin-bottom: 12px;
}
.cert-code {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #B8C5D6;
  margin: -12px 0 20px;
}
.cert-desc {
  font-size: 13px;
  line-height: 1.6;
  color: #95A6BD;
  margin-bottom: 24px;
  flex: 1;
}
.cert-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-bright);
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.cert-cta:hover { color: white; }
.cert-cta svg { transition: transform 0.2s ease; }
.cert-cta:hover svg { transform: translateX(4px); }

.cert-issuer {
  margin-top: clamp(48px, 5vw, 72px);
  padding-top: clamp(32px, 3vw, 40px);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.cert-issuer-text {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.cert-issuer-logos {
  display: flex;
  gap: 32px;
  align-items: center;
}
.cert-seal {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: white;
  display: grid; place-items: center;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-align: center;
  line-height: 1.2;
  padding: 8px;
}

@media (max-width: 900px) {
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cert-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   ANTISOBORNO BANNER (en home)
   ========================================================= */
.compliance {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}
.compliance-body {
  padding: clamp(48px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.compliance-img {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  background: var(--ink);
}
.compliance-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.compliance-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,31,56,0.4) 0%, rgba(30,136,229,0.2) 100%);
}
.compliance-badge {
  position: absolute;
  top: 32px; right: 32px;
  background: white;
  padding: 14px 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 2px;
  box-shadow: var(--shadow-card);
}
.compliance-badge-num {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.compliance-badge-text {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
@media (max-width: 900px) {
  .compliance { grid-template-columns: 1fr; }
  .compliance-img { min-height: 260px; order: -1; }
}

/* =========================================================
   CLIENTS MARQUEE
   ========================================================= */
.clients {
  padding-top: clamp(48px, 6vw, 72px);
  padding-bottom: clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
}
.clients-head {
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  font-style: italic;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.marquee-row {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.marquee-row + .marquee-row { margin-top: 20px; }
.marquee-inner {
  display: flex;
  width: max-content;
  gap: 0;
}
.marquee-row--right .marquee-inner {
  animation: marquee-right 35s linear infinite;
}
.marquee-row--left .marquee-inner {
  animation: marquee-left 35s linear infinite;
}
@keyframes marquee-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0%); }
}
@keyframes marquee-left {
  from { transform: translateX(0%); }
  to   { transform: translateX(-50%); }
}
.client-logo {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  flex-shrink: 0;
}
.client-logo span {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.25;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}
.client-logo:hover span { opacity: 0.7; }

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta {
  position: relative;
  overflow: hidden;
  color: white;
  text-align: center;
  padding: clamp(96px, 12vw, 180px) var(--shell);
}
.final-cta-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.final-cta-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,31,56,0.7) 0%, rgba(10,31,56,0.9) 100%);
}
.final-cta-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}
.final-cta .display {
  color: white;
  margin-bottom: 32px;
}
.final-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--navy);
  color: #B8C5D6;
  padding-top: clamp(64px, 7vw, 96px);
  padding-bottom: 32px;
  font-size: 14px;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(48px, 5vw, 64px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .nav-logo-img { height: 64px; }
.footer-brand p { margin-top: 16px; max-width: 320px; line-height: 1.6; }
.footer h4 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 24px;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a:hover { color: white; }
.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-contact-row svg {
  flex-shrink: 0;
  color: var(--blue-bright);
  margin-top: 2px;
}
.footer-bottom {
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-seal {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.footer-seal::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4CAF50;
}
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.testimonial-card {
  background: white;
  border: 1px solid var(--line);
  padding: clamp(32px, 3.5vw, 48px);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.testimonial-quote-mark {
  font-size: 80px;
  line-height: 0.7;
  color: var(--blue);
  font-family: Georgia, serif;
  margin-bottom: 24px;
  opacity: 0.25;
  user-select: none;
}
.testimonial-quote {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  font-style: italic;
  flex: 1;
}
.testimonial-divider {
  width: 36px;
  height: 2px;
  background: var(--blue);
  margin: 28px 0 24px;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.testimonial-role {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.testimonial-sector {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   TEAM
   ========================================================= */
.team-grid {
  /* 24/09: filas alternadas — foto horizontal + tarjeta de texto (zigzag) */
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 88px);
  /* 24/09: ocupa todo el ancho de contenido (.shell), sin max-width */
}
.team-card {
  display: flex;
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
}
.team-card:nth-child(even) { flex-direction: row-reverse; }
.team-photo {
  flex: 0 0 56%;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(100%); /* 24/09: fotos de equipo en blanco y negro (quitar esta línea para volver al color) */
  transition: transform 0.6s ease;
}
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-info {
  flex: 1;
  background: white;
  border-top: 3px solid var(--blue);
  padding: 28px 32px 32px;
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(14, 42, 71, 0.35);
}
.team-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.team-role {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 8px;
}
.team-bio {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.65;
  margin-top: 16px;
}
/* 24/09: tarjetas por equipo (lista de integrantes) */
.team-info .team-role { margin: 0 0 6px; }
.team-members {
  list-style: none;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}
.team-members li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.member-name { font-size: 15px; font-weight: 600; color: var(--ink); }
.member-role { font-size: 13px; color: var(--ink-muted); text-align: right; }
.team-photo--pending {
  background: repeating-linear-gradient(135deg, var(--cream) 0 14px, var(--line) 14px 15px);
  border: 1px dashed var(--line-strong);
  display: grid;
  place-items: center;
}
.team-photo--pending span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  background: var(--paper);
  padding: 8px 14px;
}
@media (max-width: 760px) {
  .team-card,
  .team-card:nth-child(even) { flex-direction: column; align-items: stretch; gap: 0; }
  .team-photo { flex: none; width: 100%; }
  .team-info { margin: -24px 16px 0; position: relative; padding: 24px; }
  .team-members li { flex-direction: column; align-items: flex-start; gap: 2px; }
  .member-role { text-align: left; }
}

/* =========================================================
   WHATSAPP FLOAT
   ========================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 36px;
  right: 36px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: #25D366;
  color: white;
  height: 56px;
  border-radius: 100px;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.38), 0 2px 8px rgba(0,0,0,0.14);
  text-decoration: none;
  font-family: var(--sans);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
  padding: 0 7px;
}
.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.45), 0 4px 14px rgba(0,0,0,0.16);
  padding: 0 22px 0 7px;
}
.whatsapp-float:hover .whatsapp-float-text {
  max-width: 160px;
  opacity: 1;
  margin-left: 12px;
}
.whatsapp-float-icon {
  width: 42px;
  height: 42px;
  background: rgba(0,0,0,0.12);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.whatsapp-float-text {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.whatsapp-float-text .wf-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.82;
}
.whatsapp-float-text .wf-action {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   UTILITY
   ========================================================= */
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }

/* =========================================================
   NAVBAR — SUBMENÚS (sitemap nuevo · 24/09/2026)
   ========================================================= */
.nav-links > li { position: relative; }
.nav-links .caret { display: inline-block; margin-left: 4px; vertical-align: middle; transition: transform 0.2s ease; }
.nav-links .has-sub:hover > a .caret,
.nav-links .has-sub:focus-within > a .caret { transform: rotate(180deg); }
.sub-toggle { display: none; }

/* Panel desplegable (escritorio) */
.nav-links .sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  list-style: none;
  background: var(--white);
  border-top: 2px solid var(--blue);
  box-shadow: var(--shadow-card);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 110;
}
.nav-links .has-sub:hover > .sub,
.nav-links .has-sub:focus-within > .sub {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-links .sub ul { list-style: none; }
.nav .nav-links .sub a {
  display: block;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink-2);
  white-space: nowrap;
}
.nav .nav-links .sub a:hover { color: var(--blue); background: var(--blue-soft); }
.nav .nav-links .sub a.active { color: var(--blue); font-weight: 500; }
.nav-links .sub a.active::after { display: none; }

/* Sistema de Gestión: dos columnas */
.nav-links .sub-mega {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, auto));
  width: max-content;
  gap: 0 8px;
  padding: 18px 8px;
  left: auto;
  right: 0;
}
.nav .nav-links .sub a.sub-title {
  display: block;
  padding: 4px 22px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  background: none;
}
.nav .nav-links .sub a.sub-title:hover { color: var(--blue); }
html { scroll-padding-top: 110px; } /* anclas no quedan bajo el header fijo */

/* Móvil / tablet */
@media (max-width: 1100px) {
  /* el header usa backdrop-filter, que limita los hijos "fixed": se posiciona respecto al header */
  .nav-links.mobile-open {
    position: absolute;
    top: 100%; left: 0; right: 0;
    height: calc(100dvh - 100%);
    overflow-y: auto;
    box-shadow: 0 1px 0 var(--line) inset;
  }
  .nav-links.mobile-open > li { position: relative; }
  .nav-links.mobile-open .caret { display: none; }
  .nav-links.mobile-open > li > a { display: block; padding-right: 48px; }
  .nav-links.mobile-open a.active::after { display: none; }
  .nav .nav-links.mobile-open > li > a.active { color: var(--blue) !important; }
  .nav-links.mobile-open .sub-toggle {
    display: block;
    position: absolute;
    top: 6px; right: 0;
    width: 44px; height: 44px;
  }
  .nav-links.mobile-open .sub-toggle::before {
    content: '';
    position: absolute;
    left: 50%; top: 50%;
    width: 9px; height: 9px;
    border-right: 1.5px solid var(--ink);
    border-bottom: 1.5px solid var(--ink);
    transform: translate(-50%, -70%) rotate(45deg);
    transition: transform 0.2s ease;
  }
  .nav-links.mobile-open .has-sub.open > .sub-toggle::before { transform: translate(-50%, -30%) rotate(-135deg); }
  .nav-links.mobile-open .sub,
  .nav-links.mobile-open .has-sub:hover > .sub {
    position: static;
    display: none;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none;
    border-top: 0;
    min-width: 0;
    padding: 4px 0 12px 16px;
    background: transparent;
  }
  .nav-links.mobile-open .has-sub.open > .sub { display: block; }
  .nav-links.mobile-open .sub-mega { grid-template-columns: 1fr; }
  .nav-links.mobile-open .has-sub.open > .sub-mega { display: grid; }
  .nav .nav-links.mobile-open .sub a.sub-title { padding: 12px 0 4px; font-size: 11px; color: var(--ink-faint) !important; }
  .nav .nav-links.mobile-open .sub a {
    padding: 10px 0;
    font-size: 15px;
    white-space: normal;
    border-bottom: 0;
    color: var(--ink-2) !important;
  }
  .nav .nav-links.mobile-open .sub a:hover { background: transparent; }
}

/* Páginas en blanco (pendientes de contenido) */
.page-pending { min-height: 30vh; }
.page-pending .body-text { color: var(--ink-faint); }

/* =========================================================
   HERRAMIENTAS DIGITALES (30/09/2026)
   ========================================================= */
.hd-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid; place-items: center;
}
.hd-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.hd-benefit {
  display: flex; align-items: center; gap: 16px;
  padding: 24px;
  background: white;
  border-left: 3px solid var(--blue);
}
.hd-benefit .hd-icon { flex: 0 0 48px; width: 48px; height: 48px; }
.hd-benefit-title { font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.3; }
/* 04/11/2026 — rediseño del ecosistema digital (antes .tool-grid / .tool-card) */
.tgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: clamp(16px, 1.8vw, 24px);
}
.tcard {
  position: relative; overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(28px, 2.8vw, 40px);
  display: flex; flex-direction: column;
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: transparent; }
.tcard-num {
  position: absolute; right: 20px; top: 6px;
  font-size: clamp(72px, 7vw, 110px); font-weight: 700; line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1px var(--line-strong);
  pointer-events: none; user-select: none;
}
.tcard-top { display: flex; align-items: center; gap: 16px; position: relative; }
.tcard-icon {
  flex: 0 0 auto; width: 60px; height: 60px; border-radius: 14px;
  display: grid; place-items: center; color: white;
  background: linear-gradient(135deg, var(--blue-bright) 0%, var(--blue) 55%, #1565C0 100%);
  box-shadow: 0 12px 24px -12px rgba(30,136,229,.8);
  transition: transform .4s ease;
}
.tcard:hover .tcard-icon { transform: rotate(-6deg) scale(1.05); }
.tcard-verb { font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue); }
.tcard-title {
  position: relative; margin-top: clamp(28px, 3vw, 40px);
  font-size: clamp(21px, 1.7vw, 25px); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink);
  max-width: 18ch;
}
.tcard-suite {
  position: relative; align-self: flex-start; margin-top: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--ink-muted);
  padding: 5px 10px; border-radius: 6px; background: var(--paper); border: 1px solid var(--line);
}
.tcard-tools { position: relative; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 28px; }
.tcard-tools li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--ink);
  padding: 8px 14px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line-strong);
}
.tcard-tools li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex: 0 0 auto; }

/* 04/11: todas las tarjetas en azul marino (versión B2), sin trama, verbos en blanco */
.tcard {
  background: radial-gradient(120% 80% at 100% 0%, #123A63 0%, var(--navy) 60%);
  border-color: var(--navy);
}
.tcard-num { -webkit-text-stroke-color: rgba(255,255,255,.18); }
.tcard-verb { color: white; }
.tcard-title { color: white; }
.tcard-suite { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #C9D6E6; }
.tcard-tools li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); color: white; }
.tcard-tools li::before { background: var(--blue-bright); }
.tcard:hover { border-color: var(--navy); }

/* 01 destacada: alta y con título más grande */
.tcard--feature { grid-row: span 2; min-height: 460px; }
.tcard--feature .tcard-num { font-size: clamp(90px, 8vw, 130px); }
.tcard--feature .tcard-title { font-size: clamp(28px, 2.6vw, 40px); margin-top: auto; padding-top: 48px; }
.tcard--feature .tcard-tools { margin-top: 0; }
.tcard--feature .tcard-icon { width: 72px; height: 72px; border-radius: 18px; }

@media (max-width: 1000px) {
  .tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tcard--feature { grid-column: span 2; grid-row: auto; min-height: 340px; }
}
@media (max-width: 620px) {
  .tgrid { grid-template-columns: 1fr; }
  .tcard--feature { grid-column: auto; min-height: 320px; }
  .tcard-num, .tcard--feature .tcard-num { font-size: 64px; right: 14px; top: 10px; }
  .tcard-top { padding-right: 64px; }
}
.tool-note { margin-top: 24px; font-size: 13px; font-style: italic; color: var(--ink-muted); }
.hd-criterio { max-width: 860px; }
.hd-criterio-text { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.45; color: var(--ink); }
.hd-criterio-text strong { color: var(--blue); font-weight: 700; }
.hd-quote {
  text-align: center;
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.2;
  color: white;
  letter-spacing: -0.02em;
}
@media (max-width: 1000px) {
  .hd-benefits { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hd-benefits { grid-template-columns: 1fr; }
}

/* =========================================================
   PÁGINAS ISO (30/09/2026)
   ========================================================= */
.iso-sheet {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.iso-seal {
  background: var(--navy);
  display: grid; place-items: center;
  aspect-ratio: 4/3;
  padding: 40px;
}
.iso-seal img { width: 70%; max-width: 280px; height: auto; }
.iso-data { display: grid; gap: 0; border-top: 1px solid var(--line); }
.iso-data > div {
  display: flex; justify-content: space-between; gap: 24px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.iso-data dt { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.iso-data dd { font-size: 16px; font-weight: 600; color: var(--ink); text-align: right; line-height: 1.45; }
.iso-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.iso-cert-frame {
  max-width: 900px; margin: 0 auto;
  background: white;
  padding: clamp(16px, 2vw, 28px);
  box-shadow: var(--shadow-card);
}
.iso-cert-frame img { width: 100%; height: auto; display: block; }
.iso-cert-pending {
  aspect-ratio: 1 / 1.414;
  background: repeating-linear-gradient(135deg, var(--cream) 0 14px, var(--line) 14px 15px);
  border: 1px dashed var(--line-strong);
  display: grid; place-items: center;
}
.iso-cert-pending span {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-faint); background: var(--paper); padding: 10px 16px;
}
.iso-others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.iso-other {
  display: block; background: white; padding: 24px;
  border-top: 3px solid var(--blue);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.iso-other:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.iso-other-norm { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; color: var(--blue); }
.iso-other-name { display: block; margin-top: 8px; font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.3; }
@media (max-width: 900px) {
  .iso-sheet { grid-template-columns: 1fr; }
  .iso-others { grid-template-columns: 1fr; }
  .iso-data > div { flex-direction: column; gap: 4px; }
  .iso-data dd { text-align: left; }
}

/* =========================================================
   TARJETAS DE EQUIPO — rediseño (04/11/2026)
   ========================================================= */
.team-info {
  padding: 0;
  border-top: 0;
  overflow: hidden;
  box-shadow: 0 30px 60px -34px rgba(14, 42, 71, 0.55);
}
.team-head {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deep) 100%);
  padding: 30px 32px 26px;
  overflow: hidden;
}
.team-bignum {
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 120px; font-weight: 800; line-height: 1;
  color: rgba(255, 255, 255, 0.07);
  letter-spacing: -0.04em; pointer-events: none;
}
.team-info .team-role { color: var(--blue-bright); margin: 0; position: relative; }
.team-info .team-name { color: white; font-size: 24px; line-height: 1.2; margin-top: 8px; position: relative; max-width: 85%; }
.team-count { margin-top: 10px; font-size: 13px; color: #B8C5D6; position: relative; }
.team-info .team-members {
  margin: 0; border-top: 0;
  padding: 12px 20px 20px;
}
.team-info .team-members li {
  display: flex; align-items: flex-start; justify-content: flex-start;
  flex-direction: row; gap: 14px;
  padding: 12px 12px 12px 8px; border-bottom: 1px solid var(--line);
  border-radius: 4px;
  transition: background 0.2s ease;
}
.team-info .team-members li:last-child { border-bottom: 0; }
.team-info .team-members li:hover { background: var(--blue-soft); }
.team-info .team-members li::before {
  content: '';
  flex: 0 0 8px; width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  align-self: flex-start;
  margin-top: 7px;
}
.member-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.team-info .member-name { font-size: 15px; font-weight: 700; color: var(--ink); }
.team-info .member-role { font-size: 13px; font-weight: 500; color: var(--blue); text-align: left; }
@media (max-width: 760px) {
  .team-head { padding: 26px 24px 22px; }
  .team-bignum { font-size: 90px; }
  .team-info .team-members { padding: 8px 12px 14px; }
}

/* =========================================================
   PROYECTOS — listado con filtros + ficha técnica (04/11/2026)
   ========================================================= */
.pfilters {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.pfilter {
  font: 600 13px/1 var(--sans);
  letter-spacing: 0.02em;
  color: var(--ink-2);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  padding: 12px 18px;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all .25s ease;
}
.pfilter span {
  font-size: 11px; font-weight: 700;
  min-width: 22px; height: 22px; padding: 0 6px;
  display: grid; place-items: center;
  border-radius: 100px;
  background: var(--blue-soft); color: var(--blue);
}
.pfilter:hover { border-color: var(--blue); color: var(--blue); }
.pfilter.is-active { background: var(--navy); border-color: var(--navy); color: white; }
.pfilter.is-active span { background: var(--blue); color: white; }

.pgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
@media (max-width: 1000px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px)  { .pgrid { grid-template-columns: 1fr; } }

.pcard {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .4s ease, box-shadow .4s ease;
}
.pcard[hidden] { display: none; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.pcard-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.pcard:hover .pcard-media img { transform: scale(1.05); }
.pcard:hover .project-arrow { opacity: 1; transform: translate(0,0); }
.pcard-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue);
}
.pcard-title { font: 600 21px/1.15 var(--sans); letter-spacing: -0.01em; color: var(--ink); }
.pcard-meta { font-size: 14px; color: var(--ink-muted); }
.pcard-serv {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--ink-2);
}

/* Ficha técnica */
.ficha-hero {
  padding: clamp(130px, 12vw, 170px) 0 clamp(28px, 3vw, 40px);
  background: var(--paper);
}
.ficha-title {
  font-size: clamp(32px, 4vw, 56px); font-weight: 700; line-height: 1.05;
  letter-spacing: -0.02em; color: var(--ink); max-width: 22ch; text-wrap: balance;
}
.ficha { background: var(--paper); padding-bottom: var(--section); }
.ficha-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr);
  grid-template-areas: "gal card" "desc card";
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}
.gal { grid-area: gal; min-width: 0; }
.ficha-card { grid-area: card; position: sticky; top: 110px; }
.ficha-desc { grid-area: desc; }
@media (max-width: 960px) {
  .ficha-grid { grid-template-columns: 1fr; grid-template-areas: "gal" "card" "desc"; }
  .ficha-card { position: static; }
}

.gal-stage {
  position: relative; aspect-ratio: 16 / 10;
  background: var(--cream); overflow: hidden;
}
.gal-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; /* 04/11: cover a pedido (antes contain, se veía el fondo azul). En pantalla completa la foto se ve entera */
  opacity: 0; transition: opacity .5s ease;
}
.gal-img.is-active { opacity: 1; }
.gal-btn, .gal-zoom {
  position: absolute; z-index: 2;
  width: 46px; height: 46px; border-radius: 100px; border: 0;
  background: rgba(255,255,255,0.92); color: var(--ink);
  display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 6px 20px -6px rgba(0,0,0,.35);
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.gal-btn:hover, .gal-zoom:hover { background: var(--blue); color: white; }
.gal-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.gal-next { right: 16px; top: 50%; transform: translateY(-50%); }
.gal-zoom { right: 16px; top: 16px; width: 40px; height: 40px; }
.gal-count {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  font-size: 12px; letter-spacing: 0.12em; color: white;
  background: rgba(10,31,56,0.7); padding: 7px 12px; border-radius: 100px;
}
.gal-thumbs {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px; margin-top: 12px;
}
.gal-thumb {
  aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; cursor: pointer;
  background: var(--ink); overflow: hidden; opacity: .55; transition: opacity .25s ease, border-color .25s ease;
}
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-thumb:hover { opacity: .9; }
.gal-thumb.is-active { opacity: 1; border-color: var(--blue); }

.ficha-card {
  background: var(--white); color: var(--ink-2); /* 04/11: blanca (antes azul marino) */
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  padding: clamp(26px, 2.6vw, 36px);
}
.ficha-card-label {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}
.ficha-dl { margin-bottom: 30px; }
.ficha-row {
  display: grid; grid-template-columns: 100px 1fr; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.ficha-row:first-child { border-top: 1px solid var(--line); }
.ficha-row dt { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); padding-top: 2px; }
.ficha-row dd { font-size: 15px; line-height: 1.45; color: var(--ink); font-weight: 500; }
.ficha-row dd a { color: var(--ink); border-bottom: 1px solid rgba(30,136,229,0.5); }
.ficha-row dd a:hover { color: var(--blue); }
/* 04/11: servicios como lista de "realizados" (check) en vez de botones */
.ficha-serv ul { list-style: none; display: grid; }
.ficha-serv li {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 0; border-bottom: 1px solid var(--line);
}
.ficha-serv li:first-child { border-top: 1px solid var(--line); }
.ficha-check { flex: 0 0 auto; color: var(--blue); }
.ficha-serv-name { flex: 1; font-size: 15px; font-weight: 600; color: var(--ink); }
.ficha-serv-link {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted);
  transition: color .25s ease, gap .25s ease;
}
.ficha-serv-link svg { width: 11px; height: 11px; }
.ficha-serv-link:hover { color: var(--blue); gap: 9px; }

.ficha-desc { padding-top: 4px; }
.ficha-desc .ficha-card-label { color: var(--blue); }
.ficha-desc p { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; color: var(--ink); max-width: 60ch; text-wrap: pretty; }
.ficha-list { list-style: none; margin-top: 18px; display: grid; gap: 12px; max-width: 64ch; }
.ficha-list li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.ficha-list li::before { content: ''; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.ficha-list strong { color: var(--ink); font-weight: 600; }
.ficha-back {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 32px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue);
}
.ficha-back:hover { gap: 14px; }

.ficha-rel-head {
  display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap;
  margin-bottom: clamp(28px, 3vw, 40px);
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(6, 18, 33, 0.96);
  display: grid; place-items: center;
}
.lightbox[hidden] { display: none; }
.lb-img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lb-close, .lb-btn {
  position: absolute; border: 0; background: rgba(255,255,255,0.1); color: white;
  width: 52px; height: 52px; border-radius: 100px; display: grid; place-items: center; cursor: pointer;
}
.lb-close:hover, .lb-btn:hover { background: var(--blue); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.75); font-size: 13px; letter-spacing: .14em; }
body.lb-open { overflow: hidden; }
@media (max-width: 620px) {
  .gal-btn { width: 40px; height: 40px; }
  .lb-btn { width: 44px; height: 44px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .ficha-row { grid-template-columns: 88px 1fr; }
}

/* Proyectos: sectores aún sin proyectos (04/11/2026) */
.pfilter.is-empty span { background: var(--cream); color: var(--ink-faint); }
.pfilter.is-empty.is-active span { background: rgba(255,255,255,0.16); color: white; }
.pempty {
  background: var(--white); border: 1px solid var(--line);
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px);
  text-align: center;
}
.pempty[hidden] { display: none; }
.pempty .eyebrow { justify-content: center; }
.pempty .h3 { color: var(--ink); max-width: 30ch; margin-left: auto; margin-right: auto; text-wrap: balance; }
.pempty p { margin: 18px auto 0; max-width: 56ch; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.pempty-actions { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 620px) {
  .pfilters {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    margin-left: calc(-1 * var(--shell)); margin-right: calc(-1 * var(--shell));
    padding: 2px var(--shell) 6px; scrollbar-width: none;
  }
  .pfilters::-webkit-scrollbar { display: none; }
  .pfilter { flex: 0 0 auto; white-space: nowrap; }
}

/* Casos de éxito: proyecto real por sector (04/11/2026) */
.sector-item .sector-case {
  display: block; margin-top: 6px;
  font-size: 13px; font-weight: 400; letter-spacing: 0.02em; color: var(--ink-muted);
}
.sector-item.active .sector-case { color: var(--ink-2); }
a.sectors-image { display: block; }
.sectors-image-label { right: 32px; bottom: 76px; font-weight: 600; font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -0.01em; text-transform: none; line-height: 1.15; }
.sectors-image-cta {
  position: absolute; left: 32px; bottom: 32px; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: white;
  border-bottom: 1px solid rgba(255,255,255,0.5); padding-bottom: 4px;
  transition: gap .3s ease, color .3s ease, border-color .3s ease;
}
a.sectors-image:hover .sectors-image-cta { gap: 14px; color: var(--blue-bright); border-color: var(--blue-bright); }
.sectors-image::after { background: linear-gradient(180deg, rgba(10,31,56,0) 50%, rgba(10,31,56,0.75) 100%); }
@media (max-width: 480px) {
  .ficha-serv-link .fsl-txt { display: none; }
  .ficha-serv-link { width: 32px; height: 32px; justify-content: center; border: 1px solid var(--line); border-radius: 100px; }
}

/* =========================================================
   SERVICIOS — etapas del servicio (11/11/2026)
   Plantilla común para Ingeniería, Gerencia de Proyectos y Consultoría
   ========================================================= */
.page-hero .lead { max-width: 60ch; }

/* Resumen de etapas (stepper) */
.ssteps {
  display: flex; align-items: stretch; gap: 10px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.sstep {
  flex: 1 1 0; min-width: 0; position: relative;
  display: flex; flex-direction: column; gap: 14px;
  padding: 22px 20px 24px;
  background: var(--white); border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.sstep:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: transparent; }
.sstep-num {
  position: absolute; top: 14px; right: 16px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--blue);
}
.sstep-icon {
  width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; color: white;
  background: linear-gradient(135deg, var(--blue-bright) 0%, var(--blue) 55%, #1565C0 100%);
  box-shadow: 0 10px 20px -10px rgba(30,136,229,.8);
}
.sstep-title { font-size: 16px; font-weight: 700; line-height: 1.25; color: var(--ink); }
.sstep-arrow { flex: 0 0 auto; align-self: center; color: var(--blue); }

/* Detalle de cada etapa */
.sphases { display: grid; gap: clamp(18px, 2vw, 28px); }
.sphase {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  background: var(--white); border: 1px solid var(--line);
  scroll-margin-top: 110px;
}
.sphase-head {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 80% at 100% 0%, #123A63 0%, var(--navy) 60%);
  color: white; padding: clamp(28px, 3vw, 44px);
  display: flex; flex-direction: column;
}
.sphase-num {
  position: absolute; right: 18px; top: 4px;
  font-size: clamp(80px, 8vw, 120px); font-weight: 700; line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.18); pointer-events: none;
}
.sphase-icon {
  width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-bright) 0%, var(--blue) 55%, #1565C0 100%);
  box-shadow: 0 12px 24px -12px rgba(30,136,229,.9); position: relative;
}
.sphase-step { margin-top: 28px; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--blue-bright); }
.sphase-title { margin-top: 28px; font-size: clamp(22px, 2vw, 30px); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
.sphase-desc { margin-top: 14px; font-size: 16px; line-height: 1.55; color: #C9D6E6; max-width: 36ch; }
.sphase-body { padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; }
.sphase-label {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.sphase-list {
  list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px; margin-bottom: 28px;
}
.sphase-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
  font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--ink);
}
.sphase-ic {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; background: var(--blue-soft); color: var(--blue);
}
.sphase-sw { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.sphase-sw li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--ink);
  padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line-strong);
}
.sphase-sw li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* Banda de metodología */
.smet { background: radial-gradient(120% 120% at 100% 0%, #123A63 0%, var(--navy) 55%); color: white; padding: clamp(48px, 6vw, 80px) 0; }
.smet-inner { display: grid; grid-template-columns: minmax(220px, 0.7fr) minmax(0, 2fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.smet-title { font-size: clamp(24px, 2.4vw, 34px); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
.smet-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.smet-list:has(li:nth-child(7)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* 6 etapas: pasos más compactos */
.ssteps-6 .sstep { padding: 18px 14px 20px; }
.ssteps-6 .sstep-title { font-size: 14px; }
.ssteps-6 .sstep-icon { width: 48px; height: 48px; }
.ssteps-6 .sstep-arrow svg { width: 14px; }
.smet-list li {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04);
  font-size: 15px; font-weight: 600; line-height: 1.3;
}
.smet-ic { flex: 0 0 auto; color: var(--blue-bright); display: grid; }

@media (max-width: 1100px) {
  .ssteps { flex-wrap: wrap; }
  .sstep { flex: 1 1 calc(50% - 10px); }
  .ssteps-6 .sstep, .ssteps-5 .sstep { flex: 1 1 calc(33.33% - 10px); }
  .smet-list:has(li:nth-child(7)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sstep-arrow { display: none; }
  .smet-inner { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .sphase { grid-template-columns: 1fr; }
  .smet-list, .smet-list:has(li:nth-child(7)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ssteps-6 .sstep, .ssteps-5 .sstep { flex: 1 1 calc(50% - 10px); }
}
@media (max-width: 620px) {
  .ssteps { flex-direction: column; flex-wrap: nowrap; }
  .sstep { flex: 1 1 auto; flex-direction: row; align-items: center; }
  .sstep-icon { width: 46px; height: 46px; }
  .sphase-list { grid-template-columns: 1fr; }
  .smet-list, .smet-list:has(li:nth-child(7)) { grid-template-columns: 1fr; }
  .ssteps-6 .sstep, .ssteps-5 .sstep { flex: 1 1 auto; }
}

/* =========================================================
   SERVICIOS — etapas en acordeón (17/11/2026)
   Reemplaza el stepper + bloques. Sin JS todo queda abierto.
   ========================================================= */
.sacc { display: grid; gap: 14px; }
.sacc-item {
  background: var(--white); border: 1px solid var(--line);
  scroll-margin-top: 110px;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.sacc-item:hover { border-color: var(--line-strong); }
.sacc-item.is-open { border-color: transparent; box-shadow: 0 24px 48px -28px rgba(10,31,56,.45); }
.sacc-h { margin: 0; font: inherit; }
.sacc-btn {
  width: 100%; display: flex; align-items: center; gap: clamp(14px, 2vw, 24px);
  padding: clamp(16px, 2vw, 22px) clamp(18px, 2.4vw, 32px);
  background: transparent; border: 0; cursor: pointer; text-align: left;
  font-family: var(--sans); color: var(--ink);
  transition: background .35s ease, color .35s ease;
}
.sacc-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.sacc-icon {
  flex: 0 0 auto; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; color: white;
  background: linear-gradient(135deg, var(--blue-bright) 0%, var(--blue) 55%, #1565C0 100%);
  box-shadow: 0 10px 20px -10px rgba(30,136,229,.8);
}
.sacc-num { flex: 0 0 auto; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--blue); }
.sacc-title { flex: 1 1 auto; min-width: 0; font-size: clamp(17px, 1.6vw, 22px); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.sacc-toggle {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--blue);
  transition: transform .35s ease, background .35s ease, border-color .35s ease, color .35s ease;
}
.sacc-btn:hover .sacc-toggle { border-color: var(--blue); }
.sacc-item.is-open .sacc-btn { background: radial-gradient(120% 160% at 100% 0%, #123A63 0%, var(--navy) 60%); color: white; }
.sacc-item.is-open .sacc-num { color: var(--blue-bright); }
.sacc-item.is-open .sacc-toggle { transform: rotate(45deg); background: var(--blue); border-color: var(--blue); color: white; }

/* Hover: que se note que es un botón de acordeón */
.sacc-item { transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease; }
.sacc-icon { transition: transform .35s ease, box-shadow .35s ease; }
.sacc-title { transition: color .3s ease; }
.sacc-item:not(.is-open):hover { transform: translateY(-2px); border-color: var(--blue); box-shadow: var(--shadow-hover); }
.sacc-item:not(.is-open) .sacc-btn:hover { background: var(--blue-soft); }
.sacc-item:not(.is-open) .sacc-btn:hover .sacc-title { color: var(--blue); }
.sacc-item:not(.is-open) .sacc-btn:hover .sacc-icon { transform: scale(1.06); box-shadow: 0 14px 26px -12px rgba(30,136,229,.95); }
.sacc-item:not(.is-open) .sacc-btn:hover .sacc-toggle { background: var(--blue); border-color: var(--blue); color: white; transform: rotate(90deg); }
.sacc-item.is-open .sacc-btn:hover .sacc-toggle { background: var(--blue-bright); }

.sacc-panel { display: grid; grid-template-rows: 1fr; }
.sacc-inner { overflow: hidden; min-height: 0; }
.sacc-content { padding: clamp(24px, 3vw, 40px) clamp(18px, 2.4vw, 32px) clamp(28px, 3vw, 44px); }
.sacc-desc { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; color: var(--ink-2); max-width: 70ch; margin-bottom: clamp(22px, 2.4vw, 32px); }
.sacc-cols { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); }
.sacc-cols .sphase-list { margin-bottom: 0; }

/* Con JS: cerrado por defecto y animación de apertura */
.sacc.is-ready .sacc-panel { grid-template-rows: 0fr; transition: grid-template-rows .4s ease; }
.sacc.is-ready .sacc-item.is-open .sacc-panel { grid-template-rows: 1fr; }
.sacc.is-ready .sacc-item:not(.is-open) .sacc-inner { visibility: hidden; transition: visibility 0s linear .4s; }

@media (max-width: 860px) {
  .sacc-cols { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .sacc-btn { gap: 12px; padding: 14px 16px; }
  .sacc-icon { width: 42px; height: 42px; border-radius: 10px; }
  .sacc-icon svg { width: 22px; height: 22px; }
  .sacc-num { display: none; }
  .sacc-title { font-size: 16px; }
  .sacc-toggle { width: 34px; height: 34px; }
  .sacc-content { padding: 20px 16px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .sacc.is-ready .sacc-panel, .sacc-toggle, .sacc-btn, .sacc-item, .sacc-icon { transition: none; }
  .sacc-item:not(.is-open):hover { transform: none; }
}

/* =========================================================
   RESPONSIVE — grillas con estilo en línea de la primera versión (11/11/2026)
   (nosotros, sistemas-de-gestion, antisoborno, bolsa-de-trabajo)
   ========================================================= */
@media (max-width: 900px) {
  [style*="grid-template-columns:minmax(0,1fr) minmax(0,1.4fr)"] { grid-template-columns: minmax(0, 1fr) !important; }
  [style*="position:sticky;top:120px"] { position: static !important; }
}
@media (max-width: 760px) {
  [style*="grid-template-columns:repeat(2,1fr)"],
  [style*="grid-template-columns:repeat(3,1fr)"] { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (max-width: 560px) {
  [style*="grid-template-columns:80px 1fr"] { grid-template-columns: 58px minmax(0, 1fr) !important; gap: 14px !important; }
  [style*="grid-template-columns:80px 1fr"] > div:first-child { font-size: 28px !important; }
  [style*="grid-template-columns:80px 1fr"] h3 { font-size: 21px !important; }
}

/* Responsive — home (11/11/2026) */
@media (max-width: 900px) {
  .hero-aside { margin-left: 0; max-width: 520px; } /* antes quedaba corrido a la derecha en tablet */
}
@media (max-width: 560px) {
  .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-content { padding: 16px; }
  .project-title { font-size: 16px; line-height: 1.15; overflow-wrap: anywhere; hyphens: auto; }
  .project-tag { font-size: 9px; letter-spacing: 0.14em; }
}
/* Ruta de navegación: que baje de línea completa, sin partir cada enlace en columnas (11/11/2026) */
.crumbs { flex-wrap: wrap; row-gap: 6px; }
.crumbs > * { white-space: nowrap; }
@media (max-width: 560px) { .crumbs { font-size: 11px; letter-spacing: 0.1em; } }

/* Políticas y Código de Ética: ficha como las ISO (11/11/2026) */
.doc-badge { display: flex; flex-direction: column; align-items: center; gap: 18px; color: white; }
.doc-badge svg { width: clamp(64px, 8vw, 96px); height: auto; color: var(--blue-bright); }
.doc-badge-code { font-size: clamp(18px, 1.8vw, 24px); font-weight: 700; letter-spacing: 0.12em; }
.iso-data dd { overflow-wrap: anywhere; }

/* Sello (ISO) o ícono de documento (políticas) en la ficha: clic lleva al documento completo de abajo (17/11/2026) */
.doc-link { position: relative; cursor: pointer; padding-bottom: clamp(64px, 7vw, 80px); }
.doc-link > img, .doc-link .doc-badge { transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.doc-link .doc-badge svg { transition: color .3s ease; }
.doc-thumb-cta {
  position: absolute; left: 50%; bottom: clamp(16px, 2vw, 24px); transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: white;
  padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22);
  transition: background .3s ease, border-color .3s ease;
}
.doc-thumb-cta svg { transition: transform .3s ease; }
.doc-link:hover > img, .doc-link:hover .doc-badge, .doc-link:focus-visible > img, .doc-link:focus-visible .doc-badge { transform: translateY(-6px) scale(1.04); }
.doc-link:hover .doc-badge svg { color: white; }
.doc-link:hover .doc-thumb-cta, .doc-link:focus-visible .doc-thumb-cta { background: var(--blue); border-color: var(--blue); }
.doc-link:hover .doc-thumb-cta svg { transform: translateY(2px); }
.doc-link:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .doc-link > img, .doc-link .doc-badge, .doc-thumb-cta, .doc-thumb-cta svg { transition: none; } }

/* =========================================================
   LIBRO DE RECLAMACIONES (12/11/2026)
   ========================================================= */
.lr-wrap { max-width: 920px; }
.lr-sheet { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.lr-head {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 24px;
  padding: clamp(24px, 3vw, 36px); background: var(--navy); color: white;
}
.lr-head-title { display: flex; align-items: center; gap: 16px; }
.lr-book { width: 60px; height: 60px; border-radius: 14px; display: grid; place-items: center; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--blue-bright) 0%, var(--blue) 55%, #1565C0 100%); }
.lr-head-title strong { display: block; font-size: 20px; font-weight: 700; }
.lr-head-title span { font-size: 13px; color: #C9D6E6; }
.lr-head-title em { font-style: normal; font-weight: 700; color: white; }
.lr-prov { display: grid; gap: 6px; font-size: 13px; }
.lr-prov > div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 10px; }
.lr-prov dt { color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .12em; font-size: 11px; padding-top: 2px; }
.lr-prov dd { color: white; font-weight: 500; }

.lr-block { border: 0; padding: clamp(24px, 3vw, 36px); border-bottom: 1px solid var(--line); margin: 0; min-width: 0; }
.lr-block legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 20px; font-size: 17px; font-weight: 700; color: var(--ink); float: left; width: 100%; }
.lr-block legend + * { clear: both; }
.lr-block legend span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: white; font-size: 14px; flex: 0 0 auto; }
.lr-block--muted { background: var(--paper); }
.lr-block--muted p { color: var(--ink-muted); font-size: 14px; clear: both; }
.lr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; clear: both; }
.lr-full { grid-column: 1 / -1; }
.lr-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.lr-field label, .lr-label { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.lr-field input, .lr-field select, .lr-field textarea {
  width: 100%; min-width: 0; font: inherit; font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line-strong); background: white; border-radius: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.lr-field textarea { resize: vertical; }
.lr-field input:focus, .lr-field select:focus, .lr-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,136,229,.15); }
.lr-field.is-invalid input, .lr-field.is-invalid select, .lr-field.is-invalid textarea { border-color: #D93025; }
.lr-types.is-invalid .lr-type, .lr-check.is-invalid { color: #D93025; }
.lr-radios { display: flex; gap: 24px; flex-wrap: wrap; }
.lr-radio, .lr-check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--ink-2); line-height: 1.45; cursor: pointer; }
.lr-radio input, .lr-check input, .lr-type input { accent-color: var(--blue); width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; }
.lr-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lr-type { display: flex; gap: 12px; padding: 16px; border: 1px solid var(--line-strong); cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.lr-type:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.lr-type span { font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.lr-type strong { display: block; font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.lr-consent { padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 36px) 0; display: grid; gap: 12px; }
.lr-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lr-error { margin: 20px clamp(24px, 3vw, 36px) 0; padding: 12px 16px; background: #FDECEA; color: #A52714; font-size: 14px; }
.lr-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 24px clamp(24px, 3vw, 36px); }
.lr-done .lr-actions { padding: 0; }
.lr-req { font-size: 13px; color: var(--ink-muted); }
.lr-legal { padding: 20px clamp(24px, 3vw, 36px); background: var(--cream); border-top: 1px solid var(--line); }
.lr-legal p { font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.lr-legal p + p { margin-top: 6px; font-weight: 600; }
.lr-done { margin-top: 32px; padding: clamp(28px, 4vw, 48px); background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--blue); text-align: center; }
.lr-done .lr-actions { justify-content: center; }
.lr-done-ic { width: 64px; height: 64px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--blue); color: white; }
body.lr-sent .lr-sheet .lr-actions, body.lr-sent .lr-consent, body.lr-sent .lr-error { display: none; }
body.lr-sent .lr-sheet { pointer-events: none; }
@media (max-width: 720px) {
  .lr-head { grid-template-columns: 1fr; }
  .lr-grid, .lr-types { grid-template-columns: 1fr; }
  .lr-prov > div { grid-template-columns: 80px minmax(0, 1fr); }
}
@media print {
  .nav, .footer, .page-hero, .final-cta, .whatsapp-float, .lr-done, .lr-actions, .lr-consent { display: none !important; }
  .lr-sheet { box-shadow: none; border: 1px solid #999; }
  .section { padding: 0 !important; }
}

/* Footer: enlace Libro de Reclamaciones */
.footer-lr { display: inline-flex; align-items: center; gap: 8px; }
.footer-lr svg { flex: 0 0 auto; }
.lr-field[hidden] { display: none; }
.lr-field label.lr-type, .lr-field label.lr-radio { font-size: 15px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.lr-field label.lr-type { font-size: 13px; }
/* Métrica con moneda: "+ de 4000 USD" (17/11/2026) */
.metric-value .metric-suffix { font-size: 0.32em; font-weight: 700; letter-spacing: 0.04em; color: var(--blue); margin-left: 0.18em; align-self: flex-end; margin-bottom: 0.18em; }
.metric-value .metric-nw { font-style: normal; display: inline-flex; align-items: flex-end; white-space: nowrap; }

/* Libro de Reclamaciones — requisitos del Área Legal (17/11/2026) */
.lr-head { grid-template-columns: 1fr; }
.lr-head-title strong { font-size: clamp(18px, 2vw, 24px); letter-spacing: .02em; }
.lr-head-title em { font-style: normal; }
.lr-provdata { display: grid; gap: 0; clear: both; }
.lr-provdata > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.lr-provdata > div:last-child { border-bottom: 0; }
.lr-provdata dt { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); padding-top: 3px; }
.lr-provdata dd { font-size: 15px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.lr-prov-block legend span { background: var(--navy); }
.lr-captcha { margin: 20px clamp(24px, 3vw, 36px) 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  max-width: 340px; padding: 16px 18px; border: 1px solid var(--line-strong); background: var(--paper); }
.lr-captcha-box { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink); cursor: pointer; }
.lr-captcha-box input { width: 22px; height: 22px; accent-color: var(--blue); }
.lr-captcha-note { font-size: 11px; color: var(--ink-muted); }
.lr-captcha.is-invalid { border-color: #D93025; }
body.lr-locked { overflow: hidden; }
.lr-modal { position: fixed; inset: 0; z-index: 1200; background: rgba(6,18,33,.78); display: grid; place-items: center; padding: 16px; }
.lr-modal[hidden] { display: none; }
.lr-modal-box { width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--white); padding: clamp(24px, 4vw, 40px); border-top: 4px solid var(--blue); box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }
.lr-modal-ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #FFF4E5; color: #B26A00; }
.lr-modal-title { margin-top: 16px; font-size: 24px; font-weight: 700; color: var(--ink); }
.lr-modal-box > p { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.lr-provdata--modal { margin-top: 18px; padding: 4px 16px; background: var(--paper); border: 1px solid var(--line); }
.lr-provdata--modal > div { grid-template-columns: 120px minmax(0, 1fr); }
.lr-modal-actions { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 560px) {
  .lr-provdata > div, .lr-provdata--modal > div { grid-template-columns: 1fr; gap: 4px; }
  .lr-modal-actions .btn { width: 100%; justify-content: center; text-align: center; }
}
@media print { .lr-modal, .lr-captcha { display: none !important; } }
/* Footer: logo visible del Libro de Reclamaciones (pedido del Área Legal) */
.footer-lr-badge {
  margin-top: 24px; display: inline-flex; align-items: center; gap: 14px;
  padding: 12px 18px 12px 12px; background: white; color: var(--navy);
  border-radius: 8px; box-shadow: 0 10px 24px -14px rgba(0,0,0,.6);
  transition: transform .25s ease, box-shadow .25s ease;
}
.footer-lr-badge:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(0,0,0,.7); }
.footer-lr-badge-ic { width: 50px; height: 50px; border-radius: 8px; display: grid; place-items: center; flex: 0 0 auto; color: white;
  background: linear-gradient(135deg, var(--blue-bright) 0%, var(--blue) 55%, #1565C0 100%); }
.footer-lr-badge-txt { display: flex; flex-direction: column; line-height: 1.2; }
.footer-lr-badge-txt strong { font-size: 15px; font-weight: 700; color: var(--navy); }
.footer-lr-badge-txt small { font-size: 12px; color: var(--ink-muted); margin-top: 3px; }

/* =========================================================
   POLÍTICA DE PRIVACIDAD (17/11/2026)
   ========================================================= */
.legal-layout { display: grid; grid-template-columns: minmax(200px, 0.75fr) minmax(0, 2.25fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.legal-toc { position: sticky; top: 120px; }
.legal-toc ol { list-style: none; margin-top: 20px; border-left: 1px solid var(--line); counter-reset: toc; }
.legal-toc li { counter-increment: toc; }
.legal-toc a { display: flex; gap: 10px; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.35; color: var(--ink-muted); transition: color .2s ease, border-color .2s ease; }
.legal-toc a::before { content: counter(toc, decimal-leading-zero); font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--blue); padding-top: 2px; }
.legal-toc a:hover { color: var(--ink); border-left-color: var(--blue); }
.legal-doc { max-width: 780px; }
.legal-intro { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--ink-2); padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.legal-sec { padding: 36px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 20px; }
.legal-h { display: flex; align-items: baseline; gap: 14px; font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 18px; }
.legal-num { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--blue); }
.legal-sec p, .legal-sec li { font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.legal-sec p + p, .legal-sec ul + p, .legal-sec p + ul { margin-top: 14px; }
.legal-sec ul { list-style: none; display: grid; gap: 10px; }
.legal-sec ul:not(.legal-data) li { position: relative; padding-left: 20px; }
.legal-sec ul:not(.legal-data) li::before { content: ''; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.legal-sec a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-sec strong { color: var(--ink); font-weight: 600; }
.legal-data { background: white; border: 1px solid var(--line); padding: 8px 24px; gap: 0 !important; margin-top: 16px; }
.legal-data li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink) !important; }
.legal-data li:last-child { border-bottom: 0; }
.legal-data span { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); padding-top: 4px; }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .legal-toc ol { columns: 2; column-gap: 24px; }
}
@media (max-width: 560px) {
  .legal-toc ol { columns: 1; }
  .legal-data { padding: 4px 16px; }
  .legal-data li { grid-template-columns: 1fr; gap: 2px; }
}

/* Consentimiento en formularios (17/11/2026) */
.form-consent { display: grid; gap: 12px; padding-top: 4px; }
.form-field .consent-check {
  display: flex; align-items: flex-start; gap: 12px; cursor: pointer;
  font-size: 14px; letter-spacing: 0; text-transform: none; font-weight: 400; line-height: 1.5; color: var(--ink-2);
}
.form-field .consent-check input { width: 18px !important; height: 18px; min-width: 18px; margin: 2px 0 0; padding: 0; accent-color: var(--blue); flex: 0 0 auto; cursor: pointer; }
.consent-check a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
   BOLSA DE TRABAJO · catálogo de convocatorias (17/11/2026)
   ========================================================= */
.job-alert { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; margin-bottom: 32px; background: var(--blue-soft); border-left: 3px solid var(--blue); }
.job-alert-ic { color: var(--blue); flex: 0 0 auto; display: grid; padding-top: 1px; }
.job-alert p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.job-alert strong { color: var(--ink); }
.job-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.job-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.job-chip {
  font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer;
  padding: 10px 18px; border-radius: 999px; background: white; border: 1px solid var(--line-strong);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.job-chip:hover { border-color: var(--blue); color: var(--blue); }
.job-chip.is-active { background: var(--navy); border-color: var(--navy); color: white; }
.job-chip:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.job-count { font-size: 14px; color: var(--ink-muted); }
.job-count strong { color: var(--ink); }
.job-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.job-card {
  display: flex; flex-direction: column; background: white; border: 1px solid var(--line);
  padding: clamp(24px, 2.6vw, 34px); position: relative;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.job-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--blue); transform: scaleY(0); transform-origin: top; transition: transform .35s ease; }
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: transparent; }
.job-card:hover::before { transform: scaleY(1); }
.job-card[hidden] { display: none; }
.job-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.job-area { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.job-new { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #0F7B3E; background: #E3F5EA; padding: 4px 10px; border-radius: 999px; }
.job-title { margin-top: 14px; font-size: clamp(20px, 1.7vw, 24px); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); }
.job-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; }
.job-meta li { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--ink-muted); }
.job-meta svg { color: var(--blue); flex: 0 0 auto; }
.job-desc { margin-top: 16px; font-size: 15px; line-height: 1.6; color: var(--ink-2); flex: 1 1 auto; }
.job-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.job-close { font-size: 13px; color: var(--ink-muted); }
.job-close strong { color: var(--ink); }
.job-btn { display: inline-flex; align-items: center; gap: 8px; }
.job-btn svg { transition: transform .25s ease; }
.job-btn:hover svg { transform: translate(2px, -2px); }
.job-empty { margin-top: 8px; padding: 40px; text-align: center; background: white; border: 1px dashed var(--line-strong); color: var(--ink-muted); }
@media (max-width: 860px) { .job-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .job-foot { flex-direction: column; align-items: stretch; }
  .job-btn { justify-content: center; }
}
