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

/* ============================================================
   MEDORA SOLUTION — Premium Stylesheet
   Brand: Navy #1B3A6B | Gold #B8963E | Off-white #F8F7F4
   Fonts: Cormorant Garamond (serif) + DM Sans (body)
   ============================================================ */

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

/* --- CSS Variables --- */
:root {
  --navy:       #1B3A6B;
  --navy-dark:  #0D2040;
  --navy-mid:   #1E4488;
  --gold:       #B8963E;
  --gold-light: #D4AF6A;
  --gold-pale:  #FDF6E3;
  --off-white:  #F8F7F4;
  --white:      #FFFFFF;
  --charcoal:   #2C2C2C;
  --text:       #1A1A1A;
  --text-mid:   #4B5563;
  --text-muted: #9CA3AF;
  --border:     #E5E2DC;
  --border-mid: #D0CCC4;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'DM Sans', system-ui, -apple-system, sans-serif;

  --max-w:      1200px;
  --section-py: 96px;
  --radius:     4px;
  --radius-lg:  12px;
  --t:          0.3s ease;
  --shadow:     0 2px 16px rgba(0,0,0,0.06);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:  0 20px 64px rgba(0,0,0,0.14);
}

/* --- Utilities --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.12; }
h1 { font-size: clamp(3rem, 5.5vw, 5.5rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 3.5vw, 3.5rem); font-weight: 500; }
h3 { font-size: clamp(1.4rem, 2vw, 1.9rem); font-weight: 500; }
p  { line-height: 1.8; color: var(--text-mid); }

.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.gold-rule {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-top: 24px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: background var(--t), padding var(--t), border-color var(--t), box-shadow var(--t);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 13px;
  transition: opacity var(--t);
}
.nav-logo:hover { opacity: 0.85; }

.logo-mark svg { width: 40px; height: 40px; display: block; }

.logo-wordmark { display: flex; flex-direction: column; line-height: 1; }
.logo-wordmark .name {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: white;
  transition: color var(--t);
}
.logo-wordmark .sub {
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 3px;
}
.navbar.scrolled .logo-wordmark .name { color: var(--navy); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.82);
  transition: color var(--t);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--t);
}
.nav-links a:hover { color: white; }
.nav-links a:hover::after { width: 100%; }

.navbar.scrolled .nav-links a { color: var(--text-mid); }
.navbar.scrolled .nav-links a:hover { color: var(--navy); }

.nav-cta {
  background: var(--gold) !important;
  color: white !important;
  padding: 10px 26px;
  border-radius: var(--radius);
  font-weight: 600 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--t);
}
.navbar.scrolled .nav-toggle span { background: var(--navy); }

/* Mobile overlay */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy-dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 500;
  color: white;
  transition: color var(--t);
}
.nav-mobile a:hover { color: var(--gold); }
.nav-mobile-close {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 2rem;
  color: rgba(255,255,255,0.6);
  padding: 8px;
  transition: color var(--t);
}
.nav-mobile-close:hover { color: white; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all var(--t);
  white-space: nowrap;
}
.btn-gold { background: var(--gold); color: white; }
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184,150,62,0.35);
}
.btn-outline-white {
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
}
.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,0.08); }
.btn-navy { background: var(--navy); color: white; }
.btn-navy:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline-navy { border: 1px solid var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: white; }
.btn-white { background: white; color: var(--gold); }
.btn-white:hover { background: var(--navy-dark); color: white; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--navy-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 110% 60%, rgba(184,150,62,0.09) 0%, transparent 55%),
    radial-gradient(ellipse 50% 100% at -10% 100%, rgba(27,58,107,0.9) 0%, transparent 60%),
    linear-gradient(145deg, #0D2040 0%, #152D57 60%, #1B3A6B 100%);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.045) 1px, transparent 0);
  background-size: 36px 36px;
  pointer-events: none;
}
.hero-line {
  position: absolute;
  top: 0; right: 28%;
  width: 1px; height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(184,150,62,0.2) 30%, rgba(184,150,62,0.2) 70%, transparent 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 130px 28px 100px;
  width: 100%;
  max-width: 820px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.2s;
}
.hero-tag::before {
  content: '';
  display: block;
  width: 36px; height: 1px;
  background: var(--gold);
}
.hero-tag span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero h1 {
  color: white;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.4s;
  line-height: 1.08;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  max-width: 540px;
  line-height: 1.8;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.6s;
}
.hero-sub p { color: rgba(255,255,255,0.6); }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 72px;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.8s;
}

.hero-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 1s;
}

.hero-certs {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 1.1s;
}
.hero-certs-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.cert-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
}
.cert-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-bar {
  background: rgba(13,32,64,1);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 15px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 0 32px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  white-space: nowrap;
}
.marquee-item .m-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   STATS
   ============================================================ */
.stats-bar {
  background: var(--off-white);
  padding: 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}
.stat-item {
  padding: 52px 40px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  position: relative;
  transition: background var(--t);
}
.stat-item:hover { background: white; }
.stat-number {
  font-family: var(--serif);
  font-size: 3.8rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-number sup {
  font-size: 1.8rem;
  font-weight: 400;
  vertical-align: super;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header h2 { color: var(--navy); margin-top: 4px; }
.section-header p { margin-top: 16px; max-width: 540px; font-size: 1.05rem; }
.section-header.centered p { margin-left: auto; margin-right: auto; }
.section-header.centered .gold-rule { margin-left: auto; margin-right: auto; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-section {
  padding: var(--section-py) 0;
  background: white;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  background: var(--border);
}
.service-card {
  background: white;
  padding: 44px 40px;
  position: relative;
  transition: background var(--t);
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.45s ease;
}
.service-card:hover { background: #FAFBFD; }
.service-card:hover::after { width: 100%; }

.service-icon {
  width: 44px; height: 44px;
  margin-bottom: 24px;
  color: var(--gold);
}
.service-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}
.service-card p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 24px;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap var(--t);
}
.service-link:hover { gap: 12px; }
.service-link svg { width: 14px; height: 14px; }

/* ============================================================
   WHY US (dark section)
   ============================================================ */
.why-section {
  padding: var(--section-py) 0;
  background: var(--navy-dark);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}
.why-left .eyebrow { color: var(--gold-light); }
.why-left h2 { color: white; }
.why-left p { color: rgba(255,255,255,0.55); margin-top: 20px; font-size: 1.05rem; }
.why-left .gold-rule { background: var(--gold); }

.why-features { display: flex; flex-direction: column; gap: 32px; margin-top: 0; }
.why-feature { display: flex; gap: 20px; align-items: flex-start; }
.why-feature-icon {
  width: 44px; height: 44px;
  min-width: 44px;
  background: rgba(184,150,62,0.1);
  border: 1px solid rgba(184,150,62,0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.why-feature-icon svg { width: 20px; height: 20px; }
.why-feature h4 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 6px;
}
.why-feature p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
}

/* ============================================================
   EXPERTISE STRIP
   ============================================================ */
.expertise-strip {
  background: var(--gold);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.expertise-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.07) 1px, transparent 0);
  background-size: 28px 28px;
}
.expertise-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.expertise-text h3 {
  color: white;
  font-size: 2rem;
  font-weight: 600;
}
.expertise-text p {
  color: rgba(255,255,255,0.75);
  margin-top: 8px;
  font-size: 1rem;
}

/* ============================================================
   CONTACT STRIP (homepage)
   ============================================================ */
.contact-strip {
  padding: var(--section-py) 0;
  background: var(--off-white);
  text-align: center;
}
.contact-strip h2 { color: var(--navy); }
.contact-strip p {
  margin: 16px auto 40px;
  max-width: 480px;
  font-size: 1.05rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-dark);
  padding: 72px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { margin-bottom: 20px; }
.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.8;
  max-width: 280px;
  margin-bottom: 24px;
}
.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--gold);
  font-weight: 500;
  transition: opacity var(--t);
}
.footer-email:hover { opacity: 0.75; }
.footer-email svg { width: 16px; height: 16px; }

.footer-col h5 {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 22px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 13px; }
.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--t);
}
.footer-col ul a:hover { color: white; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
}
.footer-bottom p, .footer-bottom a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.22);
}
.footer-bottom a:hover { color: rgba(255,255,255,0.5); }
.footer-bottom-links { display: flex; gap: 24px; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--navy-dark);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 36px 36px;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 90% 50%, rgba(184,150,62,0.07) 0%, transparent 60%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: white; font-size: clamp(2.5rem, 4vw, 4.2rem); }
.page-hero p {
  color: rgba(255,255,255,0.55);
  font-size: 1.1rem;
  max-width: 540px;
  margin-top: 16px;
  line-height: 1.8;
}
.page-hero p { color: rgba(255,255,255,0.55); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-intro {
  padding: var(--section-py) 0;
  background: white;
}
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-intro-visual {
  position: relative;
}
.about-card-main {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}
.about-card-main::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: rgba(184,150,62,0.1);
  border-radius: 50%;
}
.about-big-num {
  font-family: var(--serif);
  font-size: 7rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
  position: relative;
}
.about-card-main h4 {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 24px;
}
.about-card-main p {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
}
.about-card-accent {
  position: absolute;
  bottom: -28px; right: -28px;
  width: 140px; height: 140px;
  background: var(--gold);
  border-radius: var(--radius-lg);
  opacity: 0.12;
}

.about-intro-text h2 { color: var(--navy); }
.about-intro-text p { margin-top: 20px; font-size: 1rem; }
.about-intro-text .gold-rule { margin-bottom: 32px; }

.about-values {
  padding: var(--section-py) 0;
  background: var(--off-white);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}
.value-card {
  background: white;
  border: 1px solid var(--border);
  padding: 40px 36px;
  border-radius: var(--radius);
  transition: all 0.35s ease;
}
.value-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.value-num {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--gold);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 20px;
}
.value-card h4 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.value-card p { font-size: 0.9rem; }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-page { padding: var(--section-py) 0; background: var(--off-white); }
.services-list { display: flex; flex-direction: column; gap: 2px; }
.service-row {
  background: white;
  border: 1px solid var(--border);
  padding: 48px;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 36px;
  align-items: start;
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}
.service-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--gold);
  transition: width 0.4s ease;
}
.service-row:hover { box-shadow: var(--shadow-md); }
.service-row:hover::before { width: 3px; }

.service-row-num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 600;
  color: var(--gold);
  opacity: 0.25;
  line-height: 1;
  padding-top: 4px;
}
.service-row-body h3 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.service-row-body p { font-size: 0.95rem; line-height: 1.8; }
.service-row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.service-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gold-pale);
  border: 1px solid rgba(184,150,62,0.2);
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold);
}
.service-row-icon {
  width: 56px; height: 56px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.service-row-icon svg { width: 24px; height: 24px; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page { padding: var(--section-py) 0; background: var(--off-white); }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.contact-info h3 { color: var(--navy); font-size: 1.8rem; margin-bottom: 16px; }
.contact-info > p { margin-bottom: 40px; font-size: 0.95rem; }

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.contact-detail-icon {
  width: 44px; height: 44px;
  min-width: 44px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.contact-detail-icon svg { width: 18px; height: 18px; }
.contact-detail-body h5 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-detail-body a, .contact-detail-body p {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
}
.contact-detail-body a:hover { color: var(--gold); }

.contact-form-box {
  background: white;
  border-radius: var(--radius-lg);
  padding: 52px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.contact-form-box h4 {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--off-white);
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,58,107,0.07);
  background: white;
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-submit .btn { width: 100%; justify-content: center; padding: 16px; font-size: 0.9rem; }
.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 14px;
  line-height: 1.6;
}
.form-success {
  display: none;
  text-align: center;
  padding: 40px 24px;
}
.form-success-icon {
  width: 64px; height: 64px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--gold);
}
.form-success h4 { color: var(--navy); font-size: 1.5rem; margin-bottom: 12px; }
.form-success p { color: var(--text-mid); font-size: 0.95rem; }

/* ============================================================
   CLIENT ACCESS
   ============================================================ */
.client-page { padding: var(--section-py) 0; background: var(--off-white); }
.client-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.client-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  color: white;
  text-align: center;
}
.client-card .lock-icon {
  width: 64px; height: 64px;
  background: rgba(184,150,62,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  color: var(--gold);
}
.client-card h3 { color: white; margin-bottom: 12px; font-size: 1.6rem; }
.client-card p { color: rgba(255,255,255,0.55); margin-bottom: 32px; font-size: 0.95rem; }
.client-card input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  color: white;
  font-family: var(--sans);
  font-size: 0.95rem;
  outline: none;
  margin-bottom: 12px;
  transition: border-color var(--t);
}
.client-card input:focus { border-color: var(--gold); }
.client-card input::placeholder { color: rgba(255,255,255,0.3); }
.client-card .btn { width: 100%; justify-content: center; margin-top: 4px; }
.client-card .btn-gold { background: var(--gold); }

.client-info h3 { color: var(--navy); font-size: 1.8rem; margin-bottom: 16px; }
.client-info p { margin-bottom: 20px; font-size: 0.95rem; }
.client-steps { list-style: none; display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.client-step { display: flex; gap: 16px; align-items: flex-start; }
.client-step-num {
  width: 32px; height: 32px;
  min-width: 32px;
  background: var(--navy);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 2px;
}
.client-step h5 {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.client-step p { font-size: 0.875rem; color: var(--text-mid); }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-page { padding: 72px 0 var(--section-py); background: white; }
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { color: var(--navy); font-size: 1.75rem; margin: 48px 0 14px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { font-size: 0.95rem; line-height: 1.85; margin-bottom: 16px; }
.legal-content ul { padding-left: 24px; margin-bottom: 16px; list-style: disc; }
.legal-content ul li { font-size: 0.95rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 8px; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-py: 80px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: 1px solid var(--border); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about-intro-grid { gap: 48px; }
  .contact-layout { gap: 48px; }
  .service-row { grid-template-columns: 60px 1fr; }
  .service-row-icon { display: none; }
}

@media (max-width: 768px) {
  :root { --section-py: 64px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero h1 { font-size: 2.8rem; }
  .hero-sub { font-size: 1rem; }
  .hero-certs { gap: 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .expertise-inner { flex-direction: column; text-align: center; }
  .about-intro-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; gap: 16px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .client-layout { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .service-row { grid-template-columns: 1fr; padding: 36px 28px; }
  .service-row-num { font-size: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-box { padding: 36px 24px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn { padding: 13px 24px; }
  .stat-number { font-size: 3rem; }
}
