/* === Tokens === */
:root {
  --color-primary: #2563EB;
  --color-secondary: #3B82F6;
  --color-accent: #F97316;
  --color-neutral-dark: #1E293B;
  --color-neutral-light: #F8FAFC;
  --color-border: rgba(30, 41, 59, 0.12);
  --color-muted: rgba(30, 41, 59, 0.65);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --container: 1180px;
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  line-height: 1.2;
  margin: 0 0 0.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.narrow { max-width: 720px; margin-inline: auto; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.lede { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; }

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn--primary { background: var(--color-primary); color: #fff; box-shadow: 0 10px 25px -12px rgba(37, 99, 235, 0.6); }
.btn--primary:hover { background: #1d4ed8; }
.btn--accent { background: var(--color-accent); color: #fff; box-shadow: 0 10px 25px -12px rgba(249, 115, 22, 0.55); }
.btn--accent:hover { background: #ea6a12; }

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
}
.logo { display: inline-block; line-height: 0; }
.logo img { height: 72px; width: auto; }
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-neutral-dark);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.site-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  position: absolute;
  left: 0; right: 0; top: 100%;
  padding: 1rem 1.25rem 1.5rem;
  background: var(--color-neutral-light);
  border-bottom: 1px solid var(--color-border);
}
.site-nav.is-open { display: flex; }
.site-nav a {
  padding: 0.6rem 0.25rem;
  color: var(--color-neutral-dark);
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
}
.site-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    position: static;
    padding: 0;
    background: transparent;
    border: none;
  }
  .site-nav a { padding: 0; border: none; }
}

/* === Hero split === */
.hero { padding-block: 3rem; }
.hero__grid { display: grid; gap: 2.5rem; align-items: center; }
.hero__text > * + * { margin-top: 0.5rem; }
.hero__media img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
  box-shadow: 0 30px 60px -30px rgba(30, 41, 59, 0.35);
}
.hero .btn { margin-top: 1.5rem; }
.hero--short { padding-block: 2rem; }

@media (min-width: 900px) {
  .hero { padding-block: 5.5rem; }
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
}

/* === Sections === */
.section { padding-block: 4rem; }
.section--muted { background: #fff; border-block: 1px solid var(--color-border); }
.section__head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.section__head p { color: var(--color-muted); }

/* === Grids === */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* === Card === */
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -25px rgba(30, 41, 59, 0.3); }
.card .icon {
  color: var(--color-primary);
  background: rgba(37, 99, 235, 0.08);
  padding: 0.55rem;
  border-radius: 10px;
  box-sizing: content-box;
  width: 24px; height: 24px;
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); font-size: 0.96rem; }

/* === Split (text + image) === */
.split { display: grid; gap: 2.5rem; align-items: center; }
.split__media img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  box-shadow: 0 25px 50px -25px rgba(30, 41, 59, 0.3);
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* === Testimonial === */
.testimonial {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  line-height: 1.5;
  color: var(--color-neutral-dark);
  padding-inline: 1rem;
}
.testimonial p { margin-bottom: 1.5rem; }
.testimonial cite {
  display: block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-primary);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* === CTA band === */
.cta-band { background: var(--color-primary); color: #fff; padding-block: 3.5rem; }
.cta-band h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 0; }
.cta-band__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
@media (min-width: 800px) {
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* === Stats === */
.stats { padding-block: 4rem; background: var(--color-neutral-dark); color: #fff; }
.stats .stat { text-align: center; padding: 1rem; }
.stats .stat__value {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.stats .stat__label { color: rgba(255,255,255,0.8); font-size: 0.98rem; }

/* === FAQ === */
.faq details {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.15rem 1.35rem;
  margin-bottom: 0.75rem;
}
.faq summary {
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  color: var(--color-primary);
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 0.75rem; color: var(--color-muted); }

/* === Form === */
.form__row { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.15rem; }
.form label { font-weight: 600; font-size: 0.95rem; }
.form input, .form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  color: var(--color-neutral-dark);
  width: 100%;
}
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.form textarea { resize: vertical; min-height: 130px; }
.form .btn { margin-top: 0.5rem; }

/* === Map placeholder === */
.map-block {
  background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(59,130,246,0.15));
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--color-primary);
  padding: 2rem;
  text-align: center;
}
.map-block p { color: var(--color-neutral-dark); font-weight: 500; margin: 0; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(248,250,252,0.85); padding-block: 3rem 1.5rem; margin-top: 3rem; }
.site-footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.site-footer a { color: rgba(248,250,252,0.85); }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(248,250,252,0.1); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 0.5rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.footer-legal { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 0.5rem; }
.footer-legal li { margin: 0; }
.footer-legal a { font-size: 0.9rem; }
.logo--footer img { height: 60px; margin-bottom: 0.75rem; filter: brightness(0) invert(1); }
.site-footer__base { padding-top: 1.5rem; font-size: 0.85rem; color: rgba(248,250,252,0.55); }
@media (min-width: 900px) {
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.3fr; }
}

/* === 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);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  max-width: 520px;
  margin-inline: auto;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.5);
  font-size: 0.95rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { color: rgba(248,250,252,0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.85rem; }
.cookie-banner button {
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(248,250,252,0.25);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
  font-weight: 600;
}
.cookie-banner button:hover { background: rgba(248,250,252,0.08); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-accept]:hover { background: #ea6a12; }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; 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] { align-self: flex-start; background: var(--color-primary); border-color: var(--color-primary); margin-top: 0.35rem; }
