:root {
  --color-primary: #475569;
  --color-secondary: #64748B;
  --color-accent: #2563EB;
  --color-neutral-dark: #1E293B;
  --color-neutral-light: #F8FAFC;
  --color-border: rgba(30, 41, 59, 0.10);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(15, 23, 42, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, 0.25);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

.skip { position: absolute; left: -9999px; top: 0; background: var(--color-accent); color: #fff; padding: .5rem 1rem; z-index: 10000; }
.skip:focus { left: 1rem; top: 1rem; }

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

/* === Header === */
.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 4px 20px -12px rgba(15, 23, 42, 0.15); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { background: transparent; border: 1px solid var(--color-border); border-radius: 10px; padding: .5rem; color: var(--color-neutral-dark); cursor: pointer; display: inline-flex; }
.primary-nav { display: none; }
.primary-nav a { position: relative; color: var(--color-primary); font-weight: 500; padding: .5rem .25rem; }
.primary-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; 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 a[aria-current="page"] { color: var(--color-neutral-dark); }
.primary-nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); padding: 1rem 1.25rem 1.5rem; gap: .5rem; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-md); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; gap: 1.75rem; align-items: center; }
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px; font-family: var(--font-heading); font-weight: 600; font-size: 1rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }
.btn-primary { background: linear-gradient(135deg, var(--color-accent), #1D4ED8); color: #fff; box-shadow: 0 8px 24px -8px rgba(37, 99, 235, 0.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(37, 99, 235, 0.65); color: #fff; }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--color-neutral-dark); color: var(--color-neutral-dark); }
.btn-accent { background: var(--color-neutral-light); color: var(--color-neutral-dark); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--color-neutral-dark); }

/* === Hero === */
.hero { position: relative; padding-block: 3rem 3rem; background: linear-gradient(180deg, rgba(37, 99, 235, 0.05), transparent 70%); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -20% auto auto; width: 60%; height: 60%; background: radial-gradient(circle at center, rgba(37, 99, 235, 0.18), transparent 60%); pointer-events: none; z-index: 0; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; position: relative; z-index: 1; }
.eyebrow { display: inline-block; font-family: var(--font-heading); font-size: .8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--color-accent); background: rgba(37, 99, 235, 0.10); padding: .35rem .75rem; border-radius: 999px; margin: 0 0 1rem; font-weight: 600; }
.hero-copy .lede { font-size: 1.15rem; color: var(--color-secondary); max-width: 52ch; margin-bottom: 1.75rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.center-ctas { justify-content: center; }
.hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; }

@media (min-width: 900px) {
  .hero { padding-block: 5.5rem 5rem; }
  .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
}

/* === Sections === */
.section { padding-block: 4rem; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-secondary); font-size: 1.05rem; }
.intro { padding-block: 3rem; }
.intro h2 { text-align: center; }
.intro p { text-align: center; color: var(--color-primary); font-size: 1.1rem; max-width: 65ch; margin-inline: auto; }

/* === Grid & Cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@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: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(37, 99, 235, 0.25); }
.card p { color: var(--color-primary); font-size: .98rem; margin: 0; }
.card h3 { margin-bottom: .5rem; }
.icon-badge { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(37, 99, 235, 0.04)); color: var(--color-accent); margin-bottom: 1rem; }
.icon-badge.big { width: 64px; height: 64px; border-radius: 20px; margin-inline: auto; }
.stat-card .stat { display: block; font-family: var(--font-heading); font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 700; color: var(--color-accent); line-height: 1; margin-bottom: .75rem; letter-spacing: -0.02em; }

.services-image { margin-top: 2.5rem; }
.services-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 21/9; object-fit: cover; width: 100%; }

/* === Testimonial === */
.testimonial-section { padding-block: 3rem; }
.testimonial { margin: 0; padding: 2rem 1.5rem; background: #fff; border-left: 4px solid var(--color-accent); border-radius: var(--radius); box-shadow: var(--shadow-sm); text-align: center; }
.testimonial p { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 500; color: var(--color-neutral-dark); line-height: 1.5; margin-bottom: 1rem; }
.testimonial cite { color: var(--color-secondary); font-style: normal; font-size: .95rem; font-weight: 500; }
@media (min-width: 720px) { .testimonial { padding: 2.5rem 3rem; } .testimonial p { font-size: 1.3rem; } }

/* === FAQ === */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-list details { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.25rem 1.5rem; transition: box-shadow .2s var(--ease); }
.faq-list details[open] { box-shadow: var(--shadow-sm); border-color: rgba(37, 99, 235, 0.25); }
.faq-list summary { font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--color-neutral-dark); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.5rem; color: var(--color-accent); transition: transform .2s var(--ease); font-weight: 400; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { margin: 1rem 0 0; color: var(--color-primary); }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-accent), #1D4ED8); color: #fff; padding-block: 3.5rem; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: -30% auto auto -20%; width: 60%; height: 200%; background: radial-gradient(circle at center, rgba(255,255,255,0.15), transparent 60%); pointer-events: none; }
.cta-inner { position: relative; display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(255, 255, 255, 0.88); margin: 0; max-width: 55ch; }
@media (min-width: 720px) { .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; } }

/* === Contact band === */
.contact-band { background: #fff; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); text-align: center; }
.contact-band h2 { margin-bottom: .5rem; }
.contact-band p { color: var(--color-primary); }
.contact-band .lede { color: var(--color-secondary); font-size: 1.1rem; }

/* === Form === */
.form-section { padding-block: 3rem 5rem; }
.contact-form { background: #fff; padding: 2rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-family: var(--font-heading); font-weight: 600; font-size: .95rem; color: var(--color-neutral-dark); }
.field input, .field textarea { font-family: var(--font-body); font-size: 1rem; padding: .8rem 1rem; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-neutral-light); color: var(--color-neutral-dark); 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(37, 99, 235, 0.15); }
.form-consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; color: var(--color-secondary); line-height: 1.5; }
.form-consent input { margin-top: .2rem; }
.form-success { background: rgba(37, 99, 235, 0.08); color: var(--color-neutral-dark); padding: 1rem 1.25rem; border-radius: 10px; border-left: 3px solid var(--color-accent); margin: 0; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(248, 250, 252, 0.85); padding-block: 3rem 2rem; margin-top: 2rem; }
.site-footer .logo img { height: 64px; filter: brightness(0) invert(1) grayscale(1); opacity: .95; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(248, 250, 252, 0.12); }
.footer-grid h4 { color: #fff; font-size: 1rem; margin-bottom: .75rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; }
.footer-grid a { color: rgba(248, 250, 252, 0.75); }
.footer-grid a:hover { color: #fff; }
.footer-grid address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { flex-direction: row !important; flex-wrap: wrap; gap: 1rem !important; font-size: .9rem; }
.tagline { color: rgba(248, 250, 252, 0.65); font-size: .95rem; margin-top: .5rem; }
.copyright { padding-top: 1.5rem; font-size: .85rem; color: rgba(248, 250, 252, 0.55); text-align: center; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.3fr; gap: 3rem; } }

/* === 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-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; color: rgba(248, 250, 252, 0.9); font-size: .95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button { font-family: var(--font-heading); font-weight: 600; font-size: .9rem; padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(248, 250, 252, 0.2); background: transparent; color: var(--color-neutral-light); cursor: pointer; 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); border-color: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-accept]:hover { background: #1D4ED8; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(248, 250, 252, 0.15); }
.cookie-banner__prefs label { font-size: .9rem; display: flex; align-items: center; gap: .5rem; }

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