:root {
  --color-primary: #0891B2;
  --color-secondary: #22D3EE;
  --color-accent: #22C55E;
  --color-neutral-dark: #164E63;
  --color-neutral-light: #ECFEFF;
  --color-text: #0f2a33;
  --color-muted: #4a6773;
  --color-border: rgba(22, 78, 99, 0.14);
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --radius: 12px;
  --shadow-card: 0 12px 30px -20px rgba(22, 78, 99, 0.35);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: #ffffff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; margin: 0 0 0.6em; font-weight: 600; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: 720px; }

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

/* === Buttons === */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.2;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.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-neutral-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--color-neutral-light); border-color: rgba(236,254,255,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* === Hero centered === */
.hero { padding: 3.5rem 0 2.5rem; text-align: center; background: linear-gradient(180deg, var(--color-neutral-light) 0%, #ffffff 100%); }
.hero h1 { max-width: 28ch; margin-inline: auto; }
.hero__sub { max-width: 52ch; margin: 0 auto 1.75rem; color: var(--color-muted); font-size: 1.15rem; }
.hero__cta { margin: 0 0 2.5rem; }
.hero__figure { margin: 2.5rem auto 0; max-width: 960px; }
.hero__figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-card); aspect-ratio: 16 / 9; object-fit: cover; }

/* === Sections === */
.section { padding: 3rem 0; }
.section-title { text-align: center; margin-bottom: 2rem; }
.section-lede { text-align: center; color: var(--color-muted); margin-bottom: 2rem; }
.section-intro { text-align: left; }
.section-intro h2 { text-align: left; }

/* === Grid & cards === */
.grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card h3 { margin-top: 0.25rem; }
.card p { margin-bottom: 0; color: var(--color-text); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--color-neutral-light); color: var(--color-primary);
  margin-bottom: 0.75rem;
}
.card-link { display: block; text-decoration: none; color: inherit; }
.card-link:hover { color: inherit; }
.card:has(> .card-link:hover), .card-link:hover ~ * { transform: translateY(-2px); }
.card:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -20px rgba(22, 78, 99, 0.45); }

/* === Testimonial === */
.section-testimonial { background: var(--color-neutral-light); }
.testimonial { margin: 0; text-align: center; }
.testimonial p {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-style: italic;
  color: var(--color-neutral-dark);
  max-width: 60ch; margin: 0 auto 1rem;
  line-height: 1.4;
}
.testimonial cite { display: block; font-style: normal; color: var(--color-muted); font-size: 0.95rem; }

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

/* === Contact section === */
.contact-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.contact-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.5rem; }
.contact-card address { font-style: normal; line-height: 1.7; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 0.45rem 0; border-bottom: 1px solid var(--color-border); font-weight: 400; }
.hours th { color: var(--color-neutral-dark); font-weight: 500; }

/* === Contact form === */
.contact-form { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-card); }
.form-row { display: flex; flex-direction: column; margin-bottom: 1rem; }
.form-row label { font-weight: 500; margin-bottom: 0.35rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea {
  font-family: var(--font-body); font-size: 1rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--color-border); border-radius: 8px;
  background: #fff; color: var(--color-text);
}
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; border-color: var(--color-primary); }
.form-consent { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.9rem; color: var(--color-muted); margin: 0.5rem 0 1.25rem; flex-wrap: wrap; }
.form-consent input { margin-top: 0.25rem; }

/* === Article detail === */
.article-detail { max-width: 65ch; margin-inline: auto; padding: 2.5rem 1rem 3rem; }
.article-detail__header { margin-bottom: 1.5rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; color: var(--color-primary); font-weight: 600; margin: 0 0 0.5rem; }
.article-detail h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin-bottom: 1rem; }
.article-detail__sub { font-size: 1.2rem; color: var(--color-muted); margin: 0 0 1rem; }
.article-detail__hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; margin-block: 2rem; }
.article-detail h2 { font-size: 1.5rem; margin-top: 2rem; }
.article-detail p { font-size: 1.1rem; line-height: 1.75; margin-block: 1.25rem; }
.article-detail__footer { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.back-link { text-decoration: none; color: var(--color-primary); font-weight: 500; }
.back-link:hover { color: var(--color-neutral-dark); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: var(--color-neutral-light); padding: 3rem 0 1.5rem; margin-top: 3rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.footer-heading { font-size: 1rem; color: #fff; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 0.75rem; font-family: var(--font-body); font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a { color: var(--color-neutral-light); text-decoration: none; opacity: 0.85; }
.footer-col a:hover { opacity: 1; color: #fff; }
.footer-tagline { color: rgba(236,254,255,0.75); margin: 0.5rem 0 0; }
.footer-legal { margin-top: 1rem; }
.footer-legal a { font-size: 0.9rem; }
.footer-bottom { border-top: 1px solid rgba(236,254,255,0.15); margin-top: 2rem; padding-top: 1.25rem; text-align: center; font-size: 0.9rem; color: rgba(236,254,255,0.7); }
.logo--footer img { height: 60px; filter: brightness(0) invert(1); }
.site-footer address { font-style: normal; line-height: 1.7; color: rgba(236,254,255,0.85); }
.site-footer address a { color: inherit; }

/* === 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: var(--radius); box-shadow: 0 20px 50px -10px rgba(0,0,0,0.4); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.85rem; font-size: 0.95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions .btn { padding: 0.55rem 1rem; font-size: 0.9rem; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs .btn { align-self: flex-start; margin-top: 0.5rem; }

/* === Responsive === */
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .logo img { height: 96px; }
  .logo--footer img { height: 72px; }
  .hero { padding: 5rem 0 3.5rem; }
  .section { padding: 4.5rem 0; }
  .cta-band { padding: 4rem 0; }
  .nav-toggle { display: none; }
  .nav-list { display: flex; flex-direction: row; gap: 1.75rem; position: static; padding: 0; background: transparent; border: 0; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.4fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .hero { padding: 6rem 0 4rem; }
}
