:root {
  --color-primary: #1E40AF;
  --color-secondary: #3B82F6;
  --color-accent: #22C55E;
  --color-neutral-dark: #1E3A8A;
  --color-neutral-light: #EFF6FF;
  --color-ink: #0F172A;
  --color-muted: #475569;
  --color-border: rgba(30, 58, 138, 0.12);
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --radius: 12px;
  --shadow-soft: 0 20px 45px -25px rgba(30, 58, 138, 0.35);
}

/* === Reset & base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: #ffffff;
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--color-secondary); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.01em; line-height: 1.2; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }

.eyebrow {
  font-family: var(--font-heading);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

/* === 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 var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: .75rem;
  gap: 1rem;
}
.logo img { height: 72px; width: auto; }
.nav-toggle {
  background: none;
  border: 0;
  color: var(--color-neutral-dark);
  cursor: pointer;
  padding: .5rem;
  display: inline-flex;
}
.primary-nav {
  display: none;
  gap: 1.75rem;
  align-items: center;
}
.primary-nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .95rem;
  color: var(--color-neutral-dark);
  padding: .5rem 0;
  position: relative;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--color-accent);
}
.primary-nav.is-open {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: #fff;
  padding: 1.25rem;
  border-bottom: 1px solid var(--color-border);
  gap: 1rem;
}

/* === Buttons === */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: .95rem 1.75rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  letter-spacing: .01em;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-neutral-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { background: #16a34a; color: #fff; transform: translateY(-2px); }

/* === Hero fullscreen === */
.hero-fullscreen {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-fullscreen.hero-solid {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  min-height: 70vh;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(15, 23, 42, 0.45), rgba(30, 58, 138, 0.7));
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  padding-block: 5rem;
  max-width: 900px;
}
.hero-fullscreen h1 { color: #fff; max-width: 20ch; }
.hero-sub {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 55ch;
  margin-bottom: 2rem;
}
.hero-fullscreen .eyebrow { color: #93c5fd; }

/* === Sections === */
.section { padding-block: 4rem; }
.section-alt { background: var(--color-neutral-light); }
.section-narrow .container { max-width: 780px; }
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header p { color: var(--color-muted); max-width: 60ch; margin-inline: auto; }
.lede { font-size: 1.1rem; color: var(--color-muted); }

/* === Grid & cards === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.card-icon {
  color: var(--color-accent);
  margin-bottom: 1rem;
}
.card h3 { color: var(--color-neutral-dark); margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin: 0; }
.listing-card { border-left: 4px solid var(--color-accent); }

/* === Split === */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.split-media img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow-soft); }

/* === Testimonial === */
.testimonial-section { background: var(--color-neutral-light); }
.testimonial {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1rem;
}
.quote-mark { color: var(--color-accent); opacity: .35; margin-inline: auto; margin-bottom: 1rem; }
.testimonial p {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.5;
  color: var(--color-neutral-dark);
  margin-bottom: 1.25rem;
}
.testimonial cite {
  font-style: normal;
  font-family: var(--font-body);
  color: var(--color-muted);
  font-size: .95rem;
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  padding-block: 3.5rem;
}
.cta-band h2, .cta-band p { color: #fff; }
.cta-band p { opacity: .9; margin-bottom: 0; }
.cta-band-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

/* === Contact form === */
.form-wrap { max-width: 720px; margin-inline: auto; }
.contact-form { display: grid; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .9rem;
  color: var(--color-neutral-dark);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: .85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
  color: var(--color-ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-consent {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: .9rem;
  color: var(--color-muted);
  line-height: 1.5;
}
.form-consent input { margin-top: .25rem; }
.contact-form .btn { justify-self: flex-start; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding-block: 3rem 1.5rem;
  margin-top: 3rem;
}
.site-footer h4 { color: #fff; margin-bottom: 1rem; }
.site-footer a { color: var(--color-neutral-light); }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.logo-footer img { height: 60px; filter: brightness(0) invert(1) opacity(.95); }
.footer-tagline { color: rgba(239, 246, 255, 0.75); margin-top: .75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; color: rgba(239, 246, 255, 0.85); }
.footer-legal { display: flex !important; flex-wrap: wrap; gap: 1rem; }
.footer-legal a { font-size: .9rem; opacity: .8; }
.footer-copy {
  border-top: 1px solid rgba(239, 246, 255, 0.15);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
}
.footer-copy p { margin: 0; font-size: .85rem; color: rgba(239, 246, 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;
  border-radius: var(--radius);
  box-shadow: 0 25px 60px -20px rgba(0, 0, 0, 0.4);
  max-width: 640px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .85rem;
  padding: .55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(239, 246, 255, 0.3);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
}
.cookie-banner [data-cookie-accept] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.cookie-banner__prefs {
  margin-top: 1rem;
  display: grid;
  gap: .5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(239, 246, 255, 0.15);
}
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; font-size: .9rem; }
.cookie-banner__prefs [data-cookie-save] {
  justify-self: flex-start;
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  margin-top: .5rem;
}

/* === Responsive === */
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .cta-band-inner { flex-direction: row; justify-content: space-between; align-items: center; gap: 2rem; }
}
@media (min-width: 768px) {
  body { font-size: 18px; }
  .logo img { height: 96px; }
  .logo-footer img { height: 72px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; position: static; padding: 0; background: none; border: 0; flex-direction: row; }
  .section { padding-block: 6rem; }
  .hero-content { padding-block: 7rem; }
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
}
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
