/* ============================================
   Vertex Corp — Sitio Corporativo a Escala
   Plan Premium Enterprise · Paleta clara con acento azul marino
   17 páginas: institucional, unidades de negocio,
   inversionistas, prensa, carreras, oficinas,
   certificaciones y legal.
   ============================================ */
:root {
  --bg-deep: #F8FAFC;
  --bg-panel: #F1F5F9;
  --bg-panel-2: #E8EEF5;
  --bg-card: #FFFFFF;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --accent: #1E3A5F;
  --accent-light: #D4DCE8;
  --accent-dark: #0A1628;
  --accent-gradient: linear-gradient(135deg, #1E3A5F, #3B6A8A);
  --accent-soft: #E8EEF5;
  --green: #10B981;
  --amber: #F59E0B;
  --border: rgba(15, 23, 42, 0.06);
  --border-light: rgba(15, 23, 42, 0.03);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 20px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.08);
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }

/* ============================================
   ICONOS SVG
   ============================================ */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: currentColor;
}
.icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--filled svg {
  fill: currentColor;
  stroke: none;
}
.icon--lg { width: 24px; height: 24px; }
.icon--xl { width: 32px; height: 32px; }
.icon--accent { color: var(--accent); }
.icon--white { color: #fff; }

/* ============================================
   TOPBAR — barra superior utilitaria
   ============================================ */
.topbar {
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border);
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 34px;
  font-size: 0.7rem;
  color: var(--text-muted);
}
.topbar .topbar-links {
  display: flex;
  gap: 1.5rem;
}
.topbar .topbar-links a {
  transition: color 0.25s ease;
}
.topbar .topbar-links a:hover {
  color: var(--accent);
}

/* ============================================
   HEADER
   ============================================ */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
header.scrolled {
  box-shadow: var(--shadow-sm);
}
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
}
.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-gradient);
  box-shadow: 0 0 20px rgba(30, 58, 95, 0.12);
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}
nav.main-nav a {
  position: relative;
  font-size: 0.81rem;
  color: var(--text-secondary);
  padding-bottom: 4px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.25s ease;
}
nav.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  border-radius: 2px;
}
nav.main-nav a:hover {
  color: var(--text-primary);
}
nav.main-nav a:hover::after,
nav.main-nav a.active::after {
  transform: scaleX(1);
}
nav.main-nav a.active {
  color: var(--text-primary);
}

.nav-cta {
  background: var(--accent-gradient);
  color: #fff !important;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.nav-cta::after {
  display: none !important;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 58, 95, 0.15);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 0.4rem;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: 0.3s ease;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 58, 95, 0.04), transparent 70%);
  top: -180px;
  right: -140px;
  filter: blur(50px);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  z-index: 2;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.8rem;
  border: 1px solid rgba(30, 58, 95, 0.1);
  border-radius: 999px;
  background: rgba(30, 58, 95, 0.04);
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3rem);
  letter-spacing: -0.02em;
  max-width: 720px;
  margin-bottom: 1.1rem;
  color: var(--text-primary);
}
.hero h1 .highlight {
  color: var(--accent);
}
.hero p {
  font-size: 0.98rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.8;
}

/* ============================================
   BOTONES
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 12px 30px -10px rgba(30, 58, 95, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn-primary .icon {
  width: 18px;
  height: 18px;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -12px rgba(30, 58, 95, 0.3);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.btn-ghost .icon {
  width: 18px;
  height: 18px;
}
.btn-ghost:hover {
  border-color: var(--accent);
  background: rgba(30, 58, 95, 0.04);
}

/* ============================================
   SECCIONES
   ============================================ */
section {
  padding: 4.5rem 0;
}
section:not(:first-of-type) {
  border-top: 1px solid var(--border);
}

.section-head {
  max-width: 580px;
  margin-bottom: 2.5rem;
}
.section-head .eyebrow {
  margin-bottom: 0.5rem;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}
.section-head p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}
.section-head.between {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: none;
}

/* ============================================
   STATS STRIP
   ============================================ */
.stats-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.25rem 0;
}
.stats-strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  text-align: center;
  border-left: 1px solid var(--border);
}
.stat:first-child {
  border-left: none;
}
.stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--accent);
}
.stat-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* ============================================
   TARJETAS GENÉRICAS
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card {
  padding: 2.25rem 1.75rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-sm);
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(30, 58, 95, 0.08);
  box-shadow: var(--shadow-md);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-gradient);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 24px rgba(30, 58, 95, 0.1);
}
.card-icon .icon {
  width: 24px;
  height: 24px;
}
.card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}
.card p {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   UNIDAD DE NEGOCIO — tarjeta grande con link
   ============================================ */
.unit-card {
  position: relative;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.unit-card:hover {
  transform: translateY(-6px);
  border-color: rgba(30, 58, 95, 0.08);
  box-shadow: var(--shadow-md);
}
.unit-card .icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  opacity: 0.2;
  margin-bottom: 1rem;
}
.unit-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: block;
}
.unit-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}
.unit-card p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 1.1rem;
  line-height: 1.7;
}
.unit-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.unit-link .icon {
  width: 16px;
  height: 16px;
  opacity: 1;
  color: var(--accent);
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.timeline-item {
  border-left: 2px solid var(--accent);
  padding-left: 1.15rem;
}
.timeline-year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--accent);
}
.timeline-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 0.4rem;
  line-height: 1.6;
}

/* ============================================
   EQUIPO / LIDERAZGO
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.team-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-sm);
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  color: #fff;
  box-shadow: 0 8px 24px rgba(30, 58, 95, 0.1);
}
.team-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
  color: var(--text-primary);
}
.team-card span {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.team-card .team-bio {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  line-height: 1.5;
}

/* ============================================
   FILAS DE SERVICIO / PROCESO
   ============================================ */
.svc-row {
  display: grid;
  grid-template-columns: 0.25fr 1fr;
  gap: 2.5rem;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.svc-row:first-child {
  padding-top: 0;
}
.svc-row:last-child {
  border-bottom: none;
}
.svc-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--accent);
  opacity: 0.15;
}
.svc-row h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}
.svc-row p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.7;
}
.svc-row .svc-detail {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}
.svc-row .svc-detail strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ============================================
   ESG / SOSTENIBILIDAD
   ============================================ */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pillar-card {
  padding: 2rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.pillar-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  margin-bottom: 0.8rem;
  display: block;
}
.pillar-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}
.pillar-card p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   INVERSIONISTAS
   ============================================ */
.report-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.report-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-shadow: var(--shadow-sm);
}
.report-item:hover {
  border-color: rgba(30, 58, 95, 0.08);
  background: rgba(30, 58, 95, 0.01);
  box-shadow: var(--shadow-md);
}
.report-info h4 {
  font-size: 0.87rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
  color: var(--text-primary);
}
.report-info span {
  font-size: 0.76rem;
  color: var(--text-muted);
}
.report-link {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
  transition: color 0.25s ease;
}
.report-link:hover {
  color: var(--accent-dark);
}

/* ============================================
   PRENSA
   ============================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.news-card {
  padding: 1.75rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 58, 95, 0.06);
  box-shadow: var(--shadow-md);
}
.news-date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  display: block;
  margin-bottom: 0.6rem;
}
.news-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}
.news-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   ARTÍCULO INDIVIDUAL
   ============================================ */
.article-header {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.article-header .eyebrow {
  margin-bottom: 0.5rem;
}
.article-header h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 1.1rem;
  color: var(--text-primary);
}
.article-meta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.83rem;
  color: var(--text-muted);
}
.article-body {
  max-width: 680px;
  margin: 3rem auto 0;
}
.article-body p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.3rem;
  line-height: 1.8;
}
.article-body h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  margin: 2rem 0 1rem;
  color: var(--text-primary);
}
.article-body ul {
  margin: 0 0 1.3rem 1.2rem;
  color: var(--text-secondary);
}
.article-body li {
  margin-bottom: 0.5rem;
}

/* ============================================
   CARRERAS
   ============================================ */
.job-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.job-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.job-item:hover {
  border-color: rgba(30, 58, 95, 0.08);
  background: rgba(30, 58, 95, 0.01);
  box-shadow: var(--shadow-md);
}
.job-info h4 {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--text-primary);
}
.job-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.job-tags span {
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.job-link {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
}
.job-link:hover {
  color: var(--accent-dark);
}

/* ============================================
   OFICINAS
   ============================================ */
.office-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.office-card {
  padding: 1.75rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.office-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.office-region {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}
.office-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}
.office-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   CERTIFICACIONES
   ============================================ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.cert-tile {
  padding: 1.5rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cert-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.cert-tile strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-primary);
}
.cert-tile span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ============================================
   CONTACTO
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 3rem;
  align-items: start;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-row label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.form-row input,
.form-row select,
.form-row textarea {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.04);
}
.form-row textarea {
  resize: vertical;
  min-height: 110px;
}
.info-card {
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}
.info-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}
.info-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.87rem;
}
.info-row:last-child {
  border-bottom: none;
}
.info-row span:first-child {
  color: var(--text-secondary);
}
.info-row span:last-child {
  color: var(--text-primary);
  font-weight: 500;
}

.contact-extra {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border-radius: 12px;
  background: var(--bg-panel);
  text-align: center;
}
.contact-extra p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.contact-extra .highlight {
  color: var(--accent);
  font-weight: 600;
}

/* ============================================
   LEGAL
   ============================================ */
.legal-body {
  max-width: 720px;
}
.legal-body h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
  color: var(--text-primary);
}
.legal-body h2:first-child {
  margin-top: 0;
}
.legal-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.8;
}
.legal-body ul {
  margin: 0 0 1rem 1.2rem;
  color: var(--text-secondary);
}
.legal-body li {
  margin-bottom: 0.4rem;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2.25rem;
  background: var(--bg-panel);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 1.75rem;
  margin-bottom: 2rem;
}
.footer-brand .logo {
  font-size: 1rem;
}
.footer-brand p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  margin-top: 0.75rem;
  max-width: 240px;
  line-height: 1.6;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}
.footer-col a {
  display: block;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: var(--accent);
}
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  background: #fff;
}
.footer-social a .icon {
  width: 16px;
  height: 16px;
}
.footer-social a:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.76rem;
  color: var(--text-muted);
}
.footer-bottom .accent {
  color: var(--accent);
}

/* ============================================
   SCROLL-REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pillar-grid {
    grid-template-columns: 1fr 1fr;
  }
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }
  .office-grid {
    grid-template-columns: 1fr 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cert-grid {
    grid-template-columns: 1fr 1fr;
  }
  .timeline {
    grid-template-columns: 1fr 1fr;
  }
  .stats-strip .wrap {
    grid-template-columns: 1fr 1fr;
  }
  .stat:nth-child(3) {
    border-left: none;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .topbar .topbar-links {
    display: none;
  }
  .svc-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

@media (max-width: 680px) {
  nav.main-nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1rem;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
    transform: translateY(-140%);
    transition: transform 0.3s ease;
    z-index: 49;
    box-shadow: var(--shadow-lg);
  }
  nav.main-nav.open {
    transform: translateY(0);
  }
  .nav-toggle {
    display: flex;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .pillar-grid {
    grid-template-columns: 1fr;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .office-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .cert-grid {
    grid-template-columns: 1fr;
  }
  .timeline {
    grid-template-columns: 1fr;
  }
  .stats-strip .wrap {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .job-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}