/* ============================================================
   Galtenco Solutions — main stylesheet
   Sober industrial design system.
   ============================================================ */

/* ----- Design tokens ----- */
:root {
  /* Brand */
  --brand: #1f5a3e;
  --brand-hover: #154028;
  --brand-accent: #2d7a52;
  --brand-surface: #f0f5f2;

  /* Neutrals */
  --ink: #0f1419;
  --text: #2d3748;
  --text-muted: #4a5568;
  --text-soft: #718096;
  --bg: #ffffff;
  --surface: #fafbfc;
  --surface-2: #f4f6f8;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* Radii */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 20, 25, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 20, 25, 0.06);

  /* Container */
  --max-w: 1180px;
}

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

/* ----- Typography ----- */
h1, h2, h3, h4 { color: var(--ink); font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.25rem); font-weight: 600; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.625rem, 2vw + 1rem, 2.25rem); letter-spacing: -0.02em; }
h3 { font-size: 1.125rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { color: var(--text-muted); }
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

/* ----- Layout helpers ----- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section--alt { background: var(--surface); }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head .eyebrow { margin-bottom: 0.75rem; }
.section-head h2 { margin-bottom: 0.75rem; }
.section-head p { font-size: 1.0625rem; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem; font-weight: 500;
  border-radius: var(--r-md);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-hover); color: #fff; }
.btn--secondary {
  background: transparent; color: var(--ink);
  border: 1px solid var(--border-strong);
}
.btn--secondary:hover { background: var(--surface-2); border-color: var(--text-soft); color: var(--ink); }
.btn--ghost { color: var(--text-muted); padding: 0.5rem 0.75rem; }
.btn--ghost:hover { color: var(--ink); }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-w); margin: 0 auto;
  padding: 0.875rem 1.5rem;
  gap: 2rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0;
  font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em;
  color: var(--ink);
}
.brand-logo { height: 38px; width: auto; display: block; }
.footer .brand-logo { height: 34px; }

/* Services dropdown in the nav */
.nav-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: 0 12px 30px -12px rgba(15, 35, 25, 0.3);
  min-width: 260px; padding: 0.4rem 0;
  display: none; z-index: 60;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
.nav-links .nav-dropdown-menu a { display: block; padding: 0.5rem 1rem; font-size: 0.9rem; white-space: nowrap; }
.nav-links .nav-dropdown-menu a:hover { background: var(--surface-2); color: var(--ink); }

/* keep anchored sections/services clear of the sticky header */
:is(section, article)[id] { scroll-margin-top: 84px; }
.brand-mark { color: var(--brand); }
.brand-name { color: var(--ink); }
.brand-sub { color: var(--text-soft); font-weight: 400; margin-left: 0.25rem; }

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  font-size: 0.9375rem; color: var(--text-muted); font-weight: 500;
  padding: 0.5rem 0; transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }

.nav-right { display: flex; align-items: center; gap: 1rem; }

.lang-switch {
  display: inline-flex; align-items: center;
  border: 1px solid var(--border); border-radius: var(--r-sm);
  overflow: hidden;
}
.lang-switch a {
  padding: 0.35rem 0.625rem;
  font-size: 0.8125rem; font-weight: 500;
  color: var(--text-soft);
  transition: background 0.15s, color 0.15s;
}
.lang-switch a:hover { color: var(--ink); background: var(--surface-2); }
.lang-switch a.active { background: var(--ink); color: #fff; }

.nav-toggle { display: none; }

/* ============================================================
   Hero
   ============================================================ */
.hero { padding: 5.5rem 0 4.5rem; }
.hero-inner {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem; align-items: center;
}
.hero .eyebrow { margin-bottom: 1.25rem; }
.hero-eyebrow { display: block; text-align: center; margin-bottom: 1.5rem; font-size: 1.0625rem; letter-spacing: 0.14em; }

/* Justified body prose */
.hero-lead,
.service-featured-body p,
.site-body p,
.value-item p { text-align: justify; hyphens: auto; }
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-lead {
  font-size: 1.1875rem; line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 2rem;
}
.hero-buttons {
  display: flex; gap: 0.75rem; flex-wrap: wrap;
}
.hero-media {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 20px 45px -20px rgba(15, 35, 25, 0.45);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: var(--surface-2);
}
.hero-media img {
  /* Hero photos: 3:4 portrait, shown whole on white. See assets/images/SPECIFICATIONS-IMAGES.md */
  display: block; width: 100%;
  aspect-ratio: 3 / 4; object-fit: contain;
  background: #fff;
}
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; max-width: 560px; }
  .hero-buttons { justify-content: center; }
  .hero-media { max-width: 420px; margin: 0 auto; }
}

/* ============================================================
   Facts strip
   ============================================================ */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.fact {
  padding: 2rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--border);
}
.fact:last-child { border-right: none; }
.fact-number {
  font-size: 1.5rem; font-weight: 600; color: var(--brand);
  letter-spacing: -0.01em;
  margin-bottom: 0.375rem;
}
.fact-label {
  font-size: 0.875rem; color: var(--text-soft);
  line-height: 1.45;
}

/* ============================================================
   Services
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  display: flex; flex-direction: column;
}
.service-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.service-icon {
  /* Service thumbnail frame: 16:9. See assets/images/SPECIFICATIONS-IMAGES.md */
  width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--r-md);
  background: var(--surface-2);
  margin-bottom: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.service-icon img {
  width: 100%; height: 100%; object-fit: cover;
}
.service-icon--contain img { object-fit: contain; padding: 0.5rem; }

/* Slideshow inside a service card (crossfade) */
.service-icon--slideshow { position: relative; }
.service-icon--slideshow img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: contain; background: #fff;
  opacity: 0; transition: opacity 0.9s ease;
}
.service-icon--slideshow img.is-active { opacity: 1; }

/* Video play button overlay (on a service card) */
.service-icon--video { position: relative; cursor: pointer; }
.video-play {
  position: absolute; inset: 0; margin: auto;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(15, 35, 25, 0.6); color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.85); border-radius: 50%;
  cursor: pointer; transition: background 0.2s, transform 0.2s;
}
.service-icon--video:hover .video-play { background: rgba(15, 35, 25, 0.82); transform: scale(1.06); }
.video-play svg { width: 22px; height: 22px; margin-left: 3px; }

/* Video lightbox */
.video-lightbox {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0, 0, 0, 0.85);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
}
.video-lightbox[hidden] { display: none; }
.video-lightbox video {
  max-width: min(92vw, 460px); max-height: 86vh;
  border-radius: 8px; background: #000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.video-lightbox-close {
  position: absolute; top: 1rem; right: 1.25rem;
  width: 44px; height: 44px;
  font-size: 2rem; line-height: 1;
  background: none; border: 0; color: #fff; cursor: pointer;
}

/* Featured / core service — full width, sits above the grid */
.service-featured {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) 1.1fr;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 2rem;
}
/* Featured service media (slideshows/video poster): 4:3. See assets/images/SPECIFICATIONS-IMAGES.md */
.service-featured-media { aspect-ratio: 4 / 3; align-self: start; }
.service-featured-media img {
  display: block; width: 100%; height: 100%;
  object-fit: cover;
}
.service-featured-body { padding: 2.25rem 2.5rem; align-self: center; }
.service-featured-tag {
  display: inline-block;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--brand);
  background: rgba(31, 90, 62, 0.08);
  padding: 0.3rem 0.7rem; border-radius: 999px;
  margin-bottom: 0.9rem;
}
.service-featured-body h3 { font-size: 1.4rem; margin-bottom: 0.75rem; color: var(--ink); }
.service-featured-body p { color: var(--text-muted); line-height: 1.7; margin: 0; }
.service-featured-body p + p { margin-top: 0.85rem; }
/* stacked services: alternate the image side */
.service-featured + .service-featured { margin-top: 0; }
.service-featured--reverse { grid-template-columns: 1.1fr minmax(0, 0.9fr); }
.service-featured--reverse .service-featured-media { order: 2; }
/* simulation illustration: show in full, not cropped */
.service-featured-media.service-icon--contain img { object-fit: contain; background: #fff; padding: 1rem; }
/* "d'autres applications à venir" note */
.applications-note { text-align: center; color: var(--text-muted); font-style: italic; font-size: 0.95rem; margin-top: 1.5rem; }
@media (max-width: 760px) {
  .service-featured { grid-template-columns: 1fr; }
  .service-featured--reverse { grid-template-columns: 1fr; }
  .service-featured--reverse .service-featured-media { order: 0; }
  .service-featured-media { aspect-ratio: 4 / 3; }
}
.service-card h3 { margin-bottom: 0.5rem; color: var(--ink); }
.service-card p { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   About
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: start;
}
.about-block .eyebrow { margin-bottom: 0.75rem; }
.about-block h2 { margin-bottom: 1.25rem; }
.about-block p { margin-bottom: 1rem; line-height: 1.75; }
.about-block p:last-child { margin-bottom: 0; }

.sites-list {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(2, 1fr);
}
.site-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.site-card .site-name {
  margin: 0;
  padding: 1.1rem 1.5rem 0.6rem;
  color: var(--ink);
  font-size: 1.15rem;
}
.site-card .site-photo {
  /* Site banner: 5:2 wide, cropped to fill. See assets/images/SPECIFICATIONS-IMAGES.md */
  display: block;
  width: 100%;
  aspect-ratio: 5 / 2;
  height: auto;
  object-fit: cover;
}
/* Site slideshow: 4:3, cropped to fill. See assets/images/SPECIFICATIONS-IMAGES.md */
.site-slideshow { position: relative; aspect-ratio: 4 / 3; }
.site-slideshow img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.9s ease;
}
.site-slideshow img.is-active { opacity: 1; }
.slide-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  padding: 0; border: none; cursor: pointer;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  color: rgba(255, 255, 255, 0.9);
  transition: background 0.2s ease, color 0.2s ease;
}
.slide-nav:hover, .slide-nav:focus-visible { background: rgba(0, 0, 0, 0.5); color: #fff; }
.slide-nav--prev { left: 0.4rem; }
.slide-nav--next { right: 0.4rem; }
.slide-nav svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.site-card .site-body { padding: 1.5rem; }
.site-card h4 { color: var(--ink); margin-bottom: 0.25rem; }
.site-card .site-year { font-size: 0.8125rem; color: var(--brand); font-weight: 500; margin-bottom: 0.75rem; }
.site-card p { font-size: 0.9375rem; line-height: 1.65; color: var(--text-muted); margin: 0; }

/* ============================================================
   Gallery (réalisations)
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.gallery-item {
  /* Gallery tiles: 1:1 square, cropped to fill. See assets/images/SPECIFICATIONS-IMAGES.md */
  aspect-ratio: 1 / 1;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface-2);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.35s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   Tools (numerical simulation)
   ============================================================ */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.tool-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.25rem;
}
.tool-item .tool-domain {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brand);
  margin-bottom: 0.5rem;
}
.tool-item .tool-names {
  font-size: 0.9375rem; color: var(--ink); font-weight: 500;
}
.tools-note {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--brand-surface);
  border-left: 3px solid var(--brand);
  border-radius: var(--r-sm);
  font-size: 0.9375rem;
  color: var(--text);
}
.tools-note strong { color: var(--ink); }

/* ============================================================
   References (clients)
   ============================================================ */
.refs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.ref-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.5rem 1rem;
  text-align: center;
  font-weight: 500; color: var(--text);
  font-size: 0.9375rem;
  min-height: 96px;
  display: flex; align-items: center; justify-content: center;
}
.ref-item img.ref-logo {
  max-height: 50px;
  max-width: 90%;
  width: auto;
  object-fit: contain;
}
/* "Avec le soutien de" — funders, separate from clients */
.refs-support { margin-top: 2.5rem; text-align: center; }
.refs-support-label {
  font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--text-soft); margin-bottom: 1rem;
}
.refs-support-logos { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.refs-support-logos .ref-item { flex: 0 1 300px; }
/* compact (taller) logos bumped up to match the wide ones visually */
.ref-item img.ref-logo--lg { max-height: 68px; }
.refs-note {
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  color: var(--text-soft);
  text-align: center;
  font-style: italic;
}

/* ============================================================
   Values
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.value-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
}
.value-item h4 { margin-bottom: 0.5rem; color: var(--ink); }
.value-item p { font-size: 0.9375rem; line-height: 1.6; color: var(--text-muted); margin: 0; }

/* ============================================================
   Contact
   ============================================================ */
.contact-inner { max-width: 720px; margin: 0 auto; }
.contact-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.contact-detail {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.5rem;
}
.contact-detail--full { grid-column: 1 / -1; }
.contact-detail h4 { color: var(--ink); font-size: 0.9375rem; margin-bottom: 0.5rem; }
.contact-detail p,
.contact-detail a { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.6; display: block; }
.contact-detail a:hover { color: var(--brand); }
@media (max-width: 640px) { .contact-details { grid-template-columns: 1fr; } }
.contact-form {
  display: grid; gap: 0.875rem;
  margin-top: 2.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.875rem; }
.form-field label {
  display: block;
  font-size: 0.8125rem; font-weight: 500;
  color: var(--text);
  margin-bottom: 0.375rem;
}
.form-field input,
.form-field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.75rem 0.875rem;
  font-size: 0.9375rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(31, 90, 62, 0.12);
}
.form-field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.form-submit { justify-self: start; margin-top: 0.5rem; }
.form-status {
  display: none;
  padding: 0.75rem 1rem;
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  margin-top: 0.5rem;
}
.form-status.is-success {
  display: block;
  background: var(--brand-surface);
  color: var(--brand-hover);
  border: 1px solid var(--brand-accent);
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status.is-pending { display: block; color: var(--text-muted); }
.form-status.is-error {
  display: block;
  background: #fdecec;
  color: #8a1f1f;
  border: 1px solid #f5c2c2;
}
.form-status.is-error a { color: #8a1f1f; text-decoration: underline; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--ink);
  color: #c9d1d9;
  padding: 3rem 0 2rem;
  margin-top: 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #2d3748;
}
.footer h5 {
  font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.1em;
  font-weight: 600; color: #fff;
  margin-bottom: 1rem;
}
.footer .brand .brand-name,
.footer .brand .brand-sub { color: #fff; }
.footer-about p { font-size: 0.875rem; color: #8b95a3; line-height: 1.65; margin-top: 1rem; }
.footer ul li { margin-bottom: 0.5rem; }
.footer ul a, .footer ul li { font-size: 0.875rem; color: #8b95a3; }
.footer ul a:hover { color: #fff; }
.social-link { display: inline-flex; align-items: center; justify-content: center; color: #8b95a3; transition: color 0.2s ease; }
.social-link:hover { color: #0a66c2; }
.social-icon { width: 22px; height: 22px; fill: currentColor; display: block; }
.footer-bottom {
  padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: 0.8125rem; color: #8b95a3;
}
.footer-bottom a { color: #8b95a3; }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .refs-grid { grid-template-columns: repeat(3, 1fr); }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact { border-right: none; border-bottom: 1px solid var(--border); }
  .fact:nth-child(odd) { border-right: 1px solid var(--border); }
  .fact:nth-last-child(-n+2) { border-bottom: none; }
}

@media (max-width: 720px) {
  .section { padding: 3.5rem 0; }
  .hero { padding: 3.5rem 0 3rem; }
  .nav-links { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border: 1px solid var(--border); border-radius: var(--r-sm);
    color: var(--ink);
  }
  .nav-links.is-open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    gap: 0.75rem;
  }
  .services-grid { grid-template-columns: 1fr; }
  .sites-list { grid-template-columns: 1fr; }
  .nav-dropdown-menu { position: static; display: block; box-shadow: none; border: none; padding: 0 0 0 1rem; min-width: 0; }
  .values-grid { grid-template-columns: 1fr; }
  .refs-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .fact { border-right: none; border-bottom: 1px solid var(--border); }
  .fact:last-child { border-bottom: none; }
}

/* ----- Accessibility ----- */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
