:root {
  --color-primary: #0369A1;
  --color-secondary: #38BDF8;
  --color-accent: #22C55E;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --color-text: #0C4A6E;
  --color-body: #1f2937;
  --color-muted: #4b6b82;
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(12,74,110,.06);
  --shadow-md: 0 12px 32px -18px rgba(12,74,110,.25);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-body);
  background: #fff;
}
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); line-height: 1.2; margin: 0 0 .75rem; letter-spacing: -0.01em; }
h1 { font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }
button { font: inherit; cursor: pointer; }

/* === Layout === */
.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 760px; }
.section { padding-block: 4rem; }
.section.alt { background: var(--color-neutral-light); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section__sub { color: var(--color-muted); font-size: 1.05rem; margin-top: -0.25rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }
.center { text-align: center; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(12,74,110,0.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  background: transparent; border: 0; padding: .5rem; width: 44px; height: 44px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-neutral-dark); }
.primary-nav { display: none; flex-direction: column; gap: 1rem; }
.primary-nav.is-open {
  display: flex; position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; padding: 1.25rem; border-bottom: 1px solid rgba(12,74,110,0.08);
  box-shadow: var(--shadow-md);
}
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; padding: .35rem 0; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; align-items: center; gap: 2rem; position: static; padding: 0; background: none; border: 0; box-shadow: none; }
}

/* === Buttons === */
.btn {
  display: inline-block; padding: .85rem 1.6rem; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  border: 1px solid transparent;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-neutral-dark); }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { background: #16a34a; }

/* === Hero (centered) === */
.hero { padding-block: 3.5rem 3rem; text-align: center; background: linear-gradient(180deg, var(--color-neutral-light) 0%, #fff 100%); }
.hero h1 { font-size: clamp(2.25rem, 5vw, 4rem); max-width: 28ch; margin-inline: auto; margin-bottom: 1.25rem; }
.hero__sub { max-width: 52ch; margin: 0 auto 2rem; font-size: 1.15rem; color: var(--color-muted); }
.hero__cta { margin-bottom: 3rem; }
.hero__image { margin: 3rem auto 0; max-width: 1080px; }
.hero__image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); }
@media (min-width: 768px) { .hero { padding-block: 6rem 4rem; } }

/* === Intro === */
.intro { text-align: center; }
.intro p { max-width: 65ch; margin-inline: auto; text-align: left; }
.intro .section__sub { max-width: 60ch; margin-inline: auto; margin-bottom: 1.5rem; }

/* === Highlights grid === */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(12,74,110,0.08);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card h3 { color: var(--color-neutral-dark); }
.card p { color: var(--color-body); margin: 0; }
.card .icon { color: var(--color-primary); margin-bottom: .75rem; }
.card-link { display: block; color: inherit; text-decoration: none; }
.card-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(3,105,161,0.35); text-decoration: none; }
.card-link h3 { color: var(--color-primary); }

/* === Testimonial === */
.testimonial { background: var(--color-neutral-light); }
.testimonial blockquote { margin: 0; text-align: center; }
.testimonial blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.5;
  color: var(--color-neutral-dark);
  font-style: italic;
  position: relative;
  padding: 0 1rem;
}
.testimonial blockquote p::before { content: '"'; font-size: 3rem; color: var(--color-secondary); line-height: 0; position: relative; top: .35rem; margin-right: .25rem; }
.testimonial cite { display: block; margin-top: 1.25rem; font-style: normal; font-size: 0.95rem; color: var(--color-muted); font-family: var(--font-body); }

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

/* === Contact card === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 900px; margin: 0 auto 2rem; }
@media (min-width: 640px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .contact-grid { grid-template-columns: repeat(4, 1fr); } }
.contact-grid address, .contact-grid p, .contact-grid div { font-style: normal; margin: 0; background: var(--color-neutral-light); padding: 1.25rem; border-radius: var(--radius); }
.contact-grid strong { display: block; margin-bottom: .35rem; color: var(--color-neutral-dark); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
.hours { list-style: none; padding: 0; margin: 0; font-size: 0.95rem; }
.hours li { padding: .15rem 0; }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-weight: 600; font-size: 0.95rem; color: var(--color-neutral-dark); }
.field input, .field textarea {
  font: inherit;
  padding: .75rem .9rem;
  border: 1px solid rgba(12,74,110,0.2);
  border-radius: 10px;
  background: #fff;
  color: var(--color-body);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--color-secondary); outline-offset: 1px; border-color: var(--color-primary); }
.form-consent { display: flex; align-items: flex-start; gap: .55rem; font-size: 0.9rem; color: var(--color-muted); }
.form-consent input { margin-top: .25rem; }
.contact-form .btn { align-self: flex-start; }

/* === Article detail === */
.article-detail { max-width: 65ch; margin-inline: auto; padding: 2.5rem 1rem 3rem; }
.article-detail h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin-bottom: 1.5rem; }
.article-detail__sub { font-size: 1.25rem; color: var(--color-muted); margin-bottom: 1rem; }
.article-detail__hero img { aspect-ratio: 16/9; object-fit: cover; margin-block: 2rem; border-radius: 8px; }
.article-detail p { font-size: 1.125rem; line-height: 1.75; margin-block: 1.25rem; }
.article-detail__footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(12,74,110,0.1); }
.back-link { font-weight: 600; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255,255,255,0.85); padding-block: 3rem 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.4fr; } }
.site-footer h3 { color: #fff; font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: .2rem 0; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; margin-bottom: 1rem; line-height: 1.65; }
.legal-links { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }
.tagline { color: rgba(255,255,255,0.7); margin-top: .5rem; font-size: 0.95rem; }
.logo--footer img { filter: brightness(0) invert(1); height: 60px; }
.copyright { padding-top: 1.5rem; font-size: 0.85rem; color: rgba(255,255,255,0.65); }

/* === 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: var(--radius);
  box-shadow: 0 20px 50px -12px rgba(0,0,0,0.45);
  max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 .9rem; font-size: 0.95rem; color: rgba(240,249,255,0.9); }
.cookie-banner__actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.cookie-banner__actions button {
  padding: .6rem 1.1rem; border-radius: 999px; border: 1px solid rgba(240,249,255,0.3);
  background: transparent; color: var(--color-neutral-light); font-weight: 500; font-size: 0.9rem;
}
.cookie-banner__actions [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; margin-top: .5rem; padding: .55rem 1rem; border-radius: 999px; border: 0; background: var(--color-secondary); color: var(--color-neutral-dark); font-weight: 600; }
