:root {
  --color-primary: #0F172A;
  --color-secondary: #334155;
  --color-accent: #0369A1;
  --color-neutral-dark: #020617;
  --color-neutral-light: #F8FAFC;
  --font-heading: 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --border-subtle: rgba(2, 6, 23, 0.1);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-primary);
  background: var(--color-neutral-light);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  font-weight: 600;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}
.logo img { height: 72px; width: auto; display: block; }
.logo--footer img { height: 64px; }
.site-nav {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  position: absolute; top: 100%; left: 0; right: 0;
  padding: 1rem 1.25rem;
  background: var(--color-neutral-light);
  border-bottom: 1px solid var(--border-subtle);
}
.site-nav.is-open { display: flex; }
.site-nav a {
  color: var(--color-primary);
  font-weight: 500;
  padding: 0.4rem 0;
}
.site-nav a[aria-current="page"] { color: var(--color-accent); }
.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 4px;
  background: none; border: 0; cursor: pointer; padding: 0.5rem;
}
.nav-toggle span {
  width: 22px; height: 2px; background: var(--color-primary); border-radius: 2px;
}

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .site-header { padding: 1rem 2rem; }
  .nav-toggle { display: none; }
  .site-nav {
    display: flex; flex-direction: row; position: static; padding: 0;
    background: transparent; border: 0; gap: 2rem;
  }
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 4px;
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s, background-color .15s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--color-neutral-light); color: var(--color-primary); }
.btn-primary:hover { background: #e2e8f0; }
.btn-accent { background: var(--color-accent); color: var(--color-neutral-light); }
.btn-accent:hover { background: #075985; }

/* === Hero (fullscreen) === */
.hero-fullscreen {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.25rem;
  background-color: var(--color-primary);
  background-size: cover;
  background-position: center;
  color: var(--color-neutral-light);
  overflow: hidden;
}
.hero--solid {
  background: linear-gradient(160deg, var(--color-primary), var(--color-secondary));
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(2, 6, 23, 0.55), rgba(2, 6, 23, 0.75));
}
.hero__inner {
  position: relative; z-index: 1;
  max-width: 780px;
  text-align: center;
}
.hero__inner h1 { color: var(--color-neutral-light); }
.hero__sub {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: rgba(248, 250, 252, 0.88);
  max-width: 56ch;
  margin: 0 auto 2rem;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  margin: 0 0 1rem;
}
.hero .eyebrow { color: #7dd3fc; }

/* === Sections === */
.section {
  padding: 4rem 1.25rem;
}
.section-narrow {
  max-width: 760px;
  margin: 0 auto;
}
.section-alt { background: #eef2f7; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section__sub {
  color: var(--color-secondary);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.section-narrow > .section__sub { text-align: left; }
@media (min-width: 768px) {
  .section { padding: 6rem 2rem; }
}

/* === Grid + cards === */
.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: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--color-neutral-light);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 1.75rem;
  transition: transform .18s ease, box-shadow .18s ease;
}
.section-alt .card { background: #ffffff; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-secondary); margin: 0; }
.card__icon { color: var(--color-accent); margin-bottom: 1rem; }
.card-link {
  display: block; color: inherit; text-decoration: none;
}
.card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -18px rgba(2, 6, 23, 0.4);
  text-decoration: none;
}
.card-link h3 { color: var(--color-accent); }

/* === Quote === */
.section-quote {
  padding: 5rem 1.25rem;
  background: var(--color-primary);
  color: var(--color-neutral-light);
}
.quote {
  max-width: 760px; margin: 0 auto; text-align: center;
  font-family: var(--font-heading);
}
.quote p {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.5;
  color: var(--color-neutral-light);
  font-weight: 400;
  margin-bottom: 1.5rem;
}
.quote cite {
  font-style: normal;
  font-size: 0.95rem;
  color: #94a3b8;
  letter-spacing: 0.02em;
}

/* === CTA band === */
.cta-band {
  background: var(--color-primary);
  color: var(--color-neutral-light);
  padding: 4rem 1.25rem;
  text-align: center;
}
.cta-band__inner { max-width: 720px; margin: 0 auto; }
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(248, 250, 252, 0.85); margin-bottom: 2rem; }

/* === Article layout === */
.article {
  max-width: 65ch;
  margin: 0 auto;
  padding: 3rem 1.25rem 2rem;
}
.article__head { margin-bottom: 2rem; }
.article__head h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.article__lede {
  font-size: 1.2rem;
  color: var(--color-secondary);
  line-height: 1.5;
}
.article__hero {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
  margin: 2rem 0 2.5rem;
  border-radius: 6px;
}
.article h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.article p {
  font-size: 1.1rem;
  line-height: 1.75;
  color: #1e293b;
  margin-bottom: 1.4rem;
}
.article__foot {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}
.back-link { font-weight: 500; }

/* === Contact === */
.contact-grid {
  display: grid;
  gap: 2.5rem;
  max-width: 1080px;
  margin: 0 auto;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; }
}
.contact-card, .contact-form-wrap {
  background: var(--color-neutral-light);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}
.contact-card address {
  font-style: normal;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.hours { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours th, .hours td {
  text-align: left;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
  font-weight: 400;
}
.hours th { color: var(--color-secondary); }

/* === Form === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.95rem; color: var(--color-secondary); font-weight: 500; }
.contact-form input, .contact-form textarea {
  font: inherit;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  background: #ffffff;
  color: var(--color-primary);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
  border-color: var(--color-accent);
}
.form-consent {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 0.6rem !important;
  font-size: 0.85rem;
  line-height: 1.45;
}
.form-consent input { margin-top: 0.2rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: #cbd5e1;
  padding: 3.5rem 1.25rem 1.5rem;
}
.site-footer__grid {
  display: grid;
  gap: 2rem;
  max-width: 1180px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
  .site-footer { padding: 4rem 2rem 1.5rem; }
}
.site-footer h3 {
  color: var(--color-neutral-light);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.site-footer a { color: #cbd5e1; display: inline-block; }
.site-footer a:hover { color: var(--color-neutral-light); }
.site-footer nav a { display: block; padding: 0.2rem 0; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-nav a { font-size: 0.9rem; }
.site-footer__copy {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(203, 213, 225, 0.15);
  font-size: 0.85rem;
  color: #94a3b8;
}

/* === Cookie banner === */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem;
  display: none;
  z-index: 9999;
  max-width: 640px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  border-radius: 8px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.6);
  font-size: 0.9rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; }
.cookie-banner__actions {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.cookie-banner__actions button, .cookie-banner__prefs button {
  font: inherit; padding: 0.5rem 1rem; border-radius: 4px;
  border: 1px solid rgba(248, 250, 252, 0.3);
  background: transparent; color: var(--color-neutral-light);
  cursor: pointer;
}
.cookie-banner__actions button:first-child {
  background: var(--color-accent); border-color: var(--color-accent);
}
.cookie-banner__actions button:hover { background: rgba(248,250,252,0.1); }
.cookie-banner__actions button:first-child:hover { background: #075985; }
.cookie-banner__prefs {
  display: flex; flex-direction: column; gap: 0.5rem;
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid rgba(248, 250, 252, 0.15);
}
.cookie-banner__prefs label {
  display: flex; align-items: center; gap: 0.5rem;
}
.cookie-banner__prefs button {
  align-self: flex-start; margin-top: 0.5rem;
  background: var(--color-accent); border-color: var(--color-accent);
}
