/* === Tokens === */
:root {
  --color-primary: #0F172A;
  --color-secondary: #334155;
  --color-accent: #0369A1;
  --color-neutral-dark: #020617;
  --color-neutral-light: #F8FAFC;
  --color-border: rgba(15, 23, 42, 0.12);
  --color-muted: #64748B;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(2, 6, 23, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(2, 6, 23, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(2, 6, 23, 0.35);
  --max-w: 1180px;
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-primary);
  background: var(--color-neutral-light);
  -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-primary); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-primary); line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 .6em; font-weight: 600; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.35rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-secondary); }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--color-primary); color: var(--color-neutral-light); padding: .75rem 1rem; z-index: 10000; }
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; border-radius: 4px; }

/* === Layout === */
.container { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 780px; }
.center { text-align: center; margin-inline: auto; }
.section { padding-block: 4rem; }
.section--tint { background: linear-gradient(180deg, rgba(3, 105, 161, 0.04), rgba(15, 23, 42, 0.02)); }
.section__head { margin-bottom: 2.5rem; }
.section__head.center { max-width: 640px; margin-inline: auto; }
.section__sub { color: var(--color-secondary); font-size: 1.05rem; }
.eyebrow { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.14em; font-size: .78rem; color: var(--color-accent); font-weight: 600; margin-bottom: .75rem; }
.lead { font-size: 1.1rem; color: var(--color-secondary); }

/* === 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 6px 24px -18px rgba(2, 6, 23, 0.3); }
.site-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 { display: inline-flex; flex-direction: column; gap: 5px; width: 42px; height: 42px; padding: 10px; background: transparent; border: 1px solid var(--color-border); border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle__bar { width: 20px; height: 2px; background: var(--color-primary); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.primary-nav { position: fixed; inset: 64px 0 0 0; background: var(--color-neutral-light); padding: 1.5rem; display: none; flex-direction: column; gap: .25rem; border-top: 1px solid var(--color-border); }
.primary-nav.is-open { display: flex; }
.primary-nav a { display: block; padding: .85rem .5rem; color: var(--color-primary); font-weight: 500; border-bottom: 1px solid var(--color-border); position: relative; }
.primary-nav a[aria-current="page"] { color: var(--color-accent); }
.primary-nav .nav-cta { margin-top: .75rem; background: var(--color-primary); color: var(--color-neutral-light); border-radius: 10px; padding: .85rem 1.1rem; text-align: center; border-bottom: 0; }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { position: static; inset: auto; display: flex; flex-direction: row; align-items: center; gap: .25rem; padding: 0; background: transparent; border-top: 0; }
  .primary-nav a { border-bottom: 0; padding: .55rem .85rem; border-radius: 8px; font-size: .95rem; }
  .primary-nav a::after { content: ''; position: absolute; left: .85rem; right: .85rem; bottom: .35rem; 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 { margin: 0 0 0 .5rem; padding: .55rem 1rem; }
  .primary-nav .nav-cta::after { display: none; }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.4rem; border-radius: 12px; font-family: var(--font-heading); font-weight: 600; font-size: .95rem; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease); text-decoration: none; line-height: 1; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), #1e293b); color: var(--color-neutral-light); box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--color-neutral-light); }
.btn-accent { background: linear-gradient(135deg, var(--color-accent), #0284c7); color: var(--color-neutral-light); box-shadow: var(--shadow-sm); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--color-neutral-light); }
.btn-ghost { background: transparent; color: var(--color-primary); border-color: var(--color-border); }
.btn-ghost:hover { background: var(--color-primary); color: var(--color-neutral-light); }
.btn-sm { padding: .55rem .9rem; font-size: .85rem; border-radius: 10px; }

/* === Hero === */
.hero { position: relative; padding-block: 4rem 3rem; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -20% 20% 40% 20%; background: radial-gradient(closest-side, rgba(3, 105, 161, 0.14), transparent 70%); z-index: 0; pointer-events: none; }
.hero > .container { position: relative; z-index: 1; }
.hero-centered { text-align: center; }
.hero-centered .eyebrow { justify-content: center; }
.hero-centered h1 { max-width: 22ch; margin-inline: auto; }
.hero__sub { max-width: 52ch; margin: 0 auto 2rem; color: var(--color-secondary); font-size: 1.15rem; }
.hero__ctas { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.hero__figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); max-width: 960px; margin-inline: auto; }
.hero__figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.hero--compact { padding-block: 3rem 1.5rem; }
.hero--compact .hero__figure { display: none; }

@media (min-width: 768px) {
  .hero { padding-block: 6rem 4rem; }
}

/* === Cards grid === */
.cards { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); display: flex; flex-direction: column; gap: .5rem; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(3, 105, 161, 0.35); }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(3, 105, 161, 0.10); color: var(--color-accent); margin-bottom: .5rem; }
.card h3 { margin-bottom: .25rem; }
.card p { color: var(--color-secondary); font-size: .95rem; margin-bottom: 0; }
.card-link { color: inherit; text-decoration: none; }
.card-link:hover { color: inherit; }

/* === Quote === */
.quote { margin: 0; padding: 2rem; background: #fff; border-left: 4px solid var(--color-accent); border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow-sm); }
.quote p { font-family: var(--font-heading); font-size: 1.2rem; line-height: 1.5; color: var(--color-primary); margin: 0 0 1rem; }
.quote cite { font-style: normal; font-size: .9rem; color: var(--color-secondary); font-weight: 500; }

/* === CTA band === */
.cta-band { padding-block: 4rem; background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: var(--color-neutral-light); position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(3, 105, 161, 0.4), transparent 55%); pointer-events: none; }
.cta-band > .container { position: relative; z-index: 1; }
.cta-band h2 { color: var(--color-neutral-light); max-width: 22ch; margin-inline: auto; }
.cta-band p { color: rgba(248, 250, 252, 0.82); max-width: 55ch; margin-inline: auto; }

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

/* === Pricing === */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pricing-card { position: relative; padding: 2.25rem; border-radius: var(--radius); border: 1px solid var(--color-border); background: #fff; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.pricing-card--featured { border: 2px solid var(--color-accent); box-shadow: var(--shadow-md); }
.pricing-card__badge { position: absolute; top: -14px; right: 1.25rem; background: var(--color-accent); color: var(--color-neutral-light); font-family: var(--font-heading); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .35rem .75rem; border-radius: 999px; }
.pricing-card__plan { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .1em; color: var(--color-secondary); margin-bottom: .5rem; }
.pricing-card__price { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; color: var(--color-primary); margin: 0 0 .75rem; letter-spacing: -0.02em; }
.pricing-card__lede { color: var(--color-secondary); font-size: .95rem; margin-bottom: 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-direction: column; gap: .55rem; }
.pricing-card__features li { display: flex; gap: .5rem; font-size: .95rem; color: var(--color-primary); }
.pricing-card__cta { margin-top: auto; }

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: .75rem; }
.faq details { background: #fff; border: 1px solid var(--color-border); border-radius: 12px; padding: 1rem 1.25rem; transition: border-color .2s var(--ease); }
.faq details[open] { border-color: rgba(3, 105, 161, 0.4); box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-family: var(--font-heading); font-weight: 600; color: var(--color-primary); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; color: var(--color-accent); transition: transform .2s var(--ease); }
.faq details[open] summary::after { content: '−'; }
.faq p { margin: .75rem 0 0; color: var(--color-secondary); }

/* === Contact === */
.contact-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; } }
.contact-layout__info h2 { margin-bottom: .5rem; }
.contact-layout__info address { font-style: normal; margin-bottom: 1.5rem; line-height: 1.7; }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th, .hours td { text-align: left; padding: .5rem 0; border-bottom: 1px solid var(--color-border); }
.hours th { font-weight: 500; color: var(--color-secondary); }

.contact-form { background: #fff; padding: 2rem; border-radius: var(--radius); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1rem; }
.contact-form h2 { margin-bottom: .5rem; }
.form-row { display: flex; flex-direction: column; gap: .35rem; }
.form-row label { font-family: var(--font-heading); font-weight: 500; font-size: .9rem; color: var(--color-secondary); }
.form-row input, .form-row textarea { font: inherit; padding: .75rem .9rem; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-neutral-light); color: var(--color-primary); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.15); }
.form-consent { display: flex; align-items: flex-start; gap: .55rem; font-size: .85rem; color: var(--color-secondary); line-height: 1.5; }
.form-consent input { margin-top: .2rem; }

.contact-band { display: grid; grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem; background: linear-gradient(135deg, rgba(3, 105, 161, 0.08), rgba(15, 23, 42, 0.04)); border: 1px solid var(--color-border); border-radius: var(--radius); }
@media (min-width: 768px) { .contact-band { grid-template-columns: 1.4fr 1fr; align-items: center; } }
.contact-band__info { font-style: normal; line-height: 1.7; color: var(--color-secondary); }

/* === Footer === */
.site-footer { background: var(--color-primary); color: rgba(248, 250, 252, 0.82); padding-block: 3.5rem 1.5rem; margin-top: 2rem; }
.site-footer h4 { color: var(--color-neutral-light); }
.site-footer a { color: rgba(248, 250, 252, 0.82); }
.site-footer a:hover { color: var(--color-neutral-light); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.logo--footer img { height: 60px; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer__tag { color: rgba(248, 250, 252, 0.7); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.footer__legal { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(248, 250, 252, 0.12); }
.footer__bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(248, 250, 252, 0.12); font-size: .85rem; color: rgba(248, 250, 252, 0.6); }

/* === 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; border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 560px; margin-left: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .9rem; line-height: 1.5; color: rgba(248, 250, 252, 0.88); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner .btn-ghost { border-color: rgba(248, 250, 252, 0.25); color: var(--color-neutral-light); }
.cookie-banner .btn-ghost:hover { background: rgba(248, 250, 252, 0.12); color: var(--color-neutral-light); }
.cookie-banner__prefs { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(248, 250, 252, 0.15); display: flex; flex-direction: column; gap: .5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.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; }
}
