/* Billwise Advisory Ltd. */

:root {
  --blue-900: #0f2d4a;
  --blue-800: #1a4b7a;
  --blue-700: #2b609a;
  --blue-600: #3d7ab8;
  --blue-500: #5a9bd4;
  --blue-100: #e8f2fa;
  --blue-50: #f4f9fd;
  --red-600: #e31e44;
  --red-500: #ef3a5d;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --icon-color: var(--blue-700);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 1px 3px rgba(15, 45, 74, 0.06);
  --shadow-md: 0 4px 20px rgba(15, 45, 74, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 45, 74, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --nav-height: 80px;
  --page-gutter: clamp(20px, 5vw, 32px);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}
.site-main { min-height: 50vh; }

/* Pattern */
.pattern-bg {
  position: relative;
  background-color: var(--blue-50);
}

.pattern-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232b609a' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.pattern-bg > * { position: relative; z-index: 1; }

/* Typography */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red-600);
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--red-600);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--blue-800);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-title span { color: var(--blue-600); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 640px;
  margin-top: 14px;
}

.section-header { margin-bottom: 48px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin-inline: auto; }

.section { padding: clamp(60px, 8vw, 100px) 0; }
.text-center { text-align: center; }

/* Icons — single brand color */
.icon-box {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-100);
  border-radius: 14px;
  color: var(--icon-color);
  flex-shrink: 0;
}

.icon-box svg { width: 24px; height: 24px; }

.icon-box--small {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.icon-box--small svg { width: 20px; height: 20px; }

.icon-box--large {
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.icon-box--large svg { width: 36px; height: 36px; }

.icon-box--light {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.service-card:hover .icon-box,
.approach-card:hover .icon-box,
.preview-card:hover .icon-box,
.pillar-card:hover .icon-box {
  background: var(--blue-700);
  color: var(--white);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--red-600);
  color: var(--white);
  border-color: var(--red-600);
}

.btn-primary:hover {
  background: var(--red-500);
  border-color: var(--red-500);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(227, 30, 68, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--blue-700);
  border-color: var(--blue-700);
}

.btn-outline:hover {
  background: var(--blue-700);
  color: var(--white);
}

.btn-full { width: 100%; }

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--blue-800);
  border-color: var(--white);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.nav-bar {
  height: var(--nav-height);
  transition: var(--transition);
  pointer-events: none;
}

.nav-logo,
.nav-toggle {
  pointer-events: auto;
  position: relative;
  z-index: 5;
}

.navbar.scrolled .nav-bar,
.navbar.menu-open .nav-bar {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

.navbar--light:not(.scrolled):not(.menu-open) .nav-links a,
.navbar--light:not(.scrolled):not(.menu-open) .nav-phone a,
.navbar--light:not(.scrolled):not(.menu-open) .nav-phone span {
  color: var(--white);
}

.navbar--light:not(.scrolled):not(.menu-open) .nav-toggle span {
  background: var(--white);
}

.navbar--light.scrolled .nav-links a,
.navbar--light.scrolled .nav-phone a,
.navbar--light.scrolled .nav-phone span,
.navbar--light.menu-open .nav-links a,
.navbar--light.menu-open .nav-phone a,
.navbar--light.menu-open .nav-phone span {
  color: inherit;
}

.navbar--light.scrolled .nav-links a,
.navbar--light.menu-open .nav-links a { color: var(--blue-800); }

.navbar--light.scrolled .nav-phone span,
.navbar--light.menu-open .nav-phone span { color: var(--blue-600); }

.navbar--light.scrolled .nav-phone a,
.navbar--light.menu-open .nav-phone a { color: var(--blue-800); }

.navbar--light.scrolled .nav-toggle span,
.navbar--light.menu-open .nav-toggle span { background: var(--blue-800); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

.nav-logo img { height: 48px; width: auto; }

.nav-panel {
  display: flex;
  align-items: center;
}

.nav-panel-inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 28px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 28px);
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--blue-800);
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red-600);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-links a.active { color: var(--blue-700); font-weight: 600; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.3;
}

.nav-phone span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.nav-phone a {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue-800);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1002;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue-800);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
  position: fixed;
  inset: 0;
  top: var(--nav-height);
  background: rgba(15, 45, 74, 0.5);
  z-index: 1003;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), visibility var(--transition);
}

.nav-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (min-width: 769px) {
  .navbar {
    height: var(--nav-height);
  }

  .nav-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transform: none;
    visibility: visible;
    pointer-events: none;
    background: transparent;
    overflow: visible;
    z-index: 4;
  }

  .nav-panel-inner {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: var(--page-gutter);
    padding-left: calc(var(--page-gutter) + clamp(140px, 18vw, 200px));
    height: var(--nav-height);
    justify-content: flex-end;
    pointer-events: auto;
  }

  .nav-backdrop {
    display: none;
  }
}

/* Page hero (inner pages) */
.page-hero {
  padding: calc(var(--nav-height) + 48px) 0 48px;
}

.page-hero-inner {
  max-width: 720px;
  text-align: left;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 800;
  color: var(--blue-900);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.page-hero h1 span { color: var(--blue-600); }

.page-hero-desc {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 600px;
}

.about-hero {
  padding-bottom: 64px;
}

.about-hero .page-hero-inner {
  max-width: 860px;
}

.about-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.about-proof-item {
  min-width: 160px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.about-proof-item strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue-800);
  line-height: 1;
  margin-bottom: 6px;
}

.about-proof-item span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-500);
}

.section--compact-top {
  padding-top: clamp(44px, 6vw, 72px);
}

.about-overview {
  background: var(--white);
}

.about-exec-grid {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 42%);
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
  padding: clamp(26px, 4vw, 36px);
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-exec-content .section-title {
  margin-bottom: 18px;
}

.about-exec-content p {
  font-size: 1rem;
  color: var(--gray-500);
  margin-bottom: 16px;
  line-height: 1.75;
}

.about-exec-content p:last-child {
  margin-bottom: 0;
}

.about-exec-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--gray-100);
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4 / 3;
  justify-self: end;
}

.about-exec-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-vm-section {
  border-top: 1px solid var(--blue-100);
  border-bottom: 1px solid var(--blue-100);
}

.about-leader-profile {
  position: relative;
  text-align: left;
  padding: clamp(26px, 4vw, 36px);
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.about-leader-profile::after {
  content: '';
  display: table;
  clear: both;
}

.about-leader-profile + .about-leader-profile {
  margin-top: 28px;
}

.about-management .section-header {
  margin-bottom: clamp(36px, 5vw, 48px);
}

.about-leader-card-head {
  display: block;
}

.about-leader-photo {
  float: left;
  width: min(260px, 36%);
  max-width: 260px;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  margin: 0 clamp(24px, 4vw, 34px) 18px 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  background: var(--gray-100);
}

.about-leader-kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-600);
}

.about-leader-name {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 800;
  color: var(--blue-800);
  line-height: 1.2;
  margin-bottom: 8px;
}

.about-leader-credentials {
  font-weight: 600;
  color: var(--blue-600);
  font-size: 0.92em;
}

.about-leader-profile-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--blue-100);
  clear: none;
}

.about-leader-role {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--red-600);
  margin-bottom: 18px;
}

.about-leader-profile p {
  font-size: 0.98rem;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-leader-profile p:last-child {
  margin-bottom: 0;
}

.about-story .timeline {
  background: var(--white);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 34px);
  box-shadow: var(--shadow-sm);
}

.about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 38%);
  gap: clamp(32px, 5vw, 56px);
  align-items: stretch;
}

.about-story-content .section-header {
  margin-bottom: 30px;
}

.about-story-visual {
  position: relative;
  min-height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--gray-100);
}

.about-story-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 45, 74, 0.05), rgba(15, 45, 74, 0.58));
  pointer-events: none;
}

.about-story-visual img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: center top;
}

.about-story-badge {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  padding: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.about-story-badge strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--blue-800);
  margin-bottom: 4px;
}

.about-story-badge span {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-600);
}

/* Home hero */
.hero {
  min-height: auto;
  padding: calc(var(--nav-height) + 40px) 0 60px;
  background: linear-gradient(135deg, var(--blue-50) 0%, var(--white) 55%, var(--blue-50) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--blue-100);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-700);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--red-600);
  border-radius: 50%;
}

.hero-tagline {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 16px;
}

.hero h1,
.hero-content h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.85rem);
  font-weight: 800;
  color: var(--blue-900);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.hero h1 .highlight,
.hero-content h1 .highlight { color: var(--blue-700); }

.hero h1 .accent,
.hero-content h1 .accent { color: var(--red-600); }

.hero-desc {
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  color: var(--gray-500);
  margin-bottom: 28px;
  max-width: 540px;
}

.hero-desc strong { color: var(--blue-800); font-weight: 600; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 40px);
  padding-top: 28px;
  border-top: 1px solid var(--blue-100);
}

.stat-item strong {
  display: block;
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--blue-800);
  line-height: 1;
}

.stat-item span {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-top: 4px;
  display: block;
}

/* Pillar cards */
.pillar-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pillar-cards--horizontal {
  flex-direction: row;
  flex-wrap: wrap;
}

.pillar-cards--horizontal .pillar-card { flex: 1 1 260px; }

.pillar-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.pillar-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.pillar-card .icon-box { margin-bottom: 14px; }

.pillar-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-800);
  margin-bottom: 8px;
}

.pillar-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Pillars strip */
.pillars-strip {
  background: var(--blue-800);
  padding: 18px 0;
  overflow: hidden;
}

.pillars-track {
  display: flex;
  gap: 60px;
  animation: marquee 22s linear infinite;
  width: max-content;
}

.pillars-track span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.pillars-track span::before {
  content: '◆';
  margin-right: 60px;
  color: var(--red-500);
  font-size: 0.45rem;
  vertical-align: middle;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Content blocks */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  font-size: 1rem;
  color: var(--gray-500);
}

.content-block p {
  font-size: 1rem;
  color: var(--gray-500);
  margin-bottom: 16px;
  max-width: 800px;
}

.content-block .section-title { margin-bottom: 20px; }

/* Quote cards */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.quote-card {
  padding: 28px;
  background: var(--white);
  border-left: 4px solid var(--blue-700);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.quote-card p {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.75;
}

.quote-card strong { color: var(--blue-800); }
.quote-card em { color: var(--blue-700); font-style: italic; }

/* Vision & Mission */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.vm-card {
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--radius-lg);
}

.vm-card.vision {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-700));
  color: var(--white);
}

.vm-card.mission {
  background: var(--white);
  border: 2px solid var(--blue-100);
  box-shadow: var(--shadow-sm);
}

.vm-card .icon-box { margin-bottom: 20px; }

.vm-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.vm-card.vision h3 { color: var(--white); }
.vm-card.mission h3 { color: var(--blue-800); }

.vm-card p { font-size: 0.95rem; line-height: 1.8; }
.vm-card.vision p { color: rgba(255, 255, 255, 0.88); }
.vm-card.mission p { color: var(--gray-500); }

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 720px;
}

.timeline-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.timeline-item:hover {
  border-color: var(--blue-100);
  box-shadow: var(--shadow-md);
}

.timeline-year {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: var(--blue-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--blue-700);
}

.timeline-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-800);
  margin-bottom: 4px;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--gray-500);
}

/* Services */
.services-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 22px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-500);
  background: var(--gray-100);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover { color: var(--blue-700); background: var(--blue-100); }
.tab-btn.active { color: var(--white); background: var(--blue-700); }

.services-panel { display: none; }
.services-panel.active { display: block; animation: fadeIn 0.35s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}

.service-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--blue-100);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.service-card .icon-box { margin-bottom: 16px; }

.service-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-800);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Core service areas (services page) */
.core-services-intro {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 52px);
}

.core-services-intro .section-title {
  margin-bottom: 16px;
}

.core-services-intro p {
  font-size: 0.98rem;
  color: var(--gray-500);
  line-height: 1.75;
  max-width: 640px;
}

.core-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.core-area-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.core-area-card:hover {
  border-color: var(--blue-100);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.core-area-card-image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--gray-100);
}

.core-area-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}

.core-area-card:hover .core-area-card-image img {
  transform: scale(1.05);
}

.core-area-card-body {
  padding: 18px 20px 22px;
}

.core-area-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-700);
  background: var(--blue-50);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.core-area-tag--compliance {
  color: var(--blue-800);
  background: var(--blue-100);
}

.core-area-tag--business {
  color: var(--red-600);
  background: var(--red-100);
}

.core-area-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue-800);
  margin-bottom: 6px;
}

.core-area-card p {
  font-size: 0.82rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.services-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.preview-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
}

.preview-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.preview-card .icon-box { margin: 0 auto 16px; }

.preview-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-800);
  margin-bottom: 8px;
}

.preview-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.check-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.check-list li {
  padding: 12px 16px 12px 40px;
  background: var(--white);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--blue-800);
  position: relative;
  border: 1px solid var(--blue-100);
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--blue-700);
  border-radius: 50%;
}

/* Why us */
.why-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin-inline: auto;
}

.why-feature {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.why-feature:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--blue-100);
}

.why-feature-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--blue-700);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
}

.why-feature h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-800);
  margin-bottom: 4px;
}

.why-feature p {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* Clients */
.client-types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.client-type {
  text-align: center;
  padding: 28px 20px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.client-type:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.client-type .icon-box { margin: 0 auto 14px; }

.client-type h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue-800);
  margin-bottom: 6px;
}

.client-type p {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 20px;
}

.team-member {
  text-align: center;
  padding: 32px 16px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

button.team-member {
  width: 100%;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.team-member:hover,
.team-member:focus-visible {
  border-color: var(--blue-100);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.team-member:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
}

.team-member-avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-700);
  color: var(--white);
  border-radius: 50%;
  border: 2px solid var(--blue-700);
}

.team-member-avatar--photo {
  width: 128px;
  height: 128px;
  padding: 0;
  overflow: hidden;
  background: var(--gray-100);
  border: 4px solid var(--blue-100);
  box-shadow: var(--shadow-md);
}

.team-member-avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-member-avatar--initials {
  background: linear-gradient(145deg, var(--blue-800), var(--blue-500));
  color: var(--white);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.team-member-avatar svg {
  width: 32px;
  height: 32px;
}

.team-member-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 4px;
  line-height: 1.35;
}

.team-member-credentials {
  font-weight: 600;
  color: var(--gray-500);
}

.team-member-role {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-800);
  line-height: 1.45;
}

.team-member--profile .team-member-role {
  color: var(--red-600);
}

.team-member-cta {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-600);
  letter-spacing: 0.02em;
}

.team-member--profile:hover .team-member-cta,
.team-member--profile:focus-visible .team-member-cta {
  color: var(--blue-800);
}

body.team-modal-open {
  overflow: hidden;
}

.team-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 32px);
}

.team-modal[hidden] {
  display: none;
}

.team-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 45, 74, 0.62);
  backdrop-filter: blur(4px);
}

.team-modal-dialog {
  position: relative;
  width: min(920px, 100%);
  max-height: min(88vh, 760px);
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl, 0 24px 60px rgba(15, 45, 74, 0.16));
  overflow: hidden;
}

.team-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-800);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.team-modal-close:hover,
.team-modal-close:focus-visible {
  background: var(--white);
  color: var(--red-600);
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
}

.team-modal-layout {
  display: grid;
  grid-template-columns: minmax(260px, 300px) 1fr;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.team-modal-photo {
  background: linear-gradient(165deg, var(--blue-900) 0%, var(--blue-700) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 4vw, 40px) clamp(20px, 3vw, 28px);
  min-height: 0;
}

.team-modal-photo-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-modal-photo-frame {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  border: 4px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    0 16px 40px rgba(15, 45, 74, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.12);
}

.team-modal-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-modal-photo-frame img[hidden] {
  display: none;
}

.team-modal-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--blue-800), var(--blue-500));
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.team-modal-initials[hidden] {
  display: none;
}

.team-modal-content {
  padding: clamp(24px, 4vw, 36px);
  overflow-y: auto;
  min-height: 0;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.team-modal-kicker {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 8px;
}

.team-modal-name {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--blue-900);
  line-height: 1.25;
  margin-bottom: 6px;
  padding-right: 36px;
}

.team-modal-role {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--red-600);
  margin-bottom: 18px;
}

.team-modal-profile-title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-700);
  margin-bottom: 12px;
}

.team-modal-bio p {
  font-size: 0.92rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 14px;
}

.team-modal-bio p:last-child {
  margin-bottom: 0;
}

.team-card {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  gap: clamp(24px, 4vw, 40px);
  align-items: flex-start;
  padding: clamp(28px, 4vw, 48px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}

.team-avatar { flex-shrink: 0; }

.team-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue-800);
  margin-bottom: 4px;
}

.team-info .role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--red-600);
  margin-bottom: 14px;
}

.team-info p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 12px;
}

.team-badges {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.team-badge {
  padding: 6px 14px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.approach-card {
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  text-align: center;
  transition: var(--transition);
}

.approach-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.approach-card .icon-box { margin: 0 auto 16px; }

.approach-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-800);
  margin-bottom: 8px;
}

.approach-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* CTA */
.cta-banner { padding: clamp(48px, 6vw, 80px) 0; }

.cta-inner {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px) clamp(28px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-text h2 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.cta-text p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  max-width: 480px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.cta-phone-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.cta-phone {
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--white);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

.contact-info .section-title { margin-bottom: 8px; }

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 24px;
}

.contact-item h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.contact-item a,
.contact-item p {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue-800);
}

.contact-item a:hover { color: var(--red-600); }

.contact-note {
  margin-top: 32px;
  padding: 20px;
  background: var(--blue-50);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--blue-700);
}

.contact-note p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.contact-form {
  background: var(--white);
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}

.contact-form h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue-800);
  margin-bottom: 22px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-800);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 15px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--gray-700);
  background: var(--gray-100);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--blue-600);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-hint {
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--gray-500);
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-alert {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-alert--success {
  background: #ecfdf3;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.form-alert--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.captcha-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.captcha-image {
  display: block;
  border-radius: var(--radius-sm);
  border: 2px solid var(--gray-100);
  background: var(--white);
}

.captcha-refresh {
  padding: 10px 14px;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-700);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.captcha-refresh:hover {
  background: var(--blue-100);
  color: var(--blue-800);
}

/* Footer */
.footer {
  background: var(--blue-900);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  height: 52px;
  margin-bottom: 16px;
  background: var(--white);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  width: fit-content;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-500);
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a,
.footer-col li {
  font-size: 0.875rem;
}

.footer-col a { transition: var(--transition); }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 0;
  font-size: 0.78rem;
}

.footer-bottom-meta p + p {
  margin-top: 4px;
}

.footer-credit {
  color: rgba(255, 255, 255, 0.65);
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  transition: var(--transition);
}

.footer-credit a:hover {
  color: var(--red-500);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Responsive — Tablet (≤1024px)
   ============================================ */
@media (max-width: 1024px) {
  .hero-grid,
  .contact-grid,
  .intro-grid,
  .vm-grid {
    grid-template-columns: 1fr;
  }

  .services-preview,
  .approach-grid {
    grid-template-columns: 1fr 1fr;
  }

  .client-types {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pillar-cards:not(.pillar-cards--horizontal) {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .pillar-cards:not(.pillar-cards--horizontal) .pillar-card {
    flex: 1 1 calc(50% - 8px);
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================
   Responsive — Mobile (≤768px)
   ============================================ */
@media (max-width: 768px) {
  :root {
    --nav-height: 72px;
    --page-gutter: clamp(22px, 6vw, 28px);
  }

  .section {
    padding: clamp(48px, 10vw, 72px) 0;
  }

  .page-hero {
    padding: calc(var(--nav-height) + 32px) 0 36px;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .nav-logo img {
    height: 42px;
  }

  .nav-bar {
    position: relative;
    z-index: 1005;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-panel {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1004;
    background: var(--white);
    padding: 16px var(--page-gutter) calc(28px + env(safe-area-inset-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.32s;
  }

  .nav-panel.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav-panel-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 100%;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 12px 16px;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--blue-800) !important;
    border-radius: var(--radius-sm);
    white-space: normal;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: var(--blue-50);
    color: var(--blue-700) !important;
  }

  .nav-links a.active {
    box-shadow: inset 3px 0 0 var(--red-600);
  }

  .nav-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--gray-100);
  }

  .nav-phone {
    align-items: flex-start;
  }

  .nav-phone span {
    font-size: 0.72rem;
    color: var(--gray-500);
  }

  .nav-phone a {
    font-size: 1.35rem;
    color: var(--blue-800);
  }

  .nav-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .services-preview,
  .approach-grid,
  .client-types,
  .vm-grid {
    grid-template-columns: 1fr;
  }

  .pillar-cards:not(.pillar-cards--horizontal) .pillar-card,
  .pillar-cards--horizontal .pillar-card {
    flex: 1 1 100%;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .team-avatar { margin-bottom: 8px; }

  .team-badges { justify-content: center; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

  .contact-form {
    padding: 28px 22px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .slider-dots {
    bottom: 22px;
  }

  .hero-stats { gap: 20px; }

  .stat-item { flex: 1 1 40%; }

  .why-feature { flex-direction: column; gap: 12px; }

  .timeline-item { flex-direction: column; gap: 12px; }

  .timeline-year { width: 56px; height: 44px; }
}

/* ============================================
   Responsive — Small mobile (≤480px)
   ============================================ */
@media (max-width: 480px) {
  :root {
    --page-gutter: 24px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stats-band-item {
    padding: 12px 8px;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
    margin-inline: 0;
  }

  .team-modal-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .team-modal-photo {
    padding: 24px 20px 20px;
  }

  .team-modal-photo-frame {
    max-width: 200px;
  }

  .team-modal-content {
    max-height: none;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .services-tabs { gap: 8px; }

  .tab-btn {
    padding: 10px 16px;
    font-size: 0.8rem;
  }

  .stat-item { flex: 1 1 100%; }

  .cta-actions { width: 100%; }

  .cta-actions .btn { width: 100%; }
}

/* ============================================
   Hero Slider (Homepage)
   ============================================ */
.hero-slider {
  position: relative;
  margin-top: calc(var(--nav-height) * -1);
  padding-top: var(--nav-height);
  overflow: hidden;
  background: var(--blue-900);
}

.hero-slider--full {
  height: 100vh;
  max-height: 900px;
  min-height: 560px;
}

.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
  z-index: 0;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  pointer-events: auto;
}

.slide-fullimage {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.slide-fullimage--left { object-position: left center; }
.slide-fullimage--right { object-position: right center; }

/* Subtle darken overlay on the full image (no text box) */
.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.42);
  pointer-events: none;
}

/* Text on slider — aligned to .container grid (same column as logo / Get Started) */
.slide-caption {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  padding: clamp(90px, 13vh, 130px) 0 clamp(64px, 9vh, 88px);
  pointer-events: none;
}

.slide-caption > .container {
  pointer-events: auto;
}

.slide-caption-inner {
  max-width: min(560px, 58%);
}

/* Slide 1 — left edge aligns with logo column */
.slide-caption--left .slide-caption-inner {
  text-align: left;
  margin-right: auto;
  margin-left: 0;
}

.slide-caption--left .slide-actions {
  justify-content: flex-start;
}

/* Slide 2 — right edge aligns with Get Started column */
.slide-caption--right .slide-caption-inner {
  text-align: right;
  margin-left: auto;
  margin-right: 0;
}

.slide-caption--right .slide-actions {
  justify-content: flex-end;
}

.slide-tagline {
  font-size: clamp(0.7rem, 1.5vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-500);
  margin-bottom: clamp(14px, 2.5vw, 22px);
}

.slide-caption h1 {
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: clamp(16px, 2.5vw, 22px);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.slide-caption h1 .highlight { color: #ffffff; }
.slide-caption h1 .accent { color: #ffffff; }

.slide-desc {
  font-size: clamp(0.92rem, 1.8vw, 1.08rem);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.75;
  margin-bottom: clamp(24px, 3.5vw, 32px);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}

.slide-desc strong { color: #ffffff; font-weight: 600; }
.slide-desc em { font-style: italic; color: #ffffff; }

.slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-slider .slider-btn,
.hero-slider .slider-dots,
.hero-slider .slider-progress {
  z-index: 20;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.slider-btn svg { width: 22px; height: 22px; }

.slider-btn:hover {
  background: var(--white);
  color: var(--blue-800);
  border-color: var(--white);
}

.slider-btn--prev { left: max(16px, 4vw); }
.slider-btn--next { right: max(16px, 4vw); }

.slider-btn--sm {
  position: static;
  transform: none;
  width: 42px;
  height: 42px;
  border-color: var(--blue-100);
  background: var(--white);
  color: var(--blue-700);
}

.slider-btn--sm:hover {
  background: var(--blue-700);
  color: var(--white);
  border-color: var(--blue-700);
}

.slider-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.slider-dot.active,
.slider-dot:hover {
  background: var(--white);
  transform: scale(1.2);
}

.slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 10;
}

.slider-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--red-500);
  transition: width 0.1s linear;
}

/* Stats band */
.stats-band {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 36px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stats-band-item {
  text-align: center;
  padding: 16px;
}

.stats-band-item strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--blue-800);
  line-height: 1;
}

.stats-band-item span {
  display: block;
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 6px;
}

/* Value section — image height matches quote column */
.value-section {
  display: grid;
  grid-template-columns: minmax(0, 38%) 1fr;
  gap: clamp(24px, 3vw, 36px);
  align-items: stretch;
}

.value-section-image {
  position: relative;
  height: 100%;
  min-height: 0;
  max-width: 360px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--gray-100);
  align-self: stretch;
}

.value-section-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 0.55s ease;
}

.value-section-image .value-stack-image.active {
  opacity: 1;
}

.value-section .value-slider {
  max-width: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
}

.value-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.value-slider-track {
  position: relative;
  min-height: 180px;
}

.value-slide {
  position: absolute;
  inset: 0;
  padding: clamp(24px, 3vw, 32px) clamp(24px, 3vw, 36px);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--blue-700);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease;
  transform: translateY(12px);
}

.value-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  position: relative;
}

.value-slide p {
  font-size: clamp(0.92rem, 1.6vw, 1rem);
  color: var(--gray-700);
  line-height: 1.75;
  font-style: italic;
}

.value-slide footer {
  margin-top: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-700);
  font-style: normal;
}

.value-slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}

.value-slider-dots,
.promise-dots {
  display: flex;
  gap: 8px;
}

.value-dot,
.promise-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--gray-300);
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.value-dot.active,
.value-dot:hover,
.promise-dot.active,
.promise-dot:hover {
  background: var(--blue-700);
  transform: scale(1.25);
}

.value-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--blue-100);
  background: var(--white);
  color: var(--blue-700);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.value-nav-btn svg { width: 18px; height: 18px; }

.value-nav-btn:hover {
  background: var(--blue-700);
  color: var(--white);
}

/* Home about */
.home-about {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: start;
}

.home-about-content p {
  color: var(--gray-500);
  margin-bottom: 16px;
  font-size: 0.98rem;
}

.home-about-content .btn { margin-top: 12px; }

.home-about-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.home-mini-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.home-mini-card:hover {
  border-color: var(--blue-100);
  box-shadow: var(--shadow-md);
}

.home-mini-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue-800);
  margin-bottom: 2px;
}

.home-mini-card p {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* Services slider (home) */
.services-slider {
  position: relative;
  overflow: hidden;
  padding: 0 4px;
}

.services-slider-track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.service-slide {
  flex: 0 0 calc(33.333% - 14px);
  min-width: calc(33.333% - 14px);
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.service-slide:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-100);
  transform: translateY(-3px);
}

.service-slide .icon-box { margin-bottom: 16px; }

.service-slide h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-800);
  margin-bottom: 8px;
}

.service-slide p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.services-slider-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

/* ============================================
   Why Us Page Redesign
   ============================================ */
.why-hero {
  padding: calc(var(--nav-height) + 48px) 0 56px;
}

.why-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.why-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--blue-900);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.why-hero h1 span { color: var(--red-600); }

.why-hero-lead {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 28px;
}

.why-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.why-hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.why-stat-card {
  padding: 22px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--blue-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.why-stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.why-stat-card .icon-box { margin-bottom: 12px; }

.why-stat-card strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--blue-800);
  margin-bottom: 4px;
}

.why-stat-card span {
  font-size: 0.78rem;
  color: var(--gray-500);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.why-card:hover {
  border-color: var(--blue-100);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.why-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.why-card-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-100);
  line-height: 1;
}

.why-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-800);
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.65;
}

.why-promise-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 48px);
  align-items: start;
}

.why-promise-intro p {
  color: var(--gray-500);
  margin-top: 12px;
  font-size: 0.95rem;
}

.promise-slider {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--blue-100);
}

.promise-track {
  position: relative;
  min-height: 140px;
}

.promise-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.promise-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.promise-slide p {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.8;
}

.promise-slide strong { color: var(--blue-800); }
.promise-slide em { color: var(--blue-700); font-style: italic; }

.promise-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
}

.why-pillars-band {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  padding: clamp(48px, 6vw, 72px) 0;
  color: var(--white);
}

.why-pillars-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.why-pillars-tagline {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-500);
  margin-bottom: 8px;
}

.why-pillars-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.why-pillars-text p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.why-pillars-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.why-pillar-item {
  text-align: center;
  padding: 20px 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.why-pillar-item .icon-box {
  margin: 0 auto 10px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.why-pillar-item h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.why-pillar-item p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
}

.why-pillars-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.why-pillars-cta .cta-phone-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.why-phone {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}

.why-phone:hover { color: var(--red-500); }

/* Slider responsive additions */
@media (max-width: 1024px) {
  .home-about,
  .about-exec-grid,
  .why-hero-grid,
  .why-promise-layout,
  .why-pillars-inner,
  .about-story-grid,
  .value-section {
    grid-template-columns: 1fr;
  }

  .about-exec-image {
    max-width: 100%;
    width: 100%;
    max-height: 260px;
    aspect-ratio: 16 / 9;
    justify-self: stretch;
  }

  .core-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-section-image {
    max-width: 100%;
    width: 100%;
    height: 200px;
    max-height: 220px;
    align-self: auto;
  }

  .why-pillars-cta { align-items: flex-start; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .why-grid { grid-template-columns: repeat(2, 1fr); }

  .service-slide {
    flex: 0 0 calc(50% - 10px);
    min-width: calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  .hero-slider--full {
    min-height: 520px;
    height: 85vh;
  }

  .slide-caption--left .slide-caption-inner,
  .slide-caption--right .slide-caption-inner {
    max-width: none;
    margin-inline: 0;
    text-align: left;
  }

  .slide-caption--left .slide-actions,
  .slide-caption--right .slide-actions {
    justify-content: flex-start;
  }

  .slider-btn--prev { left: var(--page-gutter); }
  .slider-btn--next { right: var(--page-gutter); }

  .slider-btn {
    width: 40px;
    height: 40px;
  }

  .slide-actions .btn { flex: 1 1 auto; min-width: 140px; justify-content: center; }

  .value-slide { padding: 28px 24px; }

  .about-leader-profile {
    padding: 24px;
  }

  .about-leader-photo {
    float: none;
    display: block;
    width: 100%;
    max-width: 240px;
    margin: 0 0 20px;
  }

  .about-story-visual img {
    min-height: 280px;
    max-height: 360px;
  }

  .why-grid,
  .why-hero-stats,
  .why-pillars-cards,
  .stats-grid,
  .core-services-grid {
    grid-template-columns: 1fr;
  }

  .service-slide {
    flex: 0 0 calc(100% - 8px);
    min-width: calc(100% - 8px);
  }

  .promise-slider { padding: 24px; }

  .navbar--light:not(.scrolled) .nav-links a,
  .navbar--light:not(.scrolled) .nav-phone a,
  .navbar--light:not(.scrolled) .nav-phone span {
    color: var(--blue-800);
  }

  .navbar--light:not(.scrolled) .nav-toggle span {
    background: var(--blue-800);
  }
}

@media (max-width: 480px) {
  .slide-actions { flex-direction: column; }
  .slide-actions .btn { width: 100%; }

  .why-hero-actions { flex-direction: column; }
  .why-hero-actions .btn { width: 100%; justify-content: center; }
}
