:root {
  --color-primary: #0369A1;
  --color-secondary: #0EA5E9;
  --color-accent: #CA8A04;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --color-text: #0F172A;
  --color-muted: #475569;
  --color-border: rgba(12, 74, 110, 0.14);
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 8px;
  --shadow-sm: 0 2px 6px rgba(12, 74, 110, 0.06);
  --shadow-md: 0 20px 40px -20px rgba(12, 74, 110, 0.25);
}

/* === Base === */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
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); line-height: 1.2; margin: 0 0 1rem; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.125rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.container--narrow { max-width: 780px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin: 0 0 0.75rem;
}

/* === Header === */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  position: sticky; top: 0; z-index: 50;
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 0.75rem;
  gap: 1rem;
}
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  background: none; border: 0; padding: 0.5rem; cursor: pointer;
  display: inline-flex; flex-direction: column; gap: 4px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--color-neutral-dark); display: block; }
.primary-nav {
  display: none; flex-direction: column; gap: 0.25rem;
  position: absolute; top: 100%; left: 0; right: 0;
  background: #ffffff; border-bottom: 1px solid var(--color-border);
  padding: 0.75rem 1.25rem 1.25rem;
}
.primary-nav.is-open { display: flex; }
.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; flex-direction: row; gap: 1.75rem;
    position: static; padding: 0; border: 0;
  }
  .primary-nav a { border: 0; padding: 0.25rem 0; }
}

/* === Buttons === */
.btn {
  display: inline-block; padding: 0.85rem 1.5rem;
  border-radius: var(--radius); font-weight: 600;
  font-family: var(--font-body); font-size: 1rem;
  border: 0; cursor: pointer; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn--primary { background: var(--color-primary); color: #ffffff; }
.btn--primary:hover { background: var(--color-neutral-dark); text-decoration: none; }
.btn--accent { background: var(--color-accent); color: #ffffff; }
.btn--accent:hover { background: #a06d03; text-decoration: none; }
.btn--ghost { background: transparent; color: var(--color-neutral-light); border: 1px solid rgba(240, 249, 255, 0.4); }
.btn--ghost:hover { background: rgba(240, 249, 255, 0.1); }

/* === Hero (stacked) === */
.hero--stacked { padding-block: 2.5rem 3rem; background: var(--color-neutral-light); }
.hero--stacked h1 { max-width: 22ch; }
.hero__figure {
  margin: 1.75rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.hero__figure img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.hero__sub { font-size: 1.15rem; color: var(--color-muted); max-width: 60ch; margin: 1rem 0 1.5rem; }
.hero__cta { margin: 1.5rem 0 0; }
@media (min-width: 768px) {
  .hero--stacked { padding-block: 4rem 4.5rem; }
  .hero__figure { margin: 2.5rem 0; }
}

/* === Sections === */
.section { padding-block: 3rem; }
.section--alt { background: var(--color-neutral-light); }
.section__head { text-align: center; max-width: 60ch; margin: 0 auto 2rem; }
.section__head p { color: var(--color-muted); }
.section__figure { margin: 0 0 2rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.section__figure img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
@media (min-width: 768px) {
  .section { padding-block: 4.5rem; }
}

.section--intro h2 { text-align: left; }
.section--intro p { font-size: 1.1rem; line-height: 1.75; color: var(--color-text); }

/* === Grid & cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 0.6rem;
}
.card .icon { color: var(--color-primary); margin-bottom: 0.25rem; }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--color-muted); }
a.card-link { color: inherit; text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease; }
a.card-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }
a.card-link h3 { color: var(--color-primary); }

/* === Pull quote === */
.section--quote { background: var(--color-neutral-light); padding-block: 3.5rem; }
.pull-quote { margin: 0; text-align: center; }
.pull-quote p {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  line-height: 1.5;
  color: var(--color-neutral-dark);
  font-style: italic;
  max-width: 60ch;
  margin: 0 auto 1.25rem;
}
.pull-quote cite {
  font-style: normal;
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.95rem;
}

/* === CTA band === */
.cta-band {
  background: var(--color-primary);
  color: #ffffff;
  padding-block: 3rem;
  text-align: center;
}
.cta-band h2 { color: #ffffff; max-width: 32ch; margin: 0 auto 0.75rem; }
.cta-band p { color: rgba(240, 249, 255, 0.9); margin: 0 auto 1.25rem; max-width: 52ch; }

/* === Hours table === */
.hours { margin-top: 2rem; }
.hours table { width: 100%; border-collapse: collapse; max-width: 480px; }
.hours th, .hours td { text-align: left; padding: 0.55rem 0; border-bottom: 1px solid var(--color-border); }
.hours th { font-weight: 600; color: var(--color-neutral-dark); }
.hours td { color: var(--color-muted); }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.form-row { display: flex; flex-direction: column; gap: 0.35rem; }
.form-row label { font-weight: 600; color: var(--color-neutral-dark); font-size: 0.95rem; }
.form-row input, .form-row textarea {
  font-family: inherit; font-size: 1rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #ffffff; color: var(--color-text);
}
.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.92rem; color: var(--color-muted); }
.form-consent input { margin-top: 0.25rem; }

/* === FAQ === */
.section--faq details {
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}
.section--faq summary {
  cursor: pointer; font-weight: 600; color: var(--color-neutral-dark);
  font-family: var(--font-heading); font-size: 1.1rem;
  list-style: none;
}
.section--faq summary::-webkit-details-marker { display: none; }
.section--faq summary::after { content: '+'; float: right; color: var(--color-secondary); font-weight: 400; }
.section--faq details[open] summary::after { content: '−'; }
.section--faq details p { margin-top: 0.75rem; color: var(--color-muted); }

/* === Article layout === */
.article {
  max-width: 65ch;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}
.article__head { margin-bottom: 1rem; }
.article__head h1 { font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.15; margin-bottom: 1rem; }
.article__sub { font-size: 1.2rem; color: var(--color-muted); }
.article__hero { margin-block: 2rem; border-radius: var(--radius); overflow: hidden; }
.article__hero img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.article h2 { margin-top: 2.25rem; }
.article p { font-size: 1.1rem; line-height: 1.75; margin-block: 1.1rem; }
.article__back { margin-top: 2.5rem; }
.back-link { color: var(--color-primary); font-weight: 600; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: var(--color-neutral-light); margin-top: 3rem; padding-block: 3rem 1.25rem; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.site-footer h3 { color: #ffffff; font-size: 1rem; margin-bottom: 0.75rem; }
.site-footer a { color: rgba(240, 249, 255, 0.85); }
.site-footer a:hover { color: #ffffff; }
.site-footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer__legal { margin-top: 1rem !important; padding-top: 1rem !important; border-top: 1px solid rgba(240, 249, 255, 0.15); }
.site-footer__tag { color: rgba(240, 249, 255, 0.75); font-style: italic; }
.site-footer__base { border-top: 1px solid rgba(240, 249, 255, 0.15); margin-top: 2rem; padding-top: 1rem; font-size: 0.9rem; color: rgba(240, 249, 255, 0.65); }
.logo--footer img { height: 60px; filter: brightness(0) invert(1); }

@media (min-width: 768px) {
  .site-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.35rem; border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  max-width: 640px;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.85rem; font-size: 0.95rem; color: rgba(240, 249, 255, 0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions .btn { padding: 0.55rem 0.95rem; font-size: 0.9rem; }
.cookie-banner__prefs { margin-top: 0.85rem; display: flex; flex-direction: column; gap: 0.5rem; padding-top: 0.85rem; border-top: 1px solid rgba(240, 249, 255, 0.15); }
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; font-size: 0.9rem; }
@media (min-width: 640px) {
  .cookie-banner { left: auto; right: 1.5rem; bottom: 1.5rem; width: 100%; }
}
