:root {
  --navy: #012350;
  --navy-deep: #00163a;
  --red: #d40101;
  --red-deep: #a80000;
  --ink: #0b1a33;
  --muted: #55627a;
  --paper: #f3f6fa;
  --white: #ffffff;
  --line: rgba(1, 35, 80, 0.12);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
}

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

a { color: inherit; text-decoration: none; }

[hidden] { display: none !important; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip { position: absolute; left: -999px; }
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 20;
  background: var(--white);
  padding: 8px 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

.brand img { width: 44px; height: 44px; }
.brand-ge { color: var(--navy); }
.brand-plomb { color: var(--red); }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

.nav a:hover { color: var(--red); }
.nav a.btn { color: var(--white); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 20px;
  font: inherit;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(212, 1, 1, 0.25);
}

.btn-primary:hover { background: var(--red-deep); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.18); }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 20%, rgba(212, 1, 1, 0.35), transparent 40%),
    linear-gradient(135deg, var(--navy-deep), var(--navy) 60%, #0a3a7a);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  min-height: calc(88vh - 74px);
  padding: 72px 0 88px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  max-width: 15ch;
  font-family: "Syne", sans-serif;
  font-size: clamp(2.5rem, 6.5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero p:not(.eyebrow) {
  max-width: 44ch;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-mark {
  justify-self: center;
  width: min(360px, 80%);
  aspect-ratio: 1;
  border-radius: 48px;
  background: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transform: rotate(-4deg);
}

.hero-mark img { width: 92%; }

.section { padding: 88px 0; }
.section-alt { background: var(--paper); }

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head p { color: var(--muted); }

.kicker {
  margin: 0 0 8px;
  color: var(--red);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.kicker-light { color: #ff8a8a; }

h2 {
  margin: 0 0 12px;
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--navy);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.card-num {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--red);
  font-family: "Syne", sans-serif;
  font-weight: 800;
}

.card h3 {
  margin: 0 0 8px;
  font-family: "Syne", sans-serif;
  color: var(--navy);
}

.card p { margin: 0; color: var(--muted); }

.refs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.refs-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--white);
  text-align: center;
  font-weight: 600;
}

.ref {
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
}

.ref-cover {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--navy);
  cursor: zoom-in;
}

.ref-cover img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ref-cover-empty {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  cursor: default;
}

.ref-cover-empty img { width: 40%; aspect-ratio: 1; object-fit: contain; opacity: 0.9; }

.ref-body { padding: 20px 22px 24px; }

.ref-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.ref-tags span {
  padding: 3px 10px;
  border-radius: 999px;
  background: #ffe9e9;
  color: var(--red-deep);
  font-size: 0.78rem;
  font-weight: 700;
}

.ref-tags span + span { background: #e7eef8; color: var(--navy); }

.ref h3 {
  margin: 0 0 6px;
  font-family: "Syne", sans-serif;
  color: var(--navy);
  line-height: 1.2;
}

.ref p { margin: 0; color: var(--muted); }

.ref-thumbs {
  display: flex;
  gap: 6px;
  margin-top: 14px;
}

.ref-thumbs button {
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  cursor: zoom-in;
}

.ref-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.steps li {
  padding: 24px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #eef3fb, #ffffff);
  border: 1px solid var(--line);
}

.steps span {
  display: inline-block;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  text-align: center;
  line-height: 42px;
}

.steps h3 { margin: 0 0 6px; font-family: "Syne", sans-serif; color: var(--navy); }
.steps p { margin: 0; color: var(--muted); }

.contact-box {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  padding: 40px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: var(--white);
}

.contact-box h2 { color: var(--white); }
.contact-box p { color: rgba(255, 255, 255, 0.8); }

.contact-list {
  display: grid;
  gap: 14px;
  align-content: center;
}

.contact-list a,
.contact-list p {
  margin: 0;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-weight: 700;
}

.contact-list a:hover { background: rgba(255, 255, 255, 0.16); }
.contact-list small { display: block; color: rgba(255, 255, 255, 0.65); font-weight: 600; }

.site-footer {
  padding: 28px 0 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-inner p { margin: 0; }
.footer-credit { font-size: 0.92rem; }
.footer-credit:hover { color: var(--red); text-decoration: underline; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 10, 30, 0.92);
}

.lightbox figure { margin: 0; max-width: min(1100px, 100%); }

.lightbox img {
  max-height: calc(100vh - 120px);
  margin: 0 auto;
  border-radius: 12px;
}

.lightbox figcaption {
  margin-top: 10px;
  color: var(--white);
  font-weight: 700;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 74px;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .nav.open { display: flex; }

  .hero-inner,
  .contact-box { grid-template-columns: 1fr; }

  .hero-mark { width: 200px; border-radius: 32px; }

  .cards,
  .refs,
  .steps { grid-template-columns: repeat(2, 1fr); }

  .contact-box { padding: 28px; }
}

@media (max-width: 560px) {
  .cards,
  .refs,
  .steps { grid-template-columns: 1fr; }

  .hero-inner { padding: 48px 0 64px; }
}
