/* ============================================================
   The Center for Error Management — Theme Styles
   Version: 1.0.0
   ============================================================ */

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

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

:root {
  --navy:         #0f2242;
  --navy-mid:     #163362;
  --navy-light:   #1e4080;
  --gold:         #b8922a;
  --gold-light:   #d4a843;
  --gold-pale:    #f5edd6;
  --cream:        #faf8f4;
  --white:        #ffffff;
  --text:         #1a1a2e;
  --body:         #3d3d52;
  --muted:        #7a7a8f;
  --border:       #e2ddd4;
  --border-light: #f0ece4;
}

html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: var(--navy); }
ul { list-style: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  line-height: 1.15;
}
p { color: var(--body); line-height: 1.8; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 14px 32px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); color: var(--navy); }

.btn-navy {
  background: var(--navy);
  color: #fff;
  padding: 14px 32px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
  display: inline-block;
}
.btn-navy:hover { background: var(--navy-light); color: #fff; }

.btn-ghost-white {
  color: rgba(255,255,255,0.75);
  padding: 14px 0;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
}
.btn-ghost-white:hover { color: #fff; }

/* ── SECTION UTILITIES ── */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.section-label-line { width: 24px; height: 2px; background: var(--gold); }
.section-label span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 2.5vw, 40px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 20px;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-body {
  font-size: 15px;
  font-weight: 300;
  color: var(--body);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ── NAVIGATION ── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  height: 72px;
  background: transparent;
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
#site-header.scrolled {
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 24px rgba(15,34,66,0.07);
}
#site-header.scrolled .site-logo-top { color: var(--gold); }
#site-header.scrolled .site-logo-name { color: var(--navy); }
#site-header.scrolled .site-logo-name span { color: var(--gold); }
#site-header.scrolled .nav-menu a { color: var(--body); }
#site-header.scrolled .nav-menu a:hover { color: var(--navy); }
#site-header.scrolled .nav-cta { background: var(--navy) !important; color: #fff !important; }

/* Not on hero pages — solid header */
#site-header.solid-header {
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 24px rgba(15,34,66,0.07);
  position: sticky;
}
#site-header.solid-header .site-logo-top { color: var(--gold); }
#site-header.solid-header .site-logo-name { color: var(--navy); }
#site-header.solid-header .nav-menu a { color: var(--body); }
#site-header.solid-header .nav-cta { background: var(--navy) !important; color: #fff !important; }

.site-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
  line-height: 1;
}
.site-logo-top {
  font-family: 'Inter', sans-serif;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 3px;
  transition: color 0.4s;
}
.site-logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
  transition: color 0.4s;
}
.site-logo-name span { color: var(--gold-light); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-menu a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav-menu a:hover { color: #fff; }
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 10px 22px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: background 0.3s;
}
#site-header.scrolled .menu-toggle span { background: var(--navy); }

/* ── HERO ── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-media-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1628 0%, #0f2242 35%, #163362 60%, #1a3a5c 80%, #0d1f3c 100%);
}
.hero-media-fallback::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(184,146,42,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(30,64,128,0.4) 0%, transparent 60%);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(10,22,40,0.35) 0%,
    rgba(10,22,40,0.25) 40%,
    rgba(10,22,40,0.65) 75%,
    rgba(10,22,40,0.90) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}

.hero-left { padding-bottom: 80px; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.hero-eyebrow-line { width: 28px; height: 1px; background: var(--gold); }
.hero-eyebrow span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 4vw, 62px);
  font-weight: 700;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 22px;
}
.hero-title em { font-style: italic; color: var(--gold-light); }

.hero-subtitle {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 44px;
}

.hero-actions { display: flex; gap: 16px; align-items: center; }

/* Value panel */
.hero-right { padding-bottom: 0; }
.hero-value-panel {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-bottom: none;
  padding: 40px 40px 48px;
}
.value-panel-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.value-panel-label::before { content: ''; width: 18px; height: 1px; background: var(--gold); }

.value-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
  border-left: 2px solid var(--gold);
  padding-left: 18px;
}

.value-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.08);
}
.value-stat {
  background: rgba(10,22,40,0.5);
  padding: 20px 22px;
}
.value-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 5px;
}
.value-stat-label {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
  line-height: 1.4;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.4; transform: scaleY(1); }
  50%      { opacity: 1;   transform: scaleY(0.7); }
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--navy);
  padding: 36px 80px;
  display: flex;
  gap: 0;
  align-items: stretch;
  border-bottom: 3px solid var(--gold);
}
.trust-item {
  flex: 1;
  text-align: center;
  padding: 0 32px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.trust-item:last-child { border-right: none; }
.trust-num {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 6px;
}
.trust-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* ── ABOUT ── */
.about-section {
  padding: 96px 80px;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
}
.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.pillar {
  background: var(--cream);
  padding: 28px;
  transition: background 0.2s;
}
.pillar:hover { background: var(--white); }
.pillar-icon { font-size: 22px; margin-bottom: 12px; display: block; }
.pillar-name { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.pillar-desc { font-size: 12px; color: var(--muted); line-height: 1.6; }

/* ── SERVICES ── */
.services-section { background: var(--navy); padding: 96px 80px; }
.services-section .section-label span { color: var(--gold-light); }
.services-section .section-label-line { background: var(--gold-light); }
.services-section .section-title { color: var(--white); }
.services-section .section-title em { color: var(--gold-light); }

.services-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
}
.service-card {
  background: rgba(255,255,255,0.03);
  padding: 40px 36px;
  border-top: 3px solid transparent;
  transition: all 0.3s;
}
.service-card:hover { background: rgba(255,255,255,0.07); border-top-color: var(--gold); }
.service-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0.6;
}
.service-icon { font-size: 26px; margin-bottom: 16px; display: block; }
.service-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}
.service-desc {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  margin-top: 20px;
  letter-spacing: 0.05em;
}

/* ── TESTIMONIALS ── */
.testimonials-section {
  padding: 96px 80px;
  background: var(--cream);
  border-top: 1px solid var(--border-light);
}
.testimonials-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
}

.featured-testimonial {
  background: var(--navy);
  padding: 56px 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.featured-testimonial::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 240px;
  color: rgba(184,146,42,0.07);
  position: absolute;
  top: -40px; left: 32px;
  line-height: 1;
  pointer-events: none;
}
.featured-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.65;
  color: var(--white);
  position: relative;
  z-index: 1;
}
.featured-author-block {
  text-align: right;
  min-width: 190px;
  position: relative;
  z-index: 1;
}
.featured-stars { justify-content: flex-end; display: flex; gap: 3px; margin-bottom: 12px; }
.star {
  width: 13px; height: 13px;
  background: var(--gold);
  clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
  display: inline-block;
}
.featured-initials {
  width: 60px; height: 60px;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-left: auto; margin-bottom: 12px;
}
.featured-name { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.featured-role { font-size: 11px; color: rgba(255,255,255,0.45); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.3s, transform 0.3s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 36px rgba(15,34,66,0.1);
  transform: translateY(-3px);
}
.t-gold-bar {
  position: absolute;
  top: 0; left: 32px; right: 32px;
  height: 3px;
  background: var(--gold);
}
.card-stars { display: flex; gap: 3px; margin-bottom: 18px; margin-top: 8px; }
.testimonial-industry {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--gold-pale);
  border: 1px solid rgba(184,146,42,0.25);
  padding: 3px 10px;
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
}
.testimonial-quote {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-size: 14px;
  line-height: 1.75;
  color: var(--body);
  flex: 1;
  margin-bottom: 24px;
}
.testimonial-quote::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  color: var(--gold);
  opacity: 0.28;
  line-height: 0;
  vertical-align: -16px;
  margin-right: 4px;
}
.testimonial-divider { width: 100%; height: 1px; background: var(--border-light); margin-bottom: 18px; }
.testimonial-author { display: flex; align-items: center; gap: 13px; }
.author-initials {
  width: 40px; height: 40px;
  background: var(--navy);
  color: var(--gold);
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-family: 'Playfair Display', serif;
}
.author-name { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.author-role { font-size: 11px; color: var(--muted); }

/* ── CTA SECTION ── */
.cta-section {
  padding: 96px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  border-top: 1px solid var(--border-light);
}
.cta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 2.8vw, 44px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 20px;
}
.cta-title em { font-style: italic; color: var(--gold); }
.cta-body { font-size: 15px; font-weight: 300; color: var(--body); line-height: 1.8; margin-bottom: 32px; }
.cta-points { margin-bottom: 40px; }
.cta-point {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--body); margin-bottom: 11px;
}
.cta-check {
  width: 18px; height: 18px; flex-shrink: 0;
  background: var(--gold-pale);
  border: 1px solid var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23b8922a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ── CONTACT FORM ── */
.contact-form {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 44px;
}
.form-heading {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700;
  color: var(--navy); margin-bottom: 4px;
}
.form-sub { font-size: 12px; color: var(--muted); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 11px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--navy); }
.form-input::placeholder,
.form-textarea::placeholder { color: #c5c0b8; }
.form-textarea { resize: vertical; min-height: 100px; }
.form-btn {
  width: 100%;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 15px;
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 4px;
}
.form-btn:hover { background: var(--navy-light); }

/* ── FOOTER ── */
#site-footer {
  background: var(--navy);
  padding: 56px 80px 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}
.footer-logo-top {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 4px;
}
.footer-logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 16px; font-weight: 700;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
}
.footer-logo-name span { color: var(--gold); }
.footer-tagline {
  font-size: 12px;
  color: rgba(255,255,255,0.38);
  line-height: 1.7;
  max-width: 280px;
}
.footer-col-title {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: rgba(255,255,255,0.85); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.22); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 11px; color: rgba(255,255,255,0.22); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.5); }

/* ── INNER PAGE HERO ── */
.page-hero {
  background: var(--navy);
  padding: 140px 80px 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 300px; height: 300px;
  border: 50px solid rgba(184,146,42,0.08);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.page-hero-label::before { content: ''; width: 24px; height: 1px; background: var(--gold); }
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700; color: #fff; line-height: 1.1;
}
.page-hero h1 em { font-style: italic; color: var(--gold-light); }

/* ── SINGLE TESTIMONIAL PAGE ── */
.testimonials-archive { padding: 80px; background: var(--cream); }
.testimonials-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── WORDPRESS CORE COMPATIBILITY ── */
.wp-block-image { margin: 2em 0; }
.alignleft { float: left; margin-right: 2em; }
.alignright { float: right; margin-left: 2em; }
.aligncenter { margin: 0 auto; text-align: center; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--muted); text-align: center; margin-top: 6px; }
.sticky { /* WP sticky post */ }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-up { animation: fadeUp 0.7s ease both; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .hero-content { grid-template-columns: 1fr; gap: 0; }
  .hero-right { display: none; }
  .about-section { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .cta-section { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  #site-header { padding: 0 24px; }
  .nav-menu { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); padding: 24px; gap: 16px; border-bottom: 1px solid var(--border); }
  .nav-menu.open { display: flex; }
  .nav-menu a { color: var(--body) !important; }
  .menu-toggle { display: flex; }
  .hero-content { padding: 0 24px; }
  .hero-left { padding-bottom: 60px; }
  .trust-bar { padding: 32px 24px; flex-wrap: wrap; gap: 24px; }
  .trust-item { min-width: 40%; border-right: none; }
  .about-section { padding: 64px 24px; }
  .services-section { padding: 64px 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-section { padding: 64px 24px; }
  .testimonials-header { flex-direction: column; align-items: flex-start; gap: 24px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .featured-testimonial { grid-template-columns: 1fr; padding: 36px 28px; }
  .featured-author-block { text-align: left; }
  .featured-stars { justify-content: flex-start; }
  .featured-initials { margin-left: 0; }
  .cta-section { padding: 64px 24px; }
  .contact-form { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }
  #site-footer { padding: 48px 24px 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .page-hero { padding: 120px 24px 60px; }
  .testimonials-archive { padding: 48px 24px; }
  .testimonials-archive-grid { grid-template-columns: 1fr; }
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--navy); }
