:root {
  --color-primary: #2563EB;
  --color-secondary: #3B82F6;
  --color-accent: #F97316;
  --color-neutral-dark: #1E293B;
  --color-neutral-light: #F8FAFC;
  --color-border: rgba(30, 41, 59, 0.12);
  --color-muted: #475569;
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 20px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 20px 60px -20px rgba(15, 23, 42, 0.25);
}

/* === Base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 0.75rem; color: var(--color-neutral-dark); }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.1; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); line-height: 1.2; }
h3 { font-size: 1.25rem; line-height: 1.3; }
p { margin: 0 0 1rem; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 780px; margin-inline: auto; }
.center { text-align: center; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; border-radius: 8px; z-index: 10000; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 250, 252, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.site-header.scrolled {
  background: rgba(248, 250, 252, 0.92);
  border-bottom-color: var(--color-border);
  box-shadow: 0 4px 20px -12px rgba(15, 23, 42, 0.25);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 0; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--color-border);
  border-radius: 10px; width: 44px; height: 44px; cursor: pointer;
  color: var(--color-neutral-dark);
}
.primary-nav { display: none; flex-direction: column; gap: .25rem; }
.primary-nav.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); border-bottom: 1px solid var(--color-border); padding: 1rem 1.25rem 1.5rem; box-shadow: var(--shadow-sm); }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; padding: .6rem .25rem; border-radius: 6px; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav .nav-cta { color: var(--color-primary); font-weight: 600; }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; align-items: center; gap: 1.5rem; position: static; padding: 0; background: transparent; border: 0; box-shadow: none; }
  .primary-nav a { position: relative; padding: .25rem 0; }
  .primary-nav a:not(.nav-cta)::after {
    content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 100%;
    background: var(--color-primary); transform: scaleX(0); transform-origin: left;
    transition: transform .2s cubic-bezier(0.4,0,0.2,1);
  }
  .primary-nav a:not(.nav-cta):hover::after,
  .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .primary-nav a:hover { text-decoration: none; }
  .primary-nav .nav-cta { background: var(--color-primary); color: #fff; padding: .55rem 1.1rem; border-radius: 999px; }
  .primary-nav .nav-cta:hover { background: #1d4ed8; text-decoration: none; }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.4rem; border-radius: 999px; font-weight: 600;
  font-family: var(--font-body); font-size: 1rem; line-height: 1;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.4); outline-offset: 2px; }
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff; box-shadow: 0 10px 30px -12px rgba(37, 99, 235, 0.6);
}
.btn-primary:hover { box-shadow: 0 16px 40px -14px rgba(37, 99, 235, 0.7); }
.btn-ghost { background: transparent; color: var(--color-primary); border-color: var(--color-border); }
.btn-ghost:hover { background: rgba(37, 99, 235, 0.08); }
.btn-on-dark { background: var(--color-accent); box-shadow: 0 10px 30px -12px rgba(249, 115, 22, 0.6); }
.btn-on-dark:hover { box-shadow: 0 16px 40px -14px rgba(249, 115, 22, 0.7); background: #ea6a10; }

/* === Hero (centered) === */
.hero {
  position: relative; text-align: center; padding-block: 4rem 3rem;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(249, 115, 22, 0.1), transparent 60%),
    radial-gradient(ellipse at 80% 10%, rgba(59, 130, 246, 0.15), transparent 55%),
    linear-gradient(180deg, #eff4ff 0%, var(--color-neutral-light) 100%);
  overflow: hidden;
}
.hero .eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero-sub { max-width: 52ch; margin: 1.25rem auto 1.75rem; color: var(--color-muted); font-size: 1.15rem; }
.hero-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-visual { max-width: 960px; margin: 2rem auto 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); position: relative; }
.hero-visual img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.hero-compact { padding-block: 3.5rem 2rem; }

@media (min-width: 768px) {
  .hero { padding-block: 6rem 4rem; }
}

/* === Sections === */
.section { padding-block: 3.5rem; }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 2.5rem; }
.lede { color: var(--color-muted); font-size: 1.1rem; }

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

/* === Grid & cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  display: block; color: inherit;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(15, 23, 42, 0.3); border-color: rgba(37, 99, 235, 0.25); }
.card-link { text-decoration: none; color: inherit; }
.card-link:hover { text-decoration: none; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(59, 130, 246, 0.18));
  color: var(--color-primary); margin-bottom: 1rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin: 0; }

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

/* === Testimonial === */
.testimonial-section { background: linear-gradient(180deg, #fff, #eff4ff); }
.quote {
  background: #fff; border-radius: var(--radius); padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm); border-left: 4px solid var(--color-accent);
  margin: 0; position: relative;
}
.quote p { font-size: 1.15rem; line-height: 1.7; color: var(--color-neutral-dark); }
.quote cite { display: block; margin-top: 1rem; font-style: normal; font-weight: 600; color: var(--color-primary); }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), #1e40af);
  color: #fff; text-align: center; padding-block: 4rem;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(249,115,22,0.25), transparent 55%);
  pointer-events: none;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 60ch; margin-inline: auto; margin-bottom: 1.75rem; }
.cta-band .container { position: relative; }

/* === Pricing === */
.pricing-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pricing-card {
  position: relative; background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 2.25rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.pricing-card--featured { border: 2px solid var(--color-accent); box-shadow: 0 24px 60px -24px rgba(249, 115, 22, 0.35); transform: translateY(-4px); }
.pricing-card__badge {
  position: absolute; top: -14px; right: 1.5rem;
  background: var(--color-accent); color: #fff;
  font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  padding: .35rem .9rem; border-radius: 999px;
}
.pricing-card__plan { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .12em; color: var(--color-muted); margin-bottom: .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 .75rem; letter-spacing: -0.02em; }
.pricing-card__lede { color: var(--color-muted); margin-bottom: 1.25rem; font-size: .98rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-direction: column; gap: .6rem; }
.pricing-card__features li { display: flex; gap: .6rem; align-items: flex-start; font-size: .98rem; color: var(--color-neutral-dark); }
.pricing-card__features li span { color: var(--color-primary); font-weight: 700; flex-shrink: 0; }
.pricing-card__cta { margin-top: auto; align-self: stretch; }
.pricing-card--featured .pricing-card__cta { }

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: .5rem; }
.faq details {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  padding: 1rem 1.25rem; transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: rgba(37, 99, 235, 0.3); }
.faq summary { cursor: pointer; font-weight: 600; font-family: var(--font-heading); font-size: 1.05rem; padding: .25rem 0; 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); transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: .75rem 0 .25rem; color: var(--color-muted); }

/* === Contact === */
.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info h3, .contact-hours h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--color-muted); margin-top: 1rem; }
.contact-info h3:first-child, .contact-hours h3:first-child { margin-top: 0; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: .55rem 0; border-bottom: 1px solid var(--color-border); font-weight: 500; }
.hours th { color: var(--color-neutral-dark); }
.hours td { color: var(--color-muted); text-align: right; }

.contact-card { background: #fff; border-radius: var(--radius); padding: 2rem; border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); text-align: center; max-width: 640px; margin: 0 auto; }
.contact-card p { margin: .4rem 0; }

/* === Form === */
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; background: #fff; padding: 2rem; border-radius: var(--radius); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field textarea {
  padding: .8rem 1rem; border: 1px solid var(--color-border); border-radius: 10px;
  font-family: var(--font-body); font-size: 1rem; color: var(--color-neutral-dark);
  background: var(--color-neutral-light); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15); background: #fff; }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--color-muted); }
.form-consent input { margin-top: .2rem; flex-shrink: 0; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(248, 250, 252, 0.85); padding: 3.5rem 0 1.5rem; margin-top: 3rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; padding-bottom: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.footer-logo img { height: 64px; width: auto; filter: brightness(0) invert(1); }
.footer-tag { color: rgba(248, 250, 252, 0.7); margin-top: 1rem; font-size: .95rem; }
.footer-nav { display: flex; flex-direction: column; gap: .4rem; }
.footer-nav h3, .footer-contact h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .75rem; }
.footer-nav a { color: rgba(248, 250, 252, 0.75); }
.footer-nav a:hover { color: #fff; }
.footer-contact address { font-style: normal; line-height: 1.7; color: rgba(248, 250, 252, 0.75); }
.footer-contact address a { color: rgba(248, 250, 252, 0.85); }
.legal-links { margin-top: 1rem; font-size: .9rem; color: rgba(248, 250, 252, 0.6); }
.legal-links a { color: rgba(248, 250, 252, 0.75); }
.copyright { padding-top: 1.5rem; border-top: 1px solid rgba(248, 250, 252, 0.12); font-size: .85rem; color: rgba(248, 250, 252, 0.6); text-align: center; }

/* === 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);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
  max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; color: rgba(248, 250, 252, 0.85); }
.cookie-banner__actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.cookie-banner__actions .btn { padding: .6rem 1rem; font-size: .9rem; }
.cookie-banner__actions .btn-ghost { color: var(--color-neutral-light); border-color: rgba(248, 250, 252, 0.25); }
.cookie-banner__actions .btn-ghost:hover { background: rgba(248, 250, 252, 0.1); }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(248, 250, 252, 0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs button { margin-top: .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; }
}
