/* ============================================================
   Anchorline Law — Main Stylesheet
   Premium International Law Firm
   ============================================================ */

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

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-main:        #F8F7F4;
  --bg-card:        #FFFFFF;
  --primary:        #0F1724;
  --secondary:      #1D2939;
  --gold:           #B08A4A;
  --gold-hover:     #9A7440;
  --text-primary:   #222222;
  --text-secondary: #5B6470;
  --border:         #E5E7EB;
  --radius-sm:      8px;
  --radius-md:      16px;
  --radius-lg:      24px;
  --shadow-soft:    0 2px 10px rgba(0,0,0,0.04);
  --shadow-md:      0 4px 24px rgba(0,0,0,0.08);
  --transition:     all 0.3s ease;
  --container:      1280px;
  --font-serif:     'Playfair Display', Georgia, serif;
  --font-sans:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-primary);
}

/* ── Container ───────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Scroll Reveal Animations ────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Navbar ──────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  background: transparent;
}
.navbar.scrolled {
  background: rgba(248, 247, 244, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--border);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--primary);
}
.navbar-logo svg { color: var(--gold); flex-shrink: 0; }
.navbar-logo:hover svg { transform: scale(1.1); }
.navbar-logo svg { transition: transform 0.3s ease; }

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.navbar-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
}
.navbar-links a:hover,
.navbar-links a.active { color: var(--gold); }
.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.navbar-links a:hover::after,
.navbar-links a.active::after { width: 100%; }

.navbar-right { display: flex; align-items: center; gap: 20px; }

/* Hero adjustments for transparent nav */
.hero-section .navbar-links a { color: rgba(255,255,255,0.8); }
.navbar:not(.scrolled) .navbar-logo { color: #fff; }
.navbar:not(.scrolled) .navbar-links a { color: rgba(255,255,255,0.8); }
.navbar:not(.scrolled) .navbar-links a:hover { color: var(--gold); }
.navbar:not(.scrolled) .navbar-logo svg { color: var(--gold); }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
  border: none;
  background: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  border-radius: 2px;
}
.navbar:not(.scrolled) .nav-toggle span { background: #fff; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 16px 24px 24px;
  box-shadow: var(--shadow-md);
  flex-direction: column;
  gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .btn-primary { margin-top: 12px; text-align: center; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-sans);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: 0.02em;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
}
.btn-primary:hover { background: var(--secondary); border-color: var(--secondary); color: #fff; }

.btn-gold {
  background: var(--gold);
  color: #fff;
  border: 1px solid var(--gold);
}
.btn-gold:hover { background: var(--gold-hover); border-color: var(--gold-hover); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline:hover { background: var(--gold); color: #fff; }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.6); }

.btn-lg { padding: 18px 40px; font-size: 1rem; }
.btn-full { width: 100%; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--primary);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  mix-blend-mode: overlay;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}
.hero-content h1 {
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 500;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 28px;
}
.hero-content p {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.82);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.8;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ── Page Header (inner pages) ───────────────────────────── */
.page-header {
  position: relative;
  padding: 140px 0 60px;
  background: url("../images/hero-bg.png") center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.46);
}
.page-header > .container {
  position: relative;
  z-index: 2;
}
.page-header h1 {
  font-size: clamp(32px, 4vw, 52px);
  color: #fff;
  margin-bottom: 16px;
}
.page-header p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
  line-height: 1.75;
}

/* ── Section Base ─────────────────────────────────────────── */
section { padding: 80px 0; }
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}
.section-heading {
  font-size: clamp(28px, 3.5vw, 44px);
  color: var(--primary);
  margin-bottom: 16px;
}
.section-subheading {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.75;
}
.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  gap: 24px;
  flex-wrap: wrap;
}

/* ── Trust Indicators ────────────────────────────────────── */
.trust-section {
  padding: 72px 0;
  background: var(--bg-main);
  border-bottom: 1px solid var(--border);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.trust-stat-value {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 52px);
  color: var(--gold);
  margin-bottom: 8px;
}
.trust-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

/* ── Why Choose Us / Dark Section ───────────────────────── */
.section-dark {
  background: var(--secondary);
  color: #fff;
}
.section-dark .section-heading { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.72); }

.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.why-features { display: flex; flex-direction: column; gap: 28px; margin-top: 32px; }
.why-feature { display: flex; gap: 16px; align-items: flex-start; }
.why-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.why-feature-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 4px;
}
.why-feature-desc { font-size: 0.9rem; color: rgba(255,255,255,0.6); }

.why-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-tile {
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.3rem;
}
.why-tile-gold { background: rgba(176,138,74,0.12); border: 1px solid rgba(176,138,74,0.25); color: var(--gold); }
.why-tile-muted { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.45); }
.why-tile:nth-child(1) { aspect-ratio: 1; }
.why-tile:nth-child(2) { aspect-ratio: 4/5; margin-top: 40px; }
.why-tile:nth-child(3) { aspect-ratio: 4/5; }
.why-tile:nth-child(4) { aspect-ratio: 1; }

/* ── Cards Grid ──────────────────────────────────────────── */
.cards-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cards-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(176,138,74,0.3);
}
.card-icon {
  width: 44px;
  height: 44px;
  color: var(--gold);
  margin-bottom: 24px;
  flex-shrink: 0;
}
.card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 12px;
  transition: color 0.3s ease;
}
.card:hover .card-title { color: var(--gold); }
.card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 20px;
}
.card-link {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.card-link:hover, .card:hover .card-link { color: var(--gold); }

/* ── Global Reach Section ────────────────────────────────── */
.section-primary {
  background: var(--primary);
  color: #fff;
}
.section-primary .section-heading { color: #fff; }
.section-primary p { color: rgba(255,255,255,0.72); }
.cities-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 32px;
  margin-top: 56px;
}
.city-name {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: rgba(255,255,255,0.82);
  transition: color 0.3s ease;
}
.city-name:hover { color: var(--gold); }
.city-dot { color: rgba(255,255,255,0.2); font-size: 1.4rem; }

/* ── Insights List ───────────────────────────────────────── */
.insight-item {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.insight-item:first-child { border-top: 1px solid var(--border); }
.insight-category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
}
.insight-title {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--primary);
  margin-bottom: 16px;
  transition: color 0.3s ease;
  line-height: 1.35;
}
.insight-item a:hover .insight-title { color: var(--gold); }
.insight-readmore {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.insight-item a:hover .insight-readmore { color: var(--gold); }

/* ── CTA Section ─────────────────────────────────────────── */
.cta-section {
  padding: 100px 0;
  background: var(--secondary);
  color: #fff;
  text-align: center;
  overflow: hidden;
  position: relative;
}
.cta-section .section-heading { color: #fff; font-size: clamp(28px, 4vw, 52px); margin-bottom: 20px; }
.cta-section p { color: rgba(255,255,255,0.72); font-size: 1.1rem; max-width: 560px; margin: 0 auto 40px; }
.cta-globe {
  position: absolute;
  top: -60px;
  right: -60px;
  opacity: 0.06;
  pointer-events: none;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.78);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}
.footer-brand-logo svg { color: var(--gold); }
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.75;
  max-width: 280px;
  color: rgba(255,255,255,0.6);
}
.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.3s ease;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-col .footer-offices {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.38);
  margin-top: 16px;
  line-height: 1.75;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,0.45); transition: color 0.3s ease; }
.footer-bottom-links a:hover { color: var(--gold); }
.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  max-width: 900px;
  line-height: 1.65;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 4px;
}

/* ── About Page ──────────────────────────────────────────── */
.about-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 96px; }
.about-intro-grid img { border-radius: var(--radius-md); width: 100%; object-fit: cover; aspect-ratio: 4/3; box-shadow: var(--shadow-md); }
.about-intro-text h2 { font-size: 2rem; color: var(--primary); margin-bottom: 20px; }
.about-intro-text p { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.8; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card {
  padding: 32px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  text-align: center;
}
.value-card-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 8px;
}
.value-card-desc { font-size: 0.85rem; color: var(--text-secondary); }

.mission-vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 80px; }
.mission-card {
  padding: 48px 40px;
  border-radius: var(--radius-md);
}
.mission-card.bg-primary { background: var(--primary); }
.mission-card.bg-light { background: var(--bg-card); border: 1px solid var(--border); }
.mission-card h3 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.mission-card.bg-primary h3 { color: var(--gold); }
.mission-card.bg-light h3 { color: var(--gold); }
.mission-card blockquote { font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.6; font-style: italic; }
.mission-card.bg-primary blockquote { color: rgba(255,255,255,0.9); }
.mission-card.bg-light blockquote { color: var(--primary); }

.leadership-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.leader-card {
  padding: 32px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  text-align: center;
  transition: var(--transition);
}
.leader-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.leader-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(15,23,36,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--primary);
}
.leader-name { font-family: var(--font-serif); font-size: 1rem; color: var(--primary); margin-bottom: 4px; }
.leader-title { font-size: 0.8rem; font-weight: 600; color: var(--gold); margin-bottom: 4px; }
.leader-role { font-size: 0.8rem; color: var(--text-secondary); }
.leader-location { font-size: 0.72rem; color: rgba(91,100,112,0.6); margin-top: 4px; }

/* ── Practice Areas Page ─────────────────────────────────── */
.practice-area-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}
.practice-area-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(176,138,74,0.3);
}
.practice-area-card .card-icon { width: 36px; height: 36px; }

/* Practice Area Detail */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  transition: color 0.3s ease;
}
.back-link:hover { color: var(--gold); }
.pa-detail-icon { width: 52px; height: 52px; color: var(--gold); margin-bottom: 24px; }
.pa-detail-header { max-width: 720px; margin-bottom: 56px; }
.pa-detail-header h1 { font-size: clamp(28px, 3.5vw, 48px); color: var(--primary); margin-bottom: 16px; }
.pa-detail-header p { font-size: 1.15rem; color: var(--text-secondary); line-height: 1.75; }

.content-prose {
  max-width: 760px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.85;
}
.content-prose h3 { font-size: 1.5rem; color: var(--primary); margin: 48px 0 16px; }
.content-prose p { margin-bottom: 20px; }
.content-prose ul { margin: 0 0 20px 20px; list-style: disc; }
.content-prose ul li { margin-bottom: 8px; }
.content-prose .quote-block {
  background: rgba(15,23,36,0.04);
  border-left: 4px solid var(--gold);
  padding: 28px 32px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 40px 0;
}
.content-prose .quote-block p {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--primary);
  margin: 0;
}

/* ── Industries ──────────────────────────────────────────── */
.industry-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}
.industry-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.industry-card-icon { width: 44px; height: 44px; color: var(--gold); margin-bottom: 24px; transition: transform 0.3s ease; }
.industry-card:hover .industry-card-icon { transform: scale(1.1); }
.industry-card-title { font-family: var(--font-serif); font-size: 1.15rem; color: var(--primary); margin-bottom: 12px; }
.industry-card-desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.75; }

/* ── Global Services ─────────────────────────────────────── */
.service-row {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  margin-bottom: 20px;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}
.service-row:hover { border-color: rgba(176,138,74,0.3); box-shadow: var(--shadow-md); }
.service-row-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(15,23,36,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.service-row-icon svg { width: 32px; height: 32px; }
.service-row-title { font-family: var(--font-serif); font-size: 1.35rem; color: var(--primary); margin-bottom: 10px; }
.service-row-desc { color: var(--text-secondary); line-height: 1.75; }

/* ── Careers ─────────────────────────────────────────────── */
.careers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-bottom: 80px; }
.careers-culture p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.openings-box { background: var(--primary); border-radius: var(--radius-md); padding: 40px; color: #fff; }
.openings-box h3 { font-family: var(--font-serif); font-size: 1.35rem; color: var(--gold); margin-bottom: 24px; }
.opening-item { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.opening-item:last-of-type { border-bottom: none; margin-bottom: 24px; }
.opening-title { font-size: 0.925rem; color: #fff; }
.opening-location { font-size: 0.85rem; color: rgba(255,255,255,0.5); }

.dept-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 80px; }
.dept-tag {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
}

.culture-values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.culture-value {
  padding: 28px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  text-align: center;
}
.culture-value-icon { color: var(--gold); margin-bottom: 12px; }
.culture-value-title { font-family: var(--font-serif); font-size: 1rem; color: var(--primary); }

/* ── Contact ─────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 64px; }
.contact-form-wrap { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 48px; box-shadow: var(--shadow-soft); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 24px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--primary); }
.form-input {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  padding: 12px 0;
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.3s ease;
}
.form-input:focus { border-color: var(--gold); }
.form-input::placeholder { color: #aaa; }
select.form-input { -webkit-appearance: none; appearance: none; cursor: pointer; color: var(--text-secondary); }
select.form-input option { color: var(--text-primary); }
textarea.form-input { resize: none; line-height: 1.65; }
.form-checkbox-row { display: flex; gap: 12px; align-items: flex-start; margin-top: 8px; }
.form-checkbox-row input[type="checkbox"] { margin-top: 3px; accent-color: var(--gold); flex-shrink: 0; }
.form-checkbox-row label { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }
.form-success {
  display: none;
  background: rgba(47,107,82,0.08);
  border: 1px solid rgba(47,107,82,0.3);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  color: #2F6B52;
  font-size: 0.9rem;
  margin-bottom: 20px;
  font-weight: 500;
}
.form-success.visible { display: block; }

.contact-sidebar { padding-top: 0; }
.contact-sidebar-section { margin-bottom: 48px; }
.contact-sidebar-section h3 { font-family: var(--font-serif); font-size: 1.15rem; color: var(--primary); margin-bottom: 16px; }
.contact-sidebar-section ul { display: flex; flex-direction: column; gap: 10px; }
.contact-sidebar-section ul li a { font-size: 0.9rem; color: var(--text-secondary); transition: color 0.3s; }
.contact-sidebar-section ul li a:hover { color: var(--gold); }
.contact-sidebar-section ul li { font-size: 0.9rem; color: var(--primary); font-weight: 500; }

/* ── Legal Pages ─────────────────────────────────────────── */
.legal-content { max-width: 800px; }
.legal-content h2 { font-size: 1.4rem; color: var(--primary); margin: 40px 0 12px; }
.legal-content p { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.8; }
.legal-content ul { margin: 0 0 16px 20px; list-style: disc; }
.legal-content ul li { color: var(--text-secondary); margin-bottom: 6px; line-height: 1.75; }

/* ── Insights Article ────────────────────────────────────── */
.article-header { padding-bottom: 40px; border-bottom: 1px solid var(--border); margin-bottom: 48px; }
.article-header h1 { font-size: clamp(28px, 4vw, 48px); color: var(--primary); line-height: 1.25; margin-top: 16px; }
.article-lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 28px;
  line-height: 1.75;
}

/* ── Utility ─────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }

/* ── Inline SVG Icon helpers ─────────────────────────────── */
svg { display: inline-block; vertical-align: middle; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .leadership-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 960px) {
  .navbar-links, .navbar-right .btn { display: none; }
  .nav-toggle { display: flex; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-mosaic {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .why-tile { aspect-ratio: auto; margin-top: 0; padding: 28px 20px; }
  .cards-grid-3 { grid-template-columns: 1fr 1fr; }
  .about-intro-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .mission-vision-grid { grid-template-columns: 1fr; }
  .leadership-grid { grid-template-columns: repeat(2, 1fr); }
  .careers-grid { grid-template-columns: 1fr; }
  .dept-grid { grid-template-columns: repeat(2, 1fr); }
  .culture-values-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 32px 24px; }
}

@media (max-width: 640px) {
  .cards-grid-3, .cards-grid-2 { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .leadership-grid { grid-template-columns: 1fr 1fr; }
  .dept-grid { grid-template-columns: repeat(2, 1fr); }
  .culture-values-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .service-row { flex-direction: column; gap: 20px; }
  .section-header-row { flex-direction: column; align-items: flex-start; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 320px; }
}
