:root {
  --color-primary: #0369A1;
  --color-secondary: #0EA5E9;
  --color-accent: #22C55E;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --color-text: #0C4A6E;
  --color-muted: #476b83;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 12px;
  --shadow-soft: 0 20px 40px -20px rgba(12, 74, 110, 0.2);
}

/* === Base === */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
p { margin: 0 0 1rem; }
blockquote { margin: 0; }
address { font-style: normal; line-height: 1.8; }

/* === Layout helpers === */
.section { padding: 4rem 1.25rem; max-width: 1200px; margin: 0 auto; }
.section--narrow { max-width: 780px; }
.section--tinted { background: var(--color-neutral-light); max-width: none; }
.section--tinted > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.section--tinted.section--narrow > * { max-width: 780px; }
.section__head { text-align: center; margin-bottom: 2.5rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.8rem; font-weight: 600; color: var(--color-secondary); margin-bottom: 0.75rem; }
@media (min-width: 768px) {
  .section { padding: 6rem 2rem; }
}

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(12, 74, 110, 0.08);
}
.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo { display: inline-block; line-height: 0; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) {
  .logo img { height: 96px; }
  .site-header__inner { padding: 1rem 2rem; }
}

/* === Nav === */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 24px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }
.primary-nav { display: none; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.75rem; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; font-size: 0.95rem; padding: 0.5rem 0; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); border-bottom: 2px solid var(--color-accent); }
.primary-nav.is-open {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  padding: 1rem 1.5rem 1.5rem;
  border-bottom: 1px solid rgba(12, 74, 110, 0.08);
}
.primary-nav.is-open ul { flex-direction: column; gap: 0.5rem; }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: block; }
}

/* === Hero (fullscreen) === */
.hero--fullscreen {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 6rem 1.5rem;
  color: var(--color-neutral-light);
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 105, 161, 0.55) 0%, rgba(12, 74, 110, 0.7) 100%);
  z-index: 1;
}
.hero__content { position: relative; z-index: 2; max-width: 820px; }
.hero--fullscreen h1 { color: #ffffff; max-width: 22ch; margin-inline: auto; }
.hero--fullscreen .eyebrow { color: rgba(240, 249, 255, 0.85); }
.hero__sub { font-size: 1.15rem; max-width: 52ch; margin: 1.25rem auto 2rem; color: rgba(240, 249, 255, 0.92); }
@media (min-width: 768px) {
  .hero__sub { font-size: 1.25rem; }
}

.hero--compact {
  padding: 5rem 1.5rem 3rem;
  text-align: center;
  background: var(--color-neutral-light);
}
.hero--compact .hero__content { max-width: 780px; margin: 0 auto; }
.hero--compact .hero__sub { font-size: 1.15rem; max-width: 52ch; margin: 1rem auto 0; color: var(--color-muted); }

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
  border: 0;
  line-height: 1.2;
}
.btn--primary { background: var(--color-accent); color: #ffffff; }
.btn--primary:hover { background: #17a34a; text-decoration: none; transform: translateY(-1px); box-shadow: 0 12px 24px -8px rgba(34, 197, 94, 0.5); }
.btn--accent { background: #ffffff; color: var(--color-primary); }
.btn--accent:hover { background: var(--color-neutral-light); text-decoration: none; transform: translateY(-1px); }

/* === Section: narrow prose === */
.section--narrow h2 { text-align: center; }
.section--narrow p { font-size: 1.05rem; color: var(--color-muted); }

/* === Grid of cards === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: #ffffff;
  border: 1px solid rgba(12, 74, 110, 0.08);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.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: 1rem;
}
.card p { color: var(--color-muted); font-size: 0.98rem; margin: 0; }

/* === Testimonial === */
.testimonial { text-align: center; max-width: 820px; }
.testimonial blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-style: italic;
  color: var(--color-neutral-dark);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}
.testimonial cite {
  display: block;
  font-style: normal;
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #ffffff;
  padding: 4.5rem 1.5rem;
  text-align: center;
}
.cta-band__inner { max-width: 780px; margin: 0 auto; }
.cta-band h2 { color: #ffffff; }
.cta-band p { color: rgba(240, 249, 255, 0.9); font-size: 1.1rem; margin-bottom: 2rem; max-width: 55ch; margin-left: auto; margin-right: auto; }

/* === FAQ === */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: #ffffff;
  border: 1px solid rgba(12, 74, 110, 0.1);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.75rem;
}
.faq summary {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-neutral-dark);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--color-secondary);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 0.75rem; color: var(--color-muted); }

/* === Contact band === */
.contact-band { background: var(--color-neutral-light); max-width: none; }
.contact-band__grid { max-width: 1200px; margin: 0 auto; display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center; }
.contact-band__media img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; }
@media (min-width: 800px) {
  .contact-band__grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

/* === Contact form === */
.contact-form { display: grid; gap: 1.25rem; margin-top: 2rem; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-weight: 500; color: var(--color-neutral-dark); font-size: 0.95rem; }
.form-row input, .form-row textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(12, 74, 110, 0.2);
  border-radius: 8px;
  background: #ffffff;
  color: var(--color-text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.5;
}
.form-consent input { margin-top: 0.2rem; flex-shrink: 0; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(240, 249, 255, 0.85);
  padding: 3.5rem 1.5rem 2rem;
}
.site-footer__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.3fr; gap: 3rem; }
}
.site-footer h3 { color: #ffffff; font-family: var(--font-body); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.site-footer a { color: rgba(240, 249, 255, 0.85); }
.site-footer a:hover { color: #ffffff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer nav li { margin-bottom: 0.5rem; }
.logo--footer img { height: 60px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.legal-links { margin-top: 1rem; font-size: 0.9rem; }
.legal-links li { margin-bottom: 0.35rem; }
.site-footer__copy { max-width: 1200px; margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(240, 249, 255, 0.12); font-size: 0.85rem; color: rgba(240, 249, 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 40px -10px rgba(0, 0, 0, 0.3);
  max-width: 640px;
  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-family: var(--font-body);
  font-size: 0.85rem;
  padding: 0.55rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(240, 249, 255, 0.25);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
  font-weight: 500;
}
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #ffffff; }
.cookie-banner [data-cookie-accept]:hover { background: #17a34a; }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: 0.5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner [data-cookie-save] { margin-top: 0.5rem; align-self: flex-start; background: var(--color-secondary); border-color: var(--color-secondary); }
