:root {
  --color-primary: #0EA5E9;
  --color-secondary: #0284C7;
  --color-accent: #10B981;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --color-text: #0C4A6E;
  --color-muted: #4B6A80;
  --color-border: rgba(12, 74, 110, 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(12, 74, 110, 0.35);
}

/* === Reset === */
*, *::before, *::after { 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;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--color-secondary); 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 1rem; font-weight: 600; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 760px; margin-inline: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 600; color: var(--color-accent); margin: 0 0 1rem; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1.25rem; gap: 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; width: 44px; height: 44px; background: transparent; border: 1px solid var(--color-border); border-radius: 8px; cursor: pointer; padding: 0 10px; }
.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.5rem; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 600; font-size: 0.98rem; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

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

.primary-nav.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--color-border); padding: 1rem 1.25rem; }
.primary-nav.is-open ul { flex-direction: column; gap: 0.75rem; }

/* === Buttons === */
.btn { display: inline-block; padding: 0.85rem 1.6rem; border-radius: 999px; font-weight: 600; font-family: var(--font-body); font-size: 1rem; border: none; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease; text-decoration: none; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--color-primary); color: #fff; box-shadow: 0 10px 20px -12px rgba(14, 165, 233, 0.6); }
.btn-primary:hover { background: var(--color-secondary); }
.btn-accent { background: var(--color-accent); color: #fff; box-shadow: 0 10px 20px -12px rgba(16, 185, 129, 0.6); }
.btn-accent:hover { background: #0f9c74; }

/* === Hero fullscreen === */
.hero-fullscreen {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--color-neutral-light);
  overflow: hidden;
}
.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(135deg, rgba(12, 74, 110, 0.72), rgba(2, 132, 199, 0.55));
  z-index: 1;
}
.hero__inner { position: relative; z-index: 2; padding-block: 6rem; max-width: 780px; }
.hero h1 { color: var(--color-neutral-light); }
.hero .eyebrow { color: #7dd3fc; }
.hero__sub { font-size: 1.15rem; color: rgba(240, 249, 255, 0.92); max-width: 60ch; margin-bottom: 2rem; }
.hero--solid { background: linear-gradient(135deg, var(--color-neutral-dark), var(--color-secondary)); min-height: 70vh; }
.hero--solid .hero__inner { padding-block: 4rem; }

/* === Sections === */
.section { padding-block: 4.5rem; }
.section-alt { background: var(--color-neutral-light); }
.section-title { text-align: center; margin-bottom: 2.5rem; }

.two-col { display: grid; gap: 2.5rem; }
.figure img { border-radius: var(--radius); box-shadow: var(--shadow-card); }

@media (min-width: 768px) {
  .two-col { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 3.5rem; }
}

/* === Grid & cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  color: inherit;
}
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--color-neutral-light);
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { margin: 0; color: var(--color-muted); font-size: 0.98rem; line-height: 1.6; }
.card-link { display: block; text-decoration: none; }
.card-link:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: rgba(14, 165, 233, 0.4); }

/* === Quote === */
.section-quote { background: var(--color-neutral-light); }
.quote { max-width: 780px; margin: 0 auto; text-align: center; padding: 1rem 0; }
.quote p { font-family: var(--font-heading); font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.5; color: var(--color-neutral-dark); font-style: italic; }
.quote cite { display: block; margin-top: 1rem; font-style: normal; color: var(--color-muted); font-size: 0.95rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; padding-block: 3.5rem; }
.cta-band__inner { display: grid; gap: 1.5rem; align-items: center; }
.cta-band h2 { color: #fff; margin: 0 0 0.5rem; }
.cta-band p { color: rgba(240, 249, 255, 0.92); margin: 0; }
@media (min-width: 768px) { .cta-band__inner { grid-template-columns: 1fr auto; gap: 2rem; } }

/* === Contact band (about) === */
.contact-band { text-align: center; background: var(--color-neutral-light); border-radius: var(--radius); padding: 2rem; }
.contact-band p { margin: 0.25rem 0; }

/* === Contact form === */
.contact-form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.form-row { display: flex; flex-direction: column; gap: 0.35rem; }
.form-row label { font-weight: 600; font-size: 0.95rem; color: var(--color-neutral-dark); }
.form-row input,
.form-row select,
.form-row textarea {
  font: inherit;
  color: var(--color-text);
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--color-muted); line-height: 1.5; }
.form-consent input { margin-top: 0.25rem; }
.contact-form .btn { justify-self: start; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(240, 249, 255, 0.85); padding-top: 3rem; margin-top: 2rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; padding-bottom: 2rem; }
.footer-grid h4 { color: #fff; font-family: var(--font-heading); font-size: 1.05rem; margin: 0 0 0.75rem; }
.footer-nav, .footer-legal { list-style: none; margin: 0; padding: 0; }
.footer-nav li, .footer-legal li { margin-bottom: 0.4rem; }
.footer-grid a { color: rgba(240, 249, 255, 0.85); }
.footer-grid a:hover { color: #fff; }
.footer-tagline { margin-top: 0.75rem; font-style: italic; color: rgba(240, 249, 255, 0.7); }
.logo--footer img { height: 64px; filter: brightness(0) invert(1); }
.footer-legal { margin-top: 1rem; }
.footer-copy { border-top: 1px solid rgba(240, 249, 255, 0.15); padding: 1.25rem; text-align: center; font-size: 0.9rem; color: rgba(240, 249, 255, 0.7); }
.footer-copy p { margin: 0; }
address { font-style: normal; line-height: 1.7; }

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.3fr; 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: 12px;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.35);
  max-width: 560px;
  margin-inline: auto;
  font-size: 0.95rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  font: inherit;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(240, 249, 255, 0.35);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
}
.cookie-banner button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner button:hover { border-color: #fff; }
.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 button { align-self: flex-start; margin-top: 0.35rem; }
