:root {
  --color-primary: #0F172A;
  --color-secondary: #334155;
  --color-accent: #0369A1;
  --color-neutral-dark: #020617;
  --color-neutral-light: #F8FAFC;
  --color-border: rgba(2, 6, 23, 0.12);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 2px 20px rgba(2, 6, 23, 0.06);
  --shadow-md: 0 12px 30px -12px rgba(2, 6, 23, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(2, 6, 23, 0.35);
  --radius: 16px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; 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-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-primary); line-height: 1.2; margin: 0 0 0.75rem; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }
button { font: inherit; cursor: pointer; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: var(--color-primary); color: var(--color-neutral-light); padding: .5rem 1rem; border-radius: 6px; z-index: 10000; }

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

.eyebrow { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-accent); font-weight: 600; margin: 0 0 1rem; }

/* === Header === */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(248, 250, 252, 0.78); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--color-border); transition: box-shadow .3s var(--ease), background .3s var(--ease); }
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(248, 250, 252, 0.92); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.logo { display: inline-flex; }
.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-primary); }
.primary-nav { display: none; }
.primary-nav.is-open { display: flex; }
.primary-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 1rem 1.25rem; background: var(--color-neutral-light); border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-md); }
.primary-nav a { color: var(--color-primary); padding: .65rem 0; font-weight: 500; border-bottom: 1px solid var(--color-border); position: relative; }
.primary-nav a:hover { text-decoration: none; color: var(--color-accent); }
.primary-nav a[aria-current="page"] { color: var(--color-accent); }

@media (min-width: 880px) {
  .nav-toggle { display: none; }
  .primary-nav, .primary-nav.is-open { position: static; display: flex; flex-direction: row; gap: 2rem; padding: 0; background: transparent; border: 0; box-shadow: none; }
  .primary-nav a { padding: 0; border: 0; }
  .primary-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; 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); }
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn { display: inline-block; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: .9375rem; line-height: 1; border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); text-decoration: none; }
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:focus-visible { outline: 3px solid rgba(3, 105, 161, 0.4); outline-offset: 2px; }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: var(--color-neutral-light); }
.btn--accent { background: var(--color-accent); 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); border-color: var(--color-primary); }
.btn--sm { padding: .55rem 1rem; font-size: .875rem; }

/* === Hero === */
.hero { position: relative; padding-block: 4rem 3rem; background: linear-gradient(135deg, rgba(15, 23, 42, 0.04), rgba(3, 105, 161, 0.06)); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -10% -20% auto auto; width: 60%; height: 60%; background: radial-gradient(closest-side, rgba(3, 105, 161, 0.15), transparent 70%); z-index: 0; pointer-events: none; }
.hero > .container, .hero__grid { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero__sub { font-size: 1.125rem; color: var(--color-secondary); max-width: 52ch; margin-bottom: 2rem; }
.hero__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-lg); }
.hero--text { text-align: center; padding-block: 5rem 3rem; }
.hero--text .eyebrow, .hero--text h1, .hero--text .hero__sub { margin-inline: auto; }
.hero--text .hero__sub { max-width: 56ch; }
.success-icon { display: inline-flex; width: 96px; height: 96px; align-items: center; justify-content: center; background: rgba(3, 105, 161, 0.1); color: var(--color-accent); border-radius: 50%; margin-bottom: 1.5rem; }

@media (min-width: 880px) {
  .hero { padding-block: 6rem 5rem; }
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .hero__media img { aspect-ratio: 4/5; }
}

/* === Sections === */
.section { padding-block: 4rem; }
.section--narrow .container { max-width: 760px; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section__head p { color: var(--color-secondary); font-size: 1.0625rem; }
.section__head--left { text-align: left; margin-inline: 0; }

@media (min-width: 880px) {
  .section { padding-block: 6rem; }
}

/* === Grids === */
.grid { display: grid; gap: 1.5rem; 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); } }

/* === Cards === */
.card { background: var(--color-neutral-light); 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); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, rgba(3, 105, 161, 0.12), rgba(15, 23, 42, 0.08)); color: var(--color-accent); margin-bottom: 1rem; }
.card p { color: var(--color-secondary); margin: 0; }
.card h3 { margin-bottom: .5rem; }

/* === Quote === */
.section--quote { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: var(--color-neutral-light); }
.section--quote .quote p { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.4; max-width: 56ch; margin: 0 auto 1.5rem; text-align: center; font-weight: 500; }
.section--quote cite { display: block; text-align: center; font-style: normal; color: rgba(248, 250, 252, 0.75); font-size: .9375rem; }

/* === CTA Band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), #1e3a5f); color: var(--color-neutral-light); padding-block: 3.5rem; }
.cta-band__inner { 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(248, 250, 252, 0.8); margin: 0; max-width: 56ch; }
@media (min-width: 760px) {
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* === Stats === */
.stat { text-align: center; padding: 1.5rem; }
.stat__num { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; color: var(--color-accent); margin: 0 0 .5rem; letter-spacing: -0.02em; }
.stat__label { color: var(--color-secondary); font-size: .9375rem; margin: 0; }

/* === Pricing === */
.pricing-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pricing-card { position: relative; background: var(--color-neutral-light); padding: 2.25rem; border-radius: var(--radius); border: 1px solid var(--color-border); display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured { border: 2px solid var(--color-accent); }
.pricing-card__badge { position: absolute; top: 1rem; right: 1rem; background: var(--color-accent); color: var(--color-neutral-light); font-size: .75rem; font-weight: 600; padding: .35rem .75rem; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.pricing-card__plan { margin-bottom: .25rem; }
.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-weight: 500; margin: 0 0 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; flex-grow: 1; }
.pricing-card__features li { display: flex; gap: .5rem; padding-block: .4rem; color: var(--color-secondary); font-size: .9375rem; border-bottom: 1px solid rgba(2, 6, 23, 0.05); }
.pricing-card__cta { text-align: center; margin-top: auto; }

/* === FAQ === */
.faq details { background: var(--color-neutral-light); border: 1px solid var(--color-border); border-radius: 12px; margin-bottom: .75rem; padding: 1rem 1.25rem; transition: box-shadow .2s var(--ease); }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; color: var(--color-primary); position: relative; padding-right: 2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--color-accent); transition: transform .2s var(--ease); }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--color-secondary); margin: .75rem 0 0; }

/* === Contact === */
.contact-form { display: grid; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-weight: 500; font-size: .9375rem; color: var(--color-primary); }
.field input, .field textarea { font: inherit; padding: .75rem 1rem; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-neutral-light); color: var(--color-primary); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.15); }
.contact-form button { justify-self: start; }

.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: .65rem 0; border-bottom: 1px solid var(--color-border); }
.hours th { font-weight: 500; color: var(--color-primary); }
.hours td { color: var(--color-secondary); }
.office-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); margin-bottom: 2rem; box-shadow: var(--shadow-md); }
address { font-style: normal; color: var(--color-secondary); line-height: 1.8; }

/* === Footer === */
.site-footer { background: var(--color-primary); color: rgba(248, 250, 252, 0.78); padding-block: 3.5rem 1.5rem; margin-top: 2rem; }
.site-footer h2 { color: var(--color-neutral-light); font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.site-footer a { color: rgba(248, 250, 252, 0.78); }
.site-footer a:hover { color: var(--color-neutral-light); }
.site-footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.3fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { padding-block: .3rem; }
.legal-links { margin-top: 1.25rem; }
.legal-links li { font-size: .875rem; }
.site-footer address { color: rgba(248, 250, 252, 0.78); }
.site-footer__bottom { border-top: 1px solid rgba(248, 250, 252, 0.1); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .8125rem; color: rgba(248, 250, 252, 0.55); }
.logo--footer img { height: 56px; margin-bottom: 1rem; filter: brightness(0) invert(1); }

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

/* === Cookie banner === */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; display: none; z-index: 9999; max-width: 520px; margin-inline: auto; background: var(--color-neutral-dark); color: var(--color-neutral-light); padding: 1.25rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .9375rem; line-height: 1.5; color: rgba(248, 250, 252, 0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn--ghost { color: var(--color-neutral-light); border-color: rgba(248, 250, 252, 0.3); }
.cookie-banner__actions .btn--ghost:hover { background: rgba(248, 250, 252, 0.1); color: var(--color-neutral-light); border-color: rgba(248, 250, 252, 0.5); }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .65rem; padding-top: 1rem; border-top: 1px solid rgba(248, 250, 252, 0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9375rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: .5rem; }
