:root {
  --color-primary: #0369A1;
  --color-secondary: #0EA5E9;
  --color-accent: #CA8A04;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-soft: 0 2px 20px rgba(12, 74, 110, 0.08);
  --shadow-lift: 0 20px 50px -20px rgba(12, 74, 110, 0.35);
}

/* === Base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: #FFFFFF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; 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.02em;
  line-height: 1.15;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
p { margin: 0 0 1rem; }

/* === Header / Nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(240, 249, 255, 0.7);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(12, 74, 110, 0.08);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(240, 249, 255, 0.92);
  box-shadow: 0 4px 20px -10px rgba(12, 74, 110, 0.2);
}
.nav-wrap {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1.25rem;
  gap: 1rem;
}
.logo img { height: 72px; width: auto; }
.nav-toggle {
  background: transparent; border: 0;
  color: var(--color-neutral-dark);
  padding: 0.5rem; cursor: pointer;
  display: inline-flex;
}
.primary-nav {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--color-neutral-light);
  border-bottom: 1px solid rgba(12, 74, 110, 0.08);
  padding: 1rem 1.25rem;
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  color: var(--color-neutral-dark);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); font-weight: 700; }

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

/* === Hero card === */
.hero {
  padding: 3rem 1.25rem 4rem;
  background:
    radial-gradient(circle at 15% 10%, rgba(202, 138, 4, 0.10), transparent 55%),
    radial-gradient(circle at 85% 90%, rgba(14, 165, 233, 0.18), transparent 55%),
    linear-gradient(135deg, var(--color-neutral-light) 0%, #E0F2FE 100%);
}
.hero-card__inner {
  max-width: 880px; margin: 0 auto;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.75rem;
  box-shadow: var(--shadow-lift);
  border: 1px solid rgba(12, 74, 110, 0.06);
}
.eyebrow {
  font-family: var(--font-heading);
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.8rem; font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 0.75rem;
}
.hero-card__inner h1 { margin-bottom: 1.25rem; }
.lede {
  font-size: 1.15rem;
  color: rgba(12, 74, 110, 0.82);
  max-width: 56ch;
  margin-bottom: 1.75rem;
}
.cta-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-card__figure { margin: 2rem 0 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); }
.hero-card__figure img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }

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

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s ease, color .2s ease;
  text-decoration: none;
}
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #FFFFFF;
  box-shadow: 0 8px 20px -8px rgba(3, 105, 161, 0.55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(3, 105, 161, 0.6); color: #FFFFFF; }
.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: rgba(3, 105, 161, 0.35);
}
.btn--ghost:hover { background: rgba(3, 105, 161, 0.08); transform: translateY(-2px); }
.btn--accent {
  background: var(--color-accent);
  color: #FFFFFF;
}
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(202, 138, 4, 0.6); color: #FFFFFF; }

/* === Sections === */
.section { padding: 4rem 1.25rem; max-width: 1200px; margin: 0 auto; }
.section--narrow { max-width: 760px; }
.section--tinted {
  max-width: none;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--color-neutral-light) 100%);
  padding-inline: 1.25rem;
}
.section--tinted > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.section__head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.section__head p { color: rgba(12, 74, 110, 0.75); }

/* === Card grid === */
.grid { display: grid; gap: 1.25rem; }
.grid--cards { grid-template-columns: 1fr; }
.card {
  background: #FFFFFF;
  border: 1px solid rgba(12, 74, 110, 0.08);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s ease;
  color: var(--color-neutral-dark);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: rgba(14, 165, 233, 0.3); }
.card-link { text-decoration: none; display: block; }
.card-link h3 { color: var(--color-neutral-dark); }
.card-link p { color: rgba(12, 74, 110, 0.78); 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(3, 105, 161, 0.1), rgba(14, 165, 233, 0.15));
  color: var(--color-primary);
  margin-bottom: 1rem;
}

@media (min-width: 640px) { .grid--cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--cards { grid-template-columns: repeat(3, 1fr); } }

/* === Testimonial === */
.section--quote { padding: 4rem 1.25rem; max-width: 800px; margin: 0 auto; text-align: center; }
.section--quote blockquote { margin: 0; }
.section--quote p {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-neutral-dark);
}
.section--quote cite {
  display: block; margin-top: 1.25rem;
  font-style: normal;
  color: var(--color-primary);
  font-weight: 600;
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-neutral-dark) 100%);
  color: #FFFFFF;
  padding: 4rem 1.25rem;
  text-align: center;
}
.cta-band__inner { max-width: 720px; margin: 0 auto; }
.cta-band h2 { color: #FFFFFF; }
.cta-band p { color: rgba(240, 249, 255, 0.88); margin-bottom: 1.75rem; }

/* === Pricing === */
.pricing-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; margin-top: 0; }
@media (min-width: 960px) { .pricing-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.pricing-card {
  position: relative;
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(12, 74, 110, 0.12);
  background: var(--color-neutral-light);
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.pricing-card--featured {
  border-color: var(--color-accent);
  border-width: 2px;
  background: #FFFFFF;
  box-shadow: var(--shadow-lift);
}
.pricing-card__badge {
  position: absolute; top: -14px; right: 1.25rem;
  background: var(--color-accent);
  color: var(--color-neutral-light);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.pricing-card__plan { margin-bottom: 0.5rem; }
.pricing-card__price {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
.pricing-card__lede {
  color: rgba(12, 74, 110, 0.75);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}
.pricing-card__features {
  list-style: none;
  padding: 0; margin: 0 0 1.75rem;
  flex: 1;
}
.pricing-card__features li {
  display: flex; gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(12, 74, 110, 0.1);
  font-size: 0.95rem;
}
.pricing-card__features li span {
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
}
.pricing-card__cta { width: 100%; }

/* === FAQ === */
.faq details {
  background: #FFFFFF;
  border: 1px solid rgba(12, 74, 110, 0.1);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  transition: box-shadow .2s ease;
}
.faq details[open] { box-shadow: var(--shadow-soft); }
.faq summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-neutral-dark);
  list-style: none;
  padding-right: 2rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  color: var(--color-primary);
  font-size: 1.5rem; font-weight: 400;
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 0.75rem; margin-bottom: 0; color: rgba(12, 74, 110, 0.8); }

/* === Contact === */
.contact-layout {
  display: grid; gap: 2rem;
  max-width: 1100px; margin: 0 auto;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1fr 1.2fr; } }
.contact-info h3 { margin-top: 1.5rem; }
.contact-info address { font-style: normal; margin-bottom: 1rem; }
.hours { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours th, .hours td { text-align: left; padding: 0.5rem 0; border-bottom: 1px dashed rgba(12, 74, 110, 0.15); }
.hours th { font-weight: 500; color: var(--color-neutral-dark); }
.hours td { color: rgba(12, 74, 110, 0.75); }

.contact-form {
  background: #FFFFFF;
  border: 1px solid rgba(12, 74, 110, 0.1);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 1rem;
}
.contact-form label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.9rem; font-weight: 500; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(12, 74, 110, 0.2);
  border-radius: 10px;
  font: inherit;
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.15);
}
.form-consent {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(12, 74, 110, 0.85);
  line-height: 1.5;
}
.form-consent input { width: auto; margin-top: 3px; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(240, 249, 255, 0.85);
  padding: 3.5rem 1.25rem 1.5rem;
  margin-top: 3rem;
}
.footer-grid {
  display: grid; gap: 2rem;
  max-width: 1200px; margin: 0 auto 2rem;
  grid-template-columns: 1fr;
}
.footer-grid h4 { color: #FFFFFF; margin-bottom: 0.75rem; }
.footer-grid a { color: rgba(240, 249, 255, 0.85); }
.footer-grid a:hover { color: #FFFFFF; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { padding: 0.25rem 0; }
.footer-grid address { font-style: normal; margin-bottom: 1rem; }
.legal-links { border-top: 1px solid rgba(240, 249, 255, 0.15); padding-top: 1rem; margin-top: 1rem !important; }
.logo--footer img { height: 64px; }
.copyright {
  max-width: 1200px; margin: 0 auto;
  border-top: 1px solid rgba(240, 249, 255, 0.12);
  padding-top: 1rem;
  font-size: 0.85rem;
  color: rgba(240, 249, 255, 0.6);
  text-align: center;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.3fr; } }

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

/* === 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-md);
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.5);
  max-width: 620px; margin: 0 auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.92rem; }
.cookie-banner__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cookie-banner button {
  background: var(--color-accent);
  color: var(--color-neutral-light);
  border: 0;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600; font-size: 0.85rem;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease;
}
.cookie-banner button:hover { transform: translateY(-1px); }
.cookie-banner [data-cookie-reject],
.cookie-banner [data-cookie-settings] {
  background: transparent;
  border: 1px solid rgba(240, 249, 255, 0.35);
}
.cookie-banner__prefs {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(240, 249, 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; }
