/* ============================================================
   HONNE® — Engineering Enterprise Value™
   Brand CSS · 2026
   ============================================================ */

:root {
  /* ── Brand palette ── */
  --color-primary:   #002e6d;
  --color-secondary: #5f8db5;
  --color-accent:    #e65300;
  --color-neutral:   #949494;

  /* ── Backgrounds ── */
  --bg-primary:      #ffffff;
  --bg-secondary:    #f7f9fc;
  --bg-dark:         #002e6d;
  --bg-accent-soft:  #fff2ec;

  /* ── Text ── */
  --text-on-dark:    #ffffff;
  --text-on-light:   #002e6d;
  --text-muted:      #757375;

  /* ── Extended blue scale ── */
  --blue-900: #002e6d;
  --blue-700: #164a8f;
  --blue-500: #5f8db5;
  --blue-400: #7fa6c6;
  --blue-300: #aecad9;
  --blue-200: #dbe7f2;
  --blue-100: #bcd1e3;

  /* ── Extended orange scale ── */
  --orange-700: #e65300;
  --orange-500: #ff7a40;
  --orange-300: #ffb573;
  --orange-100: #ffe2cc;

  /* ── Gray scale ── */
  --gray-800: #333333;
  --gray-600: #757375;
  --gray-400: #b7b7b7;
  --gray-200: #e5e5e5;

  /* ── Compatibility aliases (keep all var() references working) ── */
  --navy:        #002e6d;
  --navy-mid:    #164a8f;
  --navy-light:  #164a8f;
  --orange:      #e65300;
  --orange-dark: #bf4600;
  --white:       #ffffff;
  --gray-100:    #f7f9fc;
  --text:        #002e6d;
  --text-light:  #757375;

  /* ── Typography ── */
  --font:         'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;

  /* ── Layout ── */
  --radius: 10px;
  --radius-sm: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.04), 0 8px 28px rgba(0,46,109,0.07);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.06), 0 24px 56px rgba(0,46,109,0.11);
  --transition: 0.26s cubic-bezier(0.32, 0.72, 0, 1);
  --spring: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text-on-light); background: var(--bg-primary); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }

/* ---- Typography scale ---- */
h1 { font-family: var(--font-display); font-weight: 700; color: var(--color-primary); letter-spacing: -0.025em; }
h2 { font-family: var(--font-display); font-weight: 700; color: var(--color-primary); letter-spacing: -0.015em; }
h3 { font-family: var(--font-body); font-weight: 700; color: var(--color-primary); }
h4, h5, h6 { font-family: var(--font-body); font-weight: 600; color: var(--color-primary); }
p, li { font-family: var(--font-body); font-weight: 400; }
code, kbd, pre, .font-mono { font-family: var(--font-mono); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Minimum body text size — 0.95rem. No content paragraph goes below this. ---- */
p { font-size: 0.95rem; }

/* ---- Typography helpers ---- */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-eyebrow.center { text-align: center; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin-bottom: 16px;
}
.section-title.center { text-align: center; }
.section-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 48px;
}
.section-desc.center { margin-left: auto; margin-right: auto; text-align: center; }
.accent { color: var(--color-accent); }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: all 0.26s cubic-bezier(0.32, 0.72, 0, 1);
}
.btn:active {
  transform: scale(0.97) translateY(1px) !important;
  transition-duration: 0.08s !important;
}
.btn-primary {
  background: var(--color-primary);
  color: var(--white);
}
.btn-primary::after { content: ' →'; }
.btn-primary:hover {
  background: var(--blue-700);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 46, 109, 0.25);
}
.hero-actions .btn-primary {
  background: var(--orange);
}
.hero-actions .btn-primary:hover {
  background: #d45a00;
  box-shadow: 0 6px 20px rgba(230,89,0,0.30);
}
.btn-secondary {
  background: transparent;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
}
.btn-secondary::after { content: ' →'; }
.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--white);
}
.btn-accent {
  background: var(--color-accent);
  color: var(--white);
}
.btn-accent::after { content: ' →'; }
.btn-accent:hover {
  background: #d45a00;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(230, 83, 0, 0.25);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}
.btn-outline-navy {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--blue-100);
}
.btn-outline-navy:hover {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-full { width: 100%; text-align: center; }


/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  border-radius: 14px;
  z-index: 1000;
  background: rgba(0, 46, 109, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 24px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.06);
  transition: background 0.3s cubic-bezier(0.32, 0.72, 0, 1),
              box-shadow 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}
.navbar.scrolled {
  background: rgba(0, 46, 109, 0.97);
  box-shadow: 0 8px 32px rgba(0,0,0,0.24), inset 0 -1px 0 rgba(255,255,255,0.04);
}
.nav-container {
  width: 100%;
  padding: 12px 40px;
  display: flex;
  align-items: center;
  gap: 0;
  transition: padding 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}
.navbar.scrolled .nav-container { padding: 8px 40px; }

.nav-logo {
  display: flex;
  align-items: center;
  padding-right: 20px;
  margin-right: 4px;
  border-right: 1px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
}
.logo-img {
  height: 34px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: opacity 0.26s cubic-bezier(0.32, 0.72, 0, 1);
}
.logo-img:hover { opacity: 0.80; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 10px;
  margin-left: auto;
  position: relative;
}
/* Cursor-following highlight pill */
.nav-highlight {
  position: absolute;
  border-radius: 30px;
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 18px 4px rgba(255,255,255,0.04), inset 0 1px 0 rgba(255,255,255,0.10);
  pointer-events: none;
  opacity: 0;
  z-index: 0;
  transition: left 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              top 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              width 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.15s ease;
}
.nav-link {
  position: relative;
  z-index: 1;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.72);
  padding: 8px 13px;
  border-radius: 30px;
  transition: color 0.22s cubic-bezier(0.32, 0.72, 0, 1);
}
.nav-link:hover { color: var(--white); }
.nav-link.active { color: var(--white); font-weight: 600; }
.nav-link.nav-cta {
  background: var(--color-accent);
  color: var(--white);
  padding: 9px 18px;
  font-weight: 600;
  border-radius: 30px;
  margin-left: 6px;
}
.nav-link.nav-cta:hover {
  background: var(--orange-500);
  color: var(--white);
  transform: scale(0.98);
}

/* ---- Insights nav dropdown ---- */
:root {
  --dropdown-open-dur:     250ms;
  --dropdown-close-dur:    150ms;
  --dropdown-pre-scale:    0.97;
  --dropdown-closing-scale:0.99;
  --dropdown-ease:         cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-item-drop { position: relative; }
.nav-drop-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  font-family: var(--font-body);
}
.nav-drop-chevron {
  flex-shrink: 0;
  transition: transform 0.22s cubic-bezier(0.32, 0.72, 0, 1);
}
.nav-drop-trigger[aria-expanded="true"] .nav-drop-chevron { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) scale(var(--dropdown-pre-scale));
  transform-origin: top center;
  opacity: 0;
  pointer-events: none;
  background: rgba(0,46,109,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
  padding: 6px;
  min-width: 160px;
  white-space: nowrap;
  z-index: 100;
  transition: transform var(--dropdown-open-dur) var(--dropdown-ease),
              opacity   var(--dropdown-open-dur) var(--dropdown-ease);
  will-change: transform, opacity;
}
.nav-drop-menu.is-open {
  transform: translateX(-50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.nav-drop-menu.is-closing {
  transform: translateX(-50%) scale(var(--dropdown-closing-scale));
  opacity: 0;
  pointer-events: none;
  transition: transform var(--dropdown-close-dur) var(--dropdown-ease),
              opacity   var(--dropdown-close-dur) var(--dropdown-ease);
}
.nav-drop-item {
  display: block;
  padding: 10px 16px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.80);
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-drop-item:hover { background: rgba(255,255,255,0.08); color: var(--white); }
@media (prefers-reduced-motion: reduce) {
  .nav-drop-menu { transition: none !important; }
}

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 26px;
  padding: 0 8px;
  border: 1.5px solid rgba(255,255,255,0.28);
  border-radius: 20px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.72);
  cursor: pointer;
  margin-left: 6px;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.lang-toggle:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.60);
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: 6px;
  border-radius: 50%;
  transition: background 0.2s;
}
.nav-toggle:hover { background: rgba(255,255,255,0.08); }
.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transform-origin: center;
  transition: all 0.26s cubic-bezier(0.32, 0.72, 0, 1);
}
/* Hamburger → X morph */
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--bg-dark);
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  /*
   * Video vertical clipping control:
   *   top: -N%   → shifts video up, hiding N% from the top
   *   height: X% → X% of container height; overflow beyond 100% is clipped by hero overflow:hidden
   *
   *   Formula: bottom_clip% = (top_abs + height) - 100
   *   Currently: top = -5%, height = 120%  →  bottom clip = (-5 + 120) - 100 = 15%
   *   Adjust height or top to tune clipping on either edge.
   */
  height: 120%; /* clips ~15% from bottom edge (5% shifts up, 120%-100%=20% overflow, minus 5% top shift = 15% bottom clip) */
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  top: -5%; /* shifts video up 5% to avoid empty strip at top */
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(0,17,73,0.93) 0%,
    rgba(0,17,73,0.78) 28%,
    rgba(0,17,73,0.32) 55%,
    rgba(0,17,73,0.08) 100%
  );
}

/* Home page: hero logo above h1, navbar logo hidden until scrolled */
.hero-logo-img {
  height: 68px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  margin-bottom: 28px;
  opacity: 0.92;
}
.page-home .nav-logo {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  padding-right: 0;
  margin-right: 0;
  border-right-color: transparent;
  transition: max-width 0.42s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              padding-right 0.32s, margin-right 0.32s,
              border-right-color 0.32s;
}
.page-home .navbar.scrolled .nav-logo {
  max-width: 140px;
  opacity: 1;
  padding-right: 20px;
  margin-right: 4px;
  border-right-color: rgba(255,255,255,0.12);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 60px;
  display: flex;
  justify-content: flex-start;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding-left: 48px;
  padding-right: 24px;
}
.hero-inner {
  max-width: 700px;
  width: 100%;
}
.hero-eyebrow {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  white-space: nowrap;
}
.hero-title .accent {
  white-space: nowrap;
  color: var(--color-accent);
}
.hero-tagline {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
  font-style: italic;
}
.hero-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.br-desktop { display: inline; }
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
}
.stat {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding-right: 32px;
}
.stat-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: #5f8db5;
}
.stat-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  color: inherit;
}
.stat-text {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  margin-right: 32px;
  flex-shrink: 0;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-hint span {
  display: block;
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  margin: 0 auto;
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.6); }
}

/* ---- Section glowing dividers ---- */
section { position: relative; }
section + section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,46,109,0.12) 30%, rgba(230,83,0,0.25) 50%, rgba(0,46,109,0.12) 70%, transparent);
  opacity: 0.7;
  z-index: 1;
  pointer-events: none;
}


/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 0;
  background: var(--bg-secondary);
}
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--gray-200);
}
.about-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1.2;
}
.about-intro-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.75;
}

/* ---- Value banner (Quiénes somos) ---- */
.value-banner {
  background: var(--white);
  padding: 80px 0;
  border-top: 1px solid rgba(226,232,240,0.6);
  border-bottom: 1px solid rgba(226,232,240,0.6);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04), 0 8px 32px rgba(0,46,109,0.06);
}
.value-banner > .container {
  display: flex;
  align-items: center;
  gap: 50px;
}
.brand-statement { flex: 1.2; }
.brand-statement .title-dark {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.15;
  margin: 0;
  white-space: nowrap;
}
.brand-statement .title-orange {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--orange);
  line-height: 1.15;
  margin: 0;
  white-space: nowrap;
}
.accent-line {
  width: 48px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin: 22px 0;
}
.brand-statement .description {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.75;
  margin: 0;
}
.main-divider {
  width: 1px;
  background: var(--gray-200);
  align-self: stretch;
  flex-shrink: 0;
}
.features-grid {
  flex: 2;
  display: flex;
  gap: 32px;
}
.feature-item {
  flex: 1;
  transition: transform var(--transition);
}
.feature-item:hover { transform: translateY(-5px); }
.icon-wrapper {
  position: relative;
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--gray-100);
  border-radius: 14px;
  transform: rotate(-6deg);
  transition: transform var(--transition), background var(--transition);
}
.feature-item:hover .icon-bg {
  transform: rotate(0deg) scale(1.1);
  background: #e2e8f0;
}
.styled-svg {
  position: relative;
  width: 32px;
  height: 32px;
  color: var(--navy);
  z-index: 2;
}
.feature-item h3 {
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.2;
  white-space: nowrap;
}
.feature-item p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 900px) {
  .value-banner { padding: 40px 0; }
  .value-banner > .container { flex-direction: column; gap: 28px; }
  .main-divider { display: none; }
  .features-grid { flex-direction: column; gap: 20px; }
  .brand-statement .title-dark,
  .brand-statement .title-orange { white-space: normal; }
}

/* Framework section — parallax background */
.framework-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
}

.framework-parallax-bg {
  position: absolute;
  top: -25%;
  left: 0;
  right: 0;
  bottom: -25%;
  background: url('../img/bga/2.png') center / cover no-repeat;
  will-change: transform;
  z-index: 0;
  pointer-events: none;
}

.framework-section .container { position: relative; z-index: 1; }

/* Framework block */
.framework-block { padding-top: 0; }
.framework-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.framework-card {
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--white);
  display: flex;
  flex-direction: column;
}
.f-stability, .f-modernization, .f-intelligence { background: var(--color-primary); transition: background 0.26s cubic-bezier(0.32, 0.72, 0, 1), transform 0.26s cubic-bezier(0.32, 0.72, 0, 1); }
.framework-card:hover { background: var(--blue-700); transform: translateY(-4px); }
.f-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
.f-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.framework-card h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 6px; color: var(--white); }
.f-sub { font-size: 0.82rem; font-style: italic; opacity: 0.75; margin-bottom: 16px; }
.f-desc { font-size: 0.95rem; line-height: 1.6; opacity: 0.88; margin-bottom: 28px; flex-grow: 1; }
.btn-framework {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  padding: 10px 22px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--white);
  background: var(--color-accent);
  text-decoration: none;
  transition: all var(--transition);
}
.btn-framework::after { content: ' →'; }
.btn-framework:hover {
  background: #d45a00;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(230,83,0,0.25);
}


/* ============================================================
   SERVICES — 3 Pillars
   ============================================================ */
.services {
  padding: 100px 0;
  background: var(--blue-700);
}
.services .section-title { color: var(--white); }
.services .section-desc  { color: rgba(255,255,255,0.68); }

.pillar-block {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  min-height: 280px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.26s cubic-bezier(0.32, 0.72, 0, 1), transform 0.26s cubic-bezier(0.32, 0.72, 0, 1);
}
.pillar-block:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.pillar-block:last-child { margin-bottom: 0; }

.pillar-header {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.pillar-stability .pillar-header     { background: var(--navy); }
.pillar-modernization .pillar-header { background: var(--navy); }
.pillar-intelligence .pillar-header  { background: var(--color-accent); }

.pillar-meta {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.pillar-num {
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255,255,255,0.15);
  line-height: 1;
  flex-shrink: 0;
}
.pillar-title {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.pillar-sub {
  font-size: 0.8rem;
  font-style: italic;
  color: rgba(255,255,255,0.6);
}
.pillar-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 340px;
}

.pillar-services {
  background: var(--white);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-content: start;
}
.pillar-service-item {
  display: flex;
  gap: 14px;
  padding: 20px 16px;
  border-bottom: 1px solid var(--gray-200);
  border-right: 1px solid var(--gray-200);
  transition: background var(--transition);
}
.pillar-service-item:hover { background: var(--gray-100); }
.pillar-service-item:nth-child(2n) { border-right: none; }
.pillar-service-item:nth-last-child(-n+2) { border-bottom: none; }

.psi-icon {
  font-size: 0.9rem;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
}
.pillar-intelligence .psi-icon { color: var(--navy); }
.pillar-service-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.pillar-service-item p {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.5;
}


/* ============================================================
   PARTNERS
   ============================================================ */
.partners {
  padding: 72px 0;
  background: var(--bg-secondary);
}
.partners .section-eyebrow { color: var(--orange); }
.partners .section-title { color: var(--navy); }
.partners .section-desc { color: var(--text-light); }

/* Grouped logo strip — labels above, all logos on one baseline */
.partners-groups {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 72px;
  margin-bottom: 44px;
}
.partner-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.partner-group-label {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 46px;
  white-space: nowrap;
}
.partner-group-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 52px;
  flex-wrap: nowrap;
}
.partner-logo-img {
  height: 68px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: none;
  opacity: 0.85;
  transition: opacity var(--transition);
  display: block;
}
.partner-logo-img:hover { opacity: 1; }
.partner-group-divider { display: none; }

/* Legacy card grid (unused but kept for safety) */
.partners-grid { display: none; }
.partner-card { display: none; }

/* Standards banner */
.standards-banner {
  display: flex;
  align-items: center;
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(226,232,240,0.6);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04), 0 8px 28px rgba(0,46,109,0.06);
  max-width: 100%;
  margin: 0 auto;
}
.main-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}
.shield-icon {
  color: #5f8db5;
  background: var(--gray-100);
  padding: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.text-content h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.3;
}
.text-content p {
  margin: 5px 0 0;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
}
.vertical-divider {
  width: 1px;
  height: 60px;
  background: var(--gray-200);
  margin: 0 15px;
  flex-shrink: 0;
}
.vertical-divider.main-sep {
  height: 80px;
  margin: 0 32px;
}
.certs-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 2;
}
.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #5f8db5;
}
.cert-item span {
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
}

@media (max-width: 1024px) {
  .standards-banner { flex-direction: column; text-align: center; gap: 24px; }
  .main-info { flex-direction: column; }
  .vertical-divider.main-sep { display: none; }
  .certs-grid { flex-wrap: wrap; justify-content: center; gap: 20px; }
  .certs-grid .vertical-divider { display: none; }
}


/* ============================================================
   INSIGHTS
   ============================================================ */
.insights {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background: var(--gray-100);
}

.insights-parallax-bg {
  position: absolute;
  top: -25%;
  left: 0;
  right: 0;
  bottom: -25%;
  background: url('../img/bga/3.png') center / cover no-repeat;
  will-change: transform;
  z-index: 0;
  pointer-events: none;
}

.insights .container { position: relative; z-index: 1; }
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.insight-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(226,232,240,0.6);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04), 0 8px 28px rgba(0,46,109,0.06);
  transition: transform 0.26s cubic-bezier(0.32, 0.72, 0, 1), box-shadow 0.26s cubic-bezier(0.32, 0.72, 0, 1);
}
.insight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,46,109,0.12);
}
.insight-img-placeholder {
  height: 180px;
  background: linear-gradient(150deg, var(--navy) 0%, var(--blue-700) 55%, rgba(95,141,181,0.6) 100%);
  position: relative;
  overflow: hidden;
}
.insight-img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 80%, rgba(230,83,0,0.14) 0%, transparent 60%);
}
.insight-img-placeholder::after {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: rgba(95,141,181,0.18);
}
.insight-body { padding: 24px; }
.insight-tag {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.insight-body h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 8px;
}
.insight-body p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 16px;
}
.insight-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.insight-link:hover { color: var(--orange-dark); }

.insights-note {
  text-align: center;
  padding: 16px 24px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px dashed var(--gray-200);
}
.insights-note p {
  font-size: 0.8rem;
  color: var(--gray-400);
  font-style: italic;
}

/* ── Live WordPress cards ──────────────────────────────────── */
.insight-img-wrap {
  height: 180px;
  overflow: hidden;
  background: var(--gray-100);
}
.insight-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s cubic-bezier(0.32,0.72,0,1);
}
.insight-card:hover .insight-img { transform: scale(1.04); }

/* ── Skeleton loading state ────────────────────────────────── */
@keyframes insight-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.45; }
}
.insight-skeleton { pointer-events: none; }
.insight-skel-img { animation: insight-pulse 1.5s ease-in-out infinite; }
.insight-skel-line {
  display: block;
  border-radius: 4px;
  background: var(--gray-200);
  margin-bottom: 10px;
  animation: insight-pulse 1.5s ease-in-out infinite;
}
.insight-skel-tag   { width: 40%; height: 12px; }
.insight-skel-title { width: 90%; height: 16px; }
.insight-skel-title.short { width: 65%; }
.insight-skel-text  { width: 85%; height: 12px; }
.insight-skel-text.short  { width: 55%; }

/* ── Error / empty state ───────────────────────────────────── */
.insights-fetch-error {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 48px 24px;
  color: var(--text-light);
  text-align: center;
}
.insights-fetch-error svg { opacity: 0.35; }
.insights-fetch-error p   { font-size: 0.95rem; margin: 0; }

/* ---- Insights carousel ---- */
.insights-grid {
  will-change: transform, opacity;
}
.insights-grid.is-exit-left  { animation: insightsExitLeft  0.22s ease forwards; }
.insights-grid.is-exit-right { animation: insightsExitRight 0.22s ease forwards; }
.insights-grid.is-enter-right { animation: insightsEnterRight 0.30s ease forwards; }
.insights-grid.is-enter-left  { animation: insightsEnterLeft  0.30s ease forwards; }

@keyframes insightsExitLeft  { to   { opacity: 0; transform: translateX(-28px); } }
@keyframes insightsExitRight { to   { opacity: 0; transform: translateX(28px);  } }
@keyframes insightsEnterRight { from { opacity: 0; transform: translateX(28px);  } to { opacity: 1; transform: translateX(0); } }
@keyframes insightsEnterLeft  { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: translateX(0); } }
.insights-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}
.insights-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.insights-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(0,46,109,0.22);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.insights-dot.is-active {
  background: var(--color-primary);
  transform: scale(1.35);
}
.insights-dot:hover:not(.is-active) {
  background: rgba(0,46,109,0.5);
}

/* ============================================================
   INSIGHTS PAGE
   ============================================================ */
.insights-page {
  padding: 80px 0 100px;
  background: var(--bg-secondary);
  min-height: 60vh;
}
.insights-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.insights-page-grid .insight-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,46,109,0.07);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}
.insights-page-grid .insight-card:hover {
  box-shadow: 0 8px 32px rgba(0,46,109,0.13);
  transform: translateY(-3px);
}
.insights-page-grid .insight-img-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.insights-page-grid .insight-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.insights-page-grid .insight-card:hover .insight-img {
  transform: scale(1.04);
}
.insights-page-grid .insight-img-placeholder {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  opacity: 0.12;
}
.insights-page-grid .insight-body {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.insights-page-grid h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--color-primary);
  margin: 0 0 12px;
  line-height: 1.35;
}
.insights-page-grid p {
  font-size: 0.95rem;
  color: var(--color-text-muted, #555);
  line-height: 1.65;
  margin: 0 0 20px;
  flex: 1;
}
.insights-page-grid .insight-link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-accent);
  text-decoration: none;
  letter-spacing: 0.02em;
  align-self: flex-start;
}
.insights-page-grid .insight-link:hover { text-decoration: underline; }

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

/* ============================================================
   POST PAGE
   ============================================================ */
.post-page {
  background: #fff;
  min-height: 60vh;
}

/* Hero */
.post-hero {
  width: 100%;
  height: 460px;
  overflow: hidden;
  margin-top: 80px;
}
.post-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-hero-blank {
  height: 80px;
  margin-top: 80px;
}

/* Back link */
.post-back {
  padding: 32px 0 0;
}
.post-back-link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-secondary);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.15s;
}
.post-back-link:hover { color: var(--color-primary); }

/* Article */
.post-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 100px;
}
.post-meta {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin: 36px 0 14px;
}
.post-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  color: var(--color-primary);
  line-height: 1.18;
  margin: 0 0 40px;
}
.post-title-divider {
  border: none;
  border-top: 2px solid rgba(0,46,109,0.1);
  margin: 0 0 40px;
}

/* Content: scope all WP-rendered HTML */
.post-content {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.78;
  color: #2e2e2e;
}
.post-content > * + * { margin-top: 1.4em; }
.post-content p { margin: 0; }
.post-content h2 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--color-primary);
  margin: 2.2em 0 0.5em;
  line-height: 1.25;
}
.post-content h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 1.8em 0 0.4em;
}
.post-content h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  margin: 1.5em 0 0.35em;
}
.post-content ul,
.post-content ol {
  padding-left: 1.4em;
  margin: 0;
}
.post-content li { margin-bottom: 0.35em; }
.post-content a { color: var(--color-accent); }
.post-content a:hover { text-decoration: underline; }
.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
.post-content figure { margin: 2em 0; }
.post-content figcaption {
  font-size: 0.8rem;
  color: #999;
  text-align: center;
  margin-top: 10px;
  font-style: italic;
}
.post-content blockquote {
  border-left: 3px solid var(--color-accent);
  margin: 2em 0;
  padding: 0.4em 1.5em;
  color: #555;
  font-style: italic;
}
.post-content code {
  font-family: var(--font-mono, 'DM Mono', monospace);
  font-size: 0.875em;
  background: #f4f5f7;
  padding: 0.15em 0.45em;
  border-radius: 4px;
}
.post-content pre {
  background: #f4f5f7;
  padding: 1.2em 1.4em;
  border-radius: 8px;
  overflow-x: auto;
}
.post-content pre code { background: none; padding: 0; font-size: 0.9em; }
.post-content hr {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 2.5em 0;
}
.post-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.post-content th,
.post-content td {
  padding: 10px 14px;
  border: 1px solid #e0e0e0;
  text-align: left;
}
.post-content th { background: var(--bg-secondary); font-weight: 700; }

/* WP alignment */
.post-content .aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.post-content .alignleft   { float: left; margin-right: 1.5em; margin-bottom: 0.5em; }
.post-content .alignright  { float: right; margin-left: 1.5em; margin-bottom: 0.5em; }
.post-content .alignwide   { margin-left: -60px; margin-right: -60px; max-width: none; }
.post-content::after       { content: ''; display: table; clear: both; }

/* WP block spacing resets */
.post-content .wp-block-image,
.post-content .wp-block-quote,
.post-content .wp-block-code,
.post-content .wp-block-separator { margin-top: 0; margin-bottom: 0; }

/* Skeleton */
.post-skeleton { animation: skeletonPulse 1.4s ease-in-out infinite; }
.post-skel-hero {
  width: 100%;
  height: 460px;
  margin-top: 80px;
  background: #e8edf5;
}
.post-skel-line {
  display: block;
  background: #e8edf5;
  border-radius: 6px;
}

/* Honne Sense — full-screen reader */
.sense-reader {
  display: flex;
  flex-direction: column;
  height: 100vh;
}
.sense-reader-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--color-primary);
  padding: 0 24px;
  height: 52px;
}
.sense-reader-bar--loading {
  background: var(--color-primary);
  gap: 24px;
}
.sense-reader-back,
.sense-reader-open {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.03em;
}
.sense-reader-back { color: rgba(255,255,255,0.75); }
.sense-reader-back:hover { color: #fff; }
.sense-reader-open { color: var(--color-accent); }
.sense-reader-open:hover { color: var(--orange-500, #ff7a40); }
.sense-reader-title {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0;
  min-width: 0;
}
.sense-pdf-frame {
  display: block;
  flex: 1;
  width: 100%;
  border: none;
  background: #525659;
}
.sense-pdf-loading {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #525659;
}
.sense-pdf-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255,255,255,0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: senseSpin 0.8s linear infinite;
}
@keyframes senseSpin { to { transform: rotate(360deg); } }

/* Honne Sense — magazine cover hero (fallback: no PDF) */
.sense-cover-hero {
  background: var(--bg-secondary);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 52px 24px 60px;
}
.sense-cover-img {
  width: auto;
  max-width: 380px;
  max-height: 540px;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.18), 0 8px 24px rgba(0,0,0,0.10);
}
.sense-excerpt {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.78;
  color: #4a4a4a;
  margin-bottom: 2.5rem;
}
.sense-excerpt p { margin: 0; }
.sense-skel-cover {
  width: 380px;
  max-width: calc(100% - 48px);
  height: 540px;
  background: #e8edf5;
  border-radius: 4px;
  margin: 0 auto;
}

@keyframes skeletonPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.45; }
}

@media (max-width: 768px) {
  .post-hero { height: 240px; }
  .post-article { padding: 0 16px 60px; }
  .post-content .alignleft,
  .post-content .alignright { float: none; margin: 1em 0; }
  .post-content .alignwide  { margin-left: 0; margin-right: 0; }
  .sense-cover-img { max-width: 260px; max-height: 380px; }
  .sense-skel-cover { width: 260px; height: 380px; }
  .sense-reader-title { display: none; }
}


/* ============================================================
   WHY HONNE
   ============================================================ */
.why-honne {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background: var(--bg-secondary);
}

.why-honne-parallax-bg { display: none; }

.why-honne .container { position: relative; z-index: 1; }
.why-honne .section-eyebrow { color: var(--orange); }
.why-honne .section-title { color: var(--color-primary); }
.why-honne .pillar-num { display: none; }

/* ---- Enterprise cards grid ---- */
.enterprise-section { margin-top: 8px; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.info-card {
  background: var(--white);
  padding: 26px;
  border-radius: 12px;
  border: 1px solid rgba(226,232,240,0.7);
  box-shadow: 0 1px 6px rgba(0,0,0,0.03), 0 4px 16px rgba(0,46,109,0.05);
  transition: transform 0.26s cubic-bezier(0.32, 0.72, 0, 1), box-shadow 0.26s cubic-bezier(0.32, 0.72, 0, 1);
}
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,46,109,0.10);
}
.card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.card-icon {
  width: 30px;
  height: 30px;
  color: #5f8db5;
  flex-shrink: 0;
}
.info-card h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
}
.info-card .tagline {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray-400);
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}
.info-card .content {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

/* ---- Why CTA banner ---- */
.why-cta-banner {
  background: var(--white);
  border: 1px solid rgba(226,232,240,0.6);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04), 0 12px 48px rgba(0,46,109,0.08);
  padding: 40px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.cta-icon-box {
  background: var(--bg-secondary);
  padding: 22px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}
.cta-text { flex: 2; }
.cta-text h2 {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1.3;
}
.cta-text .highlight { color: inherit; }
.cta-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.65;
}
.cta-text .sub-text { font-size: 0.95rem; color: var(--gray-400); margin-bottom: 0; }
.cta-button {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--transition), background var(--transition);
}
.cta-button:hover { background: var(--orange-dark); transform: scale(1.04); }

@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .cards-grid { grid-template-columns: 1fr; }
  .why-cta-banner { flex-direction: column; text-align: center; padding: 28px 20px; }
  .cta-icon-box { display: none; }
}


/* ============================================================
   LOCATIONS
   ============================================================ */
.locations {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background: var(--white);
}

.locations-parallax-bg {
  position: absolute;
  top: -25%;
  left: 0;
  right: 0;
  bottom: -25%;
  background: url('../img/bga/Untitled (1).png') center / cover no-repeat;
  will-change: transform;
  z-index: 0;
  pointer-events: none;
}

.locations .container { position: relative; z-index: 1; }

.locations-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}
.locations-header .section-eyebrow { margin-bottom: 8px; }
.locations-header .section-title   { margin-bottom: 0; }

.locations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.location-card {
  background: var(--white);
  border: 1px solid rgba(226,232,240,0.8);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow 0.26s cubic-bezier(0.32, 0.72, 0, 1), transform 0.26s cubic-bezier(0.32, 0.72, 0, 1), border-color 0.26s cubic-bezier(0.32, 0.72, 0, 1);
}
.location-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-3px);
  border-color: var(--orange);
}
.location-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.location-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.location-country {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.location-flag {
  flex-shrink: 0;
  line-height: 0;
}
.location-flag svg {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  display: block;
}
.location-type {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 4px;
}
.location-address {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.4;
}

.ccoe-banner {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.ccoe-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 6px;
}
.ccoe-left p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
}
.ccoe-right span {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  white-space: nowrap;
}


/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--bg-secondary);
  padding: 80px 0;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.cta-banner-copy .section-eyebrow { color: var(--color-accent); }
.cta-banner-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin-bottom: 10px;
}
.cta-banner-copy p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.cta-banner .btn-outline {
  color: var(--navy);
  border-color: var(--blue-100);
}
.cta-banner .btn-outline:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.cta-banner-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .cta-banner-inner { flex-direction: column; align-items: flex-start; }
  .cta-banner-actions { flex-direction: column; width: 100%; }
  .cta-banner-actions .btn { text-align: center; }
}


/* ============================================================
   FORM COMPONENTS — shared (used by contacto.html)
   ============================================================ */
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232, 104, 42, 0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235c6478' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
}

/* ---- Main grid ---- */
.footer-main {
  display: grid;
  grid-template-columns: 1.9fr 1fr 1fr 1fr 1.6fr;
  gap: 0;
  padding: 64px 0 52px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Brand column */
.footer-brand {
  padding-right: 48px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.footer-logo-img {
  height: 40px;
  width: auto;
  display: block;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-headline {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.8vw, 1.9rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}
.footer-headline-accent { color: var(--orange); }
.footer-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.50);
  line-height: 1.7;
  margin-bottom: 28px;
}
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 6px;
  transition: background var(--transition), transform var(--transition);
}
.footer-cta-btn:hover { background: var(--orange-dark); transform: translateX(2px); }

/* Nav columns */
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 28px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.footer-contact-col { border-right: none; padding-right: 0; }

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.footer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--transition);
  padding: 2px 0;
}
.footer-link:hover { color: var(--white); }
.footer-arrow {
  font-size: 1rem;
  color: rgba(255,255,255,0.25);
  transition: color var(--transition), transform var(--transition);
}
.footer-link:hover .footer-arrow { color: var(--orange); transform: translateX(2px); }

/* Contact column */
.footer-contact-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  margin-bottom: 4px;
}
.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
}
.footer-contact-icon {
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255,255,255,0.65);
}

/* Social buttons */
.footer-socials {
  display: flex;
  gap: 10px;
  padding-top: 4px;
}
.footer-social-btn {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.60);
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.footer-social-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

/* ---- Bottom bar ---- */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 0 24px;
}
.footer-policies {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-policies a {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.40);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-policies a:hover { color: rgba(255,255,255,0.80); }
.footer-dot {
  color: rgba(255,255,255,0.20);
  font-size: 0.7rem;
}
.footer-copy {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.30);
}
.footer-copy sup { font-size: 0.6em; }

@media (max-width: 1100px) {
  .footer-main { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
  .footer-brand { border-right: none; padding-right: 0; grid-column: 1 / -1; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 32px; }
  .footer-col { border-right: none; padding: 0; }
}
@media (max-width: 640px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-policies { flex-direction: column; gap: 6px; }
  .footer-dot { display: none; }
}


/* ============================================================
   PAGE HERO — shared across inner pages (about, servicios, …)
   ============================================================ */
.page-hero {
  background: var(--navy);
  padding: 140px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(232,104,42,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-content {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-top: 12px;
}
.page-breadcrumb {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}
.page-breadcrumb a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color var(--transition);
}
.page-breadcrumb a:hover { color: var(--orange); }
.page-breadcrumb span { margin: 0 8px; }
.page-hero-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  margin-top: 20px;
  font-style: italic;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .pillar-block { grid-template-columns: 1fr; }
  .pillar-header { padding: 32px 28px; }
  .pillar-services { padding: 28px; }
  .framework-grid { grid-template-columns: 1fr; gap: 16px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .ai-fusion-banner { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-container { padding: 14px 20px; }
  .navbar.scrolled .nav-container { padding: 10px 20px; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(0, 46, 109, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 12px 16px 20px;
    gap: 4px;
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 12px 40px rgba(0,0,0,0.24);
    margin-left: 0;
  }
  .nav-links.open { display: flex; }
  .lang-toggle { margin-left: auto; }
  .nav-link { padding: 12px 16px; border-radius: 10px; color: rgba(255,255,255,0.80); }
  .nav-link:hover { background: rgba(255,255,255,0.08); color: var(--white); }
  .nav-link.nav-cta { margin-left: 0; margin-top: 8px; text-align: center; color: var(--white); }
  .nav-toggle { display: flex; }
  .nav-item-drop { width: 100%; }
  .nav-drop-trigger { width: 100%; justify-content: space-between; }
  .nav-drop-menu {
    position: static;
    transform: none !important;
    opacity: 1;
    pointer-events: none;
    background: rgba(255,255,255,0.05);
    border: none;
    box-shadow: none;
    border-radius: 8px;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height 0.25s var(--dropdown-ease), padding 0.25s var(--dropdown-ease);
  }
  .nav-drop-menu.is-open {
    pointer-events: auto;
    max-height: 120px;
    padding: 4px;
  }
  .nav-drop-menu.is-closing {
    max-height: 0;
    padding: 0;
    transition: max-height 0.15s var(--dropdown-ease), padding 0.15s var(--dropdown-ease);
  }

  .hero-content { padding-left: 24px; padding-right: 24px; }
  .hero-inner { max-width: 100%; }
  .hero-bg { background: linear-gradient(90deg, rgba(0,17,73,0.88) 0%, rgba(0,17,73,0.70) 50%, rgba(0,17,73,0.50) 100%); }

  .page-hero { padding: 120px 0 56px; }
  .hero-title { font-size: 2.4rem; white-space: normal; }
  .hero-title .accent { white-space: normal; }
  .br-desktop { display: none; }
  .hero-stats { gap: 12px; flex-wrap: wrap; }
  .stat-divider { display: none; }
  .stat { padding-right: 0; gap: 8px; }
  .stat-num { font-size: 1.05rem; }
  .stat-icon { width: 22px; height: 22px; }

  .evolution-grid { grid-template-columns: 1fr; }
  .evo-arrow { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-groups { gap: 32px; flex-wrap: wrap; justify-content: center; }
  .partner-group-logos { gap: 24px; flex-wrap: wrap; }
  .insights-grid { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: repeat(2, 1fr); }

  .form-row { grid-template-columns: 1fr; }

  .ccoe-banner { flex-direction: column; gap: 12px; }

  .pillar-services { grid-template-columns: 1fr; }
  .pillar-service-item { border-right: none !important; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
  .partners-grid { grid-template-columns: 1fr; }
  .partner-logo-img { height: 44px; max-width: 120px; }
  .locations-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ENTERPRISE TENSION (home hero follow-up)
   ============================================================ */
.enterprise-tension {
  background: var(--color-primary);
  padding: 80px 0;
  text-align: center;
}
.tension-inner {
  max-width: 820px;
  margin: 0 auto;
}
.tension-statement {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  color: #fff;
  line-height: 1.35;
  margin-bottom: 20px;
  font-style: italic;
}
.tension-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.70);
  line-height: 1.75;
  margin: 0;
}

/* ============================================================
   AUTHORITY STRIP (about / value-banner)
   ============================================================ */
.authority-strip-row {
  padding-top: 28px;
  border-top: 1px solid var(--gray-200);
  padding-bottom: 40px;
}
.authority-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.authority-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
  transition: border-color var(--transition), background var(--transition);
}
.authority-badge:hover {
  border-color: var(--color-accent);
  background: var(--bg-accent-soft);
}
.authority-badge-dot {
  width: 5px;
  height: 5px;
  background: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   MANAGED OPERATIONS CALLOUT (stability)
   ============================================================ */
.managed-ops-callout {
  background: var(--bg-secondary);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 40px 0;
}
.managed-ops-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 8px;
}
.managed-ops-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0 0 18px;
}
.managed-ops-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.managed-ops-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(230,83,0,0.07);
  padding: 4px 10px;
  border-radius: 4px;
}

/* ============================================================
   SERVICE POV STATEMENT (pull-quote per pillar)
   ============================================================ */
.svc-pov {
  border-left: 3px solid var(--color-accent);
  padding: 20px 28px;
  margin: 40px 0;
  background: rgba(0,46,109,0.03);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.svc-pov-quote {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--color-primary);
  line-height: 1.4;
  margin-bottom: 10px;
  font-style: italic;
}
.svc-pov-sub {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   AI FUSION FRAMEWORK PILLARS
   ============================================================ */
.aif-pillars {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
}
.aif-pillar-num {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  opacity: 0.75;
  margin-bottom: 6px;
}

@media (max-width: 1024px) {
  .enterprise-tension { padding: 64px 0; }
  .aif-pillars { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 768px) {
  .enterprise-tension { padding: 48px 0; }
  .managed-ops-callout { padding: 20px; }
  .svc-pov { padding: 16px 20px; }
}
@media (max-width: 600px) {
  .aif-pillars { grid-template-columns: 1fr !important; }
  .authority-strip-row { padding-bottom: 28px; }
}
