/* === Tokens === */
:root {
  --color-primary: #1F1F1F;
  --color-secondary: #EFE8D6;
  --color-accent: #D4B675;
  --color-neutral-dark: #0A0A0A;
  --color-neutral-light: #F8F8F8;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(10,10,10,0.06);
  --shadow-md: 0 12px 40px -12px rgba(10,10,10,0.18);
  --shadow-lg: 0 24px 60px -20px rgba(10,10,10,0.32);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  font-size: 16px;
  line-height: 1.65;
  -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);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 0.95rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
p { margin: 0 0 1rem; }
button { font: inherit; cursor: pointer; }

.skip-link {
  position: absolute; top: -40px; left: 8px;
  background: var(--color-neutral-dark); color: var(--color-neutral-light);
  padding: .5rem .75rem; z-index: 100; border-radius: 8px;
}
.skip-link:focus { top: 8px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 780px; margin: 0 auto; }
.center { text-align: center; }

/* === Header / Nav (glass) === */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248,248,248,0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(10,10,10,0.06);
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled {
  background: rgba(248,248,248,0.92);
  box-shadow: 0 4px 20px -12px rgba(10,10,10,0.18);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1.25rem; gap: 1rem; }
.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 rgba(10,10,10,0.12); color: var(--color-neutral-dark); border-radius: 10px; width: 44px; height: 44px; }
.primary-nav { display: none; }
.primary-nav a {
  position: relative; padding: .5rem .1rem; font-size: .95rem; font-weight: 500;
  color: var(--color-neutral-dark);
}
.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 .3s var(--ease-hover);
}
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav a.nav-cta {
  background: var(--color-neutral-dark); color: var(--color-neutral-light);
  padding: .55rem 1rem; border-radius: 999px; margin-left: .5rem;
}
.primary-nav a.nav-cta::after { display: none; }
.primary-nav.is-open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; background: var(--color-neutral-light); padding: 1rem 1.25rem 1.5rem; gap: .25rem; border-bottom: 1px solid rgba(10,10,10,0.08); }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600;
  font-family: var(--font-heading); font-size: .95rem;
  border: 1px solid transparent; transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover), background .2s;
}
.btn--primary { background: linear-gradient(135deg, var(--color-neutral-dark), #2a2a2a); color: var(--color-neutral-light); box-shadow: 0 8px 24px -10px rgba(10,10,10,0.5); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(10,10,10,0.55); }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border-color: rgba(10,10,10,0.18); }
.btn--ghost:hover { border-color: var(--color-accent); color: var(--color-neutral-dark); transform: translateY(-2px); }
.btn--sm { padding: .55rem 1rem; font-size: .85rem; }

/* === Hero (saas-spotlight) === */
.hero {
  position: relative; overflow: hidden;
  padding: 4rem 0 3rem;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(212,182,117,0.14), transparent 55%),
    radial-gradient(ellipse at 10% 80%, rgba(31,31,31,0.06), transparent 60%),
    linear-gradient(180deg, var(--color-secondary), var(--color-neutral-light));
}
.hero--inner { padding: 3rem 0 2.5rem; }
.hero--centered { text-align: center; padding: 5rem 0 3rem; }
.hero__grid { display: grid; gap: 2.5rem; align-items: center; }
.hero__text { max-width: 620px; }
.hero__text h1 { margin-bottom: 1.25rem; }
.hero__sub { font-size: 1.15rem; color: rgba(10,10,10,0.72); max-width: 52ch; margin-bottom: 1.75rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3; object-fit: cover; width: 100%;
}
.eyebrow {
  display: inline-block; font-family: var(--font-heading); font-size: .78rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--color-accent); margin-bottom: 1rem;
}
.eyebrow.center { display: block; text-align: center; }

/* === Proof strip === */
.proof-strip {
  background: var(--color-neutral-dark); color: var(--color-neutral-light);
  padding: 1rem 0;
}
.proof-strip__inner {
  display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem; justify-content: center;
  font-size: .85rem; letter-spacing: 0.02em; color: rgba(248,248,248,0.82);
}
.proof-strip__inner span { position: relative; }
.proof-strip__inner span::before {
  content: "✦"; color: var(--color-accent); margin-right: .5rem; font-size: .7rem;
}

/* === Sections === */
.section { padding: 4rem 0; }
.section--tinted { background: linear-gradient(180deg, var(--color-neutral-light), var(--color-secondary)); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.lede { font-size: 1.1rem; color: rgba(10,10,10,0.7); }
.section--intro .container { text-align: center; }
.section--intro p { max-width: 68ch; margin-left: auto; margin-right: auto; }

/* === Grid / Cards === */
.grid { display: grid; gap: 1.25rem; }
.grid--3, .grid--4 { grid-template-columns: 1fr; }
.card {
  background: var(--color-neutral-light);
  border: 1px solid rgba(10,10,10,0.08);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-hover), box-shadow .25s var(--ease-hover), border-color .25s;
  display: block;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(212,182,117,0.6); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(212,182,117,0.18), rgba(212,182,117,0.06));
  color: var(--color-neutral-dark); margin-bottom: 1rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: rgba(10,10,10,0.72); font-size: .96rem; margin: 0; }
.card-link { text-decoration: none; color: inherit; }
.card--profile h3 { font-size: 1.1rem; color: var(--color-neutral-dark); }

/* === Split === */
.split-grid { display: grid; gap: 2.5rem; align-items: center; }
.split-grid__visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* === Testimonial === */
.testimonial-section { background: var(--color-secondary); }
.testimonial { margin: 0; text-align: center; }
.testimonial p {
  font-family: var(--font-heading); font-weight: 500;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.5; color: var(--color-neutral-dark);
  margin-bottom: 1rem; position: relative;
}
.testimonial cite { font-style: normal; color: rgba(10,10,10,0.65); font-size: .95rem; }

/* === CTA band === */
.cta-band { padding: 3rem 0; background: linear-gradient(135deg, var(--color-neutral-dark), #2a2a2a); color: var(--color-neutral-light); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: -30% -20% auto auto; width: 60%; height: 200%; background: radial-gradient(ellipse, rgba(212,182,117,0.2), transparent 60%); pointer-events: none; }
.cta-band__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; position: relative; }
.cta-band h2 { color: var(--color-neutral-light); margin-bottom: .5rem; }
.cta-band p { color: rgba(248,248,248,0.78); margin: 0; }
.cta-band .btn--primary { background: var(--color-accent); color: var(--color-neutral-dark); }
.cta-band .btn--primary:hover { background: #e5c988; }

/* === Contact === */
.contact-grid { display: grid; gap: 2.5rem; }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: .95rem; }
.hours-table caption { text-align: left; font-weight: 600; margin-bottom: .5rem; font-family: var(--font-heading); }
.hours-table th, .hours-table td { padding: .5rem .25rem; border-bottom: 1px solid rgba(10,10,10,0.08); text-align: left; }
.hours-table th { font-weight: 500; }
.contact-form { background: var(--color-neutral-light); border: 1px solid rgba(10,10,10,0.08); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1rem; }
.contact-form label { display: flex; flex-direction: column; gap: .35rem; font-size: .9rem; font-weight: 500; }
.contact-form input, .contact-form textarea, .contact-form select {
  font: inherit; font-size: 1rem; padding: .7rem .85rem;
  border: 1px solid rgba(10,10,10,0.14); border-radius: 10px;
  background: #fff; color: var(--color-neutral-dark);
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 4px rgba(212,182,117,0.18);
}
.form-consent { flex-direction: row !important; align-items: flex-start; gap: .6rem !important; font-size: .85rem; font-weight: 400; color: rgba(10,10,10,0.75); }
.form-consent input { margin-top: .2rem; }
.form-consent a { color: var(--color-neutral-dark); text-decoration: underline; }

/* === FAQ === */
.faq { margin-top: 1.5rem; }
.faq details { border: 1px solid rgba(10,10,10,0.08); border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: .75rem; background: var(--color-neutral-light); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: rgba(212,182,117,0.4); }
.faq summary { font-weight: 600; font-family: var(--font-heading); cursor: pointer; list-style: none; padding-right: 1.5rem; position: relative; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -.1rem; font-size: 1.4rem; color: var(--color-accent); transition: transform .2s; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: .75rem 0 0; color: rgba(10,10,10,0.72); }

.contact-band { background: var(--color-secondary); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(248,248,248,0.78); padding: 3rem 0 1.5rem; margin-top: 3rem; }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.site-footer h4 { color: var(--color-neutral-light); margin-bottom: 1rem; }
.site-footer a { color: rgba(248,248,248,0.78); transition: color .2s; display: block; padding: .2rem 0; }
.site-footer a:hover { color: var(--color-accent); }
.footer__tagline { font-family: var(--font-heading); color: var(--color-accent); font-style: normal; margin-top: .75rem; font-size: .95rem; }
.footer__nav a { font-size: .92rem; }
.footer__contact address { font-style: normal; font-size: .92rem; line-height: 1.7; margin-bottom: 1rem; }
.footer__legal { margin-top: .5rem; }
.footer__legal a { font-size: .85rem; }
.logo--footer img { height: 60px; }
.footer__base { border-top: 1px solid rgba(248,248,248,0.08); margin-top: 2rem; padding-top: 1.25rem; font-size: .85rem; color: rgba(248,248,248,0.5); }

/* === 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: var(--shadow-lg); max-width: 640px; margin-left: auto; margin-right: auto;
  border: 1px solid rgba(212,182,117,0.3);
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { font-size: .92rem; margin: 0 0 1rem; color: rgba(248,248,248,0.88); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn--primary { background: var(--color-accent); color: var(--color-neutral-dark); }
.cookie-banner__actions .btn--ghost { color: var(--color-neutral-light); border-color: rgba(248,248,248,0.25); }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .55rem; }
.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; }
}

/* === Responsive === */
@media (min-width: 640px) {
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .contact-grid { grid-template-columns: 1fr 1.1fr; }
}
@media (min-width: 768px) {
  .logo img { height: 96px; }
  .logo--footer img { height: 72px; }
  .hero { padding: 6rem 0 4.5rem; }
  .hero--inner { padding: 4.5rem 0 3.5rem; }
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; }
  .section { padding: 5.5rem 0; }
  .cta-band { padding: 4rem 0; }
}
@media (min-width: 960px) {
  .primary-nav { display: flex; align-items: center; gap: 1.5rem; position: static; flex-direction: row; padding: 0; background: transparent; border: none; }
  .nav-toggle { display: none; }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
