/* ============ Design tokens ============ */
:root {
  --navy: #2b3260;
  --navy-dark: #1c2142;
  --blue: #5275b7;
  --blue-dark: #3d5c93;
  --bg-tint: #f3f6fb;
  --ink: #262b45;
  --muted: #656d85;
  --white: #ffffff;
  --border: #dde3ef;
  --radius: 10px;
  --shadow: 0 12px 30px -14px rgba(38, 43, 69, 0.35);
  --font-head: "Fraunces", serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; margin: 0 0 .5em; color: var(--navy); }
p { margin: 0 0 1em; }

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

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-dark); }
.btn--ghost { background: rgba(255,255,255,.08); color: var(--white); border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.18); }
.btn--sm { padding: 9px 18px; font-size: .85rem; }
.btn--block { width: 100%; }

/* ============ Demo ribbon ============ */
.demo-ribbon {
  background: var(--navy-dark);
  color: var(--bg-tint);
  text-align: center;
  font-size: .78rem;
  letter-spacing: .04em;
  padding: 6px 12px;
}

/* ============ Topbar ============ */
.topbar { background: var(--navy-dark); color: #c7cfe6; font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 24px; flex-wrap: wrap; gap: 6px; }
.topbar__contact { display: flex; gap: 20px; }
.topbar__contact a { display: inline-flex; align-items: center; gap: 6px; }
.topbar__contact a:hover { color: var(--white); }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
.brand { display: flex; align-items: center; }
.brand__logo { height: 34px; width: auto; }
.brand__logo--footer { height: 30px; margin-bottom: 14px; }
.main-nav { display: flex; align-items: center; gap: 30px; font-weight: 500; font-size: .95rem; }
.main-nav a:not(.btn) { position: relative; padding: 4px 0; }
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--blue);
  transition: width .2s ease;
}
.main-nav a:not(.btn):hover::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); display: block; }

/* ============ Hero ============ */
.hero { position: relative; color: var(--white); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(28,33,66,.88) 20%, rgba(28,33,66,.55) 55%, rgba(28,33,66,.25) 100%);
}
.hero__content { position: relative; padding: 120px 24px 100px; max-width: 720px; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.eyebrow--center { display: block; text-align: center; }
.eyebrow--light { color: #aac0e8; }
.hero h1 { color: var(--white); font-size: clamp(2.1rem, 4.2vw, 3.4rem); line-height: 1.12; margin-bottom: 22px; }
.hero__lead { font-size: 1.1rem; color: #dee4f6; max-width: 560px; margin-bottom: 34px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============ USP strip ============ */
.usp { background: var(--bg-tint); padding: 56px 0; }
.usp__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.usp__item { text-align: left; }
.usp__item svg { color: var(--blue); margin-bottom: 14px; }
.usp__item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.usp__item p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ============ Sections ============ */
.section { padding: 96px 0; }
.section--dark { background: var(--navy-dark); color: #cfd6ea; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: #aab4d1; }
.section--muted { background: var(--bg-tint); }
.section__title { font-size: clamp(1.7rem, 3vw, 2.3rem); text-align: center; margin-bottom: 14px; }
.section__title--light { color: var(--white); }
.section__lead { text-align: center; max-width: 620px; margin: 0 auto 48px; color: var(--muted); }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; transition: box-shadow .2s ease, transform .2s ease;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service-card--accent { background: var(--navy-dark); border-color: var(--navy-dark); }
.service-card--accent h3, .service-card--accent p { color: var(--white); }
.service-card--accent p { color: #b9c3dd; }
.service-card__icon {
  width: 52px; height: 52px; border-radius: 50%; background: var(--bg-tint); color: var(--blue);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.service-card--accent .service-card__icon { background: rgba(255,255,255,.1); color: #aac0e8; }
.service-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: .93rem; margin: 0; }

/* Split section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.checklist li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--ink); }
.checklist li::before {
  content: "\2713"; position: absolute; left: 0; top: 0; color: var(--blue); font-weight: 700;
}
.section--dark .checklist li,
.offerte__intro .checklist li { color: inherit; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 10px; }
.step { border-top: 2px solid rgba(255,255,255,.15); padding-top: 20px; }
.step__num { font-family: var(--font-head); font-size: 2.2rem; color: var(--blue); display: block; margin-bottom: 8px; }
.step h3 { font-size: 1.05rem; }
.step p { font-size: .92rem; margin: 0; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery__item { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow); }
.gallery__item img { width: 100%; height: 230px; object-fit: cover; transition: transform .35s ease; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px;
  background: linear-gradient(to top, rgba(28,33,66,.85), rgba(28,33,66,0));
  color: var(--white); font-size: .88rem; font-weight: 500;
}
.center-cta { text-align: center; margin-top: 48px; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.review-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.review-card__stars { color: var(--blue); letter-spacing: 2px; margin-bottom: 12px; }
.review-card p { font-style: italic; color: var(--ink); }
.review-card__author { display: flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 600; color: var(--muted); }
.review-card__author img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }

/* Offerte */
.section--offerte { background: var(--navy-dark); color: var(--white); }
.offerte { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.offerte__intro h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.1rem); }
.offerte__intro p { color: #b9c3dd; }
.offerte__contact { display: flex; flex-direction: column; gap: 6px; margin-top: 24px; font-weight: 600; }
.offerte__contact a:hover { color: var(--blue); }
.offerte__form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-row { margin-bottom: 18px; }
.form-row--2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 6px;
  font-family: var(--font-body); font-size: .95rem; background: var(--bg-tint);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--blue);
}
.form-note { font-size: .78rem; color: var(--muted); margin: 10px 0 0; }
.form-success {
  margin-top: 16px; padding: 14px 16px; background: #eaf3e9; color: #2c5c2a; border-radius: 6px; font-size: .9rem;
}

/* ============ Footer ============ */
.site-footer { background: var(--navy); color: #c3cbe4; padding-top: 64px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.site-footer h4 { color: var(--white); font-family: var(--font-body); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { display: block; margin-bottom: 8px; }
.site-footer a:hover { color: var(--blue); }
.site-footer p { color: #9aa4c2; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; }
.footer__bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .8rem; color: #7c86a8; }

/* ============ Cookie bar ============ */
.cookie-bar {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 60;
  background: var(--navy-dark); color: var(--white);
  padding: 14px 20px; border-radius: 10px; box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap;
  max-width: 420px; margin: 0 auto;
}
.cookie-bar[hidden] { display: none; }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .usp__grid { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .offerte { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .topbar__inner { justify-content: center; text-align: center; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 80vw);
    background: var(--white); flex-direction: column; align-items: flex-start;
    padding: 100px 30px 30px; gap: 22px; box-shadow: -10px 0 30px rgba(0,0,0,.15);
    transform: translateX(100%); transition: transform .25s ease; z-index: 40;
  }
  .main-nav.is-open { transform: translateX(0); }
  .nav-toggle { display: flex; }
  .usp__grid, .services, .steps, .gallery { grid-template-columns: 1fr; }
  .form-row--2col { grid-template-columns: 1fr; }
  .hero__content { padding: 90px 20px 70px; }
  .footer__grid { grid-template-columns: 1fr; }
}
