:root {
  --color-primary: #1E40AF;
  --color-secondary: #3B82F6;
  --color-accent: #F59E0B;
  --color-neutral-dark: #1E3A8A;
  --color-neutral-light: #F8FAFC;
  --color-text: #0F1E4B;
  --color-muted: #4A5A8A;
  --color-border: rgba(30, 58, 138, 0.12);
  --font-heading: 'PT Serif', Georgia, serif;
  --font-body: 'PT Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 20px;
  --shadow-soft: 0 2px 20px rgba(30, 58, 138, 0.06);
  --shadow-lift: 0 20px 60px -20px rgba(30, 58, 138, 0.25);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-neutral-light);
  background-image: radial-gradient(1000px 500px at 90% -10%, rgba(59, 130, 246, 0.10), transparent 60%),
                    radial-gradient(700px 400px at -10% 20%, rgba(245, 158, 11, 0.08), transparent 60%);
  background-repeat: no-repeat;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); 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.15; margin: 0 0 1rem; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; margin-inline: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 700; color: var(--color-secondary); margin-bottom: 0.75rem; }

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--font-body);
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
  text-decoration: none;
  line-height: 1;
}
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; box-shadow: 0 10px 24px -12px rgba(30, 64, 175, 0.6); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -14px rgba(30, 64, 175, 0.7); text-decoration: none; }
.btn--accent { background: var(--color-accent); color: #1a1408; box-shadow: 0 10px 24px -12px rgba(245, 158, 11, 0.6); }
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -14px rgba(245, 158, 11, 0.7); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--color-primary); border: 1px solid var(--color-border); }
.btn--ghost:hover { background: rgba(59, 130, 246, 0.06); text-decoration: none; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; border-radius: 6px; }

/* === Header / nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  background: rgba(248, 250, 252, 0.75);
  border-bottom: 1px solid var(--color-border);
  transition: background 0.2s, box-shadow 0.2s;
}
.site-header.scrolled { background: rgba(248, 250, 252, 0.92); box-shadow: 0 6px 24px -18px rgba(30, 58, 138, 0.3); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 1180px; margin-inline: auto; padding: 0.75rem 1.25rem; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { background: transparent; border: 1px solid var(--color-border); border-radius: 12px; padding: 0.5rem; color: var(--color-neutral-dark); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.primary-nav { display: none; flex-direction: column; gap: 0.25rem; position: absolute; top: 100%; left: 0; right: 0; background: rgba(248, 250, 252, 0.98); backdrop-filter: blur(20px); padding: 1rem 1.25rem; border-bottom: 1px solid var(--color-border); }
.primary-nav.is-open { display: flex; }
.primary-nav a { padding: 0.75rem 0; font-weight: 600; color: var(--color-neutral-dark); position: relative; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; position: static; background: transparent; padding: 0; border: 0; gap: 1.75rem; }
  .primary-nav a { padding: 0.5rem 0; }
  .primary-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
  .primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .primary-nav a:hover { text-decoration: none; }
  .logo img { height: 96px; }
}

/* === Hero card === */
.hero { padding: 3rem 1.25rem 4rem; position: relative; }
.hero-card__inner {
  max-width: 880px;
  margin-inline: auto;
  padding: 2.5rem 1.75rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lift);
  border: 1px solid rgba(255, 255, 255, 0.6);
  text-align: left;
}
.hero__sub { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; margin-bottom: 1.5rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.hero-card__figure { margin: 2rem 0 0; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 50px -25px rgba(30, 58, 138, 0.4); }
.hero-card__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

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

/* === Sections === */
.section { padding: 3.5rem 0; }
.section__title { text-align: center; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .section { padding: 5rem 0; } }

.intro__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.intro__figure { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-soft); }
.intro__figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) { .intro__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* === Cards === */
.cards { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } .cards--three { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.12), rgba(59, 130, 246, 0.12));
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card p { color: var(--color-muted); margin-bottom: 0; }

/* === Testimonial === */
.testimonial blockquote {
  max-width: 720px; margin: 0 auto; text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.5;
  color: var(--color-neutral-dark);
  position: relative;
  padding: 0 1rem;
}
.testimonial blockquote p { margin-bottom: 1.25rem; }
.testimonial cite { font-style: normal; font-family: var(--font-body); font-size: 0.95rem; color: var(--color-muted); font-weight: 700; }

/* === CTA band === */
.cta-band {
  margin: 3rem 1.25rem;
  padding: 3rem 1.5rem;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-lift);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.25), transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.3), transparent 50%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.9); max-width: 60ch; margin-inline: auto; }
@media (min-width: 768px) { .cta-band { margin: 4rem auto; padding: 4rem 3rem; max-width: 1080px; } }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: repeat(4, 1fr); } }
.contact-card { background: #fff; padding: 1.5rem; border-radius: 16px; border: 1px solid var(--color-border); box-shadow: var(--shadow-soft); }
.contact-card h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-secondary); margin-bottom: 0.75rem; }
.contact-card address { font-style: normal; }
.hours { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours td { padding: 0.35rem 0; border-bottom: 1px solid var(--color-border); }
.hours tr:last-child td { border-bottom: 0; }
.hours td:last-child { text-align: right; color: var(--color-muted); }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; background: #fff; padding: 2rem; border-radius: var(--radius); border: 1px solid var(--color-border); box-shadow: var(--shadow-soft); margin-top: 1.5rem; }
.contact-form label { display: flex; flex-direction: column; gap: 0.4rem; font-weight: 600; color: var(--color-neutral-dark); font-size: 0.95rem; }
.contact-form input, .contact-form textarea { font: inherit; padding: 0.75rem 0.9rem; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-neutral-light); color: var(--color-text); transition: border 0.2s, box-shadow 0.2s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--color-secondary); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15); }
.form-consent { flex-direction: row !important; align-items: flex-start; gap: 0.6rem; font-weight: 400; font-size: 0.9rem; color: var(--color-muted); }
.form-consent input { flex: 0 0 auto; margin-top: 0.25rem; }
.contact-form button { align-self: flex-start; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: #cfd8ea; padding: 3.5rem 0 1.5rem; margin-top: 4rem; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: #cfd8ea; }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.25rem; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 3rem; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer address { font-style: normal; margin-bottom: 1rem; }
.legal-links { margin-top: 1rem; font-size: 0.9rem; }
.logo--footer img { height: 60px; filter: brightness(0) invert(1); opacity: 0.9; margin-bottom: 0.5rem; }
.site-footer__copy { text-align: center; margin: 2.5rem 0 0; font-size: 0.85rem; color: #93a5cc; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 1.5rem; }

/* === 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: 16px; box-shadow: var(--shadow-lift); max-width: 640px; margin-inline: 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; padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.25); background: transparent; color: var(--color-neutral-light); cursor: pointer; font-size: 0.9rem; font-weight: 600; }
.cookie-banner button[data-cookie-accept] { background: var(--color-accent); color: #1a1408; border-color: var(--color-accent); }
.cookie-banner button:hover { opacity: 0.9; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }

/* === Reveal === */
.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; } }
