/* =========================================================
   INTEGRA PRO STRATEGIST CONSULTANCY — Design System
   Palette: Deep Navy, Royal Blue, Gold, Grey Mist
   Display: Space Grotesk / Body: Inter
   Signature motif: "The Integration Mark" — a node network
   representing many disciplines drawn into one strategy.
   ========================================================= */

:root {
  --navy: #0B2038;
  --navy-deep: #071627;
  --navy-soft: #12294A;
  --royal: #1E4FA3;
  --royal-light: #3E71CB;
  --gold: #C9A227;
  --gold-light: #E7CB74;
  --mist: #F5F7FA;
  --mist-dim: #ECEFF4;
  --line: #E1E6EE;
  --line-dark: rgba(255, 255, 255, 0.12);
  --ink: #121B29;
  --slate: #55637A;
  --slate-soft: #8592A6;
  --white: #FFFFFF;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 4px;
  --container: 1240px;
  --shadow-soft: 0 10px 40px -14px rgba(11, 32, 56, 0.18);
  --shadow-card: 0 1px 0 rgba(11, 32, 56, 0.06);
  --ease: cubic-bezier(.22, .68, .22, 1);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none !important;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  margin: 0;
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: 1rem;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--royal);
  font-weight: 600;
  margin-bottom: 14px;
}

/*  */

.section {
  padding: clamp(64px, 9vw, 72px) 0;
}

.section--mist {
  background: var(--mist);
}

.section--navy {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.86);
}

.section--navy h2,
.section--navy h3 {
  color: #fff;
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  line-height: 1.2;
}

.section-head p {
  color: var(--slate);
  margin-top: 14px;
  font-size: 1.05rem;
}

.section--navy .section-head p {
  color: rgba(255, 255, 255, 0.68);
}

/* divider with integration node motif */
.node-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 48px;
}

.node-divider .line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.node-divider .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.section--navy .node-divider .line {
  background: var(--line-dark);
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all .25s var(--ease);
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}

.btn-navy:hover {
  background: var(--royal);
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: #C9A227;
  color: #C9A227;
}

.btn-ghost:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.82rem;
}

/* ===================== HEADER / NAV ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.brand-mark {
  max-height: 65px !important;
  width: auto !important;
  height: auto !important;
  flex-shrink: 0;
  margin-right: 10px;
  border-radius: 4px;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.brand-text span {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a {
  color: var(--slate);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 10px 15px;
  border-radius: var(--radius);
  transition: color .2s, background .2s;
  white-space: nowrap;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--royal);
  background: var(--mist);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  height: 2px;
  background: var(--navy);
  transition: all .25s var(--ease);
}

.nav-toggle span {
  left: 9px;
  right: 9px;
  top: 19px;
}

.nav-toggle span::before,
.nav-toggle span::after {
  left: 0;
  right: 0;
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

.nav-toggle.open span {
  background: transparent;
}

.nav-toggle.open span::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle.open span::after {
  transform: rotate(-45deg);
  top: 0;
}

@media (max-width: 980px) {
  .main-nav {
    position: fixed;
    inset: 82px 0 0 0;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    gap: 2px;
    transform: translateX(100%);
    transition: transform .3s var(--ease);
    overflow-y: auto;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav a {
    padding: 16px 12px;
    border-bottom: 1px solid var(--line-dark);
    font-size: 1rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-actions .btn {
    display: none;
  }
}

/* ===================== HERO ===================== */
.hero {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 4vw, 50px) 0 clamp(60px, 8vw, 100px);
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 32, 56, 0.75); /* Dark overlay */
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-sub {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}

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

.hero-visual {
  position: relative;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  max-width: 600px;
  margin: 0 auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
  animation: float 6s ease-in-out infinite;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual { /* order: -1; */
    max-width: 320px;
    margin: 40px auto 20px;
  }
}

/* ===================== ABOUT PREVIEW ===================== */
.about-preview {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
}

.about-visual {
  position: relative;
  background: var(--mist);
  border-radius: var(--radius);
  padding: 34px;
  border: 1px solid var(--line);
}

.about-visual .stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.mini-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--navy);
}

.mini-stat span {
  font-size: 0.82rem;
  color: var(--slate);
}

@media (max-width: 900px) {
  .about-preview {
    grid-template-columns: 1fr;
  }
}

/* ===================== WHY CHOOSE US ===================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: #fff;
  padding: 24px 24px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(11, 32, 56, 0.04);
  border: 1px solid var(--line);
  border-top: 4px solid #8592A6;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  height: 100%;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(11, 32, 56, 0.1);
}

.why-card .icon {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  color: var(--royal);
}

.why-card h4 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 8px;
  font-weight: 600;
}

.why-card p {
  color: var(--slate);
  font-size: 0.92rem;
}

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

@media (max-width: 560px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================== SERVICE CARDS ===================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}

.service-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .3s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: var(--royal);
}

.service-card:hover::before {
  transform: scaleY(1);
}

.service-card .icon {
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  color: var(--royal);
}

.service-card h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--slate);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.service-card .go {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--royal);
  font-family: var(--font-display);
}

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

@media (max-width: 640px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================== STATS / COUNTERS ===================== */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.stat-item {
  text-align: center;
  padding: 34px 12px;
  border-right: 1px solid var(--line-dark);
}

.stat-item:last-child {
  border-right: 0;
}

.stat-item b {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--gold-light);
  display: block;
}

.stat-item span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 980px) {
  .stats-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .stat-item {
    border-bottom: 1px solid var(--line-dark);
  }
}

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

/* ===================== INDUSTRIES ===================== */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.industry-chip {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 14px;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  transition: all .2s;
}

.industry-chip:hover {
  border-color: var(--royal);
  color: var(--royal);
  background: var(--mist);
}

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

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

/* ===================== TESTIMONIALS ===================== */
.testi-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.testi-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.testi-card .stars {
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.testi-card p {
  color: var(--ink);
  font-size: 0.96rem;
  margin-bottom: 22px;
}

.testi-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
}

.testi-person b {
  display: block;
  font-size: 0.9rem;
}

.testi-person span {
  font-size: 0.78rem;
  color: var(--slate);
}

@media (max-width: 980px) {
  .testi-track {
    grid-template-columns: 1fr;
  }
}

/* ===================== ARTICLES ===================== */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.article-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
  background: #fff;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.article-thumb {
  height: 170px;
  background: linear-gradient(135deg, var(--navy), var(--royal));
  position: relative;
  overflow: hidden;
}

.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-thumb .tag {
  position: absolute;
  bottom: 12px;
  left: 16px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 5px 10px;
  border-radius: 2px;
  text-transform: uppercase;
}

.article-body {
  padding: 22px;
}

.article-body .meta {
  font-size: 0.76rem;
  color: var(--slate-soft);
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.article-body h3 {
  font-size: 1.02rem;
  margin-bottom: 10px;
  line-height: 1.35;
}

.article-body p {
  color: var(--slate);
  font-size: 0.88rem;
}

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

@media (max-width: 640px) {
  .article-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================== PARTNER LOGOS ===================== */
.logo-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  opacity: 0.75;
}

.logo-strip .logo-item {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--slate-soft);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

/* ===================== CTA BAND ===================== */
.cta-band {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(40px, 6vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  max-width: 520px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.68);
  margin-top: 10px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ===================== PAGE HERO (inner pages) ===================== */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 100% at 90% 0%, rgba(30, 79, 163, 0.3), transparent 60%);
}

.breadcrumb {
  position: relative;
  z-index: 1;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 14px;
}

.breadcrumb a:hover {
  color: var(--gold-light);
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
}

.page-hero p.lead {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.72);
  max-width: 800px;
  margin-top: 14px;
}

/* ===================== GENERIC 2-COL CONTENT ===================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 72px);
  align-items: start;
}

@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

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

.value-card {
  border: 1px solid var(--line);
  padding: 26px 22px;
  border-radius: var(--radius);
}

.value-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.value-card p {
  color: var(--slate);
  font-size: 0.88rem;
}

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

@media (max-width: 560px) {
  .value-grid {
    grid-template-columns: 1fr;
  }
}

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

.leader-card {
  text-align: left;
}

.leader-photo {
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--mist), var(--line));
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.leader-photo svg {
  width: 44%;
  color: var(--slate-soft);
}

.leader-card h4 {
  font-size: 0.98rem;
  margin-bottom: 2px;
}

.leader-card span {
  font-size: 0.8rem;
  color: var(--royal);
  font-weight: 600;
}

.leader-card p {
  font-size: 0.85rem;
  color: var(--slate);
  margin-top: 8px;
}

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

/* ===================== ACCORDION (services categories) ===================== */
.accordion-item {
  border-bottom: 1px solid var(--line);
  transition: all .3s var(--ease);
}

.accordion-item.open {
  background: var(--mist);
  border-left: 4px solid var(--royal);
  border-bottom-color: transparent;
  border-radius: 8px;
  padding: 0 20px;
  margin: 12px -24px;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: 0;
  padding: 24px 4px;
  text-align: left;
}

.accordion-trigger h3 {
  font-size: 1.05rem;
}

.accordion-trigger .plus {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}

.accordion-trigger .plus::before,
.accordion-trigger .plus::after {
  content: '';
  position: absolute;
  background: var(--royal);
  transition: transform .25s;
}

.accordion-trigger .plus::before {
  left: 0;
  right: 0;
  top: 9px;
  height: 2px;
}

.accordion-trigger .plus::after {
  top: 0;
  bottom: 0;
  left: 9px;
  width: 2px;
}

.accordion-item.open .plus::after {
  transform: rotate(90deg);
  opacity: 0;
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
}

.accordion-item.open .accordion-panel {}

.accordion-inner {
  padding: 0 4px 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-pill {
  font-size: 0.82rem;
  padding: 8px 16px;
  border: 1px solid rgba(30, 79, 163, 0.2);
  border-radius: 30px;
  background: rgba(30, 79, 163, 0.08);
  color: var(--royal);
  font-weight: 600;
  min-width: 120px;
  text-align: center;
}

/* ===================== TABLE-ish LISTS (careers, downloads) ===================== */
.list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.list-row h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.list-row .meta {
  font-size: 0.82rem;
  color: var(--slate);
}

/* ===================== GALLERY ===================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: linear-gradient(140deg, var(--navy-soft), var(--royal));
  position: relative;
  overflow: hidden;
}

.gallery-item span {
  position: absolute;
  bottom: 10px;
  left: 12px;
  right: 12px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  transition: all .25s;
}

.gallery-item:hover span {
  opacity: 1;
  transform: none;
}

.gallery-item:nth-child(3n+1) {
  background: linear-gradient(140deg, var(--royal), var(--navy));
}

.gallery-item:nth-child(3n+2) {
  background: linear-gradient(140deg, var(--navy), var(--gold));
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

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

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

/* ===================== FORMS ===================== */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 44px);
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy);
}

.field input,
.field select,
.field textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  background: var(--mist);
  color: var(--ink);
  transition: border-color .2s, background .2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--royal);
  background: #fff;
  outline: none;
}

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

@media (max-width: 700px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================== CONTACT INFO CARDS ===================== */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.info-card .icon {
  width: 34px;
  height: 34px;
  color: var(--royal);
  margin-bottom: 14px;
}

.info-card h4 {
  font-size: 0.96rem;
  margin-bottom: 6px;
}

.info-card p {
  font-size: 0.88rem;
  color: var(--slate);
}

@media (max-width: 900px) {
  .contact-info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}

.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 340px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.65);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-dark);
}

.footer-brand p {
  font-size: 0.88rem;
  margin: 16px 0 20px;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-col h5 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col li {
  margin-bottom: 11px;
  font-size: 0.88rem;
}

.footer-col a:hover {
  color: var(--gold-light);
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.social-row a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}

.social-row a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}

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

.footer-bottom a {
  margin-left: 18px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================== WHATSAPP FLOAT ===================== */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  z-index: 90;
  transition: transform .2s;
}

.wa-float:hover {
  transform: scale(1.08);
}

/* ===================== REVEAL ON SCROLL ===================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ===================== UTIL ===================== */
.mt-40 {
  margin-top: 40px;
}

.center {
  text-align: center;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.badge-list span {
  font-size: 0.78rem;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 30px;
  color: var(--slate);
}

/* Tabs Container */
.tabs-container {
  max-width: 800px;
  margin: 0 auto;
}

.tab-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  justify-content: center;
}

.tab-btn {
  background: transparent;
  border: 1px solid var(--line);
  padding: 12px 24px;
  border-radius: var(--radius);
  color: var(--slate);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.tab-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.tab-panel {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.tab-panel.active {
  display: block;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Startup Form Specifics */
.form-section-title {
  font-size: 1.15rem;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  margin: 30px 0 20px;
}

.form-section-title:first-child {
  margin-top: 0;
}
/* ===================== CUSTOM TABS (Placement Page) ===================== */
.custom-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid var(--line);
  margin-bottom: 32px;
  list-style: none;
  padding: 0;
}

.custom-tabs .nav-link {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 12px 24px;
  color: var(--slate);
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  margin-bottom: -2px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.custom-tabs .nav-link:hover {
  color: var(--navy);
}

.custom-tabs .nav-link.active {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

.custom-tab-content {
  padding-top: 16px;
}

@media (max-width: 768px) {
  .custom-tabs {
    flex-direction: column;
    gap: 0;
  }
  .custom-tabs .nav-link {
    border-bottom: none;
    border-left: 2px solid transparent;
    text-align: left;
    margin-bottom: 0;
    margin-left: -2px;
  }
  .custom-tabs .nav-link.active {
    border-bottom-color: transparent;
    border-left-color: var(--gold);
  }
}

/* ===================== STEP CARDS ===================== */
.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 30px;
}
.step-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 24px 30px;
  position: relative;
  box-shadow: 0 10px 30px rgba(11, 32, 56, 0.05);
  text-align: center;
  border: 1px solid rgba(11, 32, 56, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(11, 32, 56, 0.12);
}
.step-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  box-shadow: 0 4px 15px rgba(11, 32, 56, 0.2);
  border: 4px solid #fff;
}
.step-card h4 {
  margin-top: 10px;
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 700;
}
.step-card p {
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}
@media (max-width: 991px) {
  .step-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
    margin-top: 40px;
  }
}
@media (max-width: 575px) {
  .step-grid {
    grid-template-columns: 1fr;
  }
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--slate);
  cursor: pointer;
}

.checkbox-item input {
  margin-top: 4px;
}\n
/* ===================== PREMIUM MOBILE NAV ===================== */
.mobile-nav-links .mobile-link {
  color: var(--navy);
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  background-color: transparent;
}

.mobile-nav-links .mobile-link:hover,
.mobile-nav-links .mobile-link:focus,
.mobile-nav-links .mobile-link:active {
  background-color: var(--bs-warning-bg-subtle, #fff3cd); /* Warning subtle background */
  border-left-color: #fd7e14; /* Orange border */
  padding-left: 1rem !important;
  color: #fd7e14 !important;
}

.mobile-nav-links .mobile-link.active {
  background-color: var(--bs-warning-bg-subtle, #fff3cd);
  border-left-color: #fd7e14;
  color: #fd7e14 !important;
  font-weight: 600;
}

/* ===================== BOOTSTRAP GRID CONFLICT FIX ===================== */
/* Reset Bootstrap gutters and force 100% width on columns inside custom grids */
.row.hero-grid, .row.about-preview, .row.stat-row, .row.why-grid, .row.service-grid, .row.stats-strip, .row.industry-grid, .row.testi-track, .row.article-grid, .row.two-col, .row.value-grid, .row.leader-grid, .row.gallery-grid, .row.form-grid, .row.contact-info-grid, .row.footer-grid, .row.step-grid, .row.checkbox-grid {
  --bs-gutter-x: 0 !important;
  --bs-gutter-y: 0 !important;
}

.hero-grid > [class*="col-"], .about-preview > [class*="col-"], .stat-row > [class*="col-"], .why-grid > [class*="col-"], .service-grid > [class*="col-"], .stats-strip > [class*="col-"], .industry-grid > [class*="col-"], .testi-track > [class*="col-"], .article-grid > [class*="col-"], .two-col > [class*="col-"], .value-grid > [class*="col-"], .leader-grid > [class*="col-"], .gallery-grid > [class*="col-"], .form-grid > [class*="col-"], .contact-info-grid > [class*="col-"], .footer-grid > [class*="col-"], .step-grid > [class*="col-"], .checkbox-grid > [class*="col-"] {
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
}
