/*
Theme Name: Marivate Law Firm
Theme URI: https://www.marivate.co.za
Author: Numa Technologies
Author URI: https://www.numatech.co.za
Description: Official website theme for Marivate Attorneys Incorporated — Attorneys, Notaries & Conveyancers. Wholly Black-owned South African law firm established 2002. B-BBEE Level 1. Custom Designed by Numa Technologies x Kua Digital.
Version: 1.3.0
License: Private
License URI: https://www.marivate.co.za
Text Domain: marivate-attorneys
Tags: law, attorneys, legal, professional, corporate
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  /* ── Key palette ── */
  --navy:       #252c6d;   /* dominant blue */
  --navy-dark:  #1a2056;   /* deeper navy for footer */
  --navy-mid:   #2e3680;   /* slightly lighter for hover states */
  --charcoal:   #1C1C1C;   /* body text */
  --gold:       #C4A55A;
  --gold-light: #D4B86A;
  --gold-dark:  #A8893E;
  --cream:      #F7F5F0;
  --cream-dark: #EDEAE2;
  --white:      #FFFFFF;
  --gray-mid:   #6B6B6B;
  --gray-light: #A0A0A0;
  --border:     #D8D4CA;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --max-w: 1200px;
  --nav-h: 72px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; image-rendering: -webkit-optimize-contrast; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── NAVBAR ────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.navbar.transparent { background: transparent; }
.navbar.solid {
  background: var(--navy);
  box-shadow: 0 2px 32px rgba(37,44,109,0.4);
}

.nav-inner {
  width: 100%; max-width: var(--max-w);
  margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 52px; width: auto; image-rendering: -webkit-optimize-contrast; }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links > li > a {
  font-size: 12px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.85);
  transition: color 0.2s; display: flex; align-items: center; gap: 5px;
}
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--gold); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a svg { width: 12px; height: 12px; transition: transform 0.2s; flex-shrink: 0; }
.nav-dropdown.open > a svg, .nav-dropdown:hover > a svg { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%); min-width: 260px;
  padding-top: 16px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  pointer-events: none; z-index: 1001;
}
.dropdown-menu-inner {
  background: var(--white);
  border-top: 2px solid var(--gold);
  box-shadow: 0 12px 40px rgba(37,44,109,0.15);
}
.nav-dropdown:hover .dropdown-menu, .nav-dropdown.open .dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
}
.dropdown-menu a {
  display: block; padding: 11px 22px;
  font-size: 11.5px; letter-spacing: 0.08em;
  color: var(--charcoal); border-bottom: 1px solid var(--cream-dark);
  transition: background 0.15s, color 0.15s; white-space: nowrap;
}
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { background: var(--cream); color: var(--navy); }

/* Mobile nav */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: transform 0.3s, opacity 0.3s; }

.nav-mobile {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--navy); padding: 24px 32px 32px;
  z-index: 999; border-top: 1px solid rgba(255,255,255,0.08);
  max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block; padding: 12px 0; font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.8); border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-mobile a:hover { color: var(--gold); }
.nav-mobile .mobile-sub { padding-left: 16px; font-size: 11px; color: rgba(255,255,255,0.55); }

/* ── BUTTONS ───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; font-family: var(--font-body);
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; cursor: pointer;
  border: 2px solid transparent; transition: all 0.25s;
}
.btn-primary { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-outline-dark { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }
.btn-outline-gold { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: var(--navy); }

/* ── HERO ──────────────────────────────────────────── */
.hero {
  position: relative; height: 100vh; min-height: 640px;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center top; background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(37,44,109,0.92) 0%,
    rgba(37,44,109,0.70) 55%,
    rgba(37,44,109,0.40) 100%
  );
}
.hero-content {
  position: relative; z-index: 1;
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 32px; padding-top: var(--nav-h);
}
.hero-eyebrow {
  font-size: 10.5px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px; display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before { content: ''; display: block; width: 40px; height: 1px; background: var(--gold); }
.hero h1 {
  font-family: var(--font-heading); font-size: clamp(44px, 6vw, 80px);
  font-weight: 400; line-height: 1.08; color: var(--white);
  max-width: 760px; margin-bottom: 28px;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-sub { font-size: 16px; font-weight: 300; color: rgba(255,255,255,0.78); max-width: 540px; margin-bottom: 44px; line-height: 1.7; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.45); font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(196,165,90,0.8), transparent);
  animation: scroll-line 1.8s ease-in-out infinite;
}
@keyframes scroll-line {
  0%,100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.4; }
}

/* ── PAGE HERO ─────────────────────────────────────── */
.page-hero {
  position: relative; height: 340px;
  display: flex; align-items: flex-end;
  padding-top: var(--nav-h); overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(37,44,109,0.95) 0%,
    rgba(37,44,109,0.60) 100%
  );
}
.page-hero-content { position: relative; z-index: 1; max-width: var(--max-w); margin: 0 auto; padding: 0 32px 48px; width: 100%; }
.page-hero h1 { font-family: var(--font-heading); font-size: clamp(36px, 5vw, 58px); font-weight: 400; color: var(--white); margin-bottom: 12px; line-height: 1.1; }
.page-hero p { font-size: 15px; color: rgba(255,255,255,0.72); max-width: 560px; }

/* ── SECTIONS ──────────────────────────────────────── */
.section { padding: 96px 32px; max-width: var(--max-w); margin: 0 auto; }
.section-full { padding: 96px 32px; }
.section-bg-dark { background: var(--navy); }

.section-label {
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.section-label::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
h2.section-title {
  font-family: var(--font-heading); font-size: clamp(30px, 4vw, 46px);
  font-weight: 400; line-height: 1.15; color: var(--charcoal); margin-bottom: 20px;
}
h2.section-title.light { color: var(--white); }
.section-lead { font-size: 15.5px; color: var(--gray-mid); max-width: 600px; line-height: 1.75; margin-bottom: 56px; }
.section-lead.light { color: rgba(255,255,255,0.65); }
.gold-rule { width: 48px; height: 2px; background: var(--gold); margin-bottom: 32px; }

/* ── STATS BAR ─────────────────────────────────────── */
.stats-bar { background: var(--navy); }
.stats-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { padding: 48px 32px; text-align: center; border-right: 1px solid rgba(255,255,255,0.08); }
.stat-item:last-child { border-right: none; }
.stat-number { font-family: var(--font-heading); font-size: 52px; font-weight: 400; color: var(--gold); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.5); }

/* ── SPLIT ─────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-image { position: relative; }
.split-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: top center; }
.split-image::before {
  content: ''; position: absolute; bottom: -18px; right: -18px;
  width: 60%; height: 60%; border: 2px solid var(--gold); z-index: -1;
}
.split-text .body-text { font-size: 15px; color: var(--gray-mid); line-height: 1.8; margin-bottom: 20px; }
.feature-list { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; margin-bottom: 36px; }
.feature-item { display: flex; align-items: flex-start; gap: 14px; }
.feature-icon { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.feature-item p { font-size: 14px; color: var(--gray-mid); }

/* ── SERVICES GRID ─────────────────────────────────── */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border); margin-top: 56px;
}
.service-card {
  background: var(--white); padding: 40px 36px;
  display: flex; flex-direction: column; gap: 16px;
  border-top: 3px solid var(--navy);
  transition: background 0.25s, box-shadow 0.25s; text-decoration: none; color: inherit;
}
.service-card:hover { background: #f2f3f8; box-shadow: 0 4px 24px rgba(37,44,109,0.10); }
.service-card:hover .service-card-arrow { transform: translateX(5px); color: var(--navy); }
.service-icon { width: 40px; height: 40px; color: var(--navy); }
.service-card h3 { font-family: var(--font-heading); font-size: 22px; font-weight: 500; color: var(--navy); line-height: 1.2; }
.service-card p { font-size: 13.5px; color: var(--gray-mid); line-height: 1.7; flex: 1; }
.service-card-arrow { width: 20px; height: 20px; color: var(--gray-light); transition: transform 0.2s, color 0.2s; align-self: flex-start; }

/* ── NAVY SECTION — cards on navy background ─────── */
.navy-section { background: var(--navy); }

/* Service cards on navy */
.navy-section .services-grid { background: transparent; gap: 1px; }
.navy-section .services-grid::after { display: none; }
.navy-section .service-card {
  background: rgba(255,255,255,0.05);
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  border-left: 1px solid rgba(255,255,255,0.06);
  border-right: 1px solid rgba(255,255,255,0.06);
}
.navy-section .service-card:hover {
  background: rgba(255,255,255,0.11);
  box-shadow: none;
}
.navy-section .service-icon { color: var(--gold); }
.navy-section .service-card h3 { color: var(--white); }
.navy-section .service-card p { color: rgba(255,255,255,0.62); }
.navy-section .service-card-arrow { color: rgba(255,255,255,0.25); }
.navy-section .service-card:hover .service-card-arrow { color: var(--gold); }

/* Value cards on navy */
.navy-section .values-grid { margin-top: 56px; }
.navy-section .value-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(196,165,90,0.25);
  border-top: 2px solid var(--gold);
}
.navy-section .value-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  background: rgba(255,255,255,0.09);
}
.navy-section .value-card h3 { color: var(--white); }
.navy-section .value-card p { color: rgba(255,255,255,0.62); }

/* Location cards on navy */
.navy-section .location-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}
.navy-section .location-card::before { background: var(--gold); }
.navy-section .location-card:hover { border-color: rgba(196,165,90,0.5); }
.navy-section .location-name { color: var(--white); }
.navy-section .location-badge { color: var(--gold); border-color: var(--gold); }
.navy-section .location-detail span { color: rgba(255,255,255,0.65); }

/* ── WHY US ────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 56px; }
.why-item { display: flex; flex-direction: column; gap: 16px; }
.why-number {
  font-family: var(--font-heading); font-size: 64px; font-weight: 300;
  color: rgba(255,255,255,0.12); line-height: 1;
}
.why-item h3 { font-family: var(--font-heading); font-size: 22px; font-weight: 500; color: var(--white); }
.why-item p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.75; }

/* ── VALUES ────────────────────────────────────────── */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.value-card {
  border: 1px solid var(--border); border-top: 3px solid var(--navy); padding: 40px 32px;
  background: var(--white); display: flex; flex-direction: column; gap: 16px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.value-card:hover { border-color: var(--navy); box-shadow: 0 6px 28px rgba(37,44,109,0.12); transform: translateY(-2px); }
.value-icon { width: 36px; height: 36px; color: var(--gold); }
.value-card h3 { font-family: var(--font-heading); font-size: 22px; font-weight: 500; color: var(--navy); }
.value-card p { font-size: 13.5px; color: var(--gray-mid); line-height: 1.75; }

/* ── TEAM ──────────────────────────────────────────── */
.team-grid, .team-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.team-card { background: var(--white); border: 1px solid var(--border); overflow: hidden; transition: box-shadow 0.25s, border-color 0.25s; }
.team-card:hover { box-shadow: 0 8px 32px rgba(37,44,109,0.12); border-color: var(--navy); }
.team-avatar { width: 100%; aspect-ratio: 1; background: var(--cream-dark); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.team-avatar-initials { font-family: var(--font-heading); font-size: 48px; font-weight: 400; color: var(--navy); }
.team-card-body { padding: 28px 28px 32px; }
.team-card-body h3 { font-family: var(--font-heading); font-size: 22px; font-weight: 500; margin-bottom: 6px; color: var(--navy); }
.team-card-role { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.team-card-body p { font-size: 13.5px; color: var(--gray-mid); line-height: 1.7; }

/* ── QUOTE BAND ────────────────────────────────────── */
.quote-band { background: var(--gold); padding: 80px 32px; text-align: center; }
.quote-band blockquote { font-family: var(--font-heading); font-size: clamp(24px, 3.5vw, 40px); font-weight: 400; font-style: italic; color: var(--navy); max-width: 820px; margin: 0 auto 20px; line-height: 1.35; }
.quote-band cite { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(37,44,109,0.65); font-style: normal; }

/* ── CLIENT LOGOS CAROUSEL ─────────────────────────── */
.clients-section { background: var(--cream); padding: 72px 0; overflow: hidden; }
.clients-section-header { text-align: center; padding: 0 32px; margin-bottom: 48px; }
.logo-carousel-wrap {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.logo-carousel-wrap:hover .logo-track { animation-play-state: paused; }
.logo-track {
  display: flex; align-items: center; gap: 0;
  width: max-content; animation: logo-marquee 32s linear infinite;
}
.logo-track-inner { display: flex; align-items: center; gap: 0; }
@keyframes logo-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.logo-item {
  display: flex; align-items: center; justify-content: center;
  padding: 20px 48px; border-right: 1px solid var(--border);
  min-width: 200px; height: 100px; flex-shrink: 0;
}
.logo-item img {
  max-height: 56px; max-width: 160px; width: auto; height: auto;
  object-fit: contain; filter: grayscale(100%); opacity: 0.6;
  transition: filter 0.3s, opacity 0.3s;
}
.logo-item:hover img { filter: grayscale(0%); opacity: 1; }
.logo-item .logo-text {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gray-mid); text-align: center; line-height: 1.4;
}

/* ── LOCATIONS ─────────────────────────────────────── */
.locations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.location-card { border: 1px solid var(--border); padding: 40px 32px; background: var(--white); position: relative; transition: border-color 0.25s; }
.location-card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: var(--navy); }
.location-card:hover { border-color: var(--navy); }
.location-name { font-family: var(--font-heading); font-size: 24px; font-weight: 500; margin-bottom: 6px; color: var(--navy); }
.location-badge { display: inline-block; font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold); padding: 3px 10px; margin-bottom: 20px; }
.location-detail { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.location-detail svg { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.location-detail span { font-size: 13.5px; color: var(--gray-mid); line-height: 1.5; }

/* ── CTA BAND ──────────────────────────────────────── */
.cta-band { background: var(--navy); padding: 100px 32px; text-align: center; }
.cta-band h2 { font-family: var(--font-heading); font-size: clamp(30px, 4vw, 52px); font-weight: 400; color: var(--white); margin-bottom: 18px; line-height: 1.15; }
.cta-band p { font-size: 15px; color: rgba(255,255,255,0.6); max-width: 520px; margin: 0 auto 44px; line-height: 1.7; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ────────────────────────────────────────── */
footer { background: var(--navy-dark); padding: 72px 32px 0; color: rgba(255,255,255,0.55); }
.footer-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 56px; padding-bottom: 56px;
}
.footer-brand img { height: 52px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: 13px; line-height: 1.75; max-width: 260px; }
.footer-col h4 {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--white); margin-bottom: 22px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-col p { font-size: 13px; line-height: 1.75; }
.footer-bottom {
  max-width: var(--max-w); margin: 0 auto; padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11.5px; color: rgba(255,255,255,0.3);
}
.footer-bottom a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--gold); }
.footer-designed-by {
  max-width: var(--max-w); margin: 0 auto;
  padding: 14px 0 20px;
  font-size: 11px; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.2); text-align: center;
}
.footer-designed-by a { color: rgba(196,165,90,0.5); transition: color 0.2s; }
.footer-designed-by a:hover { color: var(--gold); }

/* ── ABOUT / TEAM / CONTACT PAGES ─────────────────── */
.about-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-list { display: flex; flex-direction: column; }
.about-list-item { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.about-list-item:last-child { border-bottom: none; }
.about-list-num { font-family: var(--font-heading); font-size: 36px; font-weight: 300; color: var(--gold); line-height: 1; min-width: 40px; }
.about-list-text h4 { font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--navy); }
.about-list-text p { font-size: 13.5px; color: var(--gray-mid); line-height: 1.65; }
.bbee-badge { display: inline-flex; align-items: center; gap: 10px; background: var(--cream); border: 1px solid var(--gold); padding: 10px 20px; margin-top: 28px; }
.bbee-badge svg { width: 20px; height: 20px; color: var(--gold); }
.bbee-badge span { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); font-weight: 500; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.contact-info h3 { font-family: var(--font-heading); font-size: 28px; font-weight: 500; margin-bottom: 24px; color: var(--navy); }
.contact-detail { display: flex; gap: 16px; margin-bottom: 22px; align-items: flex-start; }
.contact-detail svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.contact-detail-text h5 { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); margin-bottom: 6px; }
.contact-detail-text p, .contact-detail-text a { font-size: 14px; color: var(--gray-mid); line-height: 1.6; }
.contact-detail-text a:hover { color: var(--gold); }
.contact-form-wrap { background: var(--cream); padding: 48px; }
.contact-form-wrap h3 { font-family: var(--font-heading); font-size: 28px; font-weight: 500; margin-bottom: 32px; color: var(--navy); }
.inquiry-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray-mid); }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 16px; border: 1px solid var(--border); background: var(--white);
  font-family: var(--font-body); font-size: 14px; color: var(--charcoal);
  outline: none; transition: border-color 0.2s; width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--navy); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  background: var(--navy); color: var(--white); border: 2px solid var(--navy);
  padding: 14px 32px; font-family: var(--font-body); font-size: 11.5px;
  font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer; transition: all 0.25s; align-self: flex-start;
}
.form-submit:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* Service layout */
.service-layout { display: grid; grid-template-columns: 260px 1fr; gap: 60px; align-items: start; margin-top: 64px; }
.service-sidebar { position: sticky; top: calc(var(--nav-h) + 24px); }
.service-sidebar h4 { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray-light); margin-bottom: 16px; }
.sidebar-links { display: flex; flex-direction: column; }
.sidebar-links a { font-size: 13px; padding: 12px 16px; border-left: 2px solid var(--border); color: var(--gray-mid); transition: border-color 0.2s, color 0.2s, background 0.2s; display: block; }
.sidebar-links a:hover { border-color: var(--navy); color: var(--navy); background: var(--cream); }
.sidebar-links a.active { border-color: var(--gold); color: var(--navy); background: rgba(196,165,90,0.06); font-weight: 500; }
.service-content h2 { font-family: var(--font-heading); font-size: clamp(28px, 4vw, 42px); font-weight: 400; margin-bottom: 24px; line-height: 1.15; color: var(--navy); }
.service-content p { font-size: 15px; color: var(--gray-mid); line-height: 1.8; margin-bottom: 18px; }
.service-content h3 { font-family: var(--font-heading); font-size: 24px; font-weight: 500; margin: 40px 0 18px; color: var(--navy); }
.service-bullets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; margin: 24px 0 36px; }
.service-bullet { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--gray-mid); }
.service-bullet svg { width: 14px; height: 14px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb svg { width: 12px; height: 12px; }
.accred-badge { border: 1px solid var(--border); padding: 16px 28px; background: var(--white); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); font-weight: 500; transition: border-color 0.2s; }
.accred-badge:hover { border-color: var(--navy); }

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1024px) {
  .split, .about-intro-grid { grid-template-columns: 1fr; gap: 48px; }
  .split.reverse { direction: ltr; }
  .split-image { max-width: 600px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .team-grid, .team-page-grid { grid-template-columns: 1fr 1fr; }
  .locations-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact-layout { grid-template-columns: 1fr; }
  .service-layout { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
}
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid, .team-page-grid { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .service-bullets { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .section { padding: 64px 20px; }
  .section-full { padding: 64px 20px; }
  .nav-inner { padding: 0 20px; }
  .hero-content { padding: 0 20px; padding-top: var(--nav-h); }
  .contact-form-wrap { padding: 32px 24px; }
  .logo-item { padding: 20px 32px; min-width: 160px; }
}
@media (max-width: 480px) {
  .stats-inner { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .nav-logo img, .footer-brand img { image-rendering: -webkit-optimize-contrast; }
}
