:root {
  --navy: #0d2440;
  --navy-light: #163a63;
  --ink: #14181f;
  --blue: #1d5fa9;
  --blue-light: #7ab0e6;
  --cream: #fbfaf7;
  --white: #ffffff;
  --border: #ece7dd;
  --border-soft: #ddd8cc;
  --text-body: #454b54;
  --text-muted: #5b6470;
  --text-inverse-muted: #9aa3b3;
  --footer-muted: #9ba1aa;
  --footer-legal: #6f757e;
  --chip-bg: #e8f1fb;

  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1240px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-card: 0 16px 32px rgba(13, 36, 64, 0.1);
  --shadow-hero: 0 20px 60px rgba(13, 36, 64, 0.12);

  --header-h: 72px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.has-lenis { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--blue); }
button { font: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.page-shell { display: flex; flex-direction: column; min-height: 100vh; }
.site-main { flex: 1; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  border: none;
  padding: 15px 28px;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s, color 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { color: #fff; box-shadow: 0 12px 24px rgba(29, 95, 169, 0.35); transform: translateY(-2px); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { color: #fff; box-shadow: 0 12px 24px rgba(13, 36, 64, 0.35); transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3); font-weight: 600; }
.btn-outline:hover { color: #fff; border-color: rgba(255,255,255,0.6); transform: translateY(-2px); }
.btn-ghost { background: none; color: var(--navy); font-weight: 600; font-size: 14px; padding: 8px 0; }
.btn-ghost:hover { color: var(--blue); }
.btn-small { padding: 11px 20px; font-size: 13px; }
.btn i { font-size: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 247, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(13, 36, 64, 0.08); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand { display: flex; align-items: center; }
.brand-logo { height: 38px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav ul { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
  padding: 8px 11px;
  border-radius: 999px;
  display: inline-block;
  transition: color 0.2s, background-color 0.2s;
}
.nav-link:hover { color: var(--blue); background-color: rgba(29, 95, 169, 0.08); }
.nav-link.is-active { color: var(--navy); background-color: var(--chip-bg); }
.main-nav > .btn { margin-left: 10px; }

.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer;
}
.nav-dropdown-toggle i { font-size: 10px; transition: transform 0.2s var(--ease); }

.nav-dropdown-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  padding-top: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), visibility 0.2s;
  z-index: 50;
}
.nav-dropdown-panel {
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: 8px;
  display: flex; flex-direction: column; gap: 2px;
  transform: translateY(8px);
  transition: transform 0.2s var(--ease);
}
.nav-dropdown-panel a {
  display: block; padding: 9px 12px; border-radius: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--ink);
  transition: color 0.2s, background-color 0.2s;
}
.nav-dropdown-panel a:hover { color: var(--blue); background-color: rgba(29, 95, 169, 0.08); }
.nav-dropdown-panel a.is-active { color: var(--navy); background-color: var(--chip-bg); }

.nav-dropdown.is-open .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
}
.nav-dropdown.is-open .nav-dropdown-panel,
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  transform: translateY(0);
}
.nav-dropdown.is-open .nav-dropdown-toggle i,
.nav-dropdown:hover .nav-dropdown-toggle i,
.nav-dropdown:focus-within .nav-dropdown-toggle i { transform: rotate(180deg); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  max-height: 0;
  overflow: hidden;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: max-height 0.35s var(--ease);
}
.mobile-nav.is-open { max-height: 600px; }
.mobile-nav ul { display: flex; flex-direction: column; padding: 8px 24px 20px; }
.mobile-nav a {
  display: block;
  padding: 12px 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a.is-active { color: var(--blue); }

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

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding: 64px 0 0;
}
.hero-blob-1, .hero-blob-2 { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-blob-1 {
  top: -140px; right: -120px; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(29, 95, 169, 0.32), transparent 70%);
  animation: drift 14s ease-in-out infinite alternate;
}
.hero-blob-2 {
  bottom: -180px; left: -100px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 70%);
}
@keyframes drift { 0% { transform: translate(0, 0) rotate(0deg); } 100% { transform: translate(-30px, 20px) rotate(6deg); } }
@media (prefers-reduced-motion: reduce) { .hero-blob-1 { animation: none; } }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 40px;
  align-items: center;
}
.hero-content { padding: 40px 0 128px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 24px;
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-light); }
.hero-eyebrow span:last-child { font-family: var(--font-display); font-weight: 600; font-size: 12.5px; letter-spacing: 0.03em; color: #d7e6f8; }

.hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(34px, 5vw, 58px); line-height: 1.05;
  margin: 0 0 24px; max-width: 760px; color: #fff;
}
.hero .lead { font-size: clamp(16px, 2vw, 18.5px); line-height: 1.6; color: #c3cee0; max-width: 560px; margin: 0 0 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-figure { align-self: center; justify-self: center; }
.hero-figure img { height: 240px; width: auto; filter: brightness(0) invert(1) drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35)); }
.hero-figure img.hero-photo {
  height: auto; width: 100%; max-width: 340px; aspect-ratio: 4 / 5;
  object-fit: cover; border-radius: var(--radius-lg);
  filter: none; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { display: none; }
  .hero-content { padding-bottom: 96px; }
}

.stats-section { padding: 0 24px; margin-top: -1px; }
.stats-band {
  max-width: var(--container); margin: 0 auto;
  transform: translateY(-46%);
  background: var(--blue);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px rgba(29, 95, 169, 0.35), 0 8px 20px rgba(13, 36, 64, 0.18);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.stat-item { padding: 34px 20px; text-align: center; border-right: 1px solid rgba(255, 255, 255, 0.28); }
.stat-item:last-child { border-right: none; }
.stat-value { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 3vw, 32px); color: #fff; }
.stat-label { font-size: 13px; color: rgba(255, 255, 255, 0.85); margin-top: 6px; }

@media (max-width: 640px) {
  .stats-band { transform: translateY(-22%); }
}

.section { padding: 90px 24px; }
.section-tight { padding: 40px 24px 90px; }
.section-head-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 40px; flex-wrap: wrap;
}
.eyebrow {
  font-family: var(--font-display); font-weight: 600; font-size: 12.5px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue);
  margin: 0 0 10px;
}
.section h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 3vw, 34px); }
.section-lead { font-size: 15px; color: var(--text-muted); max-width: 620px; margin: 14px 0 36px; }

.section-dark { background: var(--ink); }
.section-dark .eyebrow { color: var(--blue-light); }
.section-dark h2 { color: #fff; }

.grid { display: grid; gap: 20px; }
.grid-auto-sm { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.grid-auto-md { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-auto-lg { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .grid-cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .grid-cols-4 { grid-template-columns: 1fr; } }

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  background: var(--white);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.card-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--navy); display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card-icon i { color: #fff; font-size: 16px; }
.card-icon.light { background: var(--chip-bg); }
.card-icon.light i { color: var(--blue); }
.card h3 { font-family: var(--font-display); font-weight: 600; font-size: 17px; margin: 0 0 8px; }
.card p { font-size: 14px; line-height: 1.55; color: var(--text-muted); margin: 0; }

.card.has-photo { padding-top: 0; overflow: hidden; }
.card-photo {
  width: calc(100% + 48px); margin: 0 -24px 20px; height: 150px;
  object-fit: cover;
}
.card.has-photo .card-icon { margin-top: -47px; position: relative; z-index: 1; box-shadow: 0 8px 20px rgba(13, 36, 64, 0.3); }

.chip-btn {
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  padding: 22px 16px; display: flex; flex-direction: column; align-items: center; gap: 10px;
  cursor: pointer; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.chip-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.chip-btn i { color: var(--navy); font-size: 20px; }
.chip-btn span { font-family: var(--font-display); font-weight: 600; font-size: 12.5px; color: var(--ink); text-align: center; }

.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; }
.process-step { border-left: 1px solid #2b3040; padding-left: 24px; }
.process-step .n { font-family: var(--font-display); font-weight: 700; font-size: 34px; color: var(--blue-light); margin-bottom: 16px; }
.process-step h3 { font-family: var(--font-display); font-weight: 600; font-size: 16.5px; margin: 0 0 10px; color: #fff; }
.process-step p { font-size: 13.5px; line-height: 1.6; color: var(--text-inverse-muted); margin: 0; }

.row-list { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.row-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 28px 26px; display: grid; grid-template-columns: 44px 1fr; gap: 20px;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.row-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.row-card .row-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.row-card .row-icon i { color: #fff; font-size: 17px; }
.row-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin: 0 0 8px; }
.row-card p { font-size: 14.5px; line-height: 1.65; color: var(--text-muted); margin: 0; max-width: 640px; }

.machine-card { grid-template-columns: 44px minmax(0, 190px) 1fr; align-items: start; padding: 24px; }
.machine-card .category {
  font-size: 11px; font-family: var(--font-display); font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 4px;
}
.machine-card h3 { font-size: 16px; }
.machine-card p { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin: 0; }

.row-photo { width: 130px; height: 96px; object-fit: cover; border-radius: 12px; }
.row-card.has-photo { grid-template-columns: 130px 44px 1fr; align-items: start; }
.machine-card.has-photo { grid-template-columns: 130px 44px minmax(0, 190px) 1fr; }

@media (max-width: 640px) {
  .row-card, .machine-card { grid-template-columns: 1fr; }
  .row-photo { width: 100%; height: 180px; }
}

.cta-banner {
  max-width: var(--container); margin: 0 auto;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 24px; padding: 56px 48px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -60px; right: 60px; width: 220px; height: 220px;
  border-radius: 50%; background: radial-gradient(circle, rgba(29, 95, 169, 0.25), transparent 70%);
}
.cta-banner-text { position: relative; }
.cta-banner-text h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 3vw, 28px); color: #fff; margin: 0 0 8px; }
.cta-banner-text p { font-size: 15px; color: #c3cee0; margin: 0; }
.cta-banner .btn { position: relative; }
.cta-banner-small { padding: 36px; border-radius: 20px; }

.page-intro { position: relative; padding: 64px 0 32px; overflow: hidden; }
.page-intro::before {
  content: '';
  position: absolute; top: -160px; right: -100px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 95, 169, 0.16), transparent 70%);
  pointer-events: none;
}
.page-intro-inner {
  position: relative;
  max-width: 900px;
  background: linear-gradient(135deg, var(--chip-bg) 0%, #fff 65%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
}
.page-intro h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4vw, 40px); margin: 0 0 20px; }
.page-intro p { font-size: 16px; line-height: 1.7; color: var(--text-body); margin: 0 0 18px; }
.page-intro p:last-child { margin-bottom: 0; }
@media (max-width: 640px) {
  .page-intro-inner { padding: 28px 24px; }
}

.placeholder-visual {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border);
  background: repeating-linear-gradient(135deg, #f0eee8 0 14px, #e6e2d8 14px 28px);
  height: 320px; display: flex; align-items: center; justify-content: center;
}
.placeholder-visual span, .placeholder-dark span {
  font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: #6b7280;
  background: var(--white); padding: 8px 16px; border-radius: 8px; border: 1px solid #d6dae0;
}
.placeholder-dark {
  border-radius: var(--radius-md); overflow: hidden;
  background: repeating-linear-gradient(135deg, var(--navy) 0 14px, var(--navy-light) 14px 28px);
  display: flex; align-items: center; justify-content: center;
}
.placeholder-dark span { color: #fff; background: rgba(255, 255, 255, 0.15); border: none; font-size: 11px; padding: 5px 10px; }

.atelier-visual {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border);
  height: 420px; box-shadow: var(--shadow-hero);
}
.atelier-visual img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .atelier-visual { height: 260px; } }

.realisation-card { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; background: var(--white); }
.realisation-visual { height: 170px; }
.realisation-visual img { width: 100%; height: 100%; object-fit: cover; }
.realisation-body { padding: 22px 24px; }
.realisation-body h3 { font-family: var(--font-display); font-weight: 600; font-size: 16px; margin: 0 0 14px; }
.realisation-facts { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--text-muted); }
.realisation-facts strong { color: var(--ink); }

.actu-list { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.actu-card { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 28px; background: var(--white); }
.actu-date { font-family: var(--font-display); font-weight: 600; font-size: 12px; color: var(--blue); margin-bottom: 8px; }
.actu-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 17px; margin: 0 0 10px; }
.actu-card p { font-size: 14.5px; line-height: 1.6; color: var(--text-muted); margin: 0; }

.job-pill {
  border: 1px solid var(--border); border-radius: 14px; padding: 20px; text-align: center;
  font-family: var(--font-display); font-weight: 600; font-size: 14px; background: var(--white);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.job-pill:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }

.legal-article { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.legal-article h2 { font-family: var(--font-display); font-weight: 600; font-size: 19px; margin: 0 0 12px; color: var(--navy); }
.legal-article p { font-size: 14.5px; line-height: 1.75; color: var(--text-body); margin: 0 0 10px; }
.legal-article p:last-child { margin-bottom: 0; }
.legal-article a { text-decoration: underline; text-underline-offset: 2px; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: 48px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.form-note {
  background: var(--chip-bg); border: 1px solid #b9d4ef; border-radius: 12px;
  padding: 20px; font-size: 14.5px; color: var(--ink);
}
.form-note.error { background: #fdecec; border-color: #f5b5b5; }

.contact-form { display: flex; flex-direction: column; gap: 16px; max-width: 480px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.contact-form input, .contact-form textarea {
  padding: 13px 16px; border: 1px solid var(--border-soft); border-radius: 10px;
  font-size: 14px; font-family: var(--font-body); width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29, 95, 169, 0.15);
}
.contact-form textarea { resize: vertical; }
.contact-form button { align-self: flex-start; }
.field-error { color: #c0392b; font-size: 12.5px; margin-top: -8px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; }

.contact-side { display: flex; flex-direction: column; gap: 16px; }
.contact-card { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 26px; background: var(--white); }
.contact-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 15px; margin: 0 0 16px; }
.contact-card p { font-size: 14px; line-height: 1.7; color: var(--text-body); margin: 0 0 14px; }
.contact-card p:last-child { margin-bottom: 0; }
.contact-card i { color: var(--blue); width: 16px; margin-right: 6px; }
.contact-map { border: 1px solid var(--border); border-radius: var(--radius-md); height: 280px; overflow: hidden; }
.contact-map iframe { display: block; }

.site-footer { background: var(--navy); color: var(--footer-muted); padding: 60px 24px 28px; }
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px;
  padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-icon { height: 40px; width: 40px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-about p { font-size: 13.5px; line-height: 1.6; margin: 0; color: var(--footer-muted); }
.footer-nav h4, .footer-contact h4 { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: #fff; margin: 0 0 14px; }
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: var(--footer-muted); font-size: 13.5px; }
.footer-nav a:hover { color: var(--blue-light); }
.footer-contact p { font-size: 13.5px; line-height: 1.7; color: var(--footer-muted); margin: 0 0 10px; }
.footer-contact a { color: var(--footer-muted); }
.footer-contact a:hover { color: var(--blue-light); }
.footer-legal {
  max-width: var(--container); margin: 0 auto; padding-top: 20px;
  font-size: 12.5px; color: var(--footer-legal); line-height: 1.7;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-legal p { margin: 0; }
.footer-credits { display: flex; align-items: center; gap: 8px; }
.footer-credits-sep { opacity: 0.5; }
.footer-legal a { color: var(--footer-legal); text-decoration: underline; text-underline-offset: 2px; }
.footer-legal a:hover { color: var(--blue-light); }

[data-reveal-item] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal-item].is-in-view { opacity: 1; transform: none; }

[data-hero-item] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-hero-item].is-in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal-item], [data-hero-item] { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

[data-magnetic] { will-change: transform; transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }

.error-page { padding: 120px 24px; text-align: center; }
.error-page h1 { font-family: var(--font-display); font-size: clamp(48px, 10vw, 96px); color: var(--navy); margin-bottom: 16px; }
.error-page p { font-size: 16px; color: var(--text-muted); margin-bottom: 32px; }

@media (max-width: 960px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: block; }
}
