:root {
  --color-primary: #262626;
  --color-secondary: #F5EFE0;
  --color-accent: #C9A961;
  --color-neutral-dark: #0F0F0F;
  --color-neutral-light: #FAFAFA;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 20px rgba(0,0,0,0.06);
  --shadow-md: 0 10px 30px -10px rgba(15,15,15,0.18);
  --shadow-lg: 0 30px 60px -25px rgba(15,15,15,0.35);
  --border: 1px solid rgba(38,38,38,0.10);
}

/* === Base === */
* { box-sizing: border-box; }
html { 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%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-accent); }

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; margin: 0 0 .75rem; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 760px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.15em; font-size: .78rem; font-weight: 600; color: var(--color-accent); margin: 0 0 1rem; }
.lede { font-size: 1.15rem; color: #555; }

/* === Header / Nav (glass) === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,250,0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(38,38,38,0.06);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { background: rgba(250,250,250,0.92); box-shadow: 0 4px 24px rgba(15,15,15,0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .85rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }

.nav-toggle { background: none; border: 0; display: inline-flex; flex-direction: column; gap: 5px; cursor: pointer; padding: .5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-primary); transition: transform .2s var(--ease), opacity .2s var(--ease); }

.primary-nav { 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(38,38,38,0.08); box-shadow: 0 10px 30px rgba(15,15,15,0.08); }
.primary-nav ul { list-style: none; padding: 1rem 1.25rem; margin: 0; display: flex; flex-direction: column; gap: .25rem; }
.primary-nav a { display: block; padding: .6rem .25rem; font-weight: 500; color: var(--color-primary); position: relative; }
.primary-nav a[aria-current="page"] { color: var(--color-accent); }
.primary-nav .nav-cta { background: var(--color-primary); color: var(--color-neutral-light); padding: .55rem 1rem; border-radius: 999px; text-align: center; margin-top: .25rem; }
.primary-nav .nav-cta:hover { background: var(--color-neutral-dark); }

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

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.5rem; font-family: var(--font-body); font-weight: 600; font-size: .95rem; border-radius: 999px; border: 0; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); text-decoration: none; }
.btn-sm { padding: .55rem 1rem; font-size: .85rem; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), #3a3a3a); color: var(--color-neutral-light); box-shadow: 0 8px 24px -8px rgba(15,15,15,0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(15,15,15,0.5); color: var(--color-neutral-light); }
.btn-accent { background: linear-gradient(135deg, var(--color-accent), #b0904a); color: var(--color-neutral-dark); box-shadow: 0 8px 24px -8px rgba(201,169,97,0.5); }
.btn-accent:hover { transform: translateY(-2px); color: var(--color-neutral-dark); }
.btn-ghost { background: transparent; color: var(--color-primary); border: 1px solid rgba(38,38,38,0.2); }
.btn-ghost:hover { background: rgba(38,38,38,0.05); color: var(--color-primary); transform: translateY(-2px); }

/* === Hero — saas-spotlight === */
.hero { position: relative; overflow: hidden; padding-block: 4rem 3rem; background: linear-gradient(180deg, var(--color-secondary) 0%, var(--color-neutral-light) 100%); }
.hero.hero-inner-page { padding-block: 3rem 2.5rem; }
.hero-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 70% 20%, rgba(201,169,97,0.18), transparent 70%), radial-gradient(50% 40% at 15% 80%, rgba(38,38,38,0.06), transparent 70%); }
.hero-inner { position: relative; text-align: left; }
.hero-sub { font-size: 1.15rem; color: #444; max-width: 60ch; margin: 0 0 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.5rem; }
.hero-visual { border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px -20px rgba(15,15,15,0.35); background: var(--color-secondary); position: relative; }
.hero-visual::after { content: ""; position: absolute; inset: -20%; background: radial-gradient(50% 50% at 50% 0%, rgba(201,169,97,0.25), transparent 70%); pointer-events: none; z-index: -1; }
.hero-visual img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }

@media (min-width: 768px) {
  .hero { padding-block: 6rem 4rem; }
  .hero-inner { text-align: center; max-width: 900px; margin-inline: auto; }
  .hero-sub { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { margin-top: 1rem; }
}

/* === Sections === */
.section { padding-block: 4rem; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head h2 { margin-bottom: .5rem; }
.section-head p { color: #555; }
.section-title { text-align: center; margin-bottom: 2rem; }

/* === Cards / Grid === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.card { background: var(--color-neutral-light); border: var(--border); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); display: block; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: .5rem; }
.card p { margin: 0; color: #444; font-size: .97rem; }
.card-link { color: inherit; text-decoration: none; }
.card-link:hover { color: inherit; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, rgba(201,169,97,0.18), rgba(201,169,97,0.05)); color: var(--color-accent); margin-bottom: 1rem; }

/* === Intro === */
.intro { background: var(--color-neutral-light); }
.intro h2 { text-align: center; }
.intro .lede { text-align: center; margin-bottom: 1.5rem; }

/* === Testimonial === */
.testimonial { background: var(--color-secondary); }
.testimonial blockquote { margin: 0; padding: 2rem 1rem 0; text-align: center; position: relative; }
.testimonial blockquote p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 500; line-height: 1.5; color: var(--color-neutral-dark); }
.testimonial cite { display: block; margin-top: 1rem; font-style: normal; color: var(--color-accent); font-weight: 600; font-size: .95rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: var(--color-neutral-light); padding-block: 3.5rem; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 60% at 80% 30%, rgba(201,169,97,0.25), transparent 70%); pointer-events: none; }
.cta-band .cta-inner { position: relative; display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.cta-band h2 { color: var(--color-neutral-light); margin-bottom: .5rem; }
.cta-band p { color: rgba(250,250,250,0.8); margin: 0; }
@media (min-width: 768px) {
  .cta-band .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* === Contact === */
.contact-band { background: var(--color-neutral-light); }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.contact-grid h3 { margin-top: 1.25rem; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-accent); }
.contact-grid h3:first-child { margin-top: 0; }
.contact-grid address { font-style: normal; }
.contact-image { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; box-shadow: var(--shadow-md); }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: .55rem 0; border-bottom: 1px solid rgba(38,38,38,0.08); font-weight: 500; }
.hours th { color: var(--color-primary); }
.hours td { color: #555; text-align: right; }

/* === Contact form === */
.contact-form-section { background: var(--color-secondary); }
.contact-form { background: var(--color-neutral-light); padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-md); border: var(--border); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: .35rem; color: var(--color-primary); }
.field input, .field textarea { width: 100%; padding: .75rem .9rem; border: 1px solid rgba(38,38,38,0.15); border-radius: var(--radius-sm); font-family: inherit; font-size: 1rem; background: var(--color-neutral-light); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(201,169,97,0.2); }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: #555; margin: 1rem 0 1.5rem; line-height: 1.5; }
.form-consent input { margin-top: .2rem; flex-shrink: 0; }
.form-consent a { color: var(--color-accent); text-decoration: underline; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(250,250,250,0.75); padding-block: 3.5rem 1.5rem; margin-top: 3rem; }
.site-footer h4 { color: var(--color-neutral-light); font-size: 1rem; margin-bottom: 1rem; letter-spacing: 0.02em; }
.site-footer a { color: rgba(250,250,250,0.8); }
.site-footer a:hover { color: var(--color-accent); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.25rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.footer-grid address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { margin-top: 1rem !important; font-size: .87rem; }
.tagline { color: rgba(250,250,250,0.65); margin-top: .75rem; font-size: .95rem; }
.logo-footer img { filter: brightness(0) invert(1); opacity: 0.9; }
.copyright { border-top: 1px solid rgba(250,250,250,0.08); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .85rem; color: rgba(250,250,250,0.55); }
.copyright p { margin: 0; }

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

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

/* === Focus === */
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 4px; }
