/* =========================================================
   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(56px, 7vw, 112px);
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 96px);
  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(46px, 7.2vw, 108px);
  font-weight: 700;
  line-height: 0.96;
  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-label {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  line-height: 1.4;
}
@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: 220px;
  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: 52px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.75;
}
.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-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 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.team-card {
  background: white;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.team-photo {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: grayscale(15%);
  transition: transform 0.5s ease, filter 0.4s ease;
}
.team-card:hover .team-photo img {
  transform: scale(1.05);
  filter: grayscale(0%);
}
.team-info {
  padding: 24px 28px 28px;
  border-top: 2px solid transparent;
  transition: border-color 0.3s ease;
}
.team-card:hover .team-info {
  border-top-color: var(--blue);
}
.team-name {
  font-size: 18px;
  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: 6px;
}
.team-bio {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.65;
  margin-top: 14px;
}
@media (max-width: 1000px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   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; }
