:root {
  --color-primary: #0891B2;
  --color-secondary: #22D3EE;
  --color-accent: #059669;
  --color-neutral-dark: #164E63;
  --color-neutral-light: #ECFEFF;
  --color-text: #0f2a33;
  --color-muted: #4a6572;
  --color-border: rgba(22, 78, 99, 0.14);
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --max-width: 1120px;
}

/* === Reset === */
*, *::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: #fff; line-height: 1.65; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); font-weight: 600; line-height: 1.2; margin: 0 0 1rem; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
ul { padding-left: 1.25rem; }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }

/* === Header === */
.site-header { border-bottom: 1px solid var(--color-border); background: #fff; position: sticky; top: 0; z-index: 50; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 0; gap: 1rem; }
.logo { display: inline-flex; }
.logo img { height: 72px; width: auto; }
.nav-toggle { background: none; border: 0; padding: .5rem; cursor: pointer; display: inline-flex; flex-direction: column; gap: 4px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--color-neutral-dark); display: block; }
.primary-nav { display: none; width: 100%; }
.primary-nav.is-open { display: block; }
.primary-nav ul { list-style: none; padding: .75rem 0 1rem; margin: 0; display: flex; flex-direction: column; gap: .25rem; }
.primary-nav a { display: block; padding: .5rem 0; color: var(--color-neutral-dark); font-weight: 500; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 768px) {
  .site-header__inner { padding: 1rem 0; }
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: block; width: auto; }
  .primary-nav ul { flex-direction: row; padding: 0; gap: 1.75rem; }
}

/* === Hero (stacked) === */
.hero { padding: 3rem 0 4rem; background: linear-gradient(180deg, var(--color-neutral-light), #ffffff); }
.hero .container { max-width: 780px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: .8rem; font-weight: 600; color: var(--color-primary); margin-bottom: .75rem; }
.hero h1 { margin-bottom: 1.5rem; }
.hero__image { margin: 2rem 0; }
.hero__image img { border-radius: 8px; aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.hero__sub { font-size: 1.15rem; color: var(--color-muted); margin-bottom: 1.5rem; max-width: 60ch; }
.hero-stacked--compact { padding: 2.5rem 0 2rem; }
.hero-stacked--compact .hero__sub { margin-bottom: 0; }

@media (min-width: 768px) {
  .hero { padding: 4.5rem 0 5rem; }
  .hero__image { margin: 3rem 0; }
}

/* === Sections === */
.section { padding: 3rem 0; }
.section--narrow .container { max-width: 760px; }
.section--muted { background: var(--color-neutral-light); }
.lede { font-size: 1.1rem; color: var(--color-muted); margin-bottom: 1.75rem; max-width: 62ch; }

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

/* === Two column === */
.two-col { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.two-col__image img { border-radius: 8px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (min-width: 900px) {
  .two-col { grid-template-columns: 1.2fr 1fr; gap: 4rem; }
}

/* === Card grid === */
.card-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) {
  .card-grid--2, .card-grid--3, .card-grid--5 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid--5 { grid-template-columns: repeat(3, 1fr); }
}
.card { background: #fff; border: 1px solid var(--color-border); border-radius: 10px; padding: 1.5rem; transition: transform .2s ease, box-shadow .2s ease; }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 8px; background: var(--color-neutral-light); color: var(--color-primary); margin-bottom: .75rem; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin: 0; }
.card-link { display: block; color: inherit; text-decoration: none; height: 100%; }
.card:has(.card-link):hover, .card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -18px rgba(22, 78, 99, 0.35); }
.card-link:hover { text-decoration: none; }
.card-link h3 { color: var(--color-primary); }

/* === Testimonial === */
.testimonial-section { text-align: center; }
.testimonial { border-left: 3px solid var(--color-secondary); background: var(--color-neutral-light); padding: 1.75rem 1.75rem; margin: 0 auto; max-width: 720px; border-radius: 6px; text-align: left; }
.testimonial p { font-family: var(--font-heading); font-size: 1.15rem; line-height: 1.55; color: var(--color-neutral-dark); }
.testimonial cite { display: block; margin-top: .75rem; font-style: normal; font-size: .95rem; color: var(--color-muted); }

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

/* === Buttons === */
.btn { display: inline-block; padding: .75rem 1.5rem; border-radius: 6px; font-weight: 600; font-size: 1rem; text-decoration: none; transition: background .15s ease, transform .15s ease; border: 0; cursor: pointer; }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-neutral-dark); text-decoration: none; }
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { background: #047857; text-decoration: none; }

/* === Article detail === */
.article-detail { max-width: 65ch; margin: 0 auto; padding: 2.5rem 1.25rem 4rem; }
.article-detail h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); line-height: 1.2; margin-bottom: 1rem; }
.article-sub { font-size: 1.2rem; color: var(--color-muted); margin-bottom: 1.5rem; }
.article-hero { margin: 2rem 0; }
.article-hero img { aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; width: 100%; }
.article-detail p { font-size: 1.08rem; line-height: 1.75; margin-block: 1.25rem; }
.back-link { margin-top: 2.5rem; font-weight: 500; }

/* === Contact form === */
.contact-form { display: grid; gap: 1rem; max-width: 640px; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-weight: 600; color: var(--color-neutral-dark); font-size: .95rem; }
.field input, .field textarea { font: inherit; padding: .65rem .75rem; border: 1px solid var(--color-border); border-radius: 6px; background: #fff; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--color-muted); }
.form-consent input { margin-top: .25rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: var(--color-neutral-light); padding: 3rem 0 1.5rem; margin-top: 2rem; }
.site-footer a { color: var(--color-neutral-light); }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.site-footer__brand { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600; margin-bottom: .5rem; }
.footer-heading { font-size: 1rem; color: var(--color-secondary); margin-bottom: .75rem; }
.site-footer nav ul, .legal-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(236, 254, 255, 0.15); font-size: .9rem; }
.site-footer__copy { text-align: center; margin: 2rem 0 0; font-size: .85rem; color: rgba(236, 254, 255, 0.7); }
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.4fr; 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.25rem 1.5rem; border-radius: 10px; box-shadow: 0 20px 40px -20px rgba(0,0,0,0.35); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 .75rem; font-size: .95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button { padding: .55rem 1rem; border-radius: 6px; border: 0; font: inherit; cursor: pointer; font-weight: 600; font-size: .9rem; }
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); color: #fff; }
.cookie-banner__actions button[data-cookie-reject] { background: transparent; color: var(--color-neutral-light); border: 1px solid rgba(236, 254, 255, 0.4); }
.cookie-banner__actions button[data-cookie-settings] { background: transparent; color: var(--color-secondary); }
.cookie-banner__prefs { margin-top: .85rem; display: grid; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; }
.cookie-banner__prefs button { padding: .5rem .9rem; background: var(--color-accent); color: #fff; border: 0; border-radius: 6px; cursor: pointer; font-weight: 600; justify-self: start; margin-top: .25rem; }
