/* === Tokens === */
:root {
  --color-primary: #0F172A;
  --color-secondary: #334155;
  --color-accent: #0369A1;
  --color-neutral-dark: #020617;
  --color-neutral-light: #F8FAFC;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(2,6,23,0.06), 0 1px 3px rgba(2,6,23,0.08);
  --shadow-md: 0 10px 30px -12px rgba(2,6,23,0.25);
  --shadow-lg: 0 30px 60px -30px rgba(2,6,23,0.35);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-primary);
  background: var(--color-neutral-light);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; color: var(--color-primary); line-height: 1.2; margin: 0 0 1rem; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
address { font-style: normal; line-height: 1.7; }

/* === Layout === */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 780px; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248,250,252,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15,23,42,0.08);
}
.site-header__inner {
  max-width: 1200px; margin: 0 auto; padding: 0.75rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: transparent; border: 1px solid rgba(15,23,42,0.15); border-radius: 8px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--color-primary); border-radius: 2px; }
.primary-nav { display: none; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.primary-nav a {
  display: block; color: var(--color-primary); font-weight: 500;
  padding: 0.75rem 1rem; border-radius: 6px; text-decoration: none;
}
.primary-nav a:hover { background: rgba(15,23,42,0.05); text-decoration: none; }
.primary-nav a[aria-current="page"] { color: var(--color-accent); }
.primary-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--color-neutral-light); padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(15,23,42,0.08); box-shadow: var(--shadow-sm);
}

/* === Buttons === */
.btn {
  display: inline-block; padding: 0.9rem 1.75rem;
  font-family: var(--font-body); font-weight: 500; font-size: 1rem;
  border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}
.btn--primary { background: var(--color-neutral-light); color: var(--color-primary); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); text-decoration: none; }
.btn--accent { background: var(--color-accent); color: var(--color-neutral-light); }
.btn--accent:hover { background: #025a86; text-decoration: none; }

/* === Hero fullscreen === */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; color: var(--color-neutral-light);
  text-align: center;
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(rgba(2,6,23,0.55), rgba(2,6,23,0.75));
}
.hero__overlay--solid { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); }
.hero--solid { background: var(--color-primary); }
.hero__content { position: relative; z-index: 2; padding: 6rem 1.25rem; max-width: 820px; }
.hero__content h1 { color: var(--color-neutral-light); max-width: 22ch; margin-inline: auto; }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(248,250,252,0.85); max-width: 52ch; margin: 0 auto 2rem; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.15em;
  font-size: 0.8rem; font-weight: 500; color: rgba(248,250,252,0.75);
  margin-bottom: 1.25rem;
}

/* === Sections === */
.section { padding: 4.5rem 0; }
.section--intro { text-align: center; }
.section--intro .container--narrow p { text-align: left; font-size: 1.05rem; color: var(--color-secondary); }
.section--alt { background: #eef2f6; }
.section__header { text-align: center; margin-bottom: 3rem; }
.section__sub { color: var(--color-secondary); font-size: 1.1rem; max-width: 60ch; margin-inline: auto; }

/* === Grids === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }

/* === Cards === */
.card {
  background: #ffffff; padding: 1.75rem;
  border: 1px solid rgba(15,23,42,0.08); border-radius: var(--radius-lg);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card__icon {
  color: var(--color-accent); margin-bottom: 1rem;
  width: 32px; height: 32px;
}
.card h3 { margin-top: 0; }
.card p { color: var(--color-secondary); margin-bottom: 0; }

/* === Testimonial === */
.section--testimonial { background: var(--color-neutral-light); }
.testimonial { margin: 0; text-align: center; padding: 1rem 0; }
.testimonial p {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.5; color: var(--color-primary);
  font-style: italic; margin-bottom: 1.5rem;
}
.testimonial cite { display: block; font-style: normal; color: var(--color-secondary); font-size: 0.95rem; }

/* === CTA Band === */
.cta-band {
  background: var(--color-primary); color: var(--color-neutral-light);
  padding: 4.5rem 0; text-align: center;
}
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(248,250,252,0.8); max-width: 55ch; margin: 0 auto 1.75rem; }
.cta-band__meta { font-size: 0.95rem; }

/* === Before/After === */
.before-after {
  margin: 2rem 0 0; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
}
.before-after img { width: 100%; height: auto; }

/* === FAQ === */
.faq { display: grid; gap: 0.75rem; }
.faq details {
  background: #ffffff; padding: 1.25rem 1.5rem;
  border: 1px solid rgba(15,23,42,0.08); border-radius: var(--radius);
}
.faq summary {
  cursor: pointer; font-weight: 500; color: var(--color-primary);
  list-style: none; position: relative; padding-right: 2rem;
  font-family: var(--font-heading); font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--color-accent); transition: transform .2s ease;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 1rem 0 0; color: var(--color-secondary); }

/* === Contact form === */
.contact-form { display: grid; gap: 1.25rem; margin-top: 2rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 500; font-size: 0.95rem; color: var(--color-primary); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.75rem 0.9rem;
  font-family: var(--font-body); font-size: 1rem;
  color: var(--color-primary); background: #ffffff;
  border: 1px solid rgba(15,23,42,0.18); border-radius: 8px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(3,105,161,0.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-consent {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.9rem; color: var(--color-secondary); line-height: 1.5;
}
.form-consent input { margin-top: 0.25rem; flex-shrink: 0; }

/* === Contact band === */
.section--contact-band { background: #eef2f6; text-align: center; }
.contact-band__meta { font-size: 1rem; color: var(--color-secondary); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(248,250,252,0.75); padding: 3.5rem 0 1.5rem; margin-top: 3rem; }
.site-footer h3 { color: var(--color-neutral-light); font-family: var(--font-body); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.site-footer a { color: rgba(248,250,252,0.75); }
.site-footer a:hover { color: var(--color-neutral-light); }
.site-footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.legal-links { margin-top: 1.25rem; font-size: 0.9rem; }
.logo--footer img { height: 60px; margin-bottom: 1rem; filter: brightness(1.2); }
.site-footer__bottom {
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(248,250,252,0.1);
  font-size: 0.85rem; text-align: center;
}
.site-footer__bottom p { margin: 0; }

/* === Cookie banner === */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem;
  display: none; z-index: 9999;
  background: var(--color-neutral-dark); color: var(--color-neutral-light);
  padding: 1.25rem 1.5rem; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); max-width: 640px; margin-inline: auto;
  font-size: 0.9rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; color: rgba(248,250,252,0.85); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  padding: 0.55rem 1rem; font-family: var(--font-body); font-size: 0.9rem;
  border-radius: 6px; border: 1px solid rgba(248,250,252,0.2);
  background: transparent; color: var(--color-neutral-light); cursor: pointer;
}
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); }
.cookie-banner [data-cookie-accept]:hover { background: #025a86; }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: 0.5rem; padding-top: 1rem; border-top: 1px solid rgba(248,250,252,0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs [data-cookie-save] { margin-top: 0.5rem; background: var(--color-accent); border-color: var(--color-accent); justify-self: start; }

/* === Responsive === */
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  body { font-size: 18px; }
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: block; position: static; padding: 0; background: transparent; box-shadow: none; border: none; }
  .primary-nav ul { flex-direction: row; gap: 0.25rem; }
  .section { padding: 6rem 0; }
  .site-footer__grid { grid-template-columns: 2fr 1fr 1.5fr; gap: 3rem; align-items: start; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .hero__content { padding: 8rem 2rem; }
}

@media (min-width: 1024px) {
  .grid { gap: 2rem; }
  .card { padding: 2.25rem; }
}
