/* ============================================
   GROUNDWORK COMMUNICATIONS
   styles.css — Master Stylesheet
   ============================================ */

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

:root {
  /* Brand Colors */
  --blue-primary: #307296;
  --blue-secondary: #28607D;
  --blue-deep: #1e4e68;
  --blue-dark: #2C3E50;
  --sand: #D4B896;
  --sand-light: #e2ccb0;
  --sand-glow: #f5efe6;

  /* Neutrals */
  --white: #ffffff;
  --cream: #F4F1EC;
  --warm-gray: #ece8e1;
  --gray-200: #e2ddd5;
  --gray-400: #a89f94;
  --gray-600: #6b6159;
  --gray-800: #2C3E50;
  --gray-900: #1e2d3d;

  /* Typography */
  --font-display: 'Fjalla One', 'Barlow Condensed', sans-serif;
  --font-display-alt: 'Barlow Condensed', sans-serif;
  --font-body: 'Source Serif 4', Georgia, serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 800px;
  --nav-height: 64px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 200ms;
  --duration-med: 400ms;
  --duration-slow: 700ms;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; /* moved here — body overflow-x breaks position:fixed on iOS Safari */
}

body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-primary); text-decoration: none; transition: color var(--duration-fast) ease; }
a:hover { color: var(--sand); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--gray-900);
}

/* ---------- UTILITY ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow { max-width: var(--container-narrow); }

.text-center { text-align: center; }
.text-left { text-align: left; }
.content-narrow { max-width: var(--container-narrow); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -100%; left: var(--space-md);
  background: var(--blue-primary); color: var(--white);
  padding: var(--space-xs) var(--space-sm);
  font-family: var(--font-display-alt); font-size: 0.875rem;
  z-index: 9999; border-radius: 0 0 4px 4px;
}
.skip-link:focus { top: 0; }


/* ---------- NAVIGATION ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration-med) ease, background var(--duration-med) ease;
}

.nav--scrolled {
  border-bottom-color: var(--gray-200);
  background: rgba(255,255,255,0.98);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-logo-img {
  height: 52px;
  width: auto;
}

.nav-links {
  list-style: none;
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  height: calc(100svh - var(--nav-height));
  background: var(--blue-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-med) ease;
}

.nav-links.open {
  opacity: 1;
  pointer-events: auto;
}

.nav-links a {
  font-family: var(--font-display-alt);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: color var(--duration-fast) ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--sand);
  transition: width var(--duration-med) var(--ease-out);
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--sand); }
.nav-links a.active::after { width: 100%; background: var(--blue-primary); }

.nav-cta {
  font-family: var(--font-display-alt);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white) !important;
  background: var(--blue-primary);
  padding: 0.625rem 1.25rem;
  border-radius: 3px;
  transition: background var(--duration-fast) ease, transform var(--duration-fast) ease;
}

.nav-cta:hover {
  background: var(--blue-deep);
  color: var(--white) !important;
  transform: translateY(-1px);
}

.nav-cta::after { display: none; }

/* Hamburger */
.nav-hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1001;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block; width: 26px; height: 2px;
  background: var(--gray-800);
  position: absolute; left: 50%; transform: translateX(-50%);
  transition: all var(--duration-med) var(--ease-out);
}

.nav-hamburger span:nth-child(1) { top: calc(50% - 8px); transform: translateX(-50%); }
.nav-hamburger span:nth-child(2) { top: 50%; transform: translate(-50%, -50%); }
.nav-hamburger span:nth-child(3) { top: calc(50% + 8px); transform: translateX(-50%); }

.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  top: 50%; transform: translate(-50%, -50%) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  top: 50%; transform: translate(-50%, -50%) rotate(-45deg);
}


/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display-alt);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--sand);
  color: var(--gray-900);
}

.btn-primary:hover {
  background: var(--sand-light);
  color: var(--gray-900);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(212, 184, 150, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--blue-primary);
  border: 2px solid var(--blue-primary);
}

.btn-outline:hover {
  background: var(--blue-primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-hero {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}

.btn-outline-hero:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn-white {
  background: var(--white);
  color: var(--blue-primary);
}

.btn-white:hover {
  background: var(--cream);
  color: var(--blue-deep);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.btn svg {
  width: 14px; height: 14px;
  transition: transform var(--duration-fast) ease;
}

.btn:hover svg { transform: translateX(3px); }


/* ---------- PAGE HERO ---------- */
.hero {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  background: var(--blue-primary);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(48, 114, 150, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(212, 184, 150, 0.12) 0%, transparent 50%);
  z-index: 1;
}

/* Street grid texture overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-eyebrow {
  font-family: var(--font-display-alt);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.2s forwards;
}

.hero h1 {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  color: var(--white);
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.35s forwards;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.3125rem);
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: var(--space-xl);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.5s forwards;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.65s forwards;
}

.hero-actions .btn {
  width: 100%;
  justify-content: center;
}

/* Decorative background logo — centered watermark on mobile */
.hero-tree {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(420px, 80%);
  height: auto;
  opacity: 0.12;
  z-index: 1;
  pointer-events: none;
}


/* ---------- PAGE HEROES (Interior pages) ---------- */
.page-hero {
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-2xl);
  background: var(--blue-primary);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 70%, rgba(48, 114, 150, 0.3) 0%, transparent 60%);
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-hero .container { position: relative; z-index: 2; }

.page-hero-eyebrow {
  font-family: var(--font-display-alt);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: var(--space-sm);
  opacity: 0;
  animation: fadeUp 0.6s var(--ease-out) 0.15s forwards;
}

.page-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeUp 0.6s var(--ease-out) 0.3s forwards;
}

.page-hero-subtitle {
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  max-width: 600px;
  opacity: 0;
  animation: fadeUp 0.6s var(--ease-out) 0.45s forwards;
}


/* ---------- SECTIONS ---------- */
.section {
  padding: var(--space-2xl) 0;
}

.section--cream { background: var(--cream); }
.section--blue { background: var(--blue-primary); color: var(--white); }
.section--blue h2, .section--blue h3 { color: var(--white); }
.section--blue p { color: rgba(255,255,255,0.85); }

.section-eyebrow {
  font-family: var(--font-display-alt);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.1875rem;
  color: var(--gray-600);
  max-width: 600px;
  margin-bottom: var(--space-xl);
}

.section-rule {
  width: 48px; height: 3px;
  background: var(--sand);
  margin-bottom: var(--space-md);
}

.section-rule--center {
  margin-left: auto;
  margin-right: auto;
}


/* ---------- SERVICES GRID ---------- */
.services-cta {
  text-align: center;
  margin-top: var(--space-xl);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.service-card {
  background: var(--white);
  padding: var(--space-xl) var(--space-lg);
  border-radius: 4px;
  border: 1px solid var(--gray-200);
  transition: transform var(--duration-med) var(--ease-out),
              box-shadow var(--duration-med) var(--ease-out),
              border-color var(--duration-med) ease;
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--sand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-med) var(--ease-out);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  border-color: transparent;
}

.service-card:hover::before { transform: scaleX(1); }

.service-number {
  font-family: var(--font-display-alt);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--sand);
  margin-bottom: var(--space-sm);
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  margin-bottom: var(--space-sm);
}

.service-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-600);
}


/* ---------- TWO COLUMN ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }


/* ---------- APPROACH / METHODOLOGY ---------- */
.approach-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  counter-reset: step;
}

.approach-step {
  counter-increment: step;
  padding: var(--space-lg) 0;
  border-top: 2px solid var(--gray-200);
}

.approach-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display-alt);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--sand);
  display: block;
  margin-bottom: var(--space-sm);
  line-height: 1;
}

.approach-step h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

.approach-step p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.65;
}


/* ---------- CTA BAND ---------- */
.cta-band {
  padding: var(--space-3xl) 0;
  background: var(--blue-primary);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(212,184,150,0.15) 0%, transparent 60%);
}

.cta-band::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 60px 60px;
}

.cta-band .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--white);
  margin-bottom: var(--space-md);
}

.cta-band p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto var(--space-lg);
}


/* ---------- ABOUT PAGE ---------- */
.bio-text p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: var(--space-md);
  color: var(--gray-800);
}

.bio-text p:last-child { margin-bottom: 0; }

.bio-photo {
  border-radius: 4px;
  width: 100%;
  height: auto;
}

.credential-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.credential-list li {
  font-family: var(--font-display-alt);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  padding-left: var(--space-md);
  position: relative;
}

.credential-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px; height: 2px;
  background: var(--sand);
}

/* Strengths / Focus Areas */
.focus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.focus-grid--single { grid-template-columns: 1fr; }

.focus-card {
  padding: var(--space-lg);
  background: var(--cream);
  border-radius: 4px;
  border-left: 3px solid var(--sand);
}

.focus-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

.focus-card p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.65;
}


/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.contact-info h2 {
  font-size: 1.75rem;
  margin-bottom: var(--space-md);
}

.contact-info p {
  font-size: 1.0625rem;
  color: var(--gray-600);
  margin-bottom: var(--space-md);
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display-alt);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: var(--space-sm);
}

.contact-detail svg {
  width: 20px; height: 20px;
  color: var(--blue-primary);
  flex-shrink: 0;
}

.contact-separator {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--gray-200);
}

.location {
  margin-top: var(--space-sm);
  font-size: 0.9rem;
  color: var(--gray-600);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-group { display: flex; flex-direction: column; gap: 0.375rem; }

.form-label {
  font-family: var(--font-display-alt);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-600);
}

.form-input,
.form-textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.875rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 3px;
  background: var(--white);
  color: var(--gray-800);
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(48, 114, 150, 0.25);
}

.form-textarea {
  min-height: 160px;
  resize: vertical;
}


/* ---------- THANKS PAGE ---------- */
.thanks-prose {
  margin: 0 auto var(--space-xl);
}

.thanks-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}


/* ---------- FOOTER ---------- */
.footer {
  background: var(--blue-deep);
  color: rgba(255,255,255,0.6);
  padding: var(--space-md) 0 var(--space-sm);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: flex-start;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: var(--space-md);
}

.footer-logo {
  height: 36px;
  width: auto;
  opacity: 0.8;
  margin-bottom: var(--space-sm);
}

.footer-tagline {
  font-family: var(--font-display-alt);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.4);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
}

.footer-links a {
  font-family: var(--font-display-alt);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: color var(--duration-fast) ease;
}

.footer-links a:hover { color: var(--sand); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  text-align: center;
}

.footer-copy {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.3);
}

.footer-scott a {
  color: rgba(255,255,255,0.4);
  transition: color var(--duration-fast) ease;
}

.footer-scott a:hover { color: var(--sand); }

.footer-location {
  color: rgba(255,255,255,0.25);
}


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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-in-delay-1 { transition-delay: 100ms; }
.animate-in-delay-2 { transition-delay: 200ms; }
.animate-in-delay-3 { transition-delay: 300ms; }
.animate-in-delay-4 { transition-delay: 400ms; }
.animate-in-delay-5 { transition-delay: 500ms; }


/* ---------- PROSE ---------- */
.prose p {
  margin-bottom: var(--space-md);
}

.prose p:last-child { margin-bottom: 0; }


/* ---------- RESPONSIVE (MOBILE-FIRST) ---------- */

/* iPhone safe areas */
.nav { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
.footer { padding-bottom: calc(var(--space-sm) + env(safe-area-inset-bottom)); }

/* ---- Tablet and up (769px+) ---- */
@media (min-width: 769px) {
  :root { --nav-height: 80px; }

  .nav-hamburger { display: none; }

  .nav-links {
    position: static;
    top: auto; left: auto; right: auto;
    height: auto;
    flex-direction: row;
    background: transparent;
    opacity: 1;
    pointer-events: auto;
    gap: var(--space-lg);
    justify-content: flex-end;
  }

  .nav-links a { font-size: 1.25rem; color: var(--gray-600); }
  .nav-links a:hover { color: var(--gray-900); }
  .nav-links a.active { color: var(--blue-primary); }
  .nav-links a.active::after { background: var(--blue-primary); }

  .hero { min-height: 90vh; }
  .hero-tree { display: none; }
  .hero-actions { flex-direction: row; }
  .hero-actions .btn { width: auto; }

  .section { padding: var(--space-3xl) 0; }

  .two-col { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); }
  .two-col--reverse { direction: rtl; }

  .services-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .approach-steps { grid-template-columns: repeat(2, 1fr); }
  .focus-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .focus-grid--single { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }

  .footer-inner { flex-direction: row; gap: 0; justify-content: space-between; }
  .footer-links { flex-wrap: nowrap; gap: var(--space-lg); }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ---- Desktop (1025px+) ---- */
@media (min-width: 1025px) {
  :root { --nav-height: 80px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-logo-img { height: 72px; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .animate-in {
    opacity: 1;
    transform: none;
  }

  html { scroll-behavior: auto; }
}

/* ---- Wide (1350px+) — hero logo visible on right, clear of text ---- */
@media (min-width: 1350px) {
  .hero-tree {
    display: block;
    position: absolute;
    left: auto;
    right: 5%;
    top: calc(50% + var(--nav-height) / 2);
    transform: translateY(-50%);
    width: min(420px, 30%);
    opacity: 0.3;
  }
}
