:root {
  --color-primary: #1E3A8A;
  --color-secondary: #3B82F6;
  --color-accent: #F97316;
  --color-neutral-dark: #1E40AF;
  --color-neutral-light: #EFF6FF;
  --color-text: #0F172A;
  --color-text-soft: #475569;
  --color-border: rgba(30, 58, 138, 0.14);
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --shadow-sm: 0 2px 20px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 20px 40px -24px rgba(30, 58, 138, 0.28);
  --shadow-lg: 0 30px 60px -30px rgba(30, 58, 138, 0.35);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-secondary); }
button { font-family: inherit; cursor: pointer; }

/* === Typography === */
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-text); line-height: 1.2; margin: 0 0 .75rem; letter-spacing: -0.01em; }
h1 { font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
h4 { font-size: .95rem; font-weight: 600; }
p { margin: 0 0 1rem; color: var(--color-text-soft); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: .78rem; font-weight: 600; color: var(--color-secondary); margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.container-narrow { max-width: 760px; }
.section { padding-block: 4rem; }
.section-alt { background: var(--color-neutral-light); }
.section-intro { text-align: center; }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head p { max-width: 60ch; margin-inline: auto; }

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

/* === Header / Nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { background: rgba(255, 255, 255, 0.92); box-shadow: 0 6px 24px -18px rgba(15, 23, 42, 0.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: .9rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }

.primary-nav { display: none; align-items: center; gap: 1.75rem; }
.primary-nav a { font-weight: 500; color: var(--color-text); font-size: .95rem; position: relative; padding: .35rem 0; }
.primary-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--color-accent); transform: scaleX(0); transform-origin: left;
  transition: transform .2s var(--ease);
}
.primary-nav a:hover::after, .primary-nav a.is-active::after { transform: scaleX(1); }
.primary-nav a.is-active { color: var(--color-primary); }
.primary-nav .nav-cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff; padding: .6rem 1.1rem; border-radius: 999px; font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.primary-nav .nav-cta::after { display: none; }
.primary-nav .nav-cta:hover { color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); transition: transform .2s, box-shadow .2s; }

.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; width: 40px; height: 40px; background: transparent; border: 1px solid var(--color-border); border-radius: 10px; align-items: center; justify-content: center; }
.nav-toggle span { width: 18px; height: 2px; background: var(--color-primary); border-radius: 2px; transition: transform .2s; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; }
}

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

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600;
  border: 0; font-size: .95rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  cursor: pointer;
}
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff; box-shadow: 0 12px 30px -12px rgba(30, 58, 138, 0.55);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(30, 58, 138, 0.6); }
.btn-accent {
  background: var(--color-accent); color: #fff;
  box-shadow: 0 12px 30px -12px rgba(249, 115, 22, 0.55);
}
.btn-accent:hover { color: #fff; transform: translateY(-2px); background: #ea6a12; }
.btn-ghost {
  background: rgba(30, 58, 138, 0.06); color: var(--color-primary);
}
.btn-ghost:hover { background: rgba(30, 58, 138, 0.12); transform: translateY(-1px); }

/* === Hero (hero-card) === */
.hero {
  position: relative;
  padding-block: 3rem 4rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(249, 115, 22, 0.10), transparent 60%),
    radial-gradient(circle at 85% 80%, rgba(59, 130, 246, 0.18), transparent 60%),
    linear-gradient(180deg, var(--color-neutral-light), #ffffff);
  overflow: hidden;
}
.hero-card__panel {
  max-width: 880px; margin: 0 auto;
  padding: 2.5rem 1.5rem;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  text-align: center;
}
.hero-card__title { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 1rem; }
.hero-card__sub { font-size: 1.1rem; color: var(--color-text-soft); max-width: 52ch; margin: 0 auto 1.75rem; }
.hero-card__actions { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2rem; }
.hero-card__figure { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-md); }
.hero-card__figure img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }

@media (min-width: 768px) {
  .hero { padding-block: 5rem 6rem; }
  .hero-card__panel { padding: 3.5rem 3rem; }
}

/* === Grid & Cards === */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { 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); }
  .grid { gap: 1.5rem; }
}

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card p:last-child { margin-bottom: 0; }
.card-large { padding: 2rem; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.10), rgba(59, 130, 246, 0.18));
  color: var(--color-primary); margin-bottom: 1rem;
}
.stat-card .stat-value {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-accent);
  margin: 0 0 .25rem;
  line-height: 1;
}

/* === Testimonial === */
.section-testimonial { background: linear-gradient(180deg, #fff, var(--color-neutral-light)); }
.quote { margin: 0; text-align: center; position: relative; padding: 1rem; }
.quote p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--color-text); line-height: 1.5; font-weight: 500; }
.quote cite { display: block; margin-top: 1rem; font-style: normal; font-weight: 600; color: var(--color-primary); font-size: .95rem; }

/* === CTA band === */
.cta-band {
  padding-block: 3.5rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(249, 115, 22, 0.35), transparent 55%);
  pointer-events: none;
}
.cta-band__inner { position: relative; display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin: 0; max-width: 55ch; }
@media (min-width: 800px) {
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; }
}

/* === Split section === */
.split { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.split__figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.split__figure img { aspect-ratio: 4/3; object-fit: cover; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
}

/* === Contact card & hours === */
.contact-card {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
  background: #fff; padding: 2rem; border-radius: var(--radius);
  border: 1px solid var(--color-border); box-shadow: var(--shadow-sm);
}
@media (min-width: 800px) {
  .contact-card { grid-template-columns: 1fr 1fr; gap: 3rem; padding: 2.5rem; }
}
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { text-align: left; padding: .6rem 0; border-bottom: 1px solid var(--color-border); font-size: .95rem; }
.hours-table th { font-weight: 500; color: var(--color-text); }
.hours-table td { color: var(--color-text-soft); text-align: right; }

.map-placeholder {
  background: linear-gradient(135deg, var(--color-neutral-light), #dbeafe);
  border-radius: var(--radius);
  min-height: 240px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--color-primary); gap: .75rem; padding: 1.5rem; text-align: center;
}
.map-placeholder p { color: var(--color-primary); font-weight: 500; margin: 0; }

/* === Form === */
.contact-form { display: grid; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-weight: 500; font-size: .9rem; color: var(--color-text); }
.field input, .field textarea {
  font: inherit; font-size: 1rem; padding: .75rem .9rem;
  border-radius: 12px; border: 1px solid var(--color-border);
  background: #fff; transition: border .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--color-secondary);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--color-text-soft); flex-wrap: wrap; }
.form-consent input { margin-top: .25rem; }

/* === FAQ === */
.faq { display: grid; gap: .75rem; }
.faq details {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: 12px; padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow-md); }
.faq summary {
  font-weight: 600; cursor: pointer; list-style: none;
  color: var(--color-primary); position: relative; padding-right: 1.5rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 0; top: 0;
  font-weight: 400; color: var(--color-accent); transition: transform .2s;
}
.faq details[open] summary::after { content: '−'; }
.faq p { margin-top: .75rem; margin-bottom: 0; }

/* === Footer === */
.site-footer { background: #0b1c50; color: rgba(255, 255, 255, 0.82); padding-block: 3rem 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 3rem; }
}
.site-footer h4 { color: #fff; margin-bottom: .9rem; letter-spacing: .04em; text-transform: uppercase; font-size: .8rem; }
.site-footer a { color: rgba(255, 255, 255, 0.82); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: .95rem; }
.site-footer address { font-style: normal; font-size: .95rem; line-height: 1.7; margin-bottom: 1rem; }
.footer-tag { color: rgba(255, 255, 255, 0.7); font-size: .95rem; }
.logo-footer { display: inline-flex; margin-bottom: 1rem; background: rgba(255, 255, 255, 0.94); padding: .5rem 1rem; border-radius: 10px; }
.logo-footer img { height: 56px; width: auto; }
.legal-links { margin-top: 1rem; }
.footer-bottom { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: .85rem; color: rgba(255, 255, 255, 0.6); text-align: center; }
.footer-bottom p { margin: 0; color: inherit; }

/* === Reveal on scroll === */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* === Cookie banner === */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem;
  display: none; z-index: 9999;
  background: #0b1c50; color: var(--color-neutral-light);
  border-radius: 16px; padding: 1.25rem;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.45);
  max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { color: var(--color-neutral-light); margin: 0 0 .9rem; font-size: .92rem; }
.cookie-banner__actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.cookie-banner button {
  border: 0; border-radius: 999px; padding: .55rem 1.1rem;
  font-weight: 600; font-size: .88rem; cursor: pointer;
  background: rgba(255, 255, 255, 0.10); color: #fff;
}
.cookie-banner button[data-cookie-accept] { background: var(--color-accent); color: #fff; }
.cookie-banner button:hover { transform: translateY(-1px); transition: transform .2s; }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; }
.cookie-banner__prefs button { margin-top: .5rem; justify-self: start; background: #fff; color: var(--color-primary); }
