:root {
  --color-primary: #1E40AF;
  --color-secondary: #3B82F6;
  --color-accent: #22C55E;
  --color-neutral-dark: #1E3A8A;
  --color-neutral-light: #EFF6FF;
  --color-text: #0f172a;
  --color-muted: #475569;
  --color-border: rgba(30, 58, 138, 0.14);
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 10px;
  --shadow-soft: 0 20px 45px -25px rgba(30, 58, 138, 0.35);
}

/* === Base === */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #ffffff;
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.15rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 720px; }
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--color-secondary);
  margin: 0 0 1rem;
  font-weight: 500;
}

/* === Header === */
.site-header {
  border-bottom: 1px solid var(--color-border);
  background: #ffffff;
  position: sticky; top: 0; z-index: 40;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: 0.85rem;
}
.logo { display: inline-block; line-height: 0; }
.logo img { height: 72px; width: auto; }
.nav-toggle {
  background: transparent; border: 1px solid var(--color-border);
  color: var(--color-neutral-dark); padding: 0.5rem; border-radius: 8px;
  cursor: pointer;
}
.primary-nav { display: none; }
.primary-nav.is-open {
  display: flex; flex-direction: column; gap: 0.25rem;
  position: absolute; top: 100%; left: 0; right: 0;
  background: #ffffff; padding: 1rem 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}
.primary-nav a {
  color: var(--color-neutral-dark); font-weight: 500;
  padding: 0.6rem 0; border-bottom: 1px solid var(--color-border);
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex; position: static; flex-direction: row;
    gap: 1.6rem; padding: 0; border: 0; box-shadow: none;
  }
  .primary-nav a { padding: 0; border: 0; }
  .primary-nav a:hover { color: var(--color-primary); }
}

/* === Hero (stacked) === */
.hero {
  padding-block: 3rem;
  background: linear-gradient(180deg, var(--color-neutral-light) 0%, #ffffff 100%);
}
.hero-inner { max-width: 780px; margin-inline: auto; }
.hero h1 { margin-block: 0.5rem 1.5rem; }
.hero-figure { margin: 2rem 0; }
.hero-figure img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: var(--radius);
}
.hero-sub {
  font-size: 1.1rem; color: var(--color-muted);
  max-width: 60ch;
}
.hero-cta { margin-top: 1.75rem; }

@media (min-width: 768px) {
  .hero { padding-block: 5rem; }
  .hero-sub { font-size: 1.2rem; }
}

/* === Buttons === */
.btn {
  display: inline-block; padding: 0.85rem 1.5rem;
  border-radius: 8px; font-weight: 600; font-family: var(--font-body);
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  font-size: 0.98rem;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn-primary { background: var(--color-primary); color: #ffffff; }
.btn-primary:hover { background: var(--color-neutral-dark); color: #ffffff; }
.btn-accent { background: var(--color-accent); color: #06251b; }
.btn-accent:hover { background: #16a34a; color: #ffffff; }

/* === Sections === */
.section { padding-block: 3.5rem; }
.section-alt { background: var(--color-neutral-light); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head .lede { color: var(--color-muted); }
.center-line { text-align: center; color: var(--color-muted); }

@media (min-width: 768px) {
  .section { padding-block: 5rem; }
}

/* === Grid & Cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-3 { 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 {
  background: #ffffff; border: 1px solid var(--color-border);
  padding: 1.75rem; border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.card h3 { margin-top: 0.5rem; }
.card p { color: var(--color-muted); margin: 0; }
.card-icon {
  display: inline-flex; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--color-neutral-light);
  color: var(--color-primary);
}

/* === Testimonial === */
.testimonial {
  margin: 0; padding: 2.25rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.testimonial p {
  font-family: var(--font-heading); font-style: italic;
  font-size: 1.2rem; color: var(--color-neutral-dark);
  max-width: 58ch; margin: 0 auto 1rem;
  line-height: 1.5;
}
.testimonial cite {
  font-style: normal; font-family: var(--font-body);
  font-size: 0.95rem; color: var(--color-muted);
}

/* === CTA band === */
.cta-band { background: var(--color-primary); color: #ffffff; padding-block: 3.5rem; }
.cta-band h2 { color: #ffffff; }
.cta-band p { color: rgba(255,255,255,0.9); }
.cta-inner { text-align: center; max-width: 700px; }
.cta-inner p:last-child { margin-top: 1.5rem; margin-bottom: 0; }

/* === Contact form === */
.contact-form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 0.4rem; }
.form-row label { font-weight: 500; color: var(--color-neutral-dark); font-size: 0.95rem; }
.form-row input, .form-row textarea {
  font: inherit; padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border); border-radius: 8px;
  background: #ffffff; color: var(--color-text);
  width: 100%;
}
.form-row input:focus, .form-row textarea:focus {
  outline: 2px solid var(--color-secondary); outline-offset: 1px; border-color: var(--color-secondary);
}
.form-consent {
  display: flex; gap: 0.6rem; align-items: flex-start;
  font-size: 0.9rem; color: var(--color-muted); line-height: 1.4;
}
.form-consent input { margin-top: 0.2rem; flex-shrink: 0; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark); color: #dbeafe;
  padding-block: 3rem 1.5rem; margin-top: 4rem;
}
.site-footer h3 {
  color: #ffffff; font-family: var(--font-body);
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em;
  font-weight: 600; margin: 0 0 0.9rem;
}
.site-footer a { color: #dbeafe; }
.site-footer a:hover { color: #ffffff; }
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
.footer-nav { display: flex; flex-direction: column; gap: 0.4rem; }
.tagline { color: #dbeafe; opacity: 0.9; margin-top: 0.75rem; }
.logo-footer img { height: 64px; filter: brightness(0) invert(1); }
.site-footer address { font-style: normal; line-height: 1.7; }
.legal-links { margin-top: 1rem; font-size: 0.9rem; }
.copyright {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 2.5rem; padding-top: 1.25rem;
  font-size: 0.85rem; color: #bfdbfe;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 3rem; }
}

/* === 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.25rem; border-radius: 12px;
  box-shadow: 0 25px 60px -20px rgba(0,0,0,0.4);
  max-width: 640px; margin-inline: auto;
  font-size: 0.92rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem; color: var(--color-neutral-light); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  font: inherit; padding: 0.55rem 0.9rem; border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.25); cursor: pointer;
  background: transparent; color: var(--color-neutral-light);
}
.cookie-banner [data-cookie-accept] {
  background: var(--color-accent); color: #06251b; border-color: var(--color-accent); font-weight: 600;
}
.cookie-banner__prefs {
  display: grid; gap: 0.5rem; margin-top: 1rem;
  padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15);
}
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; }
.cookie-banner__prefs [data-cookie-save] {
  margin-top: 0.5rem; background: var(--color-secondary); border-color: var(--color-secondary);
  color: #ffffff; font-weight: 600; justify-self: start;
}
