:root {
  --color-primary: #4F46E5;
  --color-secondary: #818CF8;
  --color-accent: #22C55E;
  --color-neutral-dark: #312E81;
  --color-neutral-light: #EEF2FF;
  --color-ink: #1C1B3A;
  --color-muted: #4B4A6A;
  --color-hairline: rgba(49, 46, 129, 0.14);
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow-card: 0 20px 40px -25px rgba(49, 46, 129, 0.35);
}

/* === Reset === */
*, *::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-ink);
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 600;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* === Layout === */
.container { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 720px; }
.section { padding-block: 3.5rem; }
.section--narrow { padding-block: 3.5rem; }
.section--narrow .container { max-width: 720px; }
.section--muted { background: var(--color-neutral-light); }
.section__head { text-align: center; margin-bottom: 2.5rem; }
.section__title-center { text-align: center; }
.eyebrow {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}
.lede { color: var(--color-muted); font-size: 1.125rem; }

/* === Header === */
.site-header {
  border-bottom: 1px solid var(--color-hairline);
  background: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 72px; width: auto; display: block; }
.logo--footer img { height: 64px; }
.nav-toggle {
  background: none;
  border: 1px solid var(--color-hairline);
  color: var(--color-neutral-dark);
  padding: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
}
.primary-nav {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  padding-block: 1rem 0.25rem;
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  text-decoration: none;
  color: var(--color-ink);
  font-weight: 500;
  padding: 0.5rem 0;
}
.primary-nav a.is-current { color: var(--color-primary); }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .logo--footer img { height: 80px; }
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex;
    flex-direction: row;
    width: auto;
    padding: 0;
    gap: 2rem;
  }
}

/* === Hero === */
.hero { padding-block: 3.5rem 2rem; text-align: center; }
.hero .container { display: flex; flex-direction: column; align-items: center; }
.hero h1 { max-width: 28ch; margin-inline: auto; }
.hero__sub {
  max-width: 52ch;
  margin: 0 auto 2rem;
  color: var(--color-muted);
  font-size: 1.1875rem;
}
.hero__cta { margin-bottom: 3rem; }
.hero__figure {
  margin: 2rem 0 0;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.hero__figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

@media (min-width: 768px) {
  .hero { padding-block: 6rem 3rem; }
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  border: none;
  cursor: pointer;
}
.btn--primary { background: var(--color-primary); color: #FFFFFF; }
.btn--primary:hover { background: var(--color-neutral-dark); color: #FFFFFF; transform: translateY(-1px); }
.btn--accent { background: var(--color-accent); color: #063921; }
.btn--accent:hover { background: #16A34A; color: #FFFFFF; transform: translateY(-1px); }

/* === Cards / grid === */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: 1fr 1fr; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: #FFFFFF;
  border: 1px solid var(--color-hairline);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}
.card__icon {
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { margin: 0; color: var(--color-muted); }
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 50px -20px rgba(49, 46, 129, 0.4);
  color: inherit;
}
.card-link h3 { color: var(--color-neutral-dark); }

/* === Quote === */
.quote {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1rem;
  text-align: center;
  border: none;
  font-family: var(--font-heading);
}
.quote p {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.5;
  color: var(--color-neutral-dark);
  font-weight: 500;
}
.quote cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* === CTA band === */
.cta-band {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding-block: 3.5rem;
  text-align: center;
}
.cta-band h2 { color: #FFFFFF; }
.cta-band p { color: #D8DBF0; max-width: 56ch; margin-inline: auto; }

/* === Contact grid & hours === */
.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.hours-table {
  width: 100%;
  border-collapse: collapse;
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.hours-table caption {
  text-align: left;
  font-weight: 600;
  color: var(--color-neutral-dark);
  padding: 1rem 1rem 0.5rem;
  caption-side: top;
}
.hours-table th, .hours-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-hairline);
  text-align: left;
  font-weight: 400;
}
.hours-table th { color: var(--color-muted); }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: none; }

/* === FAQ === */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  border-top: 1px solid var(--color-hairline);
  padding: 1.25rem 0;
}
.faq details:last-child { border-bottom: 1px solid var(--color-hairline); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-neutral-dark);
  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;
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 0.75rem; color: var(--color-muted); }

/* === Contact form === */
.contact-form {
  background: #FFFFFF;
  border: 1px solid var(--color-hairline);
  border-radius: 16px;
  padding: 2rem;
  margin-top: 1.5rem;
  box-shadow: var(--shadow-card);
}
.form-row { display: flex; flex-direction: column; gap: 0.375rem; margin-bottom: 1.25rem; }
.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.875rem;
  border: 1px solid var(--color-hairline);
  border-radius: 8px;
  background: #FBFBFF;
  color: var(--color-ink);
}
.form-row input:focus, .form-row 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);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.form-consent input { margin-top: 0.2rem; }

/* === Article detail === */
.article {
  max-width: 65ch;
  margin-inline: auto;
  padding: 3rem 1.25rem 4rem;
}
.article__head { margin-bottom: 2rem; }
.article__head h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.article__sub {
  font-size: 1.25rem;
  color: var(--color-muted);
  margin: 0;
}
.article__figure {
  margin: 0 0 2rem;
  border-radius: 12px;
  overflow: hidden;
}
.article__figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.article h2 {
  margin-top: 2.5rem;
  font-size: 1.5rem;
}
.article p {
  font-size: 1.125rem;
  line-height: 1.75;
  margin-block: 1.25rem;
}
.article__foot { margin-top: 3rem; }
.back-link {
  display: inline-block;
  text-decoration: none;
  color: var(--color-primary);
  font-weight: 600;
}
.back-link:hover { color: var(--color-neutral-dark); }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-light);
  border-top: 1px solid var(--color-hairline);
  padding-block: 3rem 1.5rem;
  margin-top: 2rem;
}
.site-footer__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.4fr; }
}
.footer-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-neutral-dark);
  margin-bottom: 1rem;
}
.footer-tagline { color: var(--color-muted); font-size: 0.95rem; }
.footer-nav, .footer-legal { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a, .footer-legal a {
  color: var(--color-ink);
  text-decoration: none;
}
.footer-nav a:hover, .footer-legal a:hover { color: var(--color-primary); text-decoration: underline; }
.footer-legal { margin-top: 1rem; font-size: 0.9rem; }
.footer-address {
  font-style: normal;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.footer-address a { color: var(--color-ink); text-decoration: none; }
.site-footer__base {
  border-top: 1px solid var(--color-hairline);
  margin-top: 2rem;
  padding-top: 1.25rem;
  color: var(--color-muted);
  font-size: 0.875rem;
  text-align: center;
}

/* === 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: 12px;
  max-width: 640px;
  margin-inline: auto;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.4);
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem; font-size: 0.925rem; line-height: 1.55; }
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.cookie-banner__actions button {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(238, 242, 255, 0.35);
  background: transparent;
  color: var(--color-neutral-light);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}
.cookie-banner__actions button[data-cookie-accept] {
  background: var(--color-accent);
  color: #063921;
  border-color: var(--color-accent);
  font-weight: 600;
}
.cookie-banner__actions button:hover { opacity: 0.9; }
.cookie-banner__prefs {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(238, 242, 255, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
}
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; }
.cookie-banner__prefs button {
  align-self: flex-start;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 999px;
  background: var(--color-neutral-light);
  color: var(--color-neutral-dark);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
