/* === Tokens === */
:root {
  --color-primary: #262626;
  --color-secondary: #F5EFE0;
  --color-accent: #C9A961;
  --color-neutral-dark: #0F0F0F;
  --color-neutral-light: #FAFAFA;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-rest: 0 2px 20px rgba(0,0,0,0.06);
  --shadow-hover: 0 20px 60px -20px rgba(0,0,0,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); background: var(--color-neutral-light); color: var(--color-primary); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 1rem; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 720px; margin-inline: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 600; color: var(--color-accent); margin: 0 0 1rem; }

/* === Header / Nav === */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(250,250,250,0.7); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid rgba(15,15,15,0.06); transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(250,250,250,0.92); box-shadow: 0 8px 24px -18px rgba(0,0,0,0.35); }
.header__inner { display: flex; align-items: center; justify-content: space-between; padding-block: 0.75rem; gap: 1rem; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { background: none; border: 0; padding: 0.5rem; cursor: pointer; display: inline-flex; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--color-neutral-dark); transition: transform .2s; }
.primary-nav { display: none; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.primary-nav a { display: inline-block; padding: 0.5rem 0.75rem; font-weight: 500; font-size: 0.95rem; position: relative; }
.primary-nav a::after { content: ''; position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.3rem; 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); }
.primary-nav .nav-cta { color: var(--color-neutral-dark); background: var(--color-accent); border-radius: 999px; padding: 0.55rem 1.1rem; }
.primary-nav .nav-cta::after { display: none; }
.primary-nav.is-open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); border-bottom: 1px solid rgba(0,0,0,0.06); padding: 1rem 1.25rem; box-shadow: 0 20px 40px -20px rgba(0,0,0,0.2); }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: block !important; }
  .primary-nav ul { flex-direction: row; gap: 0.25rem; align-items: center; }
  .logo img { height: 96px; }
}

/* === Hero (saas-spotlight) === */
.hero--spotlight { position: relative; overflow: hidden; padding-block: 4rem 3rem; background: linear-gradient(135deg, #1a1a1a 0%, #262626 55%, #2f2a1e 100%); color: var(--color-secondary); }
.hero--spotlight h1 { color: var(--color-neutral-light); }
.hero--inner { padding-block: 3rem 2.5rem; }
.hero__glow { position: absolute; inset: -10% -20% auto auto; width: 60%; height: 90%; background: radial-gradient(closest-side, rgba(201,169,97,0.28), transparent 70%); pointer-events: none; filter: blur(10px); }
.hero__inner { position: relative; z-index: 1; text-align: left; }
.hero__sub { font-size: 1.15rem; max-width: 56ch; color: rgba(245,239,224,0.85); margin-bottom: 1.75rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.5rem; }
.hero__figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 70px -25px rgba(0,0,0,0.55), 0 0 0 1px rgba(201,169,97,0.15); background: #111; }
.hero__figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
@media (min-width: 900px) {
  .hero--spotlight { padding-block: 6rem 4rem; }
  .hero__inner { max-width: 1200px; }
  .hero__figure img { aspect-ratio: 21/9; }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.85rem 1.4rem; border-radius: 999px; font-family: var(--font-body); font-weight: 600; font-size: 0.98rem; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s; text-align: center; }
.btn--primary { background: linear-gradient(135deg, var(--color-accent), #b8964a); color: #1a1408; box-shadow: 0 10px 24px -12px rgba(201,169,97,0.7); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -14px rgba(201,169,97,0.85); }
.btn--ghost { background: transparent; color: var(--color-secondary); border-color: rgba(245,239,224,0.35); }
.btn--ghost:hover { border-color: var(--color-accent); color: var(--color-accent); transform: translateY(-2px); }
.btn--sm { padding: 0.55rem 0.95rem; font-size: 0.88rem; }
.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

/* === Sections === */
.section { padding-block: 4rem; }
.section--tinted { background: var(--color-secondary); }
.section__title { text-align: center; max-width: 32ch; margin: 0 auto 2.5rem; }
@media (min-width: 900px) { .section { padding-block: 6rem; } }

/* === Grids & 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: 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 rgba(15,15,15,0.08); border-radius: var(--radius-md); padding: 1.75rem; box-shadow: var(--shadow-rest); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(201,169,97,0.4); }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(201,169,97,0.14); color: var(--color-accent); margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: #3a3a3a; font-size: 0.98rem; margin: 0; }
.card-link { text-decoration: none; color: inherit; }

/* === Testimonial === */
.testimonial { margin: 0; padding: 2rem 1rem; text-align: center; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.45; color: var(--color-neutral-dark); margin-bottom: 1.25rem; }
.testimonial cite { font-style: normal; font-size: 0.95rem; color: var(--color-accent); font-weight: 600; letter-spacing: 0.02em; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-neutral-dark), var(--color-primary)); color: var(--color-secondary); padding-block: 4rem; }
.cta-band__inner { text-align: center; max-width: 720px; margin-inline: auto; }
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(245,239,224,0.8); margin-bottom: 1.75rem; }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.contact-card { background: var(--color-neutral-light); border-radius: var(--radius-md); padding: 2rem; box-shadow: var(--shadow-rest); border: 1px solid rgba(15,15,15,0.06); }
.contact-card address { font-style: normal; line-height: 1.7; }
.contact-card a { color: var(--color-accent); font-weight: 500; }
.hours { width: 100%; border-collapse: collapse; margin-top: 0.75rem; }
.hours th, .hours td { text-align: left; padding: 0.5rem 0; border-bottom: 1px solid rgba(15,15,15,0.08); font-weight: 400; font-size: 0.95rem; }
.hours th { color: var(--color-neutral-dark); font-weight: 500; }

/* === Form === */
.contact-form { background: var(--color-neutral-light); border-radius: var(--radius-md); padding: 2rem; box-shadow: var(--shadow-rest); border: 1px solid rgba(15,15,15,0.06); }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-row label { font-weight: 500; font-size: 0.92rem; }
.form-row input, .form-row textarea { padding: 0.75rem 0.9rem; border: 1px solid rgba(15,15,15,0.15); border-radius: 10px; font: inherit; background: #fff; transition: border-color .2s, box-shadow .2s; }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 4px rgba(201,169,97,0.18); }
.form-consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.87rem; color: #444; margin: 0.5rem 0 1.25rem; line-height: 1.5; }
.form-consent input { margin-top: 0.2rem; flex-shrink: 0; }
.form-consent a { color: var(--color-accent); text-decoration: underline; }

/* === FAQ === */
.faq details { background: var(--color-neutral-light); border: 1px solid rgba(15,15,15,0.08); border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: 0.75rem; transition: border-color .2s; }
.faq details[open] { border-color: rgba(201,169,97,0.5); }
.faq summary { cursor: pointer; font-family: var(--font-heading); font-weight: 600; list-style: none; padding-right: 1.5rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 0; font-size: 1.5rem; line-height: 1; color: var(--color-accent); transition: transform .2s; }
.faq details[open] summary::after { content: '−'; }
.faq p { margin-top: 0.75rem; color: #3a3a3a; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(245,239,224,0.75); padding-block: 3rem 1.5rem; margin-top: 4rem; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.25rem; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer h3 { color: var(--color-neutral-light); font-size: 1rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer a { color: rgba(245,239,224,0.75); transition: color .2s; }
.site-footer a:hover { color: var(--color-accent); }
.site-footer address { font-style: normal; line-height: 1.75; margin-bottom: 1rem; }
.footer__tagline { margin-top: 0.75rem; font-family: var(--font-heading); color: var(--color-secondary); }
.footer__legal { border-top: 1px solid rgba(245,239,224,0.12); margin-top: 1rem; padding-top: 1rem; }
.footer__bottom { border-top: 1px solid rgba(245,239,224,0.1); margin-top: 2.5rem; padding-top: 1.25rem; text-align: center; font-size: 0.85rem; }
.logo--footer img { height: 64px; }

/* === 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.55); border: 1px solid rgba(201,169,97,0.25); max-width: 620px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { color: rgba(245,239,224,0.9); font-size: 0.92rem; margin-bottom: 0.9rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__prefs { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(245,239,224,0.15); display: flex; flex-direction: column; gap: 0.5rem; }
.cookie-banner__prefs label { display: flex; gap: 0.55rem; align-items: center; font-size: 0.9rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: 0.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; } }
