:root {
  --color-primary: #1E3A8A;
  --color-secondary: #3B82F6;
  --color-accent: #CA8A04;
  --color-neutral-dark: #1E40AF;
  --color-neutral-light: #F8FAFC;
  --color-text: #0F172A;
  --color-muted: #475569;
  --color-border: rgba(30, 58, 138, 0.12);
  --font-heading: 'Lora', serif;
  --font-body: 'Inter', sans-serif;
  --radius: 10px;
  --shadow-sm: 0 6px 20px -12px rgba(15, 23, 42, 0.25);
  --shadow-md: 0 20px 40px -20px rgba(15, 23, 42, 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);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-neutral-light);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--color-secondary); }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-primary);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.section { padding-block: 4rem; }
.section-alt { background: #EEF3FB; }
.section-narrow .container { max-width: 760px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head h2 { margin-bottom: .5rem; }
.section-head p { color: var(--color-muted); }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .9rem; }
.logo { display: inline-flex; text-decoration: none; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: transparent; border: 1px solid var(--color-border); 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 a {
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 500;
  color: var(--color-text); text-decoration: none;
  padding: .5rem .25rem;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav.is-open {
  display: flex; flex-direction: column; gap: .5rem;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--color-neutral-light);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 1.25rem 1.5rem;
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; gap: 1.5rem; align-items: center; position: static; padding: 0; background: none; border: none; }
  .logo img { height: 96px; }
}

/* === Hero fullscreen === */
.hero-fullscreen {
  position: relative;
  min-height: 85vh;
  display: flex; align-items: center;
  color: var(--color-neutral-light);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.65), rgba(15, 23, 42, 0.65));
  z-index: 1;
}
.hero-overlay-plain {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
}
.hero-plain { min-height: 60vh; }
.hero-content { position: relative; z-index: 2; max-width: 780px; padding-block: 5rem; }
.hero-content h1 { color: var(--color-neutral-light); max-width: 22ch; }
.hero-content .lede {
  font-size: 1.15rem; max-width: 55ch;
  color: rgba(248, 250, 252, 0.9);
}
.eyebrow {
  font-family: var(--font-body); font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.15em; font-weight: 600;
  color: var(--color-accent); margin-bottom: 1rem;
}

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

/* === Grid & cards === */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { 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: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin: .75rem 0 .5rem; }
.card p { color: var(--color-muted); margin: 0; font-size: 0.98rem; }
.icon { color: var(--color-accent); }

/* === Quote === */
.quote {
  max-width: 780px; margin: 0 auto;
  text-align: center;
  font-family: var(--font-heading);
  font-style: italic;
  border: none; padding: 0;
}
.quote p {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.5; color: var(--color-primary);
  position: relative;
}
.quote p::before { content: "“"; display: block; font-size: 4rem; line-height: 1; color: var(--color-accent); margin-bottom: -1rem; }
.quote cite {
  display: block; margin-top: 1.25rem;
  font-family: var(--font-body); font-style: normal;
  font-size: 0.95rem; color: var(--color-muted); font-weight: 500;
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: var(--color-neutral-light);
  padding-block: 4rem;
}
.cta-inner { text-align: center; max-width: 680px; }
.cta-inner h2 { color: var(--color-neutral-light); }
.cta-inner p { color: rgba(248, 250, 252, 0.9); margin-bottom: 1.75rem; }

/* === Contact === */
.contact-band { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.75rem; }
.contact-layout { display: grid; gap: 2.5rem; }
.contact-info h3 { margin-top: 1.5rem; }
.hours { width: 100%; border-collapse: collapse; margin-top: .5rem; }
.hours th, .hours td { padding: .5rem .25rem; text-align: left; border-bottom: 1px solid var(--color-border); font-weight: 400; font-size: 0.95rem; }
.hours th { font-weight: 500; color: var(--color-primary); }

.contact-form { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.contact-form h2 { margin-bottom: 1.25rem; }
.field { margin-bottom: 1rem; display: flex; flex-direction: column; gap: .35rem; }
.field label { font-size: 0.9rem; font-weight: 500; color: var(--color-primary); }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 1rem;
  padding: .75rem .9rem;
  border: 1px solid var(--color-border); border-radius: 8px;
  background: var(--color-neutral-light); color: var(--color-text);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--color-secondary); outline-offset: 1px; }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: 0.9rem; color: var(--color-muted); margin: 1rem 0 1.25rem; }
.form-consent input { margin-top: .25rem; }

@media (min-width: 900px) {
  .contact-layout { grid-template-columns: 1fr 1.15fr; align-items: start; }
}

/* === Footer === */
.site-footer { background: var(--color-primary); color: rgba(248, 250, 252, 0.85); padding-block: 3rem 1.5rem; margin-top: 2rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.site-footer h3 { color: var(--color-neutral-light); font-family: var(--font-body); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1rem; }
.site-footer a { color: rgba(248, 250, 252, 0.85); text-decoration: none; }
.site-footer a:hover { color: var(--color-accent); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { margin-top: 1rem; }
.tagline { color: rgba(248, 250, 252, 0.75); font-style: italic; }
.logo-footer img { height: 64px; filter: brightness(0) invert(1); }
.copyright { text-align: center; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(248, 250, 252, 0.15); font-size: 0.85rem; }
.copyright p { margin: 0; }

@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; }
}

/* === 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);
  box-shadow: var(--shadow-md);
  max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
  padding: .55rem 1rem; border-radius: 6px; border: 1px solid rgba(248, 250, 252, 0.35);
  background: transparent; color: var(--color-neutral-light); cursor: pointer;
}
.cookie-banner button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner button:hover { background: rgba(248, 250, 252, 0.15); }
.cookie-banner button[data-cookie-accept]:hover { background: #a06f03; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: .5rem; }
