/* ============================================
   MKS Engineering - Main Stylesheet
   Theme: Bright / Light · Colorful 2026
   Font: Manrope
   --------------------------------------------
   NOTE: The legacy palette variable NAMES
   (--clr-dark*, --clr-white, --clr-text…) are
   intentionally kept so that inline styles in
   the PHP templates keep working — only their
   VALUES were remapped for the light theme.
============================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
  /* ── Surfaces (remapped: were dark, now light) ── */
  --clr-dark:     #112138;   /* deepest ink — used as text-on-accent */
  --clr-dark-2:   #ffffff;   /* cards / panels */
  --clr-dark-3:   #e3eaf4;   /* alternate section background */
  --clr-border:   #d6dfeb;   /* hairline borders */
  --clr-bg:       #e7ecf3;   /* page background (toned down, not blinding) */

  /* ── Brand accents ── */
  --clr-gold:     #F5AC0C;
  --clr-gold-lt:  #ffc23d;
  --clr-gold-dk:  #d4920a;
  --clr-blue:     #1d8fcf;   /* primary brand blue */
  --clr-blue-lt:  #3aa9e6;
  --clr-blue-dk:  #1572a8;

  /* ── Extra accents (for color variety) ── */
  --clr-teal:     #11b3a6;
  --clr-violet:   #7c5cff;
  --clr-rose:     #ff6b6b;
  --clr-green:    #1faf76;

  /* ── Text (remapped) ── */
  --clr-white:    #112138;   /* strong headings/text (was white) */
  --clr-text:     #44566f;   /* body text */
  --clr-muted:    #6c7c92;   /* muted text */

  --font-display: 'Manrope', sans-serif;
  --font-body:    'Manrope', sans-serif;
  --font-cond:    'Manrope', sans-serif;

  --radius:       16px;
  --radius-sm:    9px;
  --transition:   all 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --shadow-sm:    0 6px 22px rgba(23, 49, 92, 0.10);
  --shadow:       0 20px 52px rgba(23, 49, 92, 0.17);
  --shadow-gold:  0 12px 30px rgba(245, 172, 12, 0.32);
  --shadow-blue:  0 12px 30px rgba(29, 143, 207, 0.32);

  --grad-brand:   linear-gradient(120deg, #1d8fcf 0%, #11b3a6 100%);
  --grad-cta:     linear-gradient(120deg, #1572a8 0%, #1d8fcf 45%, #11b3a6 100%);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--clr-bg);
  background-image:
    radial-gradient(ellipse 75% 45% at 100% 0%, rgba(29,143,207,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 65% 45% at 0% 100%, rgba(17,179,166,0.06) 0%, transparent 60%);
  background-attachment: fixed;
  color: var(--clr-text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--clr-blue); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--clr-blue-dk); }

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--clr-white);
  letter-spacing: -0.02em;
}

p { margin-bottom: 1.1rem; }

::selection { background: rgba(29,143,207,0.18); }

/* ── UTILITY ─────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 2rem; }
.text-gold { color: var(--clr-gold-dk); }
.text-muted { color: var(--clr-muted); }
.section-pad { padding: 90px 0; }

/* ── TOP BAR ─────────────────────────────── */
.topbar {
  background: #ffffff;
  border-bottom: 1px solid var(--clr-border);
  padding: 8px 0;
  font-size: 0.8rem;
  font-family: var(--font-cond);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.topbar-info { display: flex; gap: 2rem; }
.topbar-info a, .topbar-info span {
  color: var(--clr-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.topbar-info a:hover { color: var(--clr-blue); }
.topbar-info .icon { width: 14px; height: 14px; color: var(--clr-blue); opacity: 0.9; }

/* ── HEADER / NAV ────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--clr-border);
  transition: var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 6px 28px rgba(23, 49, 92, 0.10);
  background: rgba(255, 255, 255, 0.96);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  max-width: 1200px;
  margin: 0 auto;
  height: 70px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.site-header .logo {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.site-header .logo-image {
  width: auto;
  height: 46px;
  object-fit: contain;
}
.site-header .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--clr-white);
  letter-spacing: -0.03em;
}
.logo-title {
  font-family: var(--font-cond);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--clr-blue);
  text-transform: uppercase;
  margin-top: 3px;
}

.main-nav { display: flex; align-items: center; gap: 0; list-style: none; }
.main-nav > li { position: relative; }

.main-nav > li > a {
  display: block;
  padding: 0 1.1rem;
  height: 70px;
  line-height: 70px;
  font-family: var(--font-cond);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-text);
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}
.main-nav > li > a:hover,
.main-nav > li.active > a {
  color: var(--clr-blue);
  border-bottom-color: var(--clr-blue);
}

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 290px;
  background: #ffffff;
  border: 1px solid var(--clr-border);
  border-top: 3px solid var(--clr-blue);
  box-shadow: var(--shadow);
  list-style: none;
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  overflow: hidden;
}
.main-nav > li:hover .dropdown-menu { display: block; animation: fadeDown 0.2s ease; }
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dropdown-menu a {
  display: block;
  padding: 0.72rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--clr-text);
  border-bottom: 1px solid var(--clr-border);
  transition: var(--transition);
}
.dropdown-menu a:hover {
  background: var(--clr-dark-3);
  color: var(--clr-blue);
  padding-left: 1.8rem;
}
.dropdown-menu li:last-child a { border-bottom: none; }

.nav-cta {
  background: var(--clr-gold) !important;
  color: #fff !important;
  padding: 0.5rem 1.4rem !important;
  height: auto !important;
  line-height: normal !important;
  font-weight: 700 !important;
  border-bottom: none !important;
  border-radius: 50px !important;
  box-shadow: 0 6px 16px rgba(245,172,12,0.28);
}
.nav-cta:hover {
  background: var(--clr-gold-lt) !important;
  color: #fff !important;
  box-shadow: var(--shadow-gold) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-white);
  margin: 5px 0;
  border-radius: 2px;
  transition: var(--transition);
}

/* ── HERO ────────────────────────────────── */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 84px 0;
  background: linear-gradient(125deg, #0f2b4c 0%, #14375d 52%, #1a6ba3 125%);
  border-bottom: 3px solid var(--clr-gold);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 82% 20%, rgba(29,143,207,0.48) 0%, transparent 60%),
    radial-gradient(ellipse 52% 62% at 90% 82%, rgba(17,179,166,0.40) 0%, transparent 58%),
    radial-gradient(ellipse 45% 50% at 52% 112%, rgba(245,172,12,0.15) 0%, transparent 55%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.6;
  background:
    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='%23ffffff' fill-opacity='0.05'%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");
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,33,58,0.80) 0%, rgba(13,33,58,0.35) 46%, rgba(13,33,58,0) 76%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.hero-eyebrow {
  font-family: var(--font-cond);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clr-gold-lt);
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  flex-shrink: 0;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #ffd166 0%, #f5ac0c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 2.5rem;
  max-width: 520px;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero .btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: #ffffff;
}
.hero .btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #ffffff;
  color: #ffffff;
}

/* ── BUTTONS ─────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.95rem;
  font-family: var(--font-cond);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border-radius: 50px;
}
.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 8px 22px rgba(29,143,207,0.28);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-blue);
  filter: brightness(1.05);
}
.btn-outline {
  background: #fff;
  color: var(--clr-blue);
  border: 2px solid var(--clr-border);
}
.btn-outline:hover {
  border-color: var(--clr-blue);
  color: var(--clr-blue-dk);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

/* ── SECTION HEADERS ─────────────────────── */
.section-label {
  font-family: var(--font-cond);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--clr-blue);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--clr-white);
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}
.section-subtitle {
  font-size: 0.98rem;
  color: var(--clr-muted);
  max-width: 580px;
  line-height: 1.75;
}

/* ── STATS / NUMBERS ─────────────────────── */
.stats-bar {
  background: var(--clr-dark-3);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat-item {
  text-align: center;
  padding: 1.5rem 2rem;
  background: #fff;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  display: block;
  letter-spacing: -0.04em;
}
.stat-label {
  font-family: var(--font-cond);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-muted);
  margin-top: 0.5rem;
  display: block;
}

/* ── SERVICES GRID ───────────────────────── */
.services-section { padding: 100px 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 3.5rem;
}
.service-card {
  background: #ffffff;
  padding: 2.4rem 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--grad-brand);
  transition: transform 0.35s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 56px;
  height: 56px;
  padding: 13px;
  margin-bottom: 1.4rem;
  color: var(--clr-blue);
  background: rgba(29,143,207,0.10);
  border-radius: 14px;
  transition: var(--transition);
}
/* Colorful icon rotation */
.service-card:nth-child(6n+1) .service-icon { color: var(--clr-blue);   background: rgba(29,143,207,0.10); }
.service-card:nth-child(6n+2) .service-icon { color: var(--clr-teal);   background: rgba(17,179,166,0.12); }
.service-card:nth-child(6n+3) .service-icon { color: var(--clr-gold-dk);background: rgba(245,172,12,0.14); }
.service-card:nth-child(6n+4) .service-icon { color: var(--clr-violet); background: rgba(124,92,255,0.12); }
.service-card:nth-child(6n+5) .service-icon { color: var(--clr-rose);   background: rgba(255,107,107,0.12); }
.service-card:nth-child(6n+6) .service-icon { color: var(--clr-green);  background: rgba(31,175,118,0.12); }
.service-card:hover .service-icon { transform: scale(1.08) rotate(-3deg); }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--clr-white);
  letter-spacing: -0.01em;
}
.service-card p {
  font-size: 0.88rem;
  color: var(--clr-muted);
  line-height: 1.68;
  margin-bottom: 1.2rem;
}
.service-card a.card-link {
  font-family: var(--font-cond);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}
.service-card a.card-link:hover {
  gap: 0.8rem;
  color: var(--clr-blue-dk);
}

/* ── PAGE HERO ───────────────────────────── */
.page-hero {
  background: linear-gradient(125deg, #0f2b4c 0%, #14375d 52%, #1a6ba3 125%);
  border-bottom: 3px solid var(--clr-gold);
  padding: 92px 0 68px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -35%;
  right: -8%;
  width: 58%;
  height: 170%;
  background:
    radial-gradient(ellipse at center, rgba(17,179,166,0.38) 0%, transparent 60%),
    radial-gradient(ellipse at 65% 70%, rgba(29,143,207,0.45) 0%, transparent 58%);
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background:
    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='%23ffffff' 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");
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .section-label { color: var(--clr-gold-lt); }
.page-hero .breadcrumb {
  font-family: var(--font-cond);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.62);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.page-hero .breadcrumb a { color: var(--clr-gold-lt); }
.page-hero .breadcrumb a:hover { color: #ffffff; }
.page-hero .breadcrumb span { color: rgba(255,255,255,0.5); }
.page-hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.9rem);
  font-weight: 800;
  max-width: 720px;
  letter-spacing: -0.025em;
  color: #ffffff;
}

/* ── CONTENT SECTION ─────────────────────── */
.content-section { padding: 80px 0; }
.content-body h2 {
  font-size: 1.55rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--clr-border);
  color: var(--clr-white);
  letter-spacing: -0.02em;
}
.content-body h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.content-body p { color: var(--clr-text); font-size: 0.99rem; }
.content-body ul {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
}
.content-body ul li {
  padding: 0.5rem 0 0.5rem 1.7rem;
  position: relative;
  font-size: 0.96rem;
  color: var(--clr-text);
  border-bottom: 1px solid var(--clr-border);
}
.content-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad-brand);
}

/* Sidebar */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  align-items: start;
}
.sidebar-card {
  background: #ffffff;
  border: 1px solid var(--clr-border);
  border-top: 3px solid var(--clr-blue);
  padding: 2rem;
  position: sticky;
  top: 100px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.sidebar-card h4 {
  font-family: var(--font-cond);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-blue);
  margin-bottom: 1.2rem;
}
.sidebar-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--clr-border);
  font-size: 0.88rem;
  color: var(--clr-text);
}
.sidebar-contact-item:last-of-type { border-bottom: none; }
.sidebar-contact-item svg { flex-shrink: 0; color: var(--clr-blue); margin-top: 3px; }
.sidebar-card .btn { width: 100%; justify-content: center; margin-top: 1.2rem; }

/* ── CONTACT SECTION ─────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.contact-form-group {
  margin-bottom: 1.4rem;
}
.contact-form-group label {
  display: block;
  font-family: var(--font-cond);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-muted);
  margin-bottom: 0.5rem;
}
.contact-form-group input,
.contact-form-group textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--clr-border);
  color: var(--clr-white);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  outline: none;
}
.contact-form-group input::placeholder,
.contact-form-group textarea::placeholder { color: #aab4c2; }
.contact-form-group input:focus,
.contact-form-group textarea:focus {
  border-color: var(--clr-blue);
  box-shadow: 0 0 0 4px rgba(29,143,207,0.12);
}
.contact-form-group textarea { min-height: 140px; resize: vertical; }
.contact-info-item {
  display: flex;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--clr-border);
}
.contact-info-item:first-child { border-top: 1px solid var(--clr-border); }
.contact-info-icon {
  width: 44px;
  height: 44px;
  background: rgba(29,143,207,0.10);
  border: 1px solid rgba(29,143,207,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--clr-blue);
  border-radius: 12px;
}
.contact-info-label {
  font-family: var(--font-cond);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-muted);
  margin-bottom: 0.2rem;
}
.contact-info-value { color: var(--clr-white); font-size: 0.95rem; }
.contact-info-value a { color: var(--clr-white); }
.contact-info-value a:hover { color: var(--clr-blue); }

/* Contact details laid out horizontally (no form) */
.contact-info-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.contact-info-row .contact-info-item {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
  padding: 1.8rem 1.2rem;
  border: 1px solid var(--clr-border);
  border-radius: 2px;
}
@media (max-width: 860px) {
  .contact-info-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .contact-info-row { grid-template-columns: 1fr; }
}

/* ── COLLABORATORS ───────────────────────── */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}
.partner-card {
  background: #ffffff;
  padding: 1.7rem 1.9rem;
  transition: var(--transition);
  border: 1px solid var(--clr-border);
  border-left: 3px solid var(--clr-blue);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-left-color: var(--clr-teal);
}
.partner-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}
.partner-role {
  font-size: 0.85rem;
  color: var(--clr-muted);
}
.partner-role a { color: var(--clr-blue); font-size: 0.82rem; }

.partners-group-title {
  font-family: var(--font-cond);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  padding: 0.7rem 1.6rem;
  background: var(--grad-brand);
  border-radius: 50px;
  grid-column: 1 / -1;
  box-shadow: 0 6px 16px rgba(29,143,207,0.22);
  width: fit-content;
}

/* ── CTA BANNER ──────────────────────────── */
.cta-banner {
  background: var(--grad-cta);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 18% 20%, rgba(255,255,255,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 88% 90%, rgba(245,172,12,0.22) 0%, transparent 60%);
}
.cta-banner .section-label { justify-content: center; color: rgba(255,255,255,0.9); }
.cta-banner .section-label::before { background: rgba(255,255,255,0.7); }
.cta-banner h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  position: relative;
  color: #ffffff;
}
.cta-banner p { color: rgba(255,255,255,0.92); margin-bottom: 2rem; position: relative; }
.cta-banner .btn { position: relative; }
.cta-banner .btn-primary {
  background: #ffffff;
  color: var(--clr-blue-dk);
  box-shadow: 0 10px 26px rgba(8, 40, 70, 0.25);
}
.cta-banner .btn-primary:hover { background: var(--clr-gold); color: #fff; filter: none; }

/* ── FOOTER ──────────────────────────────── */
.site-footer {
  background: linear-gradient(160deg, #14233c 0%, #0f1b30 100%);
  padding: 70px 0 0;
  color: rgba(255,255,255,0.62);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.site-footer .logo-name { color: #ffffff; }
.site-footer .logo-title { color: var(--clr-gold); }
.footer-brand .logo-name { font-size: 1.1rem; }
.footer-brand p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.8rem;
  line-height: 1.7;
}
.footer-col h5 {
  font-family: var(--font-cond);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.58);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--clr-gold); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.58);
}
.footer-contact-item svg { flex-shrink: 0; color: var(--clr-gold); margin-top: 2px; }
.footer-contact-item a { color: rgba(255,255,255,0.58); }
.footer-contact-item a:hover { color: var(--clr-gold); }
.footer-bottom {
  padding: 1.4rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  font-family: var(--font-cond);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: var(--clr-gold); }

/* ── TERMS PAGE ──────────────────────────── */
.terms-body { max-width: 800px; }
.terms-body h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 2.5rem 0 0.8rem;
  color: var(--clr-blue);
  letter-spacing: -0.01em;
}
.terms-body h2:first-child { margin-top: 0; }
.terms-body p { font-size: 0.95rem; color: var(--clr-text); }

/* ── MOBILE NAV ──────────────────────────── */
.mobile-nav {
  display: none;
  background: #ffffff;
  border-top: 1px solid var(--clr-border);
  padding: 1rem 0 1.5rem;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; }
.mobile-nav ul li a {
  display: block;
  padding: 0.7rem 2rem;
  font-family: var(--font-cond);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clr-text);
  border-bottom: 1px solid var(--clr-border);
}
.mobile-nav ul li a:hover { color: var(--clr-blue); background: var(--clr-dark-3); }
.mobile-nav .sub-items a {
  padding-left: 3rem;
  font-size: 0.84rem;
  font-weight: 400;
  opacity: 0.9;
  text-transform: none;
  letter-spacing: 0.02em;
}

/* ── SCROLL ANIMATIONS ───────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .content-with-sidebar { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
}

@media (max-width: 768px) {
  .topbar-info { display: none; }
  .main-nav { display: none; }
  .hamburger { display: block; }
  .hero { min-height: 72vh; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; }
  .container { padding: 0 1.2rem; }
}
