:root {
  --color-primary: #0EA5E9;
  --color-secondary: #38BDF8;
  --color-accent: #FBBF24;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --max-w: 1200px;
}

/* === Base === */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: #ffffff;
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; height: auto; }
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; letter-spacing: -0.01em; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.2; }
h3 { font-size: 1.25rem; line-height: 1.3; }
p { margin: 0 0 1.1em; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: 780px; }
.eyebrow { font-family: var(--font-body); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--color-primary); margin: 0 0 1rem; }
.section-sub { color: #446a83; font-size: 1.05rem; margin-bottom: 1.75rem; }

/* === Header === */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid rgba(12,74,110,0.08);
  position: sticky; top: 0; z-index: 50;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1.25rem; gap: 1rem; }
.logo img { height: 72px; width: auto; display: block; }
.primary-nav { display: none; gap: 1.6rem; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; font-size: .95rem; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.nav-toggle { background: none; border: 0; padding: 0.5rem; cursor: pointer; display: flex; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--color-neutral-dark); display: block; }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .primary-nav { display: flex; }
  .nav-toggle { display: none; }
}

.primary-nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1.25rem; border-bottom: 1px solid rgba(12,74,110,0.08); }

/* === Hero (split) === */
.hero { padding: 3rem 0 3.5rem; background: linear-gradient(180deg, var(--color-neutral-light), #ffffff); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero-text h1 { max-width: 18ch; }
.hero-text .lede { font-size: 1.15rem; color: #365a72; max-width: 52ch; }
.hero-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 14px; box-shadow: 0 20px 50px -25px rgba(12,74,110,0.4); }

@media (min-width: 900px) {
  .hero { padding: 5rem 0 6rem; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
}

/* === Buttons === */
.btn { display: inline-block; padding: 0.85rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease; }
.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: var(--color-neutral-dark); }
.btn-accent:hover { background: #f0b013; }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-neutral-dark); }

/* === Sections === */
.section { padding: 4rem 0; }
.band-light { background: var(--color-neutral-light); }
@media (min-width: 900px) { .section { padding: 5.5rem 0; } }

/* === Grids === */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* === Cards === */
.card { background: #fff; padding: 1.75rem; border-radius: 14px; border: 1px solid rgba(12,74,110,0.08); transition: transform .18s ease, box-shadow .18s ease; }
.card .icon { color: var(--color-primary); margin-bottom: 0.75rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { margin: 0; color: #365a72; }
.card-link { display: block; text-decoration: none; color: inherit; }
.card-link:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -25px rgba(12,74,110,0.35); text-decoration: none; }
.read-more { display: inline-block; margin-top: 0.75rem; color: var(--color-primary); font-weight: 600; font-size: .9rem; }

/* === Testimonial === */
.testimonial-section { text-align: center; }
.testimonial { margin: 0; padding: 1rem 0; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.4vw, 1.65rem); font-style: italic; color: var(--color-neutral-dark); line-height: 1.5; max-width: 60ch; margin: 0 auto 1rem; }
.testimonial cite { color: #446a83; font-style: normal; font-size: 0.95rem; }

/* === CTA band === */
.cta-band { background: var(--color-neutral-dark); color: var(--color-neutral-light); text-align: center; padding: 4rem 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(240,249,255,0.85); max-width: 55ch; margin-inline: auto; }
.cta-band .contact-line { font-size: 0.95rem; }
.cta-band a { color: var(--color-accent); }
.cta-band .btn-accent { color: var(--color-neutral-dark); margin-top: 1rem; }

/* === Split (text + image) === */
.split { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.split-image img { border-radius: 14px; aspect-ratio: 4/3; object-fit: cover; box-shadow: 0 20px 40px -25px rgba(12,74,110,0.4); }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 700px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
address { font-style: normal; line-height: 1.7; }
.hours { border-collapse: collapse; width: 100%; }
.hours th, .hours td { text-align: left; padding: 0.4rem 0.6rem 0.4rem 0; border-bottom: 1px solid rgba(12,74,110,0.1); font-weight: 400; }
.hours th { font-weight: 500; color: var(--color-neutral-dark); }

/* === Form === */
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-size: 0.9rem; font-weight: 500; }
.field input, .field textarea {
  font-family: inherit; font-size: 1rem; padding: 0.75rem 0.9rem;
  border: 1px solid rgba(12,74,110,0.2); border-radius: 8px; background: #fff; color: inherit;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; }
.form-consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: #365a72; }
.form-consent input { margin-top: 0.25rem; }

/* === Article detail === */
.article-detail { max-width: 65ch; margin-inline: auto; padding: 3rem 1rem 4rem; }
.article-detail h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin-bottom: 1.25rem; }
.article-detail .article-sub { font-size: 1.2rem; color: #446a83; margin-bottom: 1.5rem; }
.article-detail h2 { margin-top: 2.25rem; }
.article-detail p { font-size: 1.1rem; line-height: 1.75; margin-block: 1.25rem; }
.article-hero-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; margin-block: 2rem; border-radius: 10px; }
.article-footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(12,74,110,0.15); }
.back-link { font-weight: 600; color: var(--color-primary); }

/* === Thank you === */
.thank-you-hero { padding-top: 5rem; text-align: center; }
.thank-you-hero .lede { font-size: 1.15rem; color: #365a72; max-width: 55ch; margin-inline: auto; }

/* === Footer === */
.site-footer { background: var(--color-neutral-light); border-top: 1px solid rgba(12,74,110,0.08); padding: 3.5rem 0 1.5rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.4fr; } }
.site-footer .logo img { height: 64px; }
.site-footer .tagline { color: #446a83; margin-top: 0.75rem; font-size: 0.95rem; }
.site-footer nav { display: flex; flex-direction: column; gap: 0.4rem; }
.site-footer nav a { color: var(--color-neutral-dark); font-size: 0.95rem; }
.site-footer h4 { font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: #446a83; margin-bottom: 0.8rem; }
.legal-links { margin-top: 1rem; display: flex; gap: 1rem; flex-wrap: wrap; font-size: 0.9rem; }
.copyright { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(12,74,110,0.08); font-size: 0.85rem; color: #446a83; }

/* === 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: 12px;
  max-width: 720px; margin-inline: auto;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.5);
  font-size: 0.9rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  font-family: inherit; font-size: 0.85rem; font-weight: 600;
  padding: 0.55rem 1rem; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(240,249,255,0.35); background: transparent; color: var(--color-neutral-light);
}
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: var(--color-neutral-dark); border-color: var(--color-accent); }
.cookie-banner [data-cookie-save] { background: var(--color-accent); color: var(--color-neutral-dark); border-color: var(--color-accent); margin-top: 0.5rem; }
.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; }
