: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);
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 12px;
  --shadow-soft: 0 20px 40px -20px rgba(2, 6, 23, 0.25);
}

/* === Base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-primary);
  background: var(--color-neutral-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
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.25rem, 5vw, 3.75rem); font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent);
  margin: 0 0 0.75rem;
}

/* === 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);
}
.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo { display: inline-block; line-height: 0; }
.logo img { height: 72px; width: auto; }
.primary-nav {
  display: none;
  gap: 1.75rem;
  align-items: center;
}
.primary-nav a {
  color: var(--color-primary);
  font-weight: 500;
  font-size: 0.95rem;
}
.primary-nav a[aria-current="page"] { color: var(--color-accent); }
.nav-toggle {
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--color-primary);
  transition: transform 0.2s;
}
.primary-nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--color-neutral-light);
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  gap: 1rem;
}

/* === Hero fullscreen === */
.hero-fullscreen {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--color-neutral-light);
}
.hero-fullscreen__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-fullscreen__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(2, 6, 23, 0.55), rgba(2, 6, 23, 0.75));
  z-index: 1;
}
.hero-fullscreen__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 4rem 1.5rem;
  text-align: center;
}
.hero-fullscreen__content h1 { color: var(--color-neutral-light); }
.hero-fullscreen__content .eyebrow { color: #7DD3FC; }
.hero-fullscreen__sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(248, 250, 252, 0.85);
  max-width: 56ch;
  margin: 0 auto 2rem;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn--primary {
  background: var(--color-accent);
  color: var(--color-neutral-light);
}
.btn--accent {
  background: var(--color-neutral-light);
  color: var(--color-primary);
}

/* === Sections === */
.section {
  padding: 4rem 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section--narrow { max-width: 780px; }
.section--muted {
  max-width: none;
  background: #EEF2F6;
}
.section--muted > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.section--center { text-align: center; }
.section__head {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.section__head p { color: var(--color-secondary); }
.lead {
  font-size: 1.05rem;
  color: var(--color-secondary);
  line-height: 1.75;
}

/* === Grids === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.card {
  background: var(--color-neutral-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.15s, box-shadow 0.15s;
}
.card__icon { color: var(--color-accent); margin-bottom: 0.75rem; }
.card p { color: var(--color-secondary); margin: 0; }
.card-link {
  color: var(--color-primary);
  text-decoration: none;
  display: block;
}
.card-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
}

/* === Testimonial === */
.testimonial { max-width: 820px; }
.testimonial blockquote {
  margin: 0;
  text-align: center;
  border-left: 3px solid var(--color-accent);
  padding: 1rem 1.5rem;
}
.testimonial blockquote p {
  font-size: 1.25rem;
  color: var(--color-primary);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1rem;
}
.testimonial cite {
  font-style: normal;
  color: var(--color-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

/* === CTA band === */
.cta-band {
  background: var(--color-primary);
  color: var(--color-neutral-light);
  padding: 4rem 1.5rem;
  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: 1.5rem; }
.cta-band__meta { font-size: 0.9rem; }

/* === Split === */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  grid-template-columns: 1fr;
}
.split__media img {
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  width: 100%;
}

/* === Article detail === */
.article-detail {
  max-width: 65ch;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}
.article-detail__header { margin-bottom: 2rem; }
.article-detail__header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.article-detail__sub {
  font-size: 1.25rem;
  color: var(--color-secondary);
  line-height: 1.5;
}
.article-detail__hero {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 8px;
  margin: 2rem 0;
}
.article-detail__body p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin: 1.25rem 0;
  color: var(--color-primary);
}
.article-detail__footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}
.back-link { font-weight: 500; }

/* === Contact === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.contact-info h3 { margin-top: 2rem; }
.hours {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hours li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-secondary);
}
.contact-form {
  background: var(--color-neutral-light);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-secondary);
}
.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: #fff;
  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;
  font-size: 0.85rem;
  color: var(--color-secondary);
  font-weight: 400;
}
.form-consent input { width: auto; margin-top: 0.2rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(248, 250, 252, 0.85);
  padding: 3.5rem 1.25rem 1.5rem;
  margin-top: 0;
}
.site-footer__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.site-footer h4 {
  color: var(--color-neutral-light);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.site-footer a { color: rgba(248, 250, 252, 0.85); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 0.25rem 0; }
.legal-links { margin-top: 1rem; font-size: 0.85rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 0.5rem; }
.copyright {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(248, 250, 252, 0.12);
  font-size: 0.85rem;
  color: rgba(248, 250, 252, 0.6);
}
.logo--footer img { height: 60px; }

/* === Cookie banner === */
.consent-panel {
  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: 0 20px 50px -15px rgba(0, 0, 0, 0.5);
  max-width: 640px;
  margin: 0 auto;
}
.consent-panel.is-visible { display: block; }
.consent-panel p { margin: 0 0 1rem; font-size: 0.9rem; }
.consent-panel__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.consent-panel button {
  font-family: inherit;
  font-size: 0.85rem;
  padding: 0.55rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(248, 250, 252, 0.25);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
}
.consent-panel button[data-cookie-accept] {
  background: var(--color-accent);
  border-color: var(--color-accent);
}
.consent-panel__prefs {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
}
.consent-panel__prefs label { display: flex; gap: 0.5rem; align-items: center; }
.consent-panel__prefs button {
  align-self: flex-start;
  margin-top: 0.5rem;
  background: var(--color-accent);
  border-color: var(--color-accent);
}

/* === Responsive === */
@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex;
    position: static;
    padding: 0;
    background: none;
    border: none;
  }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .contact-grid { grid-template-columns: 1fr 1.3fr; gap: 3rem; }
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.4fr; gap: 3rem; }
  .section { padding: 6rem 1.5rem; }
}
@media (min-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
