:root {
  --color-primary: #64748B;
  --color-secondary: #94A3B8;
  --color-accent: #F97316;
  --color-neutral-dark: #334155;
  --color-neutral-light: #F8FAFC;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-card: 18px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(15, 23, 42, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(15, 23, 42, 0.28);
}

/* === Base === */
*, *::before, *::after { 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;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-neutral-dark); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 700; margin: 0 0 1rem; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 600; margin: 0 0 1rem; }
h3 { font-size: 1.25rem; font-weight: 600; margin: 0 0 .5rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 780px; }
.eyebrow { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--color-accent); margin: 0 0 1rem; }

/* === Buttons === */
.btn {
  display: inline-block;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary { background: linear-gradient(135deg, var(--color-neutral-dark), var(--color-primary)); color: #fff; }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border-color: rgba(51, 65, 85, 0.2); }
.btn-ghost:hover { background: rgba(51, 65, 85, 0.05); }

/* === Header (glass nav) === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  background: rgba(248, 250, 252, 0.72);
  border-bottom: 1px solid rgba(51, 65, 85, 0.08);
  transition: box-shadow .3s, background .3s;
}
.site-header.scrolled { background: rgba(248, 250, 252, 0.92); box-shadow: 0 6px 24px -12px rgba(15, 23, 42, 0.15); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: .75rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }

.nav-toggle { display: inline-flex; background: none; border: none; color: var(--color-neutral-dark); padding: .5rem; cursor: pointer; }
.primary-nav { display: none; flex-direction: column; gap: .5rem; }
.primary-nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; padding: 1rem 1.25rem 1.5rem; background: var(--color-neutral-light); border-bottom: 1px solid rgba(51, 65, 85, 0.08); }
.primary-nav a { padding: .5rem 0; font-weight: 500; color: var(--color-neutral-dark); position: relative; }
.primary-nav a[aria-current="page"] { color: var(--color-accent); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; gap: 1.75rem; position: static; padding: 0; background: transparent; border: none; }
  .primary-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
}

/* === Hero (hero-card archetype) === */
.hero {
  position: relative;
  padding-block: 3rem 4rem;
  background:
    radial-gradient(1000px 500px at 15% 10%, rgba(249, 115, 22, 0.10), transparent 60%),
    radial-gradient(900px 500px at 90% 30%, rgba(100, 116, 139, 0.12), transparent 60%),
    linear-gradient(180deg, var(--color-neutral-light), #eef2f7);
}
.hero-card__inner {
  max-width: 920px;
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(51, 65, 85, 0.06);
  text-align: left;
}
.hero-sub { font-size: 1.15rem; color: var(--color-primary); max-width: 60ch; margin-bottom: 1.5rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.hero-card__figure { margin: 2rem 0 0; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-md); }
.hero-card__figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

/* === Sections === */
.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section--tint { background: linear-gradient(180deg, #f1f5f9, var(--color-neutral-light)); }
.section-title { text-align: center; margin-bottom: 2.5rem; }

/* === Grid === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } .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-radius: var(--radius-card);
  padding: 1.75rem;
  border: 1px solid rgba(51, 65, 85, 0.08);
  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 .icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(249, 115, 22, 0.10);
  color: var(--color-accent);
  margin-bottom: 1rem;
}
.card p { color: var(--color-primary); margin-bottom: 0; }

/* === Testimonial === */
.testimonial {
  margin: 0;
  padding: 2rem;
  border-left: 4px solid var(--color-accent);
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.testimonial p { font-size: 1.15rem; font-style: italic; color: var(--color-neutral-dark); }
.testimonial cite { font-style: normal; font-weight: 600; color: var(--color-primary); font-size: .95rem; }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-neutral-dark), var(--color-primary));
  color: var(--color-neutral-light);
  padding-block: clamp(3rem, 6vw, 5rem);
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(248, 250, 252, 0.85); max-width: 55ch; margin-inline: auto; margin-bottom: 1.5rem; }

/* === Pricing === */
.pricing-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 960px) { .pricing-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.pricing-card {
  position: relative;
  padding: 2.25rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(51, 65, 85, 0.12);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured { border-color: var(--color-accent); border-width: 2px; }
.pricing-card__badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--color-accent); color: #fff;
  padding: .25rem .75rem; border-radius: 999px;
  font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.pricing-card__plan { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--color-primary); margin-bottom: .25rem; }
.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; }
.pricing-card__lede { color: var(--color-primary); margin-bottom: 1.25rem; }
.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: .5rem; color: var(--color-neutral-dark); font-size: .95rem; }
.pricing-card__cta { margin-top: auto; text-align: center; }

/* === FAQ === */
.faq details {
  background: #fff;
  border: 1px solid rgba(51, 65, 85, 0.10);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: .75rem;
  transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 600; font-family: var(--font-heading); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--color-accent); font-weight: 400; font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { content: '−'; }
.faq p { margin-top: .75rem; color: var(--color-primary); }

/* === Contact === */
.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.contact-info p { color: var(--color-primary); }
.contact-info strong { display: block; color: var(--color-neutral-dark); font-family: var(--font-heading); margin-bottom: .25rem; }
.contact-form {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(51, 65, 85, 0.08);
  display: flex; flex-direction: column; gap: 1rem;
}
.contact-form label { display: flex; flex-direction: column; gap: .35rem; font-weight: 500; font-size: .9rem; color: var(--color-neutral-dark); }
.contact-form input, .contact-form textarea {
  padding: .75rem .9rem;
  border: 1px solid rgba(51, 65, 85, 0.20);
  border-radius: 10px;
  font: inherit;
  color: var(--color-neutral-dark);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15); }
.form-consent { flex-direction: row !important; align-items: flex-start; gap: .6rem !important; font-weight: 400 !important; font-size: .85rem !important; color: var(--color-primary) !important; }
.form-consent input { margin-top: .2rem; }
.form-consent a { color: var(--color-accent); text-decoration: underline; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: var(--color-neutral-light); padding-block: 3rem 1.5rem; margin-top: 2rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; margin-bottom: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(248, 250, 252, 0.75); display: block; padding: .2rem 0; transition: color .2s; }
.site-footer a:hover { color: var(--color-accent); }
.site-footer p { color: rgba(248, 250, 252, 0.75); }
.legal-links a { display: inline; }
.legal-links { margin-top: 1rem; }
.logo--footer img { height: 72px; }
.copyright { border-top: 1px solid rgba(248, 250, 252, 0.12); padding-top: 1.25rem; font-size: .85rem; color: rgba(248, 250, 252, 0.6); text-align: center; }

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

/* === 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: 14px;
  box-shadow: var(--shadow-lg);
  max-width: 560px;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .9rem; color: rgba(248, 250, 252, 0.85); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  padding: .55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.25);
  background: transparent;
  color: var(--color-neutral-light);
  font: inherit; font-size: .85rem; font-weight: 500;
  cursor: pointer;
  transition: background .2s;
}
.cookie-banner button:hover { background: rgba(248, 250, 252, 0.10); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-accept]:hover { background: #ea6a10; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.cookie-banner__prefs label { font-size: .85rem; display: flex; gap: .5rem; align-items: center; }
.cookie-banner__prefs [data-cookie-save] { margin-top: .5rem; align-self: flex-start; background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
