:root {
  --color-primary: #0F172A;
  --color-secondary: #334155;
  --color-accent: #0369A1;
  --color-neutral-dark: #020617;
  --color-neutral-light: #F8FAFC;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(2, 6, 23, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(2, 6, 23, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(2, 6, 23, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-primary);
  background: var(--color-neutral-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-primary); letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1rem; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 1.25rem; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 250, 252, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(2, 6, 23, 0.06);
  transition: background .2s, box-shadow .2s;
}
.site-header.scrolled { background: rgba(248, 250, 252, 0.92); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1.25rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.primary-nav { display: none; gap: 1.5rem; align-items: center; }
.primary-nav a { color: var(--color-secondary); font-weight: 500; font-size: .95rem; position: relative; padding: .25rem 0; }
.primary-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px;
  background: var(--color-accent); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease-hover);
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--color-primary); text-decoration: none; }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav .nav-cta {
  background: linear-gradient(135deg, var(--color-accent), #0284c7);
  color: var(--color-neutral-light); padding: .55rem 1.1rem; border-radius: 999px;
}
.primary-nav .nav-cta::after { display: none; }
.primary-nav .nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 4px; background: transparent; border: 0; cursor: pointer; padding: .5rem; }
.nav-toggle span { width: 22px; height: 2px; background: var(--color-primary); border-radius: 2px; }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .primary-nav { display: flex; }
  .nav-toggle { display: none; }
}
@media (max-width: 899px) {
  .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--color-neutral-light);
    flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.5rem;
    gap: .25rem; border-bottom: 1px solid rgba(2, 6, 23, 0.08);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: .75rem 0; border-bottom: 1px solid rgba(2, 6, 23, 0.04); }
  .primary-nav .nav-cta { text-align: center; margin-top: .5rem; }
}

/* === Buttons === */
.btn {
  display: inline-block; padding: .85rem 1.6rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; cursor: pointer; border: 0;
  text-decoration: none; transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover), background .2s;
  font-family: var(--font-body);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), #1e293b); color: var(--color-neutral-light); }
.btn-accent { background: linear-gradient(135deg, var(--color-accent), #0284c7); color: var(--color-neutral-light); }
.btn-ghost { background: transparent; color: var(--color-primary); border: 1px solid rgba(2, 6, 23, 0.15); }
.btn-ghost:hover { background: rgba(2, 6, 23, 0.04); }

/* === Hero (hero-card) === */
.hero { position: relative; padding: 3rem 0 4rem; overflow: hidden; }
.hero-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 20% 20%, rgba(3, 105, 161, 0.14), transparent 60%),
    radial-gradient(50% 50% at 85% 30%, rgba(15, 23, 42, 0.10), transparent 60%),
    linear-gradient(180deg, #eef2f7 0%, var(--color-neutral-light) 100%);
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-card__box {
  max-width: 880px; margin: 0 auto;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--color-neutral-light);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(2, 6, 23, 0.05);
  text-align: center;
}
.hero-card__box h1 { margin-bottom: 1.25rem; }
.hero-card__box .lede { font-size: 1.15rem; color: var(--color-secondary); max-width: 52ch; margin: 0 auto 1.75rem; }
.hero-card__figure { margin: 2rem 0 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.hero-card__figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.eyebrow { font-family: var(--font-heading); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--color-accent); margin-bottom: 1rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin: 0; }

@media (min-width: 768px) {
  .hero { padding: 5rem 0 6rem; }
  .hero-card__box { padding: 4rem 3rem; }
}

/* === Sections === */
.section { padding: 4rem 0; }
.section-tinted {
  background: linear-gradient(180deg, #eef2f7 0%, #f8fafc 100%);
  border-top: 1px solid rgba(2, 6, 23, 0.04);
  border-bottom: 1px solid rgba(2, 6, 23, 0.04);
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-secondary); font-size: 1.05rem; }

/* === Grids & Cards === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--color-neutral-light);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(2, 6, 23, 0.06);
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover);
  display: block;
}
.card p { color: var(--color-secondary); margin: 0; }
.card h3 { margin-bottom: .5rem; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-link { color: inherit; text-decoration: none; }
.card-link:hover { text-decoration: none; }
.icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(3, 105, 161, 0.10);
  color: var(--color-accent);
  margin-bottom: 1rem;
}

/* === Quote === */
.section-quote blockquote { margin: 0; padding: 2rem 0; text-align: center; }
.section-quote blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.5;
  margin: 0 0 1.25rem;
}
.section-quote cite { color: var(--color-secondary); font-style: normal; font-size: .95rem; }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: var(--color-neutral-light);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(50% 60% at 50% 0%, rgba(3, 105, 161, 0.35), transparent 70%);
  pointer-events: none;
}
.cta-band .container, .cta-band .narrow { position: relative; }
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(248, 250, 252, 0.85); max-width: 52ch; margin-left: auto; margin-right: auto; }

/* === Contact card === */
.contact-card {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
  background: var(--color-neutral-light);
  padding: 2rem; border-radius: var(--radius);
  border: 1px solid rgba(2, 6, 23, 0.06);
  box-shadow: var(--shadow-sm);
}
.contact-card address { font-style: normal; color: var(--color-secondary); line-height: 1.8; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: .5rem 0; border-bottom: 1px solid rgba(2, 6, 23, 0.06); font-weight: 400; color: var(--color-secondary); }
.hours th { color: var(--color-primary); font-weight: 500; }
@media (min-width: 768px) { .contact-card { grid-template-columns: 1fr 1fr; padding: 2.5rem; } }

/* === Contact form === */
.contact-form { display: grid; gap: 1rem; }
.contact-form label { display: grid; gap: .35rem; font-size: .9rem; color: var(--color-secondary); font-weight: 500; }
.contact-form input, .contact-form textarea {
  font-family: var(--font-body); font-size: 1rem;
  padding: .8rem 1rem;
  border: 1px solid rgba(2, 6, 23, 0.15);
  border-radius: 10px;
  background: var(--color-neutral-light);
  color: var(--color-primary);
  transition: border-color .15s, box-shadow .15s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.15);
}
.form-consent { display: flex !important; flex-direction: row !important; gap: .6rem; align-items: flex-start; font-size: .85rem; }
.form-consent input { margin-top: .2rem; }
.form-consent span { flex: 1; }

/* === Footer === */
.site-footer { background: var(--color-primary); color: rgba(248, 250, 252, 0.75); padding: 3rem 0 1.5rem; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.site-footer .logo img { height: 64px; filter: brightness(0) invert(1); opacity: .95; }
.site-footer h4 { color: var(--color-neutral-light); font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.site-footer a { color: rgba(248, 250, 252, 0.75); display: inline-block; padding: .2rem 0; }
.site-footer nav a { display: block; }
.site-footer a:hover { color: var(--color-neutral-light); text-decoration: none; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.site-footer .tagline { margin-top: .5rem; font-size: .95rem; }
.legal-links { font-size: .85rem; margin-top: 1rem; }
.copyright { text-align: center; font-size: .8rem; color: rgba(248, 250, 252, 0.5); margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(248, 250, 252, 0.08); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 3rem; } }

/* === Reveal animations === */
.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: var(--color-neutral-dark); color: var(--color-neutral-light);
  padding: 1.25rem 1.5rem; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 620px; margin: 0 auto;
  font-size: .9rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; color: rgba(248, 250, 252, 0.88); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn { padding: .55rem 1rem; font-size: .85rem; }
.cookie-banner__actions .btn-ghost { color: var(--color-neutral-light); border-color: rgba(248, 250, 252, 0.2); }
.cookie-banner__actions .btn-ghost:hover { background: rgba(248, 250, 252, 0.08); }
.cookie-banner__prefs { display: grid; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(248, 250, 252, 0.12); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs .btn { justify-self: start; margin-top: .5rem; }
