:root {
  --color-primary: #0F766E;
  --color-secondary: #14B8A6;
  --color-accent: #0369A1;
  --color-neutral-dark: #134E4A;
  --color-neutral-light: #F0FDFA;
  --color-text: #0b3a37;
  --color-muted: #4b6b68;
  --color-border: rgba(19, 78, 74, 0.14);
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --shadow-sm: 0 6px 20px -14px rgba(19, 78, 74, 0.35);
  --shadow-md: 0 20px 40px -24px rgba(19, 78, 74, 0.4);
  --radius: 12px;
}

*, *::before, *::after { 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;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--color-primary); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  line-height: 1.2;
  font-weight: 600;
  margin: 0 0 0.75rem 0;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; font-weight: 600; }

p { margin: 0 0 1rem 0; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* === Layout === */
.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 720px; }

/* === Header === */
.site-header {
  border-bottom: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.92);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(8px);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 0.75rem;
  gap: 1rem;
}
.logo { display: inline-block; line-height: 0; text-decoration: none; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) {
  .logo img { height: 96px; }
}
.nav-toggle {
  border: 0; background: transparent; color: var(--color-neutral-dark);
  padding: 0.5rem; cursor: pointer; line-height: 0;
}
.primary-nav {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--color-border);
  padding: 1rem 1.25rem;
  flex-direction: column; gap: 0.75rem;
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  color: var(--color-neutral-dark); text-decoration: none;
  font-weight: 500; padding-block: 0.35rem;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex; position: static; flex-direction: row;
    background: transparent; border: 0; padding: 0; gap: 1.75rem;
  }
  .primary-nav a:hover { color: var(--color-primary); }
}

/* === Hero split === */
.hero { padding-block: 3rem; background: var(--color-neutral-light); }
.hero-split__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.hero-split__text .eyebrow, .eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.8rem; font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 0.75rem 0;
}
.hero-split__text h1 { max-width: 22ch; }
.hero-split__text .sub {
  font-size: 1.15rem; color: var(--color-muted); max-width: 46ch;
  margin-bottom: 1.5rem;
}
.hero-split__media img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-md);
}

@media (min-width: 900px) {
  .hero { padding-block: 5rem; }
  .hero-split__grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .hero-split__media img { aspect-ratio: 4/5; }
}

/* === Buttons === */
.btn {
  display: inline-block; text-decoration: none;
  padding: 0.85rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: 0.98rem;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
  font-family: var(--font-body);
  line-height: 1.2;
}
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-neutral-dark); color: #fff; }
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { background: var(--color-primary); color: #fff; }

/* === Sections === */
.section { padding-block: 3.5rem; }
.section--narrow { padding-block: 3rem; }
.section--narrow .container { max-width: 780px; }
.section--muted { background: var(--color-neutral-light); }
.section--first { padding-top: 4rem; }

.section__head { text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: 2.25rem; }
.section__sub { color: var(--color-muted); font-size: 1.05rem; margin: 0; }

.lede { font-size: 1.08rem; color: var(--color-text); }

/* === Grids === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .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: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 1.5rem;
  height: 100%;
}
.card h3 { margin-top: 0.5rem; }
.card p { margin-bottom: 0; color: var(--color-text); }
.card .icon { color: var(--color-primary); }
.card--article h3 { margin-top: 0; }
.card--article .read-more {
  display: inline-block; margin-top: 0.75rem;
  color: var(--color-accent); font-weight: 600;
  font-size: 0.95rem;
}
.card-link {
  display: block; text-decoration: none; color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card-link:hover { transform: translateY(-2px); }
.card-link:hover .card { box-shadow: var(--shadow-md); border-color: var(--color-secondary); }

/* === Pull quote === */
.pull-quote {
  max-width: 720px; margin: 0 auto; text-align: center;
  border: 0; padding: 1rem;
}
.pull-quote p {
  font-family: var(--font-heading); font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.5; color: var(--color-neutral-dark);
  margin-bottom: 1.25rem;
  position: relative;
}
.pull-quote cite {
  font-style: normal; font-weight: 600; color: var(--color-muted);
  font-size: 0.95rem;
}

/* === CTA band === */
.cta-band {
  background: var(--color-primary); color: #fff;
  padding-block: 3rem;
}
.cta-band h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-band p { color: rgba(240, 253, 250, 0.85); margin-bottom: 1.25rem; }
.cta-band__inner {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem;
}
.cta-band .btn--accent { background: var(--color-neutral-light); color: var(--color-neutral-dark); }
.cta-band .btn--accent:hover { background: #fff; color: var(--color-primary); }
@media (min-width: 768px) {
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .cta-band__inner p { margin-bottom: 0; }
}

/* === Article === */
.article {
  max-width: 65ch; margin-inline: auto;
  padding-inline: 1rem; padding-block: 3rem;
}
.article__head { margin-bottom: 1.5rem; }
.article__head h1 {
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15;
  margin-bottom: 1rem;
}
.article__sub { font-size: 1.2rem; color: var(--color-muted); margin: 0; }
.article__hero {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: 8px; margin-block: 2rem;
}
.article__body p { font-size: 1.125rem; line-height: 1.75; margin-block: 1.25rem; }
.article__foot { margin-top: 3rem; }
.back-link {
  display: inline-block; color: var(--color-primary);
  font-weight: 600; text-decoration: none;
}
.back-link:hover { color: var(--color-neutral-dark); }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-weight: 600; color: var(--color-neutral-dark); font-size: 0.95rem; }
.form-row input, .form-row textarea {
  font: inherit; color: var(--color-text);
  padding: 0.75rem 0.85rem;
  border: 1.5px solid var(--color-border); border-radius: 8px;
  background: #fff;
}
.form-row input:focus, .form-row textarea:focus {
  outline: 2px solid var(--color-secondary); outline-offset: 1px;
  border-color: var(--color-primary);
}
.form-row textarea { resize: vertical; min-height: 140px; }
.form-consent {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.92rem; color: var(--color-muted);
  line-height: 1.5;
}
.form-consent input { margin-top: 0.25rem; }

/* === Contact band === */
.contact-band { text-align: center; }
.contact-band__line { font-size: 1.05rem; color: var(--color-neutral-dark); }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark); color: rgba(240, 253, 250, 0.85);
  padding-block: 3rem 1.5rem; margin-top: 4rem;
}
.site-footer h4 {
  color: #fff; font-family: var(--font-body); font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 0.85rem;
}
.site-footer__grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
.site-footer a { color: var(--color-neutral-light); text-decoration: none; }
.site-footer a:hover { color: var(--color-secondary); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.footer-tagline { font-family: var(--font-heading); font-style: italic; color: var(--color-neutral-light); margin-top: 0.75rem; }
.footer-legal { margin-top: 0.5rem; font-size: 0.9rem; }
.logo--footer img { height: 64px; }
.site-footer__base {
  margin-top: 2.5rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(240, 253, 250, 0.15);
  font-size: 0.85rem; color: rgba(240, 253, 250, 0.6);
}
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1.3fr 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.1rem 1.25rem; border-radius: 10px;
  box-shadow: 0 20px 50px -12px rgba(0,0,0,0.4);
  max-width: 640px; margin-inline: auto;
  font-size: 0.94rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.85rem 0; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  font: inherit; font-weight: 600;
  padding: 0.55rem 1rem; border-radius: 6px; cursor: pointer;
  border: 1.5px solid transparent;
  background: transparent; color: var(--color-neutral-light);
}
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-reject] { border-color: rgba(240,253,250,0.4); }
.cookie-banner [data-cookie-settings] { border-color: rgba(240,253,250,0.4); }
.cookie-banner__prefs {
  margin-top: 0.85rem; padding-top: 0.85rem;
  border-top: 1px solid rgba(240,253,250,0.15);
  display: flex; flex-direction: column; gap: 0.5rem;
}
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; }
.cookie-banner [data-cookie-save] {
  align-self: flex-start; margin-top: 0.35rem;
  background: var(--color-secondary); color: var(--color-neutral-dark);
}
