/* === Tokens === */
:root {
  --color-primary: #1C1917;
  --color-secondary: #44403C;
  --color-accent: #CA8A04;
  --color-neutral-dark: #0C0A09;
  --color-neutral-light: #FAFAF9;
  --color-line: rgba(12, 10, 9, 0.10);
  --color-muted: #57534E;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 20px rgba(12,10,9,0.06);
  --shadow-md: 0 12px 40px -12px rgba(12,10,9,0.18);
  --shadow-lg: 0 30px 60px -30px rgba(12,10,9,0.35);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--color-primary); background: var(--color-neutral-light); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--color-primary); text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-primary); line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }

/* === Layout === */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 760px; }
.section { padding-block: 4rem; }
.section-alt { background: #F5F5F4; }
.section-intro { padding-block: 3rem; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.section-head p { color: var(--color-secondary); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.78rem; font-weight: 600; color: var(--color-accent); margin: 0 0 1rem; }

/* === Header === */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(250, 250, 249, 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, box-shadow .2s, border-color .2s; }
.site-header.scrolled { background: rgba(250, 250, 249, 0.92); border-bottom-color: var(--color-line); box-shadow: 0 6px 24px -18px rgba(0,0,0,0.3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 0.85rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.nav-toggle { background: transparent; border: 1px solid var(--color-line); border-radius: 10px; padding: 0.5rem; color: var(--color-primary); display: inline-flex; }
.primary-nav { display: none; flex-direction: column; gap: 0.25rem; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--color-line); box-shadow: var(--shadow-md); }
.primary-nav.open { display: flex; }
.primary-nav a { padding: 0.65rem 0; font-weight: 500; color: var(--color-primary); position: relative; }
.primary-nav a[aria-current="page"] { color: var(--color-accent); }
.nav-cta { background: var(--color-primary); color: var(--color-neutral-light) !important; padding: 0.65rem 1.1rem !important; border-radius: 999px; text-align: center; margin-top: 0.5rem; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { position: static; display: flex; flex-direction: row; align-items: center; padding: 0; background: transparent; border: none; box-shadow: none; gap: 0.25rem; }
  .primary-nav a { padding: 0.5rem 0.9rem; }
  .primary-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.15rem; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .primary-nav a:not(.nav-cta):hover::after,
  .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-cta { margin-top: 0; margin-left: 0.5rem; }
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn { display: inline-block; padding: 0.9rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: 0.98rem; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), #292524); color: var(--color-neutral-light); box-shadow: 0 8px 24px -12px rgba(0,0,0,0.5); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0,0,0,0.55); }
.btn-ghost { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-ghost:hover { background: var(--color-primary); color: var(--color-neutral-light); transform: translateY(-2px); }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; border-radius: 6px; }

/* === Hero === */
.hero { position: relative; padding-block: 4rem 4rem; text-align: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto -10%; height: 80%; background: radial-gradient(closest-side, rgba(202, 138, 4, 0.14), rgba(202, 138, 4, 0) 70%); pointer-events: none; z-index: 0; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.25rem, 5vw, 4rem); max-width: 22ch; margin-inline: auto; font-weight: 700; }
.hero-sub { max-width: 52ch; margin: 0 auto 1.75rem; color: var(--color-secondary); font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-bottom: 3rem; }
.hero-image { max-width: 1080px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hero-short { padding-block: 4rem 2rem; }
.hero-short .hero-image { display: none; }

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

/* === Cards === */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.grid-3, .grid-4 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-3, .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); } }

.card { background: var(--color-neutral-light); border: 1px solid var(--color-line); border-radius: var(--radius-md); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); display: flex; flex-direction: column; gap: 0.5rem; color: var(--color-primary); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-link { text-decoration: none; }
.card h3 { font-size: 1.15rem; margin: 0.25rem 0 0.35rem; }
.card p { color: var(--color-secondary); margin: 0; font-size: 0.98rem; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(202, 138, 4, 0.12); color: var(--color-accent); }

/* === Testimonial === */
.section-quote { padding-block: 5rem; }
.testimonial { position: relative; text-align: center; margin: 0 auto; max-width: 720px; padding: 2rem 1rem; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.2rem, 2.2vw, 1.65rem); line-height: 1.5; color: var(--color-primary); font-weight: 500; }
.testimonial cite { display: block; margin-top: 1.25rem; font-style: normal; color: var(--color-secondary); font-size: 0.95rem; }
.quote-mark { color: var(--color-accent); opacity: 0.35; margin: 0 auto 0.5rem; }

/* === CTA Band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: var(--color-neutral-light); padding: 4rem 0; text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 200%; background: radial-gradient(closest-side, rgba(202,138,4,0.35), rgba(202,138,4,0) 60%); pointer-events: none; }
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: var(--color-neutral-light); font-size: clamp(1.6rem, 3vw, 2.4rem); max-width: 22ch; margin: 0 auto 0.75rem; }
.cta-band p { color: rgba(250,250,249,0.85); max-width: 46ch; margin: 0 auto 1.75rem; }
.cta-band .btn-primary { background: var(--color-accent); color: var(--color-neutral-dark); }
.cta-band .btn-primary:hover { background: #B47504; }

/* === Pricing === */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 900px) { .pricing-grid.pricing-3 { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.pricing-card { position: relative; padding: 2.25rem; border-radius: var(--radius-md); border: 1px solid var(--color-line); background: var(--color-neutral-light); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 0.4rem; 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: 0 20px 60px -20px rgba(202,138,4,0.35); }
.pricing-card__badge { position: absolute; top: 1rem; right: 1rem; background: var(--color-accent); color: var(--color-neutral-light); font-size: 0.72rem; font-weight: 600; padding: 0.3rem 0.7rem; border-radius: 999px; letter-spacing: 0.06em; text-transform: uppercase; }
.pricing-card__plan { font-size: 1.2rem; margin: 0; }
.pricing-card__price { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; font-family: var(--font-heading); color: var(--color-primary); margin: 0.25rem 0 0.75rem; letter-spacing: -0.02em; }
.pricing-card__lede { color: var(--color-secondary); font-size: 0.98rem; margin: 0 0 1rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.pricing-card__features li { display: flex; gap: 0.5rem; align-items: flex-start; color: var(--color-primary); font-size: 0.95rem; }
.pricing-card__cta { margin-top: auto; align-self: stretch; text-align: center; }

/* === Stats === */
.stats-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 800px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
.stat { background: var(--color-neutral-light); border: 1px solid var(--color-line); border-radius: var(--radius-md); padding: 2rem; text-align: left; box-shadow: var(--shadow-sm); }
.stat-number { display: block; font-family: var(--font-heading); font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 700; color: var(--color-accent); letter-spacing: -0.03em; line-height: 1; margin-bottom: 0.75rem; }
.stat h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.stat p { color: var(--color-secondary); font-size: 0.95rem; margin: 0; }

/* === FAQ === */
.faq details { border-top: 1px solid var(--color-line); padding: 1.15rem 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--color-line); }
.faq summary { list-style: none; cursor: pointer; font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.4rem; color: var(--color-accent); transition: transform .2s; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 0.75rem; color: var(--color-secondary); }

/* === Contact === */
.contact-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1fr 1.4fr; } }
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item h3 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-secondary); margin: 0 0 0.35rem; }
.contact-item p { margin: 0; color: var(--color-primary); }
.contact-form { background: var(--color-neutral-light); border: 1px solid var(--color-line); border-radius: var(--radius-md); padding: 1.75rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.9rem; font-weight: 500; color: var(--color-secondary); }
.field input, .field textarea { font: inherit; padding: 0.75rem 0.9rem; border: 1px solid var(--color-line); border-radius: 10px; background: var(--color-neutral-light); color: var(--color-primary); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(202,138,4,0.2); }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.88rem; color: var(--color-secondary); }
.form-consent input { margin-top: 0.25rem; }
.form-consent a { color: var(--color-accent); text-decoration: underline; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(250,250,249,0.72); padding: 4rem 0 1.5rem; margin-top: 4rem; }
.site-footer a { color: rgba(250,250,249,0.85); }
.site-footer a:hover { color: var(--color-accent); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(250,250,249,0.08); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .logo img { height: 60px; filter: brightness(0) invert(1); }
.footer-tag { margin-top: 0.75rem; max-width: 32ch; }
.footer-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav h4, .footer-contact h4 { color: var(--color-neutral-light); font-size: 1rem; margin-bottom: 0.5rem; }
.footer-contact address { font-style: normal; line-height: 1.7; }
.footer-legal { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.9rem; }
.copyright { padding-top: 1.5rem; font-size: 0.85rem; color: rgba(250,250,249,0.55); }

/* === 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: var(--shadow-lg); max-width: 480px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.85rem; font-size: 0.92rem; color: rgba(250,250,249,0.85); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button { padding: 0.55rem 0.95rem; border-radius: 999px; border: 1px solid rgba(250,250,249,0.25); background: transparent; color: var(--color-neutral-light); font-size: 0.88rem; }
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-neutral-dark); font-weight: 600; }
.cookie-banner__actions button:hover { background: rgba(250,250,249,0.1); }
.cookie-banner__actions button[data-cookie-accept]:hover { background: #B47504; color: var(--color-neutral-dark); }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; padding-top: 1rem; border-top: 1px solid rgba(250,250,249,0.15); }
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; font-size: 0.9rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: 0.5rem; padding: 0.5rem 0.9rem; border-radius: 999px; background: var(--color-accent); color: var(--color-neutral-dark); border: none; font-weight: 600; }

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