:root {
  --color-primary: #0369A1;
  --color-secondary: #0EA5E9;
  --color-accent: #22C55E;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --color-text: #0C1F2E;
  --color-muted: #4A6577;
  --color-border: rgba(12, 74, 110, 0.12);
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(3, 105, 161, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(3, 105, 161, 0.22);
  --shadow-lg: 0 30px 60px -30px rgba(12, 74, 110, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === 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: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.01em; line-height: 1.2; margin: 0 0 .75rem; }
h1 { font-weight: 700; }
h2 { font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-weight: 600; font-size: 1.2rem; }
p { margin: 0 0 1rem; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease-hover); }
a:hover { color: var(--color-secondary); }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--color-secondary); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 760px; }
.eyebrow { font-family: var(--font-heading); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--color-primary); margin: 0 0 1rem; }

/* === Header / Nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(240, 249, 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: background .3s var(--ease-hover), box-shadow .3s var(--ease-hover);
}
.site-header.scrolled { background: rgba(255,255,255,0.88); box-shadow: 0 6px 24px -18px rgba(12,74,110,0.4); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  background: transparent; border: 1px solid var(--color-border); border-radius: 10px;
  padding: .4rem; color: var(--color-neutral-dark); cursor: pointer; display: inline-flex;
}
.primary-nav {
  position: absolute; top: 100%; left: 0; right: 0;
  display: none; flex-direction: column; gap: .25rem;
  background: #fff; border-bottom: 1px solid var(--color-border);
  padding: 1rem 1.25rem;
}
.primary-nav.is-open { display: flex; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; padding: .6rem .25rem; position: relative; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav .nav-cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff; border-radius: 999px; padding: .55rem 1.1rem; margin-top: .25rem;
  text-align: center; font-weight: 600;
}

/* === Buttons === */
.btn {
  display: inline-block; padding: .85rem 1.5rem; border-radius: 999px;
  font-family: var(--font-heading); font-weight: 600; font-size: .95rem;
  transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover), background .2s;
  border: none; cursor: pointer; text-align: center;
}
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  box-shadow: 0 12px 30px -12px rgba(3, 105, 161, 0.55);
}
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(3, 105, 161, 0.65); }
.btn--ghost {
  color: var(--color-primary);
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.35);
}
.btn--ghost:hover { background: rgba(14, 165, 233, 0.14); transform: translateY(-2px); }
.btn--accent {
  color: #fff;
  background: var(--color-accent);
  box-shadow: 0 12px 30px -12px rgba(34, 197, 94, 0.55);
}
.btn--accent:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(34, 197, 94, 0.65); }

/* === Hero card === */
.hero {
  position: relative;
  padding-block: 3rem 4rem;
  background:
    radial-gradient(60% 60% at 20% 10%, rgba(14, 165, 233, 0.14), transparent 70%),
    radial-gradient(50% 50% at 90% 20%, rgba(34, 197, 94, 0.10), transparent 70%),
    linear-gradient(180deg, var(--color-neutral-light), #ffffff 80%);
  overflow: hidden;
}
.hero-card__box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  max-width: 880px;
  margin-inline: auto;
  text-align: left;
}
.hero-card__title { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 700; margin-bottom: 1rem; max-width: 22ch; }
.hero-card__sub { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--color-muted); max-width: 52ch; margin-bottom: 1.75rem; }
.hero-card__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.hero-card__figure { margin: 0; border-radius: var(--radius-md); overflow: hidden; }
.hero-card__figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* === Sections === */
.section { padding-block: 3.5rem; }
.section--tinted {
  background:
    radial-gradient(60% 40% at 80% 20%, rgba(14, 165, 233, 0.08), transparent 70%),
    var(--color-neutral-light);
  border-block: 1px solid var(--color-border);
}
.section__head { text-align: center; max-width: 620px; margin: 0 auto 2rem; }
.section__title { text-align: left; }
.section--tinted .section__head .section__title,
.section__head .section__title { text-align: center; }
.section__body { color: var(--color-muted); font-size: 1.05rem; }
.container--narrow .section__title { text-align: left; }

/* === Grids & Cards === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-hover), box-shadow .25s var(--ease-hover);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 1rem;
  color: var(--color-primary);
  background: linear-gradient(135deg, rgba(14,165,233,0.14), rgba(34,197,94,0.10));
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin: 0; font-size: .98rem; }

/* === Testimonial === */
.testimonial { padding-block: 3rem; }
.quote {
  margin: 0; padding: 2.25rem 1.75rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
}
.quote p {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.3vw, 1.5rem);
  font-weight: 500;
  color: var(--color-neutral-dark);
  line-height: 1.4;
  margin-bottom: 1.25rem;
}
.quote cite { font-style: normal; font-size: .95rem; color: var(--color-muted); font-weight: 500; }

/* === CTA band === */
.cta-band {
  margin-block: 2rem;
}
.cta-band__inner {
  background:
    radial-gradient(80% 100% at 100% 0%, rgba(34,197,94,0.30), transparent 60%),
    linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.cta-band__inner h2 { color: #fff; }
.cta-band__inner p { color: rgba(255,255,255,0.85); }

/* === FAQ === */
.faq details {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: .75rem;
  transition: box-shadow .2s var(--ease-hover);
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  font-family: var(--font-heading); font-weight: 600; cursor: pointer;
  color: var(--color-neutral-dark); list-style: none; position: relative; padding-right: 2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: -2px;
  font-size: 1.4rem; color: var(--color-primary); font-weight: 400;
  transition: transform .2s var(--ease-hover);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--color-muted); margin-top: .75rem; margin-bottom: 0; }

/* === Contact band === */
.contact-band { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.contact-band__figure { margin: 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.contact-band__figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.contact-list li { padding: .4rem 0; border-bottom: 1px solid var(--color-border); }
.contact-list li:last-child { border-bottom: none; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: .55rem .5rem; text-align: left; border-bottom: 1px solid var(--color-border); font-weight: 400; }
.hours th { color: var(--color-neutral-dark); font-weight: 500; }

/* === Contact form === */
.contact-form { display: grid; gap: 1rem; margin-top: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-family: var(--font-heading); font-size: .9rem; font-weight: 500; color: var(--color-neutral-dark); }
.field input, .field textarea {
  font: inherit; font-family: var(--font-body);
  padding: .8rem 1rem; border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); background: #fff; color: var(--color-text);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--color-secondary);
  box-shadow: 0 0 0 4px rgba(14,165,233,0.14);
}
.field textarea { resize: vertical; min-height: 140px; }
.form-consent {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .9rem; color: var(--color-muted); line-height: 1.45;
}
.form-consent input { margin-top: .2rem; flex-shrink: 0; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(240, 249, 255, 0.82);
  padding-block: 3rem 1.5rem;
  margin-top: 3rem;
}
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.site-footer h2 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: .75rem; }
.site-footer a { color: rgba(240, 249, 255, 0.82); display: inline-block; padding: .2rem 0; }
.site-footer a:hover { color: #fff; }
.site-footer__tagline { color: rgba(240, 249, 255, 0.6); margin-top: .5rem; }
.site-footer__nav { display: flex; flex-direction: column; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: .75rem; }
.site-footer__legal { font-size: .9rem; color: rgba(240, 249, 255, 0.6); }
.site-footer__base { border-top: 1px solid rgba(240, 249, 255, 0.12); margin-top: 2rem; padding-top: 1rem; font-size: .85rem; color: rgba(240, 249, 255, 0.55); }
.logo--footer img { height: 56px; filter: brightness(0) invert(1); }

/* === 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-md);
  padding: 1.25rem 1.25rem;
  box-shadow: 0 25px 60px -20px rgba(0,0,0,0.5);
  max-width: 560px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .92rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  font: inherit; font-family: var(--font-heading); font-weight: 600;
  padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(240,249,255,0.25);
  background: transparent; color: var(--color-neutral-light); cursor: pointer;
  transition: background .2s;
}
.cookie-banner button:hover { background: rgba(240,249,255,0.08); }
.cookie-banner [data-cookie-accept] {
  background: var(--color-accent); border-color: transparent; color: #fff;
}
.cookie-banner [data-cookie-accept]:hover { background: #16a34a; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; margin-top: .5rem; background: var(--color-secondary); border-color: transparent; color: #fff; }

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

/* === Responsive === */
@media (min-width: 640px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .hero-card__box { padding: 2.75rem 2.5rem; }
}

@media (min-width: 768px) {
  body { font-size: 17px; }
  .logo img { height: 96px; }
  .logo--footer img { height: 64px; }
  .site-header__inner { padding-block: 1rem; }
  .nav-toggle { display: none; }
  .primary-nav {
    position: static; display: flex; flex-direction: row; align-items: center;
    gap: .25rem; background: transparent; border: none; padding: 0;
  }
  .primary-nav a { padding: .5rem .9rem; border-radius: 8px; }
  .primary-nav a:not(.nav-cta) { position: relative; }
  .primary-nav a:not(.nav-cta)::after {
    content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .3rem;
    height: 2px; background: var(--color-primary); border-radius: 2px;
    transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-hover);
  }
  .primary-nav a:not(.nav-cta):hover::after,
  .primary-nav a[aria-current="page"]:not(.nav-cta)::after { transform: scaleX(1); }
  .primary-nav .nav-cta { margin-left: .5rem; margin-top: 0; }

  .hero { padding-block: 5rem 5rem; }
  .hero-card__box { padding: 3.5rem 3.5rem; }

  .section { padding-block: 5rem; }
  .cta-band__inner { padding: 3.5rem 2.5rem; }

  .contact-band { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .site-footer__grid { grid-template-columns: 2fr 1fr 1.5fr; gap: 3rem; }
}

@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  .hero-card__title { font-size: clamp(2.6rem, 4vw, 3.6rem); }
}
