:root {
  --color-primary: #1E40AF;
  --color-secondary: #3B82F6;
  --color-accent: #22C55E;
  --color-neutral-dark: #1E3A8A;
  --color-neutral-light: #EFF6FF;
  --color-ink: #0F1B3D;
  --color-muted: #52618A;
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --shadow-sm: 0 2px 8px -2px rgba(30, 58, 138, 0.12);
  --shadow-md: 0 20px 45px -25px rgba(30, 58, 138, 0.35);
}

/* === Base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-ink);
  background: #fff;
  font-weight: 400;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration-thickness: 1px; 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-neutral-dark); margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(30, 58, 138, 0.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 0.75rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }

.primary-nav { display: none; gap: 1.75rem; align-items: center; }
.primary-nav a { font-family: var(--font-body); font-weight: 500; text-decoration: none; color: var(--color-neutral-dark); font-size: 0.98rem; }
.primary-nav a:hover { color: var(--color-primary); }
.primary-nav a.is-current { color: var(--color-primary); position: relative; }
.primary-nav a.is-current::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--color-accent); border-radius: 2px; }

.nav-toggle { background: transparent; border: 0; padding: 0.5rem; cursor: pointer; display: flex; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform 0.2s ease; }

@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; }
}
.primary-nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: #fff; padding: 1.25rem 1.5rem; gap: 1rem; border-bottom: 1px solid rgba(30,58,138,0.08); box-shadow: var(--shadow-sm); }

/* === Buttons === */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  line-height: 1;
}
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { background: #16a34a; color: #fff; transform: translateY(-1px); }
.btn--light { background: #fff; color: var(--color-primary); }
.btn--light:hover { background: var(--color-neutral-light); }
.btn--ghost { background: transparent; color: var(--color-neutral-light); border-color: rgba(239,246,255,0.5); }
.btn--ghost:hover { background: rgba(255,255,255,0.1); }
.btn--sm { padding: 0.55rem 1rem; font-size: 0.88rem; }

/* === Hero (fullscreen) === */
.hero-fs {
  position: relative;
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--color-neutral-light);
}
.hero-fs--short { min-height: 60vh; }
.hero-fs__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-fs__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,27,61,0.55), rgba(15,27,61,0.75)); z-index: 1; }
.hero-fs__content { position: relative; z-index: 2; max-width: 780px; padding-block: 4rem; }
.hero-fs__content h1 { color: #fff; max-width: 18ch; }
.hero-fs__content .lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(239,246,255,0.92); max-width: 52ch; margin-bottom: 2rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 600; color: var(--color-accent); margin-bottom: 1rem; }

/* === Sections === */
.section { padding-block: 4rem; }
@media (min-width: 768px) { .section { padding-block: 6rem; } }
.section--tinted { background: var(--color-neutral-light); }
.section--narrow .container, .section.section--narrow { max-width: 760px; margin-inline: auto; }
.section__sub { color: var(--color-muted); font-size: 1.05rem; max-width: 60ch; margin-top: -0.25rem; margin-bottom: 2rem; }
.prose { font-size: 1.05rem; line-height: 1.75; color: var(--color-ink); max-width: 68ch; }

/* === Grid === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; margin-top: 2rem; }
@media (min-width: 640px) { .grid--3, .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 rgba(30,58,138,0.08);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card .icon { color: var(--color-primary); margin-bottom: 1rem; width: 32px; height: 32px; }
.card h3 { color: var(--color-neutral-dark); margin-bottom: 0.5rem; }
.card p { color: var(--color-ink); font-size: 0.98rem; margin: 0; }

/* === Split === */
.split { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 1fr; gap: 4rem; } }
.split--reverse .split__media { order: -1; }
@media (min-width: 900px) { .split--reverse .split__media { order: 2; } .split--reverse .split__text { order: 1; } }
.split__media img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow-md); }

/* === Quote === */
.section--quote { padding-block: 4rem; background: var(--color-neutral-dark); color: var(--color-neutral-light); text-align: center; }
.section--quote blockquote { margin: 0 auto; max-width: 46rem; font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.55; font-style: italic; }
.section--quote blockquote p { margin-bottom: 1.25rem; }
.section--quote cite { font-style: normal; font-family: var(--font-body); font-size: 0.95rem; letter-spacing: 0.05em; color: rgba(239,246,255,0.7); }

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

/* === FAQ === */
.faq { margin-top: 2rem; border-top: 1px solid rgba(30,58,138,0.12); }
.faq details { border-bottom: 1px solid rgba(30,58,138,0.12); padding: 1.25rem 0; }
.faq summary { list-style: none; cursor: pointer; font-weight: 600; color: var(--color-neutral-dark); font-family: var(--font-heading); font-size: 1.1rem; 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-accent); font-size: 1.5rem; line-height: 1; font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 0.75rem; color: var(--color-ink); }

/* === Contact grid === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; } }
.contact-address { font-style: normal; margin-bottom: 1.5rem; line-height: 1.7; }
.hours { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.hours caption { text-align: left; font-weight: 600; margin-bottom: 0.5rem; color: var(--color-neutral-dark); font-family: var(--font-heading); }
.hours th, .hours td { text-align: left; padding: 0.5rem 0; border-bottom: 1px solid rgba(30,58,138,0.1); font-weight: 400; }
.hours th { color: var(--color-muted); font-weight: 500; }

/* === Form === */
.contact-form { background: #fff; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid rgba(30,58,138,0.08); display: grid; gap: 1.1rem; }
.contact-form h2 { margin-bottom: 0.5rem; }
.contact-form label { display: grid; gap: 0.4rem; font-size: 0.92rem; font-weight: 500; color: var(--color-neutral-dark); }
.contact-form input, .contact-form textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(30,58,138,0.2);
  background: #fff;
  color: var(--color-ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(59,130,246,0.15); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.form-consent { display: flex; flex-direction: row; align-items: flex-start; gap: 0.6rem; font-weight: 400; font-size: 0.88rem; color: var(--color-muted); line-height: 1.5; }
.form-consent input { margin-top: 0.2rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(239,246,255,0.85); padding-top: 3.5rem; padding-bottom: 1.5rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.site-footer .logo img { height: 64px; }
.footer-tagline { color: rgba(239,246,255,0.7); font-family: var(--font-heading); font-style: italic; margin-top: 0.75rem; max-width: 30ch; }
.site-footer h4 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--font-body); font-weight: 600; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.site-footer a { color: rgba(239,246,255,0.85); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.8; margin-bottom: 1rem; }
.footer-legal { display: flex !important; flex-wrap: wrap; gap: 1rem !important; margin-top: 0.5rem !important; }
.footer-legal a { font-size: 0.88rem; }
.footer-bottom { border-top: 1px solid rgba(239,246,255,0.12); margin-top: 2.5rem; padding-top: 1.25rem; font-size: 0.85rem; color: rgba(239,246,255,0.6); }
.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);
  box-shadow: 0 20px 50px -15px rgba(15,27,61,0.5);
  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: 0.6rem; }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: 0.6rem; padding-top: 1rem; border-top: 1px solid rgba(239,246,255,0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.92rem; }
.cookie-banner__prefs button { margin-top: 0.5rem; justify-self: start; }
