/* ==========================================================================
   Terry's Cleaning and Maintenance — stylesheet
   Signature: the "squeegee swipe" — a diagonal clean/dirty divide used
   throughout the brand (logo, hero, section dividers, hover states).
   ========================================================================== */

:root {
  /* --- Color tokens --- */
  --ink:        #0F2438; /* deep navy — headers, footer, primary text */
  --brand-blue: #2653A6; /* primary brand blue, punched up */
  --teal:       #0FBFA8; /* accent / CTA, brighter */
  --teal-bright:#2BE0C6; /* hover / highlight */
  --coral:      #FF6A4D; /* warm accent — energy color #2 */
  --coral-bright:#FF8969;
  --amber:      #FFB238; /* trust seal accent, brightened */
  --violet:     #7C6CF0; /* accent color #4, used sparingly for variety */
  --frost:      #F5F9FA; /* light alt background */
  --cloud:      #E8EFF1; /* section background */
  --tint-teal:  #E6FAF6; /* pale teal section tint */
  --tint-coral: #FFF0EA; /* pale coral section tint */
  --tint-amber: #FFF7E6; /* pale amber section tint */
  --white:      #FFFFFF;
  --slate:      #29394A; /* body text */
  --slate-soft: #5B6B75; /* secondary text */
  --line:       #DCE4E7;

  /* --- Type --- */
  --font-display: 'Space Grotesk', 'Arial', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 24px;
  --shadow-soft: 0 12px 32px rgba(15, 36, 56, 0.10);
  --shadow-lift: 0 18px 40px rgba(15, 36, 56, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--slate); }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--ink); }

ul { margin: 0; padding: 0; list-style: none; }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
}

.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--cloud { background: var(--tint-teal); }
.section--frost { background: var(--tint-coral); }
.section--ink { background: var(--ink); color: var(--frost); }
.section--ink h2, .section--ink h3 { color: var(--white); }
.section--ink p { color: #C9D6DC; }

.section-head { max-width: 640px; margin: 0 0 44px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* Visually hidden, but available to assistive tech */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Keyboard focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--teal-bright);
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .header-bar { padding: 8px 12px; gap: 8px; }
  .brand { gap: 8px; }
  .brand img { height: 42px; }
  .brand-text { font-size: 1rem; }
  .brand-text-full { display: none; }
  .brand-text-short { display: inline; }
  .header-actions { gap: 6px; }
  .lang-toggle { padding: 6px 12px; font-size: 0.76rem; min-width: 38px; }
  .call-pill { padding: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-primary {
  background: linear-gradient(120deg, var(--teal), var(--teal-bright));
  color: var(--white);
  box-shadow: 0 10px 26px rgba(15,191,168,0.32);
}
.btn-primary:hover {
  background: linear-gradient(120deg, var(--coral), var(--coral-bright));
  color: var(--white);
  box-shadow: 0 12px 28px rgba(255,106,77,0.34);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.btn-ghost:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,0.08); }
.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--white); }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(100deg, var(--tint-teal) 0%, var(--white) 45%, var(--tint-coral) 100%);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { height: 150px; width: auto; }

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;  /* was 1.2rem — increase this value */
  white-space: nowrap;
  line-height: 1.1;
  color: var(--ink);
}
.brand-text-short { display: none; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: block;
  padding: 10px 16px;
  border-radius: 100px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.96rem;
  transition: background 0.15s ease, color 0.15s ease;
}
.main-nav a:hover { background: var(--tint-teal); color: var(--ink); }
.main-nav a[aria-current="page"] { background: linear-gradient(120deg, var(--teal), var(--teal-bright)); color: var(--white); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--teal);
  border-radius: 100px;
  background: var(--white);
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 16px;
  cursor: pointer;
  min-width: 46px;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-toggle:hover { background: var(--teal); color: var(--white); }

.call-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  padding: 9px 16px 9px 12px;
  border-radius: 100px;
  background: var(--tint-teal);
  white-space: nowrap;
  margin-left: 12px;
}
.call-pill svg { width: 16px; height: 16px; flex-shrink: 0; stroke: var(--teal); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--ink);
  position: relative; transition: transform 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }

@media (max-width: 900px) {
  .header-bar { padding: 10px 20px; }
  .brand img { height: 56px; }
  .brand-text { font-size: 1.2rem; }
  .call-pill { padding: 10px; }
  .main-nav {
    position: fixed;
    inset: 65px 0 0 0;
    z-index: 99;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 30px;
    gap: 4px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(15,36,56,0.12);
  }
  .main-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav a { padding: 14px 16px; font-size: 1.05rem; }
  .nav-toggle { display: block; }
  .call-pill span.pill-text { display: none; }
}

/* ==========================================================================
   Hero (home page)
   ========================================================================== */
.hero {
  background:
    radial-gradient(560px 360px at 92% -10%, rgba(15,191,168,0.16), transparent 70%),
    radial-gradient(480px 320px at 105% 40%, rgba(255,106,77,0.14), transparent 70%),
    linear-gradient(180deg, var(--white) 0%, var(--frost) 100%);
  overflow: hidden;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0 40px;
}
.hero h1 { margin-bottom: 0.4em; }
.hero .lede { font-size: 1.15rem; color: var(--slate-soft); max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 36px; }

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.stat-row .stat-num {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  display: block;
}
.stat-row > div:nth-child(1) .stat-num { color: var(--teal); }
.stat-row > div:nth-child(2) .stat-num { color: var(--coral); }
.stat-row > div:nth-child(3) .stat-num { color: var(--brand-blue); }
.stat-row .stat-label {
  font-size: 0.82rem;
  color: var(--slate-soft);
}

.hero-art { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-lift); }
.hero-art img { width: 100%; height: auto; display: block; }
.hero-art-caption {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--slate-soft);
  margin-top: 10px;
  text-align: right;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 36px; }
}

/* ==========================================================================
   Feature cards / "why choose us"
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .card-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 28px 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: transparent; }
.feature-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 24px; height: 24px; stroke: var(--white); }

/* Cycle four accent colors across repeating card grids so the page
   reads as lively rather than one flat corporate navy everywhere. */
.card-grid .feature-card:nth-child(4n+1) .feature-icon { background: linear-gradient(135deg, var(--teal), var(--teal-bright)); }
.card-grid .feature-card:nth-child(4n+2) .feature-icon { background: linear-gradient(135deg, var(--coral), var(--coral-bright)); }
.card-grid .feature-card:nth-child(4n+3) .feature-icon { background: linear-gradient(135deg, var(--amber), #FFD27A); }
.card-grid .feature-card:nth-child(4n+4) .feature-icon { background: linear-gradient(135deg, var(--brand-blue), var(--violet)); }
.feature-card h3 { margin-bottom: 6px; }
.feature-card p { color: var(--slate-soft); font-size: 0.96rem; margin: 0; }

/* ==========================================================================
   Services
   ========================================================================== */
.service-list { display: flex; flex-direction: column; gap: 1px; background: var(--line); border-radius: var(--radius-m); overflow: hidden; }
.service-row {
  background: var(--white);
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 22px;
  padding: 26px 28px;
  transition: background 0.18s ease, transform 0.18s ease;
}
.service-row:hover { background: var(--tint-teal); transform: translateX(4px); }
.service-row .service-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--frost);
  display: flex; align-items: center; justify-content: center;
}
.service-row .service-icon svg { width: 26px; height: 26px; stroke: var(--white); }
.service-row h3 { margin: 0 0 4px; }
.service-row p { margin: 0; color: var(--slate-soft); font-size: 0.95rem; }

/* Cycle accent colors down the service list */
.service-list .service-row:nth-child(4n+1) .service-icon { background: linear-gradient(135deg, var(--teal), var(--teal-bright)); }
.service-list .service-row:nth-child(4n+2) .service-icon { background: linear-gradient(135deg, var(--coral), var(--coral-bright)); }
.service-list .service-row:nth-child(4n+3) .service-icon { background: linear-gradient(135deg, var(--amber), #FFD27A); }
.service-list .service-row:nth-child(4n+4) .service-icon { background: linear-gradient(135deg, var(--brand-blue), var(--violet)); }

@media (max-width: 640px) {
  .service-row { grid-template-columns: 44px 1fr; }
}

/* ==========================================================================
   Trust / badges band
   ========================================================================== */
.badge-band {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
}
.badge-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 12px 20px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}
.badge-pill svg { width: 18px; height: 18px; stroke: var(--amber); flex-shrink: 0; }
.badge-band .badge-pill:nth-child(4n+1) svg { stroke: var(--teal); }
.badge-band .badge-pill:nth-child(4n+2) svg { stroke: var(--coral); }
.badge-band .badge-pill:nth-child(4n+3) svg { stroke: var(--amber); }
.badge-band .badge-pill:nth-child(4n+4) svg { stroke: var(--violet); }

/* ==========================================================================
   About page
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.split.reverse .split-media { order: 2; }
.split-media img, .split-media .placeholder-photo { border-radius: var(--radius-l); box-shadow: var(--shadow-soft); }

.placeholder-photo {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--brand-blue), var(--teal) 60%, var(--coral) 130%);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-align: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.placeholder-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 45%, rgba(255,255,255,0.16) 50%, transparent 55%);
}

.reasons-list { display: grid; gap: 16px; margin-top: 20px; }
.reason-item { display: flex; gap: 14px; align-items: flex-start; }
.reason-item svg {
  width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px;
  padding: 3px; box-sizing: content-box; border-radius: 50%;
  stroke: var(--white);
}
.reason-item p { margin: 0; }
.reasons-list .reason-item:nth-child(4n+1) svg { background: var(--teal); }
.reasons-list .reason-item:nth-child(4n+2) svg { background: var(--coral); }
.reasons-list .reason-item:nth-child(4n+3) svg { background: var(--amber); }
.reasons-list .reason-item:nth-child(4n+4) svg { background: var(--violet); }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 980px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .gallery-grid { grid-template-columns: 1fr; } }

.gallery-item {
  margin: 0;
  border-radius: var(--radius-m);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--ink);
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(180deg, transparent, rgba(15,36,56,0.86));
}

.gallery-note {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--slate-soft);
  text-align: center;
  margin-top: 28px;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15,36,56,0.92);
  display: none;
  align-items: center; justify-content: center;
  padding: 40px 20px;
}
.lightbox.open { display: flex; }
.lightbox-inner { max-width: 900px; width: 100%; text-align: center; }
.lightbox-inner img { border-radius: var(--radius-m); margin: 0 auto; max-height: 74vh; width: auto; }
.lightbox-caption { color: var(--white); font-weight: 600; margin-top: 16px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: fixed;
  background: rgba(255,255,255,0.12);
  border: none;
  color: var(--white);
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.24); }

/* ==========================================================================
   Page header banner (interior pages)
   ========================================================================== */
.page-banner {
  background: linear-gradient(135deg, var(--ink) 0%, var(--brand-blue) 100%);
  color: var(--white);
  padding: 64px 0 52px;
  position: relative;
  overflow: hidden;
}
.page-banner::after {
  content: "";
  position: absolute; right: -10%; top: -30%;
  width: 60%; height: 200%;
  background: linear-gradient(120deg, transparent 38%, rgba(43,224,198,0.22) 45%, rgba(255,106,77,0.16) 52%, transparent 60%);
}
.page-banner .eyebrow { color: var(--teal-bright); }
.page-banner h1 { color: var(--white); margin-bottom: 10px; }
.page-banner p { color: #C9D6DC; max-width: 60ch; margin: 0; }

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
  background: linear-gradient(120deg, var(--ink), var(--brand-blue) 65%, var(--teal) 130%);
  border-radius: var(--radius-l);
  padding: 52px 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: "";
  position: absolute; left: -6%; bottom: -60%;
  width: 40%; height: 200%;
  background: radial-gradient(circle, rgba(255,106,77,0.28), transparent 70%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 6px; }
.cta-banner p { color: #C9D6DC; margin: 0; }
.cta-banner .btn-primary { background: linear-gradient(120deg, var(--coral), var(--coral-bright)); box-shadow: 0 10px 26px rgba(255,106,77,0.34); }
.cta-banner .btn-primary:hover { background: linear-gradient(120deg, var(--teal), var(--teal-bright)); box-shadow: 0 12px 28px rgba(15,191,168,0.32); }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 30px;
}
.contact-detail { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-detail:last-child { border-bottom: none; }
.contact-detail svg { width: 22px; height: 22px; stroke: var(--teal); flex-shrink: 0; margin-top: 2px; }
.contact-detail:nth-child(4n+1) svg { stroke: var(--teal); }
.contact-detail:nth-child(4n+2) svg { stroke: var(--coral); }
.contact-detail:nth-child(4n+3) svg { stroke: var(--amber); }
.contact-detail:nth-child(4n+4) svg { stroke: var(--violet); }
.contact-detail h3 { font-size: 1rem; margin: 0 0 2px; }
.contact-detail p { margin: 0; color: var(--slate-soft); }

.hours-table { width: 100%; border-collapse: collapse; margin-top: 4px; }
.hours-table td { padding: 6px 0; font-size: 0.92rem; }
.hours-table td:last-child { text-align: right; color: var(--slate-soft); font-family: var(--font-mono); }

.form-card {
  background: var(--frost);
  border-radius: var(--radius-m);
  padding: 34px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--white);
  color: var(--slate);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(23,163,152,0.15); }
.form-note { font-size: 0.82rem; color: var(--slate-soft); margin-top: 10px; }
.form-success {
  display: none;
  background: #E4F6F2;
  border: 1px solid var(--teal);
  color: var(--ink);
  padding: 16px 18px;
  border-radius: var(--radius-s);
  margin-bottom: 18px;
  font-weight: 600;
}
.form-success.show { display: block; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: #C9D6DC;
  padding: 56px 0 28px;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--coral), var(--amber), var(--violet));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 { color: var(--white); font-size: 0.92rem; margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #C9D6DC; }
.footer-col a:hover { color: var(--teal-bright); }
.footer-brand p { color: #9FB0B7; font-size: 0.92rem; max-width: 32ch; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between;
  padding-top: 22px;
  font-size: 0.82rem;
  color: #8AA0A8;
  font-family: var(--font-mono);
}

/* Language visibility: default English shown, French hidden.
   body.lang-fr flips it. */
.lang-fr-only { display: none; }
.lang-en-only { display: inline; }
body.lang-fr .lang-fr-only { display: inline; }
body.lang-fr .lang-en-only { display: none; }
/* block-level variants */
.lang-fr-only.block, .lang-en-only.block { display: none; }
.lang-en-only.block { display: block; }
body.lang-fr .lang-fr-only.block { display: block; }
body.lang-fr .lang-en-only.block { display: none; }
