/* === Tokens === */
:root {
  --color-primary: #0F172A;
  --color-secondary: #334155;
  --color-accent: #CA8A04;
  --color-neutral-dark: #020617;
  --color-neutral-light: #F8FAFC;
  --color-border: rgba(2,6,23,0.10);
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-soft: 0 2px 20px rgba(2,6,23,0.06);
  --shadow-lift: 0 18px 40px -18px rgba(2,6,23,0.28);
}

/* === 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;
}
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1rem; color: var(--color-secondary); }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-accent); }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: 760px; }

/* === Header / Nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248,250,252,0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.scrolled {
  background: rgba(248,250,252,0.92);
  border-bottom-color: var(--color-border);
  box-shadow: 0 6px 20px -12px rgba(2,6,23,0.18);
}
.site-header__inner {
  max-width: 1160px; margin: 0 auto; padding: 0.9rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }

.nav-toggle {
  background: none; border: 1px solid var(--color-border);
  border-radius: 10px; padding: .5rem; cursor: pointer; color: var(--color-primary);
}
.site-nav {
  display: none; 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-border);
  flex-direction: column; gap: .25rem;
}
.site-nav.is-open { display: flex; }
.site-nav a {
  padding: .65rem .25rem; font-weight: 500; font-size: .98rem;
  border-bottom: 1px solid var(--color-border);
}
.site-nav a[aria-current="page"] { color: var(--color-accent); }
.nav-cta {
  background: var(--color-primary); color: var(--color-neutral-light) !important;
  padding: .55rem 1rem !important; border-radius: 999px; text-align: center;
  border: none !important; margin-top: .5rem;
}
.nav-cta:hover { background: var(--color-accent); }

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

/* === Buttons === */
.btn {
  display: inline-block; padding: .85rem 1.5rem;
  font-family: var(--font-heading); font-weight: 600; font-size: .95rem;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), #1e293b);
  color: var(--color-neutral-light);
  box-shadow: 0 10px 25px -12px rgba(2,6,23,0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -14px rgba(2,6,23,0.6); color: var(--color-neutral-light); }
.btn-ghost {
  background: transparent; color: var(--color-primary);
  border-color: var(--color-border);
}
.btn-ghost:hover { border-color: var(--color-primary); transform: translateY(-2px); }

/* === Hero (hero-card) === */
.hero {
  position: relative;
  padding: 3rem 1.25rem 4rem;
  background:
    radial-gradient(circle at 15% 0%, rgba(202,138,4,0.10), transparent 55%),
    radial-gradient(circle at 90% 100%, rgba(15,23,42,0.08), transparent 55%),
    var(--color-neutral-light);
}
.hero-card__panel {
  max-width: 880px; margin: 0 auto;
  background: #ffffff;
  padding: 2.5rem 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -30px rgba(2,6,23,0.25);
  border: 1px solid var(--color-border);
}
.eyebrow {
  font-family: var(--font-heading); text-transform: uppercase;
  letter-spacing: 0.14em; font-size: .78rem; font-weight: 600;
  color: var(--color-accent); margin: 0 0 1rem;
}
.lede { font-size: 1.15rem; color: var(--color-secondary); max-width: 60ch; margin-bottom: 1.75rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0 0 2rem; }
.hero-card__figure {
  margin: 1.5rem 0 0; border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.hero-card__figure img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }

@media (min-width: 768px) {
  .hero { padding: 5rem 1.25rem 6rem; }
  .hero-card__panel { padding: 3.5rem 3rem; }
}

/* === Sections === */
.section { padding: 4rem 0; }
.section-tint {
  background:
    radial-gradient(circle at 100% 0%, rgba(202,138,4,0.06), transparent 60%),
    #ffffff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.section-head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.section-sub { font-size: 1.05rem; color: var(--color-secondary); }

.split { display: grid; gap: 2rem; align-items: center; }
.split__figure { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-lift); }
.split__figure img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* === 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: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: #ffffff; padding: 1.75rem; border-radius: var(--radius-md);
  border: 1px solid var(--color-border); box-shadow: var(--shadow-soft);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  display: block; color: inherit;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: rgba(202,138,4,0.35); }
.card-link { text-decoration: none; }
.card-link:hover h3 { color: var(--color-accent); }
.card h3 { margin-bottom: .5rem; transition: color .2s var(--ease); }
.card p { margin-bottom: 0; font-size: .96rem; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(202,138,4,0.14), rgba(15,23,42,0.06));
  color: var(--color-accent); margin-bottom: 1rem;
}

/* === Testimonial === */
.testimonial {
  margin: 0; padding: 2rem 1.5rem;
  background: #ffffff; border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-md); box-shadow: var(--shadow-soft);
}
.testimonial p {
  font-family: var(--font-heading); font-size: 1.2rem; font-weight: 500;
  color: var(--color-primary); line-height: 1.5; margin-bottom: 1rem;
}
.testimonial cite {
  font-style: normal; font-size: .95rem; color: var(--color-secondary);
  font-family: var(--font-body); font-weight: 500;
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: var(--color-neutral-light);
  padding: 3.5rem 1.25rem; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(202,138,4,0.20), transparent 55%);
  pointer-events: none;
}
.cta-band > .container { position: relative; }
.cta-band h2, .cta-band p { color: var(--color-neutral-light); }
.cta-band p { opacity: .85; max-width: 60ch; margin-inline: auto; }
.cta-band .btn-primary {
  background: var(--color-accent); color: var(--color-neutral-dark);
  box-shadow: 0 10px 30px -12px rgba(202,138,4,0.6);
}
.cta-band .btn-primary:hover { background: #eab308; color: var(--color-neutral-dark); }

/* === Contact form === */
.contact-form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.contact-form label { display: flex; flex-direction: column; gap: .35rem; font-weight: 500; font-size: .92rem; color: var(--color-primary); }
.contact-form input, .contact-form textarea {
  font: inherit; font-family: var(--font-body);
  padding: .8rem 1rem; border: 1px solid var(--color-border);
  border-radius: 10px; background: #ffffff; color: var(--color-primary);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(202,138,4,0.18);
}
.contact-form button { justify-self: start; margin-top: .5rem; }

/* === Footer === */
.site-footer {
  background: var(--color-primary); color: var(--color-neutral-light);
  padding: 3rem 0 1.5rem; margin-top: 4rem;
}
.site-footer .logo img { filter: brightness(0) invert(1); height: 60px; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.4fr; } }
.site-footer h4 {
  color: var(--color-neutral-light); font-size: .9rem;
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem;
}
.site-footer p, .site-footer a { color: rgba(248,250,252,0.75); font-size: .93rem; }
.site-footer a:hover { color: var(--color-accent); }
.footer-nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-tagline { margin-top: .75rem; max-width: 30ch; }
.footer-legal { margin-top: .75rem; font-size: .85rem; }
.footer-copy {
  text-align: center; margin: 2.5rem 0 0;
  padding-top: 1.5rem; border-top: 1px solid rgba(248,250,252,0.12);
  font-size: .85rem; color: rgba(248,250,252,0.55);
}

/* === Reveal on scroll === */
.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 1.5rem; border-radius: var(--radius-md);
  box-shadow: 0 20px 50px -15px rgba(0,0,0,0.5);
  max-width: 640px; margin: 0 auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { color: rgba(248,250,252,0.9); margin: 0 0 1rem; font-size: .92rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  font: inherit; font-family: var(--font-heading); font-weight: 600; font-size: .88rem;
  padding: .55rem 1rem; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(248,250,252,0.25); background: transparent;
  color: var(--color-neutral-light); transition: background .2s var(--ease);
}
.cookie-banner button:hover { background: rgba(248,250,252,0.1); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: var(--color-neutral-dark); border-color: var(--color-accent); }
.cookie-banner [data-cookie-accept]:hover { background: #eab308; }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: .5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs button { justify-self: start; margin-top: .5rem; }
