:root {
  --color-primary: #0369A1;
  --color-secondary: #0EA5E9;
  --color-accent: #CA8A04;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --color-text: #0C1E2E;
  --color-muted: #4b6577;
  --color-border: rgba(12, 74, 110, 0.14);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  --shadow-card: 0 20px 40px -30px rgba(12, 74, 110, 0.35);
  --radius: 12px;
}

/* === Base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
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(2rem, 4.5vw, 3.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--color-secondary);
  font-weight: 600;
  margin: 0 0 1rem;
}
.sub, .lede { color: var(--color-muted); }
.lede { font-size: 1.125rem; max-width: 48ch; }

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s;
  cursor: pointer;
  border: none;
}
.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: #a4720a; text-decoration: none; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0.75rem 1.25rem;
  gap: 1rem;
}
.logo img { height: 72px; width: auto; display: block; }
.primary-nav { display: none; gap: 1.75rem; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; }
.primary-nav a.is-current { color: var(--color-primary); }
.primary-nav a:hover { color: var(--color-primary); text-decoration: none; }
.nav-toggle {
  background: none; border: none; padding: 0.5rem; cursor: pointer;
  display: flex; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--color-neutral-dark); }
.primary-nav.is-open {
  display: flex; flex-direction: column; gap: 1rem;
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; padding: 1.5rem 1.25rem; border-bottom: 1px solid var(--color-border);
}

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

/* === Hero split === */
.hero-split {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
  align-items: center;
  max-width: 1200px; margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}
.hero-split__media img {
  aspect-ratio: 4/5; object-fit: cover; width: 100%;
  border-radius: 16px; box-shadow: var(--shadow-card);
}
.hero-split--single { grid-template-columns: 1fr; }

@media (min-width: 900px) {
  .hero-split { grid-template-columns: 1fr 1fr; gap: 4rem; padding: 5rem 2rem 6rem; }
  .hero-split--single { grid-template-columns: 1fr; max-width: 780px; text-align: center; }
  .hero-split--single .lede { margin-inline: auto; }
}

/* === Sections === */
.section { max-width: 1200px; margin: 0 auto; padding: 4rem 1.25rem; }
.section--narrow { max-width: 780px; }
.section--tinted { max-width: none; background: var(--color-neutral-light); }
.section--tinted > .section__head, .section--tinted > .grid, .section--tinted > .contact-grid {
  max-width: 1200px; margin-left: auto; margin-right: auto;
}
.section__head { text-align: center; margin-bottom: 2.5rem; max-width: 720px; margin-inline: auto; }
.section__head .sub { font-size: 1.05rem; }

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

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

.card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 1.75rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card .icon { width: 32px; height: 32px; color: var(--color-secondary); margin-bottom: 1rem; }
.card h3 { margin-top: 0; }
.card p { color: var(--color-muted); font-size: 0.98rem; margin: 0; }
.card-link { display: block; color: inherit; }
.card-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); text-decoration: none; }
.card-link h3 { color: var(--color-neutral-dark); }
.read-more { display: inline-block; margin-top: 1rem; color: var(--color-primary); font-weight: 600; }

/* === Testimonial === */
.testimonial { text-align: center; }
.testimonial blockquote {
  margin: 0 auto; max-width: 62ch;
  font-family: var(--font-heading);
  font-size: 1.35rem; line-height: 1.5;
  color: var(--color-neutral-dark);
  position: relative;
}
.testimonial blockquote p { margin-bottom: 1.25rem; font-style: italic; }
.testimonial cite {
  display: block; font-family: var(--font-body); font-style: normal;
  font-size: 0.95rem; color: var(--color-muted); letter-spacing: 0.02em;
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff; padding: 4rem 1.25rem;
}
.cta-band__inner { max-width: 780px; margin: 0 auto; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); margin-bottom: 1.75rem; }
.cta-band--inline { margin: 2.5rem 0; border-radius: var(--radius); padding: 2.5rem 1.5rem; }

/* === Article detail === */
.article-detail {
  max-width: 65ch; margin: 0 auto; padding: 3rem 1.25rem 4rem;
}
.article-detail__head { margin-bottom: 2rem; }
.article-detail__head h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; }
.article-detail__hero {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  border-radius: 8px; margin-block: 2rem;
}
.article-detail p { font-size: 1.125rem; line-height: 1.75; margin-block: 1.25rem; color: #1a2f42; }
.article-detail__foot { margin-top: 3rem; border-top: 1px solid var(--color-border); padding-top: 2rem; }
.back-link { font-weight: 600; }

/* === Contact === */
.contact-grid {
  display: grid; gap: 2rem; grid-template-columns: 1fr;
}
.contact-grid h3 { color: var(--color-neutral-dark); font-size: 1.05rem; margin-bottom: 0.5rem; }
.contact-grid address { font-style: normal; color: var(--color-muted); }
.hours { margin: 0; }
.hours dt { font-weight: 600; color: var(--color-neutral-dark); }
.hours dd { margin: 0 0 0.5rem; color: var(--color-muted); }
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
}

.contact-card {
  background: var(--color-neutral-light); padding: 2rem;
  border-radius: var(--radius); text-align: center;
  max-width: 560px; margin: 0 auto;
}
.contact-card address { font-style: normal; margin-bottom: 1.5rem; color: var(--color-neutral-dark); }

/* === Contact form === */
.contact-form {
  max-width: 640px; margin: 0 auto;
  background: #fff; padding: 2rem;
  border: 1px solid var(--color-border); border-radius: var(--radius);
}
.form-row { display: flex; flex-direction: column; margin-bottom: 1.25rem; }
.form-row label { font-weight: 600; margin-bottom: 0.4rem; color: var(--color-neutral-dark); font-size: 0.95rem; }
.form-row input, .form-row textarea {
  font: inherit; padding: 0.7rem 0.9rem;
  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-secondary); outline-offset: 1px; border-color: var(--color-secondary);
}
.form-consent {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.88rem; color: var(--color-muted);
  margin: 1rem 0 1.5rem;
}
.form-consent input { margin-top: 0.25rem; }

/* === FAQ === */
.faq details {
  border: 1px solid var(--color-border); border-radius: 8px;
  padding: 1rem 1.25rem; margin-bottom: 0.75rem; background: #fff;
}
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--color-neutral-dark);
  list-style: none; position: relative; padding-right: 1.5rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 0; top: 0;
  color: var(--color-secondary); font-size: 1.4rem; line-height: 1;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 0.75rem; margin-bottom: 0; color: var(--color-muted); }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark); color: rgba(255,255,255,0.85);
  padding: 3.5rem 1.25rem 1.5rem; margin-top: 4rem;
}
.site-footer__cols {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
}
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer address { font-style: normal; margin-bottom: 1rem; line-height: 1.7; }
.legal-links { margin-top: 1rem !important; font-size: 0.88rem; }
.logo--footer img { height: 60px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.site-footer__base {
  max-width: 1200px; margin: 2.5rem auto 0;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.85rem; color: rgba(255,255,255,0.6);
}
@media (min-width: 768px) {
  .site-footer__cols { grid-template-columns: 2fr 1fr 1.5fr; 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: var(--radius);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.35);
  max-width: 720px; margin: 0 auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.92rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  font: inherit; font-size: 0.88rem; font-weight: 600;
  padding: 0.55rem 1rem; border-radius: 6px; border: none; cursor: pointer;
  background: rgba(255,255,255,0.14); color: #fff;
}
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: #fff; }
.cookie-banner__prefs {
  margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem;
  padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15);
}
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs [data-cookie-save] {
  align-self: flex-start; margin-top: 0.5rem; background: var(--color-secondary);
}
