/* ============================================================
   style.css — Newmarket Anger Management Counselling Centre
   Design System: 8px spacing, 1200px max, Merriweather + Inter
   ============================================================ */

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

/* ---- CSS Custom Properties (Design Tokens) ---- */
:root {
  /* Colors — extracted from NAMCC logo palette */
  --color-primary:      #2E7D32;   /* Forest green — "Newmarket" */
  --color-primary-dk:   #245e28;
  --color-secondary:    #E87722;   /* Warm orange — "Anger Management" */
  --color-secondary-dk: #d06a1a;
  --color-accent:       #8B1F1F;   /* Deep crimson — "Counselling Centre" */
  --color-bg:           #FFFFFF;
  --color-bg-alt:       #F7F7F5;   /* Warm off-white for alternating sections */
  --color-bg-dark:      #1A2A1A;   /* Dark green-tinted for hero/CTA */
  --color-text:         #1C1C1C;
  --color-text-muted:   #5A5A5A;
  --color-border:       #E2E2E2;
  --color-white:        #FFFFFF;
  --color-success:      #2E7D32;
  --color-error:        #C62828;

  /* Typography */
  --font-heading: 'Merriweather', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --text-xs:   12px;
  --text-sm:   14px;
  --text-base: 17px;
  --text-h5:   20px;
  --text-h4:   24px;
  --text-h3:   32px;
  --text-h2:   40px;
  --text-h1:   56px;

  --lh-body:    1.65;
  --lh-heading: 1.15;

  /* Spacing — strict 8px scale */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-32: 128px;

  /* Layout */
  --container-max:  1200px;
  --section-pad:    96px;
  --header-height:  80px;

  /* Radii */
  --radius-card:  16px;
  --radius-btn:   12px;
  --radius-input: 12px;
  --radius-badge: 999px;

  /* Shadows */
  --shadow-1: 0 2px 8px rgba(0, 0, 0, 0.07);
  --shadow-2: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* ============================================================
   UTILITIES
   ============================================================ */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--sp-12);
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-3);
}

.section-header {
  margin-bottom: var(--sp-12);
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: var(--lh-heading);
  color: var(--color-text);
  margin-bottom: var(--sp-4);
}

.section-header p {
  font-size: var(--text-h5);
  color: var(--color-text-muted);
  max-width: 56ch;
  line-height: var(--lh-body);
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn-primary,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-btn);
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  border: none;
  transition: transform 150ms ease-out,
              box-shadow 150ms ease-out,
              background 150ms,
              border-color 150ms;
}

/* Primary */
.btn-primary {
  background: var(--color-secondary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-secondary-dk);
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-1);
}
.btn-primary:focus-visible {
  outline: 3px solid rgba(232, 119, 34, 0.5);
  outline-offset: 2px;
}
.btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Large variant */
.btn-primary--lg,
.btn-ghost--lg {
  height: 52px;
  padding: 0 28px;
  font-size: 17px;
}

/* Secondary (outline) */
.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}
.btn-secondary:hover {
  background: rgba(46, 125, 50, 0.06);
  border-color: var(--color-primary-dk);
}
.btn-secondary:focus-visible {
  outline: 3px solid rgba(46, 125, 50, 0.4);
  outline-offset: 2px;
}

/* Ghost (for dark backgrounds) */
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}
.btn-ghost:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.4);
  outline-offset: 2px;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 350ms ease-out, transform 350ms ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--color-bg);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  transition: height 200ms ease, box-shadow 200ms ease;
}

.site-header.scrolled {
  height: 72px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.10);
}

.header-inner {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--sp-12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
}

.header-logo img {
  height: 48px;
  width: auto;
  transition: height 200ms ease;
}

.site-header.scrolled .header-logo img {
  height: 42px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: var(--sp-2) var(--sp-3);
  border-radius: 6px;
  border-bottom: 2px solid transparent;
  transition: color 150ms, border-color 150ms;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}
.nav-links a:focus-visible {
  outline: 3px solid rgba(46, 125, 50, 0.4);
  outline-offset: 2px;
}

/* Hamburger */
.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  color: var(--color-text);
  border-radius: 8px;
  transition: background 150ms;
}
.hamburger:hover { background: var(--color-bg-alt); }
.hamburger:focus-visible {
  outline: 3px solid rgba(46, 125, 50, 0.4);
  outline-offset: 2px;
}

/* ============================================================
   MOBILE MENU (full-screen overlay)
   ============================================================ */

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--color-bg);
  flex-direction: column;
  padding: var(--sp-6) var(--sp-6) var(--sp-12);
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-12);
}

.mobile-menu-top img {
  height: 44px;
  width: auto;
}

.mobile-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--color-text);
  border-radius: 8px;
  transition: background 150ms;
}
.mobile-close:hover { background: var(--color-bg-alt); }
.mobile-close:focus-visible {
  outline: 3px solid rgba(46, 125, 50, 0.4);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mobile-nav-links a {
  display: block;
  font-size: 22px;
  font-weight: 600;
  color: var(--color-text);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--color-border);
  transition: color 150ms;
}
.mobile-nav-links a:hover { color: var(--color-primary); }

.mobile-menu-cta {
  margin-top: var(--sp-8);
}
.mobile-menu-cta .btn-primary {
  width: 100%;
  height: 52px;
  font-size: 17px;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  min-height: 90vh;
  /* Photo background with a left-to-right dark overlay so white
     text sits over the faded/blurred left portion of the image */
  background-image:
    linear-gradient(
      to right,
      rgba(10, 20, 10, 0.72) 0%,
      rgba(10, 20, 10, 0.55) 38%,
      rgba(10, 20, 10, 0.20) 65%,
      rgba(10, 20, 10, 0.00) 100%
    ),
    url('../images/hero-banner-01.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding: var(--sp-32) 0;
}

.hero-inner {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--sp-12);
  /* Single column — text fills the left faded area */
  display: block;
}

.hero-content {
  max-width: 580px;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-4);
  display: block;
  /* Subtle text shadow to lift against any bright patches */
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: var(--text-h1);
  font-weight: 700;
  line-height: var(--lh-heading);
  color: var(--color-white);
  margin-bottom: var(--sp-6);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-sub {
  font-size: var(--text-h5);
  color: rgba(255, 255, 255, 0.88);
  line-height: var(--lh-body);
  max-width: 52ch;
  margin-bottom: var(--sp-10);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

/* hero-image div no longer used — kept for graceful fallback */
.hero-image { display: none; }

/* ============================================================
   ABOUT
   ============================================================ */

.about-section {
  background: var(--color-bg);
  padding: var(--section-pad) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: center;
  gap: var(--sp-16);
}

.about-image-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.about-image-wrap img {
  max-width: 280px;
  width: 100%;
}

.about-content .section-header {
  margin-bottom: var(--sp-6);
}

.about-content p {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: var(--lh-body);
  max-width: 68ch;
  margin-bottom: var(--sp-6);
}

.about-content p:last-of-type {
  margin-bottom: 0;
}

.trust-badges {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-top: var(--sp-8);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-badge);
  background: rgba(46, 125, 50, 0.08);
  border: 1px solid rgba(46, 125, 50, 0.22);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
}

.badge-check {
  color: var(--color-primary);
  font-size: 15px;
}

/* ============================================================
   SERVICES
   ============================================================ */

.services-section {
  background: var(--color-bg-alt);
  padding: var(--section-pad) 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-bottom: var(--sp-12);
}

.service-card {
  background: var(--color-bg);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.service-card:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-3px);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 125, 50, 0.09);
  border-radius: 12px;
  color: var(--color-primary);
  margin-bottom: var(--sp-4);
  flex-shrink: 0;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  font-weight: 700;
  line-height: var(--lh-heading);
  color: var(--color-text);
  margin-bottom: var(--sp-3);
}

.service-card p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: var(--lh-body);
  margin-bottom: var(--sp-6);
  flex: 1;
}

.link-more {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-secondary);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  transition: gap 150ms, color 150ms;
  align-self: flex-start;
}
.link-more:hover {
  gap: var(--sp-2);
  color: var(--color-secondary-dk);
}
.link-more:focus-visible {
  outline: 3px solid rgba(232, 119, 34, 0.4);
  outline-offset: 2px;
  border-radius: 4px;
}

.services-cta {
  text-align: center;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */

.why-section {
  background: var(--color-bg);
  padding: var(--section-pad) 0;
}

.why-rows {
  display: flex;
  flex-direction: column;
  gap: var(--sp-20);
  margin-bottom: var(--sp-12);
}

.why-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--sp-16);
}

/* Alternate: image on left */
.why-row.reversed .why-row-image {
  order: -1;
}

.why-row-image img {
  border-radius: var(--radius-card);
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow-1);
  display: block;
}

/* Per-image focal point overrides */
.why-row-image img[src*="person-online"] {
  object-position: center 20%;   /* keep face/upper body in frame */
}

.why-row-image img[src*="online-desk"] {
  object-position: center 30%;   /* favour the desk surface and laptop */
}

.why-row-content h3 {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: 700;
  line-height: var(--lh-heading);
  color: var(--color-text);
  margin-bottom: var(--sp-4);
}

.why-row-content p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: var(--lh-body);
  max-width: 52ch;
}

.why-row-content .why-highlight {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
  padding: var(--sp-4) var(--sp-6);
  background: var(--color-bg-alt);
  border-radius: 12px;
  border-left: 3px solid var(--color-primary);
}

.why-highlight-icon {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.why-highlight p {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0;
  max-width: 100%;
}

.why-cta {
  text-align: center;
}

/* ============================================================
   CONTACT / FORM
   ============================================================ */

.contact-section {
  background: var(--color-bg-dark);
  padding: var(--section-pad) 0;
}

.contact-header {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.contact-header h2 {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: var(--lh-heading);
  color: var(--color-white);
  margin-bottom: var(--sp-4);
}

.contact-header p {
  font-size: var(--text-h5);
  color: rgba(255, 255, 255, 0.68);
  max-width: 54ch;
  margin: 0 auto;
  line-height: var(--lh-body);
}

.contact-form-wrap {
  max-width: 640px;
  margin: 0 auto;
}

/* JS-driven message container — hidden until populated */
#form-message:empty { display: none; }
#form-message { margin-bottom: var(--sp-8); outline: none; }

/* Success / Error banners */
.form-success {
  background: rgba(46, 125, 50, 0.15);
  border: 1px solid rgba(46, 125, 50, 0.4);
  border-radius: var(--radius-card);
  padding: var(--sp-10) var(--sp-8);
  text-align: center;
  color: #a5d6a7;
}
.form-success h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: #c8e6c9;
  margin-bottom: var(--sp-3);
}
.form-success p {
  color: rgba(165, 214, 167, 0.85);
  line-height: var(--lh-body);
}

.form-global-error {
  background: rgba(198, 40, 40, 0.15);
  border: 1px solid rgba(198, 40, 40, 0.4);
  border-radius: 10px;
  padding: var(--sp-4) var(--sp-6);
  color: #ef9a9a;
  margin-bottom: var(--sp-6);
  font-size: var(--text-sm);
}

/* Form layout */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  height: 48px;
  padding: 0 var(--sp-4);
  border-radius: var(--radius-input);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  font-size: var(--text-base);
  line-height: 1;
  transition: border-color 150ms, background 150ms;
  -webkit-appearance: none;
  appearance: none;
}

.form-group textarea {
  height: auto;
  min-height: 120px;
  padding: var(--sp-3) var(--sp-4);
  resize: vertical;
  line-height: var(--lh-body);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.5)' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

.form-group select option {
  background: #1a2a1a;
  color: var(--color-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  background: rgba(255, 255, 255, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

/* Radio group — pill toggle buttons */
.radio-group {
  display: flex;
  gap: var(--sp-3);
  padding-top: var(--sp-1);
  flex-wrap: wrap;
}

.radio-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  cursor: pointer;
  font-size: var(--text-base);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  padding: 0 var(--sp-6);
  height: 44px;
  border-radius: var(--radius-badge);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  transition: background 150ms, border-color 150ms, color 150ms;
  user-select: none;
}

.radio-label:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
  color: rgba(255, 255, 255, 0.95);
}

/* Filled state when selected */
.radio-label:has(input:checked) {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #fff;
  font-weight: 600;
}

/* Focus ring on keyboard navigation */
.radio-label:has(input:focus-visible) {
  outline: 3px solid rgba(232, 119, 34, 0.55);
  outline-offset: 2px;
}

/* Visually hide the native input but keep it in tab/screen-reader flow */
.radio-label input[type="radio"],
.radio-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

/* Helper / inline error */
.field-helper {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.4;
}

.field-error {
  font-size: var(--text-sm);
  color: #ef9a9a;
  display: none;
  line-height: 1.4;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: rgba(198, 40, 40, 0.7);
}

.form-group.has-error .field-error {
  display: block;
}

/* Submit area */
.form-submit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-6);
  padding-top: var(--sp-2);
}

.form-submit .btn-primary {
  width: 100%;
  max-width: 280px;
  height: 52px;
  font-size: 17px;
}

/* Friction reducers */
.friction-reducers {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  text-align: center;
}

.friction-reducers span {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.48);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.friction-reducers span::before {
  content: '✓';
  color: var(--color-secondary);
  font-weight: 700;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: #111;
  padding: var(--sp-20) 0 0;
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--sp-12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 260px 1fr 1fr;
  gap: var(--sp-16);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {}

.footer-brand img {
  max-height: 120px;
  width: auto;
  margin-bottom: var(--sp-4);
}

.footer-tagline {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.6;
  max-width: 24ch;
}

.footer-col h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-6);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-links a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.58);
  transition: color 150ms;
}
.footer-links a:hover { color: var(--color-white); }
.footer-links a:focus-visible {
  outline: 3px solid rgba(232, 119, 34, 0.4);
  outline-offset: 2px;
  border-radius: 3px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-contact-info p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.58);
  line-height: var(--lh-body);
}

.footer-contact-info a {
  color: var(--color-secondary);
  transition: color 150ms;
}
.footer-contact-info a:hover { color: #f09040; }

.footer-bottom {
  padding: var(--sp-6) 0;
  text-align: center;
}

.footer-bottom p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.32);
}

/* ============================================================
   RESPONSIVE — Tablet (≤ 1023px)
   ============================================================ */

@media (max-width: 1023px) {
  :root {
    --section-pad: 72px;
    --text-h1: 44px;
    --text-h2: 34px;
    --text-h3: 26px;
  }

  .container      { padding: 0 var(--sp-8); }
  .header-inner   { padding: 0 var(--sp-8); }

  /* Hide desktop nav, show hamburger */
  .nav-links,
  .header-nav .btn-primary { display: none; }
  .hamburger { display: flex; }

  /* Hero: constrain content width and adjust padding */
  .hero-inner { padding: 0 var(--sp-8); }
  .hero-content { max-width: 100%; }
  .hero { min-height: auto; padding: var(--sp-24) 0; }

  /* About: single column */
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-image-wrap img { max-width: 200px; margin: 0 auto; }
  .trust-badges { justify-content: center; }
  .about-content p { max-width: 100%; }

  /* Services: 2 columns */
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  /* Why: single column */
  .why-row { grid-template-columns: 1fr; gap: var(--sp-8); }
  .why-row.reversed .why-row-image { order: 0; }
  .why-row-content p { max-width: 100%; }

  /* Footer: 2 columns */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-10);
  }
  .footer-brand {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: var(--sp-6);
  }
  .footer-brand img {
    max-height: 80px;
    margin-bottom: 0;
  }
  .footer-tagline { max-width: 36ch; }
  .footer-inner { padding: 0 var(--sp-8); }
}

/* ============================================================
   RESPONSIVE — Large mobile (≤ 767px)
   ============================================================ */

@media (max-width: 767px) {
  :root {
    --section-pad: 64px;
    --text-h1: 38px;
    --text-h2: 30px;
    --text-h3: 24px;
    --text-h4: 20px;
  }

  .container    { padding: 0 var(--sp-6); }
  .header-inner { padding: 0 var(--sp-6); }
  .hero-inner   { padding: 0 var(--sp-6); }
  .footer-inner { padding: 0 var(--sp-6); }

  /* Hero: tighten overlay on mobile so it covers more of the image */
  .hero {
    background-image:
      linear-gradient(
        to right,
        rgba(10, 20, 10, 0.80) 0%,
        rgba(10, 20, 10, 0.65) 55%,
        rgba(10, 20, 10, 0.30) 100%
      ),
      url('../images/hero-banner-01.jpg');
  }

  /* Hero CTAs: stack vertically */
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost { width: 100%; justify-content: center; }

  /* Services: single column */
  .services-grid { grid-template-columns: 1fr; }

  /* Form row: single column */
  .form-row { grid-template-columns: 1fr; gap: var(--sp-6); }

  /* Footer: single column */
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-10); }
  .footer-brand { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   RESPONSIVE — Mobile (≤ 480px)
   ============================================================ */

@media (max-width: 480px) {
  :root {
    --section-pad: 56px;
    --text-h1: 32px;
    --text-h2: 26px;
    --text-h3: 22px;
    --text-h4: 20px;
  }

  .container    { padding: 0 var(--sp-4); }
  .header-inner { padding: 0 var(--sp-4); }
  .hero-inner   { padding: 0 var(--sp-4); }
  .footer-inner { padding: 0 var(--sp-4); }

  .hero { padding: var(--sp-20) 0; }

  .radio-group { flex-direction: row; gap: var(--sp-3); }
  .form-submit .btn-primary { max-width: 100%; }

  .section-header h2 { font-size: var(--text-h2); }

  .mobile-menu { padding: var(--sp-4) var(--sp-4) var(--sp-10); }
}
