:root {
  --color-primary: #0369A1;
  --color-secondary: #38BDF8;
  --color-accent: #22C55E;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --color-text: #0C4A6E;
  --color-muted: #476A83;
  --color-border: rgba(12, 74, 110, 0.12);
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(3, 105, 161, 0.08);
  --shadow-md: 0 20px 60px -20px rgba(3, 105, 161, 0.25);
}

/* === 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: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.75rem; }
p { margin: 0 0 1rem; }
.muted { color: var(--color-muted); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 780px; }
.section { padding-block: 4rem; }
.section--tint { background: var(--color-neutral-light); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section__head p { color: var(--color-muted); }

/* === Header === */
.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 .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--color-border);
  box-shadow: 0 8px 30px -20px rgba(3, 105, 161, 0.35);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding-block: 0.75rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.logo--footer img { height: 60px; }
.nav-toggle {
  background: transparent; border: 1px solid var(--color-border);
  color: var(--color-neutral-dark); border-radius: var(--radius-sm);
  padding: 0.4rem 0.5rem; cursor: pointer; display: inline-flex;
}
.site-nav { display: none; flex-direction: column; gap: 0.75rem; position: absolute; left: 1rem; right: 1rem; top: 100%; background: #fff; padding: 1rem; border-radius: var(--radius-md); box-shadow: var(--shadow-md); border: 1px solid var(--color-border); }
.site-nav.is-open { display: flex; }
.site-nav a { color: var(--color-neutral-dark); font-weight: 500; padding: 0.35rem 0; position: relative; }
.site-nav a.is-active { color: var(--color-primary); }
.site-nav a:hover { text-decoration: none; color: var(--color-primary); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; flex-direction: row; align-items: center; gap: 1.5rem; position: static; padding: 0; background: transparent; box-shadow: none; border: none; border-radius: 0; }
  .logo img { height: 96px; }
  .logo--footer img { height: 72px; }
  .site-nav a:not(.btn)::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);
  }
  .site-nav a:not(.btn):hover::after,
  .site-nav a.is-active::after { transform: scaleX(1); }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.4rem; border-radius: 999px;
  font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s ease, color .2s ease;
  text-decoration: none; line-height: 1; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(3, 105, 161, 0.45); }
.btn:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 3px; }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; }
.btn--accent { background: var(--color-accent); color: #04310F; }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn--ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn--sm { padding: 0.55rem 0.95rem; font-size: 0.85rem; }

/* === Hero === */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, #EAF5FE 0%, #F0F9FF 60%, #FFFFFF 100%); padding-block: 3.5rem 4rem; }
.hero--compact { padding-block: 2.5rem 3.5rem; }
.hero__glow {
  position: absolute; inset: -10% -20% auto auto; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle at 30% 30%, rgba(34, 197, 94, 0.18), rgba(56, 189, 248, 0.15) 40%, transparent 70%);
  filter: blur(20px); pointer-events: none;
}
.hero__inner { position: relative; text-align: center; }
.hero__inner h1 { max-width: 22ch; margin-inline: auto; }
.hero__sub { font-size: 1.15rem; color: var(--color-muted); max-width: 60ch; margin: 0 auto 2rem; }
.hero__ctas { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero__visual { margin-top: 2rem; }
.hero__visual img {
  width: 100%; max-width: 980px; margin-inline: auto;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  aspect-ratio: 16/9; object-fit: cover;
}

@media (min-width: 768px) {
  .hero { padding-block: 5rem 5rem; }
  .hero__sub { font-size: 1.25rem; }
}

/* === Grids === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* === Cards === */
.card {
  background: #fff; padding: 1.75rem; border-radius: var(--radius-md);
  border: 1px solid var(--color-border); box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(3, 105, 161, 0.3); }
.card .icon { color: var(--color-primary); margin-bottom: 0.75rem; }
.card h3 { color: var(--color-neutral-dark); }
.card p { color: var(--color-muted); font-size: 0.95rem; margin: 0; }

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

/* === Testimonial === */
.testimonial { max-width: 780px; margin: 0 auto; text-align: center; position: relative; padding: 1rem 1rem 0; }
.testimonial__mark { font-family: var(--font-heading); font-size: 4rem; line-height: 1; color: var(--color-secondary); margin: 0 0 -1.5rem; }
.testimonial p { font-size: 1.15rem; color: var(--color-neutral-dark); }
.testimonial cite { display: block; margin-top: 1.25rem; font-style: normal; color: var(--color-muted); font-size: 0.95rem; }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff; padding-block: 3.5rem;
}
.cta-band__inner { display: grid; gap: 1.5rem; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(240, 249, 255, 0.85); margin: 0; }
@media (min-width: 800px) { .cta-band__inner { grid-template-columns: 1fr auto; gap: 2.5rem; } }

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: 0.75rem; }
.faq details {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 1rem 1.25rem;
  transition: box-shadow .2s ease;
}
.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; position: relative; padding-right: 2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--color-primary); font-weight: 400; transition: transform .2s ease;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0.75rem 0 0; color: var(--color-muted); }

/* === Pricing === */
.pricing { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .pricing--3 { grid-template-columns: repeat(3, 1fr); } .pricing--2 { grid-template-columns: repeat(2, 1fr); } }
.pricing-card {
  position: relative; background: #fff; padding: 2.25rem 1.75rem;
  border-radius: var(--radius-md); border: 1px solid var(--color-border);
  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-md); }
.pricing-card--featured { border: 2px solid var(--color-accent); box-shadow: var(--shadow-md); }
.pricing-card__badge {
  position: absolute; top: -0.75rem; right: 1.25rem;
  background: var(--color-accent); color: #04310F;
  padding: 0.3rem 0.75rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700;
  font-family: var(--font-heading); letter-spacing: 0.04em; text-transform: uppercase;
}
.pricing-card__plan { font-size: 1.35rem; margin-bottom: 0.4rem; color: var(--color-neutral-dark); }
.pricing-card__price { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; color: var(--color-primary); font-family: var(--font-heading); margin: 0 0 0.5rem; }
.pricing-card__lede { color: var(--color-muted); font-size: 0.95rem; margin-bottom: 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-direction: column; gap: 0.5rem; }
.pricing-card__features li { display: flex; gap: 0.5rem; font-size: 0.95rem; color: var(--color-text); line-height: 1.5; }
.pricing-card__cta { margin-top: auto; align-self: stretch; }

/* === Contact === */
.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.4fr; gap: 3rem; } }
.contact-card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: 1.75rem; box-shadow: var(--shadow-sm);
}
.contact-card h2 { font-size: 1.5rem; }
.contact-card h3 { margin-top: 1.5rem; font-size: 1.05rem; }
.hours { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.hours th, .hours td { text-align: left; padding: 0.4rem 0; border-bottom: 1px solid var(--color-border); }
.hours th { font-weight: 500; color: var(--color-muted); }

.contact-form-wrap { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.9rem; color: var(--color-neutral-dark); font-weight: 500; }
.contact-form input, .contact-form textarea {
  font-family: inherit; font-size: 1rem; padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm); border: 1px solid var(--color-border);
  background: #fff; color: var(--color-text); 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 !important; font-weight: 400 !important; font-size: 0.85rem !important; color: var(--color-muted) !important; }
.form-consent input { margin-top: 0.15rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(240, 249, 255, 0.85); padding: 3rem 0 1.5rem; margin-top: 3rem; }
.site-footer h4 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; }
.site-footer a { color: rgba(240, 249, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.site-footer .logo--footer img { filter: brightness(0) invert(1); }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.3fr 1fr 1.2fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer address { font-style: normal; margin-bottom: 1rem; line-height: 1.7; }
.legal-links { margin-top: 1rem; font-size: 0.85rem; }
.site-footer__meta { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.85rem; color: rgba(240, 249, 255, 0.6); }
.site-footer__meta p { margin: 0; }

/* === 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; border-radius: var(--radius-md); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
  max-width: 520px;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.9rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions .btn--ghost { color: var(--color-neutral-light); border-color: rgba(240,249,255,0.3); }
.cookie-banner__actions .btn--ghost:hover { border-color: #fff; color: #fff; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner__prefs button { margin-top: 0.5rem; align-self: flex-start; }

/* === 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; }
  html { scroll-behavior: auto; }
}
