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

/* === Base === */
*, *::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%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-accent); }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 .6em; color: var(--color-text); }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; margin-inline: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: .8rem; font-weight: 600; color: var(--color-secondary); margin: 0 0 1rem; }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.5rem; border-radius: 999px; font-family: var(--font-heading);
  font-weight: 600; font-size: .95rem; cursor: pointer; border: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  text-decoration: none; white-space: nowrap;
}
.btn--sm { padding: .55rem 1rem; font-size: .85rem; }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; box-shadow: 0 8px 20px -8px rgba(30, 58, 138, 0.5); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(30, 58, 138, 0.55); color: #fff; }
.btn--accent { background: var(--color-accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(249, 115, 22, 0.6); }
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(249, 115, 22, 0.7); color: #fff; }
.btn--ghost { background: transparent; color: var(--color-primary); border: 1px solid var(--color-border); }
.btn--ghost:hover { background: var(--color-neutral-light); transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === Logo === */
.logo img { height: 72px; width: auto; display: block; }
.logo--footer img { height: 56px; }

/* === Header (glass nav) === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(239, 246, 255, 0.7);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled { background: rgba(255, 255, 255, 0.85); border-bottom-color: var(--color-border); box-shadow: 0 4px 20px -10px rgba(30, 58, 138, 0.15); }
.header__inner { display: flex; align-items: center; justify-content: space-between; padding-block: .75rem; gap: 1rem; }
.nav-toggle { background: none; border: none; color: var(--color-primary); cursor: pointer; padding: .5rem; display: flex; }
.primary-nav { display: none; flex-direction: column; gap: .25rem; }
.primary-nav a { padding: .6rem .9rem; color: var(--color-text); font-weight: 500; font-family: var(--font-heading); position: relative; }
.primary-nav a.is-current { color: var(--color-primary); }
.primary-nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1rem 1.25rem; box-shadow: var(--shadow-md); border-top: 1px solid var(--color-border); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav, .primary-nav.is-open { display: flex; flex-direction: row; align-items: center; position: static; padding: 0; box-shadow: none; background: none; border: none; }
  .primary-nav a { padding: .5rem .25rem; }
  .primary-nav a:not(.btn)::after { content: ''; position: absolute; left: .25rem; right: .25rem; bottom: .1rem; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .primary-nav a:not(.btn):hover::after, .primary-nav a.is-current::after { transform: scaleX(1); }
  .primary-nav .btn { margin-left: .75rem; }
  .logo img { height: 96px; }
  .logo--footer img { height: 64px; }
}

/* === Hero (saas-spotlight) === */
.hero--spotlight { position: relative; overflow: hidden; padding-block: 4rem 3rem; background: linear-gradient(180deg, var(--color-neutral-light) 0%, #fff 100%); }
.hero--compact { padding-block: 3rem 2rem; }
.hero__glow { position: absolute; inset: -20% -10% auto -10%; height: 60%; background: radial-gradient(ellipse at 30% 40%, rgba(249, 115, 22, 0.14), transparent 60%), radial-gradient(ellipse at 70% 30%, rgba(59, 130, 246, 0.22), transparent 60%); pointer-events: none; z-index: 0; }
.hero__inner { position: relative; z-index: 1; text-align: left; }
.hero__inner h1 { max-width: 20ch; }
.hero__sub { font-size: 1.15rem; color: var(--color-text-muted); max-width: 54ch; margin-bottom: 1.75rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.5rem; }
.hero__visual { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--color-border); }
.hero__visual img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

@media (min-width: 900px) {
  .hero--spotlight { padding-block: 6rem 4rem; }
  .hero__inner h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); }
  .hero__visual { margin-top: 1rem; }
}

/* === Sections === */
.section { padding-block: 4rem; }
.section--tinted { background: var(--color-neutral-light); }
.section__head { text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: 2.5rem; }
.section__head p { color: var(--color-text-muted); font-size: 1.05rem; }

@media (min-width: 900px) {
  .section { padding-block: 6rem; }
}

/* === 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.75rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.card h3 { margin-bottom: .5rem; color: var(--color-primary); }
.card p { color: var(--color-text-muted); margin: 0; }

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

/* === Testimonial === */
.testimonial-section { background: var(--color-neutral-light); }
.testimonial { max-width: 780px; margin: 0 auto; text-align: center; padding: 2rem 1rem; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.2vw, 1.65rem); line-height: 1.4; color: var(--color-text); font-weight: 500; margin-bottom: 1.5rem; }
.testimonial cite { font-style: normal; color: var(--color-text-muted); font-size: .95rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding-block: 3rem; }
.cta-band__inner { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.cta-band h2 { color: #fff; margin-bottom: .35em; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin: 0; }
.cta-band__meta { font-size: .9rem; margin-top: .75rem !important; }
@media (min-width: 800px) { .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; } }

/* === FAQ === */
.faq__list { max-width: 780px; margin-inline: auto; display: flex; flex-direction: column; gap: .75rem; }
.faq details { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1rem 1.25rem; transition: box-shadow .2s var(--ease); }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--color-secondary); }
.faq summary { cursor: pointer; font-family: var(--font-heading); font-weight: 600; color: var(--color-primary); list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; color: var(--color-accent); font-weight: 400; transition: transform .2s var(--ease); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: .75rem; color: var(--color-text-muted); }

/* === Contact === */
.contact__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
.contact__list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.contact__list li { color: var(--color-text-muted); }
.contact__list strong { color: var(--color-primary); font-family: var(--font-heading); }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours caption { text-align: left; font-family: var(--font-heading); font-weight: 600; color: var(--color-primary); padding-bottom: .5rem; }
.hours th, .hours td { padding: .55rem .25rem; border-bottom: 1px solid var(--color-border); text-align: left; }
.hours th { font-weight: 500; color: var(--color-text); }
.hours td { color: var(--color-text-muted); text-align: right; }

.contact-form { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); }
.contact-form h2 { margin-top: 0; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 500; font-family: var(--font-heading); margin-bottom: .35rem; color: var(--color-primary); font-size: .95rem; }
.field input, .field textarea { width: 100%; padding: .75rem .9rem; border: 1px solid var(--color-border); border-radius: var(--radius-sm); font: inherit; color: var(--color-text); background: #fff; transition: border .2s var(--ease), box-shadow .2s var(--ease); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-secondary); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15); }
.form-consent { display: flex; gap: .55rem; align-items: flex-start; font-size: .88rem; color: var(--color-text-muted); margin: 1rem 0 1.25rem; line-height: 1.45; }
.form-consent input { margin-top: .2rem; }

@media (min-width: 900px) { .contact__grid { grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; } }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255, 255, 255, 0.85); padding-block: 3rem 1.5rem; margin-top: 4rem; }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: .75rem; text-transform: uppercase; letter-spacing: 0.08em; }
.site-footer a { color: rgba(255, 255, 255, 0.85); display: inline-block; }
.site-footer a:hover { color: var(--color-accent); }
.footer__nav { display: flex; flex-direction: column; }
.footer__nav a { padding: .25rem 0; }
.footer__tag { color: rgba(255, 255, 255, 0.7); font-size: .95rem; margin-top: .75rem; }
.footer__legal { margin-top: 1rem; font-size: .85rem; }
.footer__base { border-top: 1px solid rgba(255, 255, 255, 0.15); margin-top: 2rem; padding-top: 1.25rem; font-size: .85rem; color: rgba(255, 255, 255, 0.7); }

@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.2fr 1fr 1.3fr; gap: 3rem; } }

/* === 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: 640px; margin-left: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .9rem; color: rgba(239, 246, 255, 0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__prefs { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(239, 246, 255, 0.2); display: flex; flex-direction: column; gap: .5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs button { 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; } }
