/* === Design tokens === */
:root {
  --color-primary: #0369A1;
  --color-secondary: #0EA5E9;
  --color-accent: #22C55E;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --color-text: #0F172A;
  --color-text-muted: #475569;
  --color-border: rgba(12, 74, 110, 0.12);
  --color-surface: #ffffff;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 12px rgba(3, 105, 161, 0.08);
  --shadow-md: 0 12px 40px -12px rgba(3, 105, 161, 0.25);
  --shadow-lg: 0 24px 60px -20px rgba(3, 105, 161, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1200px;
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #fff;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  line-height: 1.2;
  margin: 0 0 .75rem;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 780px; }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .975rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s;
}
.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(14, 165, 233, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -14px rgba(14, 165, 233, 0.65); color: #fff; }
.btn-accent {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(34, 197, 94, 0.55);
}
.btn-accent:hover { transform: translateY(-2px); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--color-neutral-dark);
  border-color: var(--color-border);
}
.btn-ghost:hover { background: var(--color-neutral-light); transform: translateY(-2px); }

/* === Header / Nav === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  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 transparent;
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--color-border);
  box-shadow: 0 8px 24px -20px rgba(3, 105, 161, 0.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .75rem;
}
.logo { display: inline-flex; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: .55rem .65rem;
  cursor: pointer;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }
.primary-nav {
  display: none;
  gap: 1.5rem;
  align-items: center;
}
.primary-nav a {
  color: var(--color-neutral-dark);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: .95rem;
  position: relative;
  padding: .25rem 0;
}
.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--color-secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.primary-nav a:hover::after, .primary-nav a.is-active::after { transform: scaleX(1); }
.primary-nav .nav-cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  padding: .55rem 1rem;
  border-radius: 999px;
}
.primary-nav .nav-cta::after { display: none; }
.primary-nav .nav-cta:hover { color: #fff; transform: translateY(-1px); }
.primary-nav.is-open {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  padding: 1.25rem;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; }
  .logo img { height: 96px; }
}

/* === Hero === */
.hero {
  position: relative;
  padding-block: 4rem;
  overflow: hidden;
  background: linear-gradient(160deg, var(--color-neutral-light) 0%, #ffffff 60%);
}
.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 60%;
  background: radial-gradient(60% 80% at 50% 20%, rgba(34, 197, 94, 0.12), transparent 60%),
              radial-gradient(50% 80% at 80% 30%, rgba(14, 165, 233, 0.22), transparent 60%);
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; text-align: center; }
.eyebrow {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .8rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero h1 { max-width: 24ch; margin-inline: auto; }
.hero-sub {
  max-width: 58ch;
  margin: 1rem auto 2rem;
  font-size: 1.125rem;
  color: var(--color-text-muted);
}
.hero-ctas {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero-figure {
  margin: 0 auto;
  max-width: 960px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #fff;
  border: 1px solid var(--color-border);
}
.hero-figure img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.hero-inner-page { padding-block: 3rem; }
@media (min-width: 768px) {
  .hero { padding-block: 6rem; }
}

/* === Sections === */
.section { padding-block: 4rem; }
.section-tint { background: var(--color-neutral-light); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-text-muted); }
.section-head-left { text-align: left; margin-inline: 0; }
@media (min-width: 768px) { .section { padding-block: 5.5rem; } }

/* === Grid / Cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-top: .5rem; }
.card p { color: var(--color-text-muted); margin-bottom: 0; font-size: .95rem; }
.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.12), rgba(14,165,233,0.18));
  color: var(--color-primary);
}

/* === Split section === */
.split { display: grid; gap: 2rem; align-items: center; grid-template-columns: 1fr; }
.split-figure { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--color-border); }
.split-figure img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* === Testimonial === */
.testimonial {
  margin: 0;
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.testimonial p { font-size: 1.15rem; color: var(--color-neutral-dark); font-style: italic; }
.testimonial cite { display: block; margin-top: 1rem; font-style: normal; color: var(--color-text-muted); font-weight: 500; }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  padding-block: 3.5rem;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(50% 80% at 20% 30%, rgba(34,197,94,0.28), transparent 60%);
  pointer-events: none;
}
.cta-inner { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; position: relative; z-index: 1; }
.cta-inner h2 { color: #fff; margin-bottom: .5rem; }
.cta-inner p { color: rgba(255,255,255,0.85); margin: 0; }
@media (min-width: 768px) {
  .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* === Pricing === */
.pricing-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 960px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pricing-card {
  position: relative;
  padding: 2.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured {
  border-color: var(--color-accent);
  border-width: 2px;
  box-shadow: var(--shadow-md);
}
.pricing-card__badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--color-accent);
  color: #fff;
  padding: .3rem .7rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .75rem;
  letter-spacing: .04em;
}
.pricing-card__plan {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-primary);
  margin: 0 0 .5rem;
}
.pricing-card__price {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-neutral-dark);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.pricing-card__lede { color: var(--color-text-muted); margin-bottom: 1.25rem; font-size: .95rem; }
.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  flex-grow: 1;
}
.pricing-card__features li { display: flex; gap: .55rem; font-size: .95rem; color: var(--color-text); }
.pricing-card__features li span { color: var(--color-accent); font-weight: 700; flex-shrink: 0; }
.pricing-card__cta { align-self: stretch; }

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: .75rem; }
.faq details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 1rem 1.25rem;
  transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-neutral-dark);
  list-style: none;
  padding-right: 1.5rem;
  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.4rem;
  transition: transform .2s;
}
.faq details[open] summary::after { content: '−'; }
.faq p { margin-top: .75rem; color: var(--color-text-muted); }

/* === Contact === */
.contact-layout { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1fr 1.2fr; gap: 3rem; } }
.contact-info address { font-style: normal; margin: .5rem 0 1rem; }
.hours { width: 100%; border-collapse: collapse; margin-top: .5rem; }
.hours th, .hours td { padding: .5rem .75rem; text-align: left; border-bottom: 1px solid var(--color-border); font-size: .95rem; }
.hours th { font-weight: 500; color: var(--color-neutral-dark); }
.hours td { color: var(--color-text-muted); }
.contact-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-form h2 { margin-bottom: .5rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-family: var(--font-heading); font-weight: 500; font-size: .9rem; color: var(--color-neutral-dark); }
.field input, .field textarea {
  font: inherit;
  padding: .75rem .9rem;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  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 3px rgba(14, 165, 233, 0.15);
}
.form-consent {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  font-size: .875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}
.form-consent input { margin-top: .25rem; }

/* === Contact band (about) === */
.section-contact-band { background: linear-gradient(135deg, var(--color-neutral-light), #ffffff); }
.section-contact-band .lede { color: var(--color-text-muted); margin-bottom: 1.5rem; }
.contact-lines { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.5rem; }
.contact-lines p { margin: 0; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(240, 249, 255, 0.85);
  padding-block: 3rem 1.5rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: .75rem; }
.site-footer a { color: rgba(240, 249, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.footer-logo img { height: 64px; }
.footer-tag { margin-top: .75rem; color: rgba(240, 249, 255, 0.7); font-size: .95rem; }
.footer-nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-contact address { font-style: normal; margin-bottom: .75rem; }
.footer-legal { display: flex; gap: 1rem; margin-top: 1rem; flex-wrap: wrap; }
.footer-bottom { border-top: 1px solid rgba(240, 249, 255, 0.15); margin-top: 2rem; padding-top: 1rem; text-align: center; }
.footer-bottom p { margin: 0; font-size: .875rem; color: rgba(240, 249, 255, 0.65); }

/* === 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;
  box-shadow: var(--shadow-lg);
  max-width: 640px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .925rem; }
.cookie-banner__actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.cookie-banner__actions .btn { padding: .55rem 1rem; font-size: .875rem; }
.cookie-banner__actions .btn-ghost { color: var(--color-neutral-light); border-color: rgba(240,249,255,0.35); }
.cookie-banner__actions .btn-ghost:hover { background: rgba(240,249,255,0.1); }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(240,249,255,0.2); }
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; font-size: .9rem; }
.cookie-banner__prefs .btn { align-self: flex-start; margin-top: .5rem; }

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