/* === Tokens === */
:root {
  --color-primary: #0F172A;
  --color-secondary: #334155;
  --color-accent: #0369A1;
  --color-neutral-dark: #020617;
  --color-neutral-light: #F8FAFC;
  --color-border: rgba(15, 23, 42, 0.12);
  --color-muted: #64748B;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --max-width: 1180px;
  --radius-lg: 24px;
  --radius-md: 12px;
  --shadow-lg: 0 30px 60px -30px rgba(2, 6, 23, 0.35);
  --shadow-md: 0 12px 30px -18px rgba(2, 6, 23, 0.35);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-primary);
  background: var(--color-neutral-light);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; height: auto; }
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); letter-spacing: -0.01em; line-height: 1.2; margin: 0 0 0.75rem; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
p { margin: 0 0 1rem; }
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: 780px; }

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

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; align-items: center; gap: 1.4rem; position: static; padding: 0; background: transparent; border: 0; box-shadow: none; }
  .primary-nav a { padding: 0; }
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn {
  display: inline-block; font-family: var(--font-heading); font-weight: 600;
  padding: 0.85rem 1.5rem; border-radius: 999px; text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  border: 1px solid transparent; cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--color-primary); color: var(--color-neutral-light); }
.btn-primary:hover { background: var(--color-secondary); }
.btn-accent { background: var(--color-accent); color: var(--color-neutral-light); }
.btn-accent:hover { background: #024b7a; }
.btn-outline { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: var(--color-neutral-light); }

/* === Hero card === */
.hero { padding-block: 3rem 4rem; background: linear-gradient(180deg, #eef2f6 0%, var(--color-neutral-light) 100%); }
.hero-card__inner {
  max-width: 880px; margin: 0 auto;
  background: var(--color-neutral-light);
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  text-align: left;
}
.eyebrow { font-family: var(--font-heading); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-accent); margin: 0 0 0.9rem; }
.lede { font-size: 1.15rem; color: var(--color-secondary); margin-bottom: 1.5rem; }
.hero-card__inner .btn { margin-bottom: 2rem; }
.hero-card__figure { margin: 0; border-radius: var(--radius-md); overflow: hidden; }
.hero-card__figure img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

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

/* === Sections === */
.section { padding-block: 3.5rem; }
.section-alt { background: #eef2f6; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head h2 { margin-bottom: 0.75rem; }
.section-intro .figure-wide { margin: 2rem 0; }
.figure-wide { margin: 2rem 0; border-radius: var(--radius-md); overflow: hidden; }
.figure-wide img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

@media (min-width: 768px) {
  .section { padding-block: 5rem; }
}

/* === Grid & cards === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@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: var(--color-neutral-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.4rem;
  box-shadow: var(--shadow-md);
  display: block;
}
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--color-secondary); margin: 0; font-size: 0.98rem; }
.card .icon { color: var(--color-accent); margin-bottom: 1rem; }
a.card-link { text-decoration: none; color: inherit; transition: transform 0.15s ease, box-shadow 0.15s ease; }
a.card-link:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 20px 40px -20px rgba(2, 6, 23, 0.4); }

/* === Quote === */
.section-quote { background: var(--color-primary); color: var(--color-neutral-light); }
.section-quote blockquote { margin: 0; text-align: center; }
.section-quote blockquote p { font-family: var(--font-heading); font-weight: 500; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.5; margin-bottom: 1.2rem; color: var(--color-neutral-light); }
.section-quote cite { display: block; font-style: normal; font-size: 0.95rem; color: #94a3b8; letter-spacing: 0.02em; }

/* === CTA band === */
.cta-band { background: var(--color-accent); color: var(--color-neutral-light); padding-block: 3.5rem; text-align: center; }
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(248, 250, 252, 0.9); margin-bottom: 1.5rem; }
.cta-band .btn-accent { background: var(--color-neutral-light); color: var(--color-accent); }
.cta-band .btn-accent:hover { background: var(--color-primary); color: var(--color-neutral-light); }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.contact-block { background: var(--color-neutral-light); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.75rem; }
.contact-block h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-muted); margin-top: 1rem; margin-bottom: 0.3rem; }
.contact-block h3:first-child { margin-top: 0; }
.contact-block address { font-style: normal; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { text-align: left; padding: 0.55rem 0; border-bottom: 1px solid var(--color-border); font-weight: 400; }
.hours-table th { font-family: var(--font-heading); font-weight: 600; }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: flex; flex-direction: column; gap: 0.35rem; }
.form-row label { font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; color: var(--color-secondary); }
.form-row input, .form-row textarea, .form-row select {
  font-family: var(--font-body); font-size: 1rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-neutral-light);
  color: var(--color-primary);
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: 2px solid var(--color-accent); outline-offset: 1px; border-color: transparent; }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--color-secondary); flex-wrap: wrap; }
.form-consent input { margin-top: 0.25rem; }

/* === Footer === */
.site-footer { background: var(--color-primary); color: #cbd5e1; padding-top: 3rem; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1.2fr; } }
.site-footer h4 { color: var(--color-neutral-light); margin-bottom: 0.9rem; }
.site-footer .logo img { height: 60px; }
.tagline { color: #94a3b8; margin-top: 0.75rem; font-size: 0.95rem; }
.footer-nav, .footer-legal { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-nav a, .footer-legal a, .site-footer a { color: #cbd5e1; }
.footer-nav a:hover, .footer-legal a:hover, .site-footer a:hover { color: var(--color-neutral-light); }
.footer-contact address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.footer-legal { flex-direction: row; gap: 1rem; margin-top: 0.5rem; font-size: 0.9rem; }
.copyright { padding: 1.25rem 0; border-top: 1px solid rgba(203, 213, 225, 0.15); font-size: 0.85rem; color: #94a3b8; 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.1rem 1.25rem;
  border-radius: 12px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.6);
  max-width: 640px;
  margin: 0 auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem; font-size: 0.92rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button { font-family: var(--font-heading); font-weight: 600; font-size: 0.85rem; padding: 0.5rem 0.9rem; border-radius: 6px; border: 1px solid rgba(248, 250, 252, 0.25); background: transparent; color: var(--color-neutral-light); cursor: pointer; }
.cookie-banner button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); }
.cookie-banner__prefs { margin-top: 0.9rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.88rem; }
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; }
