:root {
  --color-primary: #0891B2;
  --color-secondary: #22D3EE;
  --color-accent: #22C55E;
  --color-neutral-dark: #164E63;
  --color-neutral-light: #ECFEFF;
  --color-text: #0F2A33;
  --color-muted: #4B6A75;
  --color-hairline: rgba(22, 78, 99, 0.14);
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --radius: 10px;
  --shadow-card: 0 1px 2px rgba(22,78,99,0.05), 0 8px 24px -12px rgba(22,78,99,0.15);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; margin: 0 0 .75rem; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.2vw, 3rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.eyebrow { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; color: var(--color-primary); font-weight: 600; margin: 0 0 1rem; }

/* === Layout / sidebar === */
.layout { display: block; }
.sidebar {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 1.25rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 100;
}
.sidebar .logo { display: inline-flex; align-items: center; margin-right: auto; }
.sidebar .logo img { height: 72px; width: auto; display: block; }
.sidebar__foot { display: none; }
.sidebar__nav { display: none; width: 100%; flex-direction: column; gap: 0.25rem; padding-top: 0.5rem; }
.sidebar__nav.is-open { display: flex; }
.sidebar__nav a {
  color: var(--color-neutral-light);
  padding: 0.6rem 0;
  font-weight: 500;
  border-bottom: 1px solid rgba(236,254,255,0.1);
}
.sidebar__nav a.is-active { color: var(--color-secondary); }
.sidebar__nav a:hover { text-decoration: none; color: var(--color-secondary); }
.nav-toggle {
  background: transparent;
  border: 1px solid rgba(236,254,255,0.3);
  border-radius: 6px;
  padding: 0.5rem 0.6rem;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--color-neutral-light); }

.content { padding: 0; }

/* === Hero === */
.hero { padding: 2.5rem 1.25rem 1.5rem; max-width: 900px; margin: 0 auto; }
.hero h1 { max-width: 22ch; margin-bottom: 1rem; }
.hero__sub { font-size: 1.1rem; color: var(--color-muted); max-width: 60ch; margin-bottom: 1.5rem; }
.hero__cta { margin-bottom: 2rem; }
.hero__figure { margin: 2rem 0 0; }
.hero__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease;
  text-decoration: none;
  line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-neutral-dark); }
.btn--accent { background: var(--color-accent); color: #0b3a1a; }
.btn--accent:hover { background: #16a34a; color: #fff; }

/* === Sections === */
.section { padding: 3rem 1.25rem; max-width: 1100px; margin: 0 auto; }
.section--narrow { max-width: 720px; }
.section--muted { background: var(--color-neutral-light); }
.section__lede { font-size: 1.08rem; color: var(--color-muted); max-width: 60ch; margin-bottom: 2rem; }

/* === Grid & cards === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.card {
  background: #fff;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.card__icon { color: var(--color-primary); margin-bottom: 0.75rem; }
.card h3 { color: var(--color-neutral-dark); margin-bottom: 0.5rem; }
.card p { color: var(--color-text); margin: 0; font-size: 0.97rem; }
a.card-link { color: inherit; text-decoration: none; display: block; }
a.card-link:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(22,78,99,0.08), 0 20px 40px -18px rgba(22,78,99,0.25); text-decoration: none; }
a.card-link h3 { color: var(--color-primary); }

/* === Quote === */
.quote { max-width: 720px; margin: 0 auto; padding: 2rem 1.25rem; text-align: center; border: 0; }
.quote p { font-family: var(--font-heading); font-size: 1.35rem; line-height: 1.5; color: var(--color-neutral-dark); font-style: italic; margin-bottom: 1rem; }
.quote cite { font-style: normal; font-size: 0.92rem; color: var(--color-muted); letter-spacing: 0.02em; }

/* === Split === */
.section--split { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.split__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }

/* === CTA band === */
.cta-band {
  background: var(--color-primary);
  color: #fff;
  padding: 3rem 1.25rem;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 60ch; margin: 0 auto 1.5rem; }
.cta-band a { color: #fff; text-decoration: underline; }
.cta-band .btn { text-decoration: none; }

/* === Article === */
.article { max-width: 65ch; margin: 0 auto; padding: 2rem 1.25rem 1rem; }
.article__header { margin-bottom: 1.5rem; }
.article__header h1 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); line-height: 1.15; margin-bottom: 1rem; }
.article__sub { font-size: 1.15rem; color: var(--color-muted); margin: 0; }
.article__figure { margin: 2rem 0; }
.article__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.article h2 { font-size: 1.5rem; margin-top: 2.5rem; margin-bottom: 1rem; }
.article p { font-size: 1.06rem; line-height: 1.75; margin: 1rem 0; }
.article__back { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--color-hairline); }
.back-link { font-weight: 600; color: var(--color-primary); }

/* === Contact form === */
.contact-form { display: grid; gap: 1rem; max-width: 620px; }
.contact-form label { display: grid; gap: 0.35rem; font-size: 0.92rem; font-weight: 500; color: var(--color-neutral-dark); }
.contact-form input, .contact-form textarea {
  font: inherit;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--color-hairline);
  border-radius: 6px;
  background: #fff;
  color: var(--color-text);
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; }
.contact-form textarea { resize: vertical; min-height: 120px; }
.form-consent { display: flex; flex-direction: row; align-items: flex-start; gap: 0.6rem; font-size: 0.88rem; color: var(--color-muted); font-weight: 400; }
.form-consent input { margin-top: 0.15rem; }
.form-consent a { color: var(--color-primary); text-decoration: underline; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 3rem 1.25rem 2rem;
  margin-top: 2rem;
}
.site-footer__cols { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 1100px; margin: 0 auto; }
.site-footer__brand { font-family: var(--font-heading); font-size: 1.25rem; margin-bottom: 0.35rem; color: #fff; }
.site-footer a { color: var(--color-secondary); }
.site-footer nav { display: flex; flex-direction: column; gap: 0.4rem; }
.site-footer address { font-style: normal; line-height: 1.7; font-size: 0.95rem; }
.site-footer__copy { max-width: 1100px; margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(236,254,255,0.12); font-size: 0.85rem; color: rgba(236,254,255,0.7); }

/* === 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;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.35);
  max-width: 560px;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem; font-size: 0.92rem; line-height: 1.55; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button {
  font: inherit;
  border: 1px solid rgba(236,254,255,0.3);
  background: transparent;
  color: var(--color-neutral-light);
  padding: 0.55rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.88rem;
}
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); color: #0b3a1a; border-color: var(--color-accent); font-weight: 600; }
.cookie-banner__actions button:hover { background: rgba(236,254,255,0.1); }
.cookie-banner__actions button[data-cookie-accept]:hover { background: #16a34a; color: #fff; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner__prefs button {
  align-self: flex-start;
  margin-top: 0.5rem;
  font: inherit;
  border: 1px solid var(--color-secondary);
  background: var(--color-secondary);
  color: var(--color-neutral-dark);
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
}

/* === Responsive === */
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .sidebar .logo img { height: 96px; }
  .hero { padding: 4rem 2rem 2rem; }
  .section { padding: 4rem 2rem; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .section--split { grid-template-columns: 1.2fr 1fr; align-items: center; padding-block: 4rem; }
  .site-footer__cols { grid-template-columns: 1.4fr 1fr 1.4fr; }
  .cta-band { padding: 4rem 2rem; }
}
@media (min-width: 900px) {
  body.has-sidebar .layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
  }
  .sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    flex-direction: column;
    align-items: stretch;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }
  .sidebar .logo { margin-right: 0; }
  .sidebar .logo img { height: 84px; }
  .nav-toggle { display: none; }
  .sidebar__nav { display: flex !important; flex-direction: column; gap: 0.15rem; padding-top: 1rem; margin-top: 0.5rem; }
  .sidebar__nav a { border-bottom: 0; padding: 0.5rem 0; font-size: 0.98rem; }
  .sidebar__foot { display: block; margin-top: auto; font-size: 0.82rem; color: rgba(236,254,255,0.6); }
  .content { padding: 0; }
}
@media (min-width: 1100px) {
  body.has-sidebar .layout { grid-template-columns: 260px 1fr; }
  .hero { padding: 5rem 3rem 2rem; }
  .section { padding: 4.5rem 3rem; }
}
