:root {
  --color-primary: #4F46E5;
  --color-secondary: #818CF8;
  --color-accent: #22C55E;
  --color-neutral-dark: #312E81;
  --color-neutral-light: #EEF2FF;
  --color-text: #1E1B4B;
  --color-muted: #4B5563;
  --color-border: rgba(49, 46, 129, 0.12);
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --radius: 12px;
  --shadow-sm: 0 8px 24px -12px rgba(49, 46, 129, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(49, 46, 129, 0.35);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #ffffff;
  line-height: 1.6;
  -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 1rem;
  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; }

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

.eyebrow {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  margin: 0 0 1rem;
  font-weight: 600;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-neutral-dark); }
.btn--accent { background: var(--color-accent); color: #052e16; }
.btn--accent:hover { background: #16a34a; color: #fff; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 0.9rem;
  gap: 1rem;
}
.logo { display: inline-block; line-height: 0; }
.logo img { height: 72px; width: auto; }
.primary-nav {
  display: none;
  gap: 1.5rem;
  align-items: center;
}
.primary-nav a {
  font-family: var(--font-heading);
  font-size: 0.94rem;
  color: var(--color-neutral-dark);
  font-weight: 500;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] {
  color: var(--color-primary); text-decoration: none;
}
.nav-toggle {
  display: flex; flex-direction: column; gap: 5px;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--color-border);
  border-radius: 8px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--color-neutral-dark);
}
.primary-nav.is-open {
  display: flex; flex-direction: column; align-items: flex-start;
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; padding: 1.25rem; gap: 0.9rem;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; }
}

/* === Hero (split) === */
.hero {
  padding-block: 3rem 3.5rem;
  background: linear-gradient(180deg, var(--color-neutral-light) 0%, #ffffff 100%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.hero__text h1 { max-width: 18ch; }
.hero__sub {
  font-size: 1.125rem;
  color: var(--color-muted);
  max-width: 52ch;
  margin-bottom: 1.75rem;
}
.hero__media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 900px) {
  .hero { padding-block: 5.5rem 6rem; }
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* === Sections === */
.section { padding-block: 4rem; }
.section--tint { background: var(--color-neutral-light); }
.section--narrow .container { max-width: 760px; }
.section--narrow p { font-size: 1.0625rem; color: var(--color-muted); }
.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.section__head p { color: var(--color-muted); }
.lede { font-size: 1.125rem; color: var(--color-muted); }
.inline-figure {
  margin-top: 2rem;
  border-radius: var(--radius);
  aspect-ratio: 16/9;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

/* === Grid + cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@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 var(--color-border);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card h3 { color: var(--color-neutral-dark); }
.card p { color: var(--color-muted); margin: 0; }
.card .icon {
  width: 32px; height: 32px;
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card-link { text-decoration: none; color: inherit; display: block; }
.card-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

/* === Testimonial === */
.testimonial { background: #fff; }
.testimonial blockquote {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1rem;
}
.testimonial blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 500;
  color: var(--color-neutral-dark);
  line-height: 1.4;
  margin-bottom: 1.25rem;
}
.testimonial cite {
  font-style: normal;
  color: var(--color-muted);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

/* === CTA band === */
.cta-band {
  background: var(--color-primary);
  color: #fff;
  padding-block: 3.5rem;
}
.cta-band__inner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0; }
@media (min-width: 800px) {
  .cta-band__inner { grid-template-columns: 1fr auto; gap: 2.5rem; }
}

/* === Contact card === */
.contact-card {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 800px) { .contact-card { grid-template-columns: 1.2fr 1fr; } }
.hours {
  width: 100%; border-collapse: collapse;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.hours caption {
  text-align: left; font-family: var(--font-heading); font-weight: 600;
  color: var(--color-neutral-dark); padding: 1rem 1.25rem; background: #fff;
}
.hours th, .hours td {
  padding: 0.7rem 1.25rem;
  text-align: left; border-top: 1px solid var(--color-border);
  font-size: 0.95rem;
}
.hours th { font-weight: 600; color: var(--color-neutral-dark); }
.hours td { color: var(--color-muted); }

/* === Form === */
.form-wrap { max-width: 720px; }
.contact-form {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: grid; gap: 1.25rem;
}
.field { display: grid; gap: 0.4rem; }
.field label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--color-neutral-dark);
  font-weight: 600;
}
.field input, .field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: #fff;
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
  border-color: var(--color-primary);
}
.form-consent {
  display: flex; gap: 0.6rem; align-items: flex-start;
  font-size: 0.9rem; color: var(--color-muted);
  flex-wrap: wrap;
}
.form-consent input { margin-top: 0.25rem; }

/* === Map placeholder === */
.map-placeholder {
  background: var(--color-neutral-light);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  min-height: 300px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--color-primary);
  padding: 2rem;
  text-align: center;
}
.map-placeholder p {
  color: var(--color-neutral-dark);
  font-family: var(--font-heading);
  font-weight: 500;
  margin: 0.75rem 0 0;
}

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(255,255,255,0.85);
  padding-block: 3rem 1.5rem;
  margin-top: 2rem;
}
.site-footer a { color: #fff; }
.site-footer h4 {
  color: #fff; font-size: 1rem; margin-bottom: 1rem;
  font-family: var(--font-heading); letter-spacing: 0.02em;
}
.site-footer .logo img { filter: brightness(0) invert(1); height: 60px; }
.site-footer__grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
@media (min-width: 800px) {
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.3fr; }
}
.footer-nav { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-nav a { font-size: 0.95rem; }
.footer-contact address { font-style: normal; font-size: 0.95rem; line-height: 1.7; margin-bottom: 1rem; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.9rem; }
.tagline { color: rgba(255,255,255,0.75); margin-top: 0.75rem; font-size: 0.95rem; }
.copyright {
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* === 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-lg);
  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; gap: 0.6rem; flex-wrap: wrap;
}
.cookie-banner button {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
}
.cookie-banner button[data-cookie-accept] {
  background: var(--color-accent); color: #052e16; border-color: var(--color-accent);
}
.cookie-banner__prefs {
  margin-top: 1rem;
  display: grid; gap: 0.6rem;
  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;
  font-size: 0.92rem;
}
.cookie-banner__prefs button {
  justify-self: start; margin-top: 0.5rem;
  background: var(--color-primary); border-color: var(--color-primary);
}
