:root {
  --color-primary: #1E3A8A;
  --color-secondary: #3B82F6;
  --color-accent: #F97316;
  --color-neutral-dark: #1E40AF;
  --color-neutral-light: #EFF6FF;
  --color-text: #0F172A;
  --color-muted: #475569;
  --color-border: rgba(30, 58, 138, 0.12);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(30, 58, 138, 0.25);
  --shadow-lg: 0 30px 80px -30px rgba(30, 58, 138, 0.4);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* === 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%; display: block; height: auto; }
a { color: var(--color-secondary); text-decoration: none; }
a:hover { color: var(--color-primary); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-primary); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.75rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { margin: 0 0 1rem; color: var(--color-text); }

/* === Layout helpers === */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 780px; margin-inline: auto; }
.center { text-align: center; }
.section { padding-block: 4rem; }
.section-tint { background: var(--color-neutral-light); }
.section-head { margin-bottom: 2rem; }
.section-head p { color: var(--color-muted); max-width: 60ch; }
.section-head.center { text-align: center; }
.section-head.center p { margin-inline: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 600; color: var(--color-secondary); margin: 0 0 1rem; }

/* === 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 transparent;
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--color-border);
  box-shadow: 0 4px 24px -12px rgba(30, 58, 138, 0.18);
}
.nav-inner {
  max-width: 1180px; margin-inline: auto;
  padding: 0.6rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.primary-nav { display: none; align-items: center; gap: 1.75rem; }
.primary-nav a {
  color: var(--color-text); font-weight: 500; font-size: 0.95rem;
  position: relative; padding: 0.25rem 0;
}
.primary-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -4px; height: 2px; width: 100%;
  background: var(--color-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.primary-nav a:hover::after, .primary-nav a.is-current::after { transform: scaleX(1); }
.primary-nav a.is-current { color: var(--color-primary); }
.nav-toggle {
  border: 1px solid var(--color-border); background: #fff; color: var(--color-primary);
  border-radius: 10px; padding: 0.5rem; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.nav-toggle:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .primary-nav { display: flex; }
  .nav-toggle { display: none; }
}
@media (max-width: 767px) {
  .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--color-border);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.5rem 1.25rem 1rem;
    display: none;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 0.75rem 0; border-bottom: 1px solid var(--color-border); }
  .primary-nav a:last-child { border-bottom: 0; }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.6rem; border-radius: 999px;
  font-family: var(--font-heading); font-weight: 600; font-size: 0.98rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  box-shadow: 0 10px 30px -12px rgba(30, 58, 138, 0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(30, 58, 138, 0.6); color: #fff; }
.btn-accent {
  color: #fff; background: var(--color-accent);
  box-shadow: 0 10px 30px -12px rgba(249, 115, 22, 0.55);
}
.btn-accent:hover { transform: translateY(-2px); background: #ea680f; color: #fff; }
.btn-ghost {
  color: var(--color-primary); background: transparent;
  border-color: var(--color-border);
}
.btn-ghost:hover { background: var(--color-neutral-light); transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

/* === Hero (split) === */
.hero {
  position: relative;
  padding-block: 3rem 4rem;
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(249, 115, 22, 0.10), transparent 60%),
    linear-gradient(180deg, var(--color-neutral-light), #fff);
  overflow: hidden;
}
.hero-inner {
  max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem;
  display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center;
}
.hero-copy .lede { 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; }
.hero-media { position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero-glow {
  position: absolute; inset: -20% -10% auto auto; width: 60%; height: 60%;
  background: radial-gradient(closest-side, rgba(59, 130, 246, 0.35), transparent 70%);
  filter: blur(30px); z-index: -1;
}
.hero-compact { padding-block: 2rem 3rem; }
.hero-compact .hero-media img { aspect-ratio: 4 / 3; }

@media (min-width: 900px) {
  .hero { padding-block: 5rem 6rem; }
  .hero-inner { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
  .hero-copy { order: 1; }
  .hero-media { order: 2; }
}

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

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-top: 0.5rem; }
.card p { color: var(--color-muted); margin-bottom: 0; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(249, 115, 22, 0.15));
  color: var(--color-primary);
}

/* === Testimonial === */
.testimonial {
  position: relative;
  margin: 0; padding: 2.5rem 1.5rem;
  text-align: center;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.testimonial .quote-mark { color: var(--color-secondary); opacity: 0.25; margin-inline: auto; }
.testimonial p { font-size: 1.15rem; font-family: var(--font-heading); font-weight: 500; color: var(--color-text); max-width: 56ch; margin-inline: auto; }
.testimonial cite { display: block; margin-top: 1rem; font-style: normal; color: var(--color-muted); font-size: 0.95rem; }

/* === CTA band === */
.cta-band {
  position: relative;
  padding-block: 4rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: auto -20% -60% auto; width: 60%; height: 100%;
  background: radial-gradient(closest-side, rgba(249, 115, 22, 0.35), transparent 70%);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-bottom: 1.5rem; }

/* === FAQ === */
.faq details {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  transition: box-shadow 0.2s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; font-family: var(--font-heading); font-weight: 600;
  color: var(--color-primary); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-size: 1.4rem; color: var(--color-accent); transition: transform 0.2s;
}
.faq details[open] summary::after { content: '−'; }
.faq p { color: var(--color-muted); margin: 0.75rem 0 0; }

/* === Contact === */
.contact-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.form-row { display: flex; flex-direction: column; margin-bottom: 1rem; }
.form-row label { font-weight: 500; font-size: 0.92rem; margin-bottom: 0.35rem; color: var(--color-primary); }
.form-row input, .form-row textarea {
  font: inherit; padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border); border-radius: 10px;
  background: #fff; color: var(--color-text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-row input:focus, .form-row 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: 0.6rem; align-items: flex-start;
  font-size: 0.88rem; color: var(--color-muted);
  margin: 0.5rem 0 1.25rem;
}
.form-consent input { margin-top: 0.25rem; }

.contact-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.contact-card h3 { color: var(--color-primary); margin-bottom: 0.5rem; }
.hours { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.hours th { text-align: left; font-weight: 500; color: var(--color-muted); padding: 0.35rem 0; }
.hours td { text-align: right; padding: 0.35rem 0; color: var(--color-text); }

/* === Footer === */
.site-footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.85);
  padding: 3.5rem 0 1.5rem;
  margin-top: 3rem;
}
.site-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.8rem; }
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.3fr; } }
.footer-logo img { height: 64px; filter: brightness(0) invert(1); }
.footer-tag { color: rgba(255, 255, 255, 0.7); margin-top: 0.5rem; font-size: 0.95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 0.4rem; }
.site-footer address { font-style: normal; margin-bottom: 0.8rem; line-height: 1.7; }
.legal-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; font-size: 0.9rem; }
.copyright { border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 1.25rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.65); text-align: center; }

/* === 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);
  border-radius: var(--radius); padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { color: var(--color-neutral-light); font-size: 0.92rem; margin: 0 0 0.75rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  font: inherit; border: 1px solid rgba(255,255,255,0.25); background: transparent;
  color: var(--color-neutral-light); padding: 0.55rem 1rem; border-radius: 999px; cursor: pointer;
  font-family: var(--font-heading); font-weight: 500; font-size: 0.88rem;
  transition: background 0.2s, transform 0.2s;
}
.cookie-banner button:hover { background: rgba(255,255,255,0.1); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-accept]:hover { background: #ea680f; }
.cookie-banner__prefs {
  margin-top: 0.75rem; padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  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 [data-cookie-save] { align-self: flex-start; margin-top: 0.5rem; }

/* === Reveal === */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.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; }
}
