/* ══════════════════════════════════════════════════════
   STERLING PROPERTY SERVICES — Design System
   Palette: Deep navy / champagne gold / warm ivory
   Concept: Luxury, precision, editorial restraint
   ══════════════════════════════════════════════════════ */

:root,
[data-theme='light'] {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(3rem, 0.5rem + 7vw, 7.5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Brand palette — matched to official Sterling logo */
  --color-bg: #f2f0eb;          /* cream/linen background from logo */
  --color-surface: #f7f5f0;
  --color-surface-2: #faf9f6;
  --color-surface-offset: #eceae3;
  --color-surface-offset-2: #e4e1d8;
  --color-divider: #d8d3c8;
  --color-border: #c8c2b4;

  /* Text — dark navy-charcoal */
  --color-text: #161d30;
  --color-text-muted: #4a5470;
  --color-text-faint: #9099b4;
  --color-text-inverse: #f2f0eb;

  /* Brand navy — from shield #1e2d50 */
  --color-primary: #1e2d50;
  --color-primary-hover: #16213c;
  --color-primary-active: #0d1526;
  --color-primary-highlight: #c4c9d8;

  /* Brand gold — from crown/laurel #c9a84c */
  --color-gold: #c9a84c;
  --color-gold-light: #dbbf6a;
  --color-gold-muted: #eedfa8;
  --color-gold-bg: #f7f0d8;

  /* Radii */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition: 220ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(26, 22, 14, 0.06);
  --shadow-md: 0 4px 16px rgba(26, 22, 14, 0.09);
  --shadow-lg: 0 12px 40px rgba(26, 22, 14, 0.13);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 1040px;
  --content-wide: 1280px;

  /* Fonts */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Switzer', 'Helvetica Neue', sans-serif;
}

[data-theme='dark'] {
  --color-bg: #13120e;
  --color-surface: #1a1914;
  --color-surface-2: #1f1d18;
  --color-surface-offset: #1c1b16;
  --color-surface-offset-2: #22201a;
  --color-divider: #2a2820;
  --color-border: #38352b;
  --color-text: #e8e2d6;
  --color-text-muted: #8a8470;
  --color-text-faint: #5a5548;
  --color-text-inverse: #13120e;
  --color-primary: #6a83b8;
  --color-primary-hover: #8399c8;
  --color-primary-active: #99aed6;
  --color-primary-highlight: #1f2535;
  --color-gold: #c9a84c;
  --color-gold-light: #dbbf6a;
  --color-gold-muted: #4a3f22;
  --color-gold-bg: #2a2210;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.3);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.4);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #13120e;
    --color-surface: #1a1914;
    --color-surface-2: #1f1d18;
    --color-surface-offset: #1c1b16;
    --color-surface-offset-2: #22201a;
    --color-divider: #2a2820;
    --color-border: #38352b;
    --color-text: #e8e2d6;
    --color-text-muted: #8a8470;
    --color-text-faint: #5a5548;
    --color-text-inverse: #13120e;
    --color-primary: #6a83b8;
    --color-primary-hover: #8399c8;
    --color-primary-active: #99aed6;
    --color-primary-highlight: #1f2535;
    --color-gold: #c9a84c;
    --color-gold-light: #dbbf6a;
    --color-gold-muted: #4a3f22;
    --color-gold-bg: #2a2210;
  }
}

/* ══ RESET & BASE ══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}
body {
  min-height: 100dvh;
  line-height: 1.65;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}
img, video, svg { display: block; max-width: 100%; height: auto; }
ul[role='list'], ol[role='list'] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; line-height: 1.1; }
p, li { text-wrap: pretty; max-width: 68ch; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; }
::selection { background: var(--color-gold-muted); color: var(--color-text); }
:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; border-radius: var(--radius-sm); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ══ UTILITIES ══ */
.container {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: clamp(var(--space-6), 5vw, var(--space-16));
}
.section-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  line-height: 1.08;
}
.section-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 52ch;
  line-height: 1.7;
}

/* ══ BUTTONS ══ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 0;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border: 1.5px solid var(--color-primary);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--color-text-inverse);
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.8);
}
.btn-full { width: 100%; justify-content: center; }

/* ══ HEADER ══ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* needed for absolute-positioned hamburger */
  background: color-mix(in srgb, var(--color-bg) 92%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow var(--transition), transform var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.site-header.hidden { transform: translateY(-100%); }

.header-inner {
  max-width: 100%;
  padding: 0 clamp(var(--space-6), 5vw, var(--space-16));
  display: flex;
  align-items: center;
  position: relative;
}
.main-nav-left { justify-self: start; }
.logo-center {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.main-nav-right {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text);
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  object-position: center;
  display: block;
  /* No blend mode — show the logo crest cleanly as-is */
  transition: transform var(--transition);
}
.logo-center:hover .logo-img { transform: scale(1.03); }
[data-theme='dark'] .logo-img {
  filter: brightness(0.92) contrast(1.05);
}
.logo-img-footer {
  width: 220px;
  height: 220px;
  mix-blend-mode: normal;
  opacity: 1;
  filter: brightness(1.3) contrast(1.1);
  padding: 0;
  background: none;
  border-radius: 0;
}
/* Legacy — keep in case any other logo-text/sub used */
.logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  display: flex;
  flex-direction: column;
}
.logo-sub {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.main-nav a {
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  transition: color var(--transition);
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width var(--transition);
}
.main-nav a:hover { color: var(--color-text); }
.main-nav a:hover::after { width: 100%; }
.nav-cta {
  padding: var(--space-2) var(--space-6) !important;
  border: 1.5px solid var(--color-primary) !important;
  color: var(--color-primary) !important;
  font-size: var(--text-xs) !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600 !important;
  transition: background var(--transition), color var(--transition) !important;
}
.nav-cta:hover {
  background: var(--color-primary) !important;
  color: var(--color-text-inverse) !important;
}
.nav-cta::after { display: none !important; }

/* .header-actions consolidated into .header-right */
.theme-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text-muted);
  border-radius: var(--radius-full);
  transition: color var(--transition), background var(--transition);
}
.theme-btn:hover { color: var(--color-text); background: var(--color-surface-offset); }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 38px; height: 38px;
  align-items: center;
  justify-content: center;
}
.mobile-menu-btn span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--color-text);
  transition: transform var(--transition), opacity var(--transition);
}
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: var(--space-4) clamp(var(--space-6), 5vw, var(--space-16)) var(--space-8);
  border-top: 1px solid var(--color-divider);
  gap: var(--space-4);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--color-text-muted);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-divider);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--color-text); }

/* ══ HERO ══ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-image-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}
.hero-img.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 8, 0.62) 0%,
    rgba(10, 10, 8, 0.20) 45%,
    rgba(10, 10, 8, 0.04) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 clamp(var(--space-6), 5vw, var(--space-16)) clamp(var(--space-16), 8vw, var(--space-32));
  max-width: min(780px, 90vw);
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  text-shadow:
    0 2px 4px rgba(0,0,0,0.9),
    0 4px 16px rgba(0,0,0,0.7),
    0 0 40px rgba(0,0,0,0.5);
  margin-bottom: var(--space-5);
}
.hero-heading {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 300;
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.28);
  line-height: 1.0;
  margin-bottom: var(--space-6);
  letter-spacing: -0.01em;
}
.hero-heading em {
  font-style: italic;
  color: var(--color-gold-light);
}
.hero-sub {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 8px rgba(0,0,0,0.22);
  max-width: 52ch;
  line-height: 1.7;
  margin-bottom: var(--space-10);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); }

.hero-scroll-hint {
  position: absolute;
  bottom: var(--space-10);
  right: clamp(var(--space-6), 5vw, var(--space-16));
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  color: rgba(248,244,236,0.45);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(248,244,236,0.4));
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.15); }
}

/* ══ TRUST BAR ══ */
.trust-bar {
  background: var(--color-primary);
  padding-block: var(--space-10);
}
.trust-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-8);
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  flex: 1;
  min-width: 140px;
  text-align: center;
}
.trust-number {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-gold-light);
  line-height: 1;
}
.trust-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248, 244, 236, 0.55);
}
.trust-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* ══ SERVICES ══ */
.services {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}
.section-header {
  margin-bottom: clamp(var(--space-12), 5vw, var(--space-20));
}
.services-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-12), 5vw, var(--space-20));
  align-items: start;
}
.service-img-wrap {
  position: sticky;
  top: 100px;
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.service-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-img-wrap:hover img { transform: scale(1.03); }

.services-cards-col { display: flex; flex-direction: column; gap: var(--space-1); }
.service-card {
  display: flex;
  gap: var(--space-6);
  padding: var(--space-8);
  border-bottom: 1px solid var(--color-divider);
  transition: background var(--transition);
  cursor: default;
}
.service-card:first-child { border-top: 1px solid var(--color-divider); }
.service-card:hover { background: var(--color-surface-offset); }
.service-icon {
  width: 44px; height: 44px;
  min-width: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-gold-muted);
  color: var(--color-gold);
  background: var(--color-gold-bg);
}
.service-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  line-height: 1.2;
}
.service-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 56ch;
}

/* ══ ABOUT ══ */
.about { padding-block: 0 clamp(var(--space-16), 8vw, var(--space-32)); }
.about-image-full {
  position: relative;
  height: clamp(400px, 55vw, 680px);
  overflow: hidden;
  margin-bottom: clamp(var(--space-12), 5vw, var(--space-20));
}
.about-image-full img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.about-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,10,8,0.78) 0%, rgba(10,10,8,0.3) 60%, rgba(10,10,8,0.1) 100%);
}
.about-overlay-text {
  position: absolute;
  bottom: var(--space-12);
  left: clamp(var(--space-8), 6vw, var(--space-24));
  max-width: 560px;
  z-index: 1;
}
.about-overlay-text blockquote p {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 300;
  font-style: italic;
  color: #f8f4ec;
  line-height: 1.35;
  margin-bottom: var(--space-4);
  max-width: none;
}
.about-overlay-text cite {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  font-style: normal;
}

.about-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-12), 6vw, var(--space-24));
  align-items: start;
}
.about-text p {
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-5);
}

.about-pillars { display: flex; flex-direction: column; gap: var(--space-8); padding-top: var(--space-12); }
.pillar {
  padding: var(--space-8);
  border-left: 2px solid var(--color-gold);
  background: var(--color-surface-offset);
  padding-left: var(--space-8);
}
.pillar-num {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-2);
}
.pillar h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.pillar p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.7; }

/* ══ CLIENTS ══ */
.clients-section {
  background: var(--color-surface-offset);
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}
.clients-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-12), 6vw, var(--space-20));
  align-items: center;
}
.clients-text p { color: var(--color-text-muted); line-height: 1.75; margin-bottom: var(--space-8); }
.clients-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.clients-list li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-divider);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  max-width: none;
}
.clients-list li::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--color-gold);
  border-radius: 50%;
  flex-shrink: 0;
}
.clients-image {
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.clients-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.clients-image:hover img { transform: scale(1.03); }

/* ══ TESTIMONIALS ══ */
.testimonials {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.testimonial-stars {
  font-size: var(--text-sm);
  color: var(--color-gold);
  letter-spacing: 0.1em;
}
.testimonial-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 300;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.55;
  flex: 1;
  max-width: none;
}
.testimonial-author { margin-top: auto; }
.author-name {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.04em;
}
.author-title {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: var(--space-1);
}

/* ══ CONTACT ══ */
.contact {
  background: var(--color-primary);
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(var(--space-12), 6vw, var(--space-20));
  align-items: start;
}
.contact .section-eyebrow { color: var(--color-gold-light); }
.contact .section-title { color: #f8f4ec; }
.contact > .container > .contact-grid > .contact-text > p {
  color: rgba(248,244,236,0.65);
  line-height: 1.75;
  margin-bottom: var(--space-10);
}
.contact-details { display: flex; flex-direction: column; gap: var(--space-4); }
.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  color: rgba(248,244,236,0.7);
  font-size: var(--text-sm);
  line-height: 1.55;
}
.contact-detail-item svg { flex-shrink: 0; color: var(--color-gold-light); margin-top: 1px; }

/* Form */
.contact-form {
  background: var(--color-bg);
  padding: clamp(var(--space-8), 4vw, var(--space-12));
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
input, select, textarea {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  background: var(--color-surface-offset);
  border: 1px solid var(--color-border);
  border-radius: 0;
  font-size: var(--text-sm);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px var(--color-gold-bg);
}
input::placeholder, textarea::placeholder { color: var(--color-text-faint); }
select { cursor: pointer; }
textarea { resize: vertical; min-height: 110px; }

/* ══ FOOTER ══ */
.site-footer {
  background: var(--color-text);
  color: rgba(248,244,236,0.65);
  padding-block: clamp(var(--space-16), 6vw, var(--space-24));
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: clamp(var(--space-8), 4vw, var(--space-16));
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: var(--space-8);
}
.footer-brand .logo { color: rgba(248,244,236,0.9); margin-bottom: var(--space-5); }
.footer-brand .logo-img-footer { filter: brightness(1.05); }
.footer-tagline {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 300;
  font-style: italic;
  color: rgba(248,244,236,0.5);
  line-height: 1.5;
  max-width: 26ch;
}
.footer-nav { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-nav h4 {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(248,244,236,0.45);
  margin-bottom: var(--space-2);
}
.footer-nav a {
  font-size: var(--text-sm);
  color: rgba(248,244,236,0.6);
  transition: color var(--transition);
}
.footer-nav a:hover { color: rgba(248,244,236,0.9); }
.footer-contact-col { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-contact-col h4 {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(248,244,236,0.45);
  margin-bottom: var(--space-2);
}
.footer-contact-col p { font-size: var(--text-sm); color: rgba(248,244,236,0.6); max-width: none; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer-copy { font-size: var(--text-xs); color: rgba(248,244,236,0.35); }
.footer-legal { display: flex; gap: var(--space-6); }
.footer-legal a { font-size: var(--text-xs); color: rgba(248,244,236,0.35); transition: color var(--transition); }
.footer-legal a:hover { color: rgba(248,244,236,0.65); }

/* ══ FADE-IN ANIMATIONS ══ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }

/* ══ RESPONSIVE ══ */
@media (max-width: 1024px) {
  .services-layout { grid-template-columns: 1fr; }
  .service-img-wrap { position: static; max-height: 480px; }
  .about-content-grid { grid-template-columns: 1fr; }
  .about-pillars { padding-top: 0; }
  .clients-grid { grid-template-columns: 1fr; }
  .clients-image { order: -1; max-height: 400px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav-right { display: none; }
  .theme-btn { display: none; }
  .mobile-menu-btn { display: flex; }

  /* Header logo — bigger and readable on mobile */
  .logo-img { width: 150px; height: 150px; }

  /* Hero */
  .hero { min-height: 88svh; }
  .hero-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    white-space: nowrap;
  }
  .hero-heading { font-size: clamp(2.4rem, 10vw, 4rem); }
  .hero-sub { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; gap: var(--space-3); }
  .hero-actions .btn { width: 100%; justify-content: center; text-align: center; }

  /* Trust bar */
  .trust-grid { justify-content: center; }
  .trust-divider { display: none; }
  .trust-item { min-width: 140px; flex: 0 1 calc(50% - var(--space-4)); }

  /* Services */
  .service-card { flex-direction: column; gap: var(--space-4); }

  /* About overlay */
  .about-overlay-text { left: var(--space-6); right: var(--space-6); }
  .about-overlay-text blockquote p { font-size: var(--text-base); }

  /* Forms */
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; text-align: center; }
  .logo-img-footer { width: 180px; height: 180px; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-heading { font-size: clamp(2.2rem, 11vw, 3.5rem); }
  .logo-img { width: 130px; height: 130px; }
  .logo-img-footer { width: 160px; height: 160px; }
}


/* ── Form Success Message ── */
.form-success {
  text-align: center;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.form-success svg {
  margin-bottom: 0.5rem;
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--color-navy);
  margin: 0;
}
.form-success p {
  font-size: 1rem;
  color: var(--color-text);
  max-width: 480px;
  margin: 0;
  line-height: 1.7;
}
