:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-muted: #f3f4f6;
  --bg-dark: #0f172a;
  --bg-dark-deep: #020617;
  --text: #0f172a;
  --text-muted: #475569;
  --text-soft: #cbd5e1;
  --line: rgba(15, 23, 42, 0.1);
  --line-strong: rgba(15, 23, 42, 0.18);
  --panel: #ffffff;
  --accent: #0f172a;
  --accent-soft: rgba(15, 23, 42, 0.08);
  --success: #22c55e;
  --radius-sm: 1rem;
  --radius-md: 1.5rem;
  --radius-lg: 2rem;
  --shadow-soft: 0 20px 60px rgba(15, 23, 42, 0.08);
  --shadow-strong: 0 32px 80px rgba(2, 6, 23, 0.24);
  --container: min(1180px, calc(100vw - 2rem));
  --container-narrow: min(920px, calc(100vw - 2rem));
  --header-height: 4rem;
  --transition: 220ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: 20px;
  padding-bottom: 20px;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.sr-only,
.field--hidden {
  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: 1rem;
  top: -3rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--bg-dark);
  color: #fff;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.narrow {
  width: var(--container-narrow);
}

.centered {
  text-align: center;
}

.section {
  padding: 7rem 0;
}

.section-muted {
  background: var(--bg-muted);
}

.section-soft {
  background:
    radial-gradient(circle at top left, rgba(148, 163, 184, 0.12), transparent 28rem),
    linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

.section-dark,
.section-contact,
.section-cta {
  color: #fff;
}

.section-heading {
  margin: 0 auto 3.75rem;
  max-width: 44rem;
  text-align: center;
}

.section-heading h2,
.section-cta h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.section-heading p,
.section-cta p {
  margin: 1rem auto 0;
  max-width: 40rem;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.section-heading--light p,
.section-cta p {
  color: rgba(255, 255, 255, 0.78);
}

.section-label {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #64748b;
}

.section-label--light,
.section-heading--light .section-label {
  color: rgba(255, 255, 255, 0.6);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: box-shadow var(--transition), background var(--transition);
}

.site-header.is-scrolled {
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.nav-shell {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand img {
  width: min(16rem, 40vw);
  height: calc(var(--header-height) - 0.5rem);
  object-fit: contain;
  object-position: left center;
}

.desktop-nav,
.mobile-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.desktop-nav a:not(.button) {
  font-weight: 600;
  color: #334155;
}

.desktop-nav a:not(.button):hover,
.mobile-nav a:not(.button):hover {
  color: #020617;
}

.nav-shell__right {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 999px;
}

.menu-toggle__line {
  display: block;
  width: 1.4rem;
  height: 2px;
  margin: 0.24rem auto;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  padding: 0 1rem 1rem;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a:not(.button) {
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.04);
  font-weight: 600;
}

.lang-switcher {
  position: relative;
}

.lang-switcher__current {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: var(--bg-soft);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.lang-switcher__current:hover {
  border-color: var(--line-strong);
  background: var(--bg-muted);
}

.lang-switcher__flag {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.lang-switcher__flag svg,
svg.lang-switcher__flag {
  width: 1.25rem;
  height: 0.875rem;
  border-radius: 2px;
  display: block;
}

.lang-switcher__chevron {
  transition: transform var(--transition);
  flex-shrink: 0;
}

.lang-switcher.is-open .lang-switcher__chevron {
  transform: rotate(180deg);
}

.lang-switcher__menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  z-index: 140;
  min-width: 10rem;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.lang-switcher.is-open .lang-switcher__menu {
  display: block;
}

.lang-switcher__menu li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.8rem;
  border-radius: 0.6rem;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background var(--transition);
}

.lang-switcher__menu li:hover {
  background: var(--bg-muted);
}

.lang-switcher__menu li.is-active {
  background: var(--accent-soft);
}

.lang-switcher--mobile {
  display: none;
}

@media (max-width: 860px) {
  .lang-switcher--mobile {
    display: block;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.5rem;
  padding: 0.95rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 1rem;
  font-weight: 700;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.button:hover {
  transform: translateY(-1px);
}

.button--sm {
  min-height: 2.8rem;
  padding: 0.7rem 1.15rem;
  border-radius: 0.9rem;
}

.button--dark {
  color: #fff;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.24);
}

.button--dark:hover {
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
}

.button--light {
  background: #fff;
  color: #020617;
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.22);
}

.button--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.button--ghost:hover,
.button--ghost-light:hover {
  background: rgba(255, 255, 255, 0.16);
}

.button--ghost-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.button--outline {
  border-color: var(--line-strong);
  background: var(--bg-soft);
  color: var(--text);
}

.button--full {
  width: 100%;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: clip;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.88) 0%, rgba(2, 6, 23, 0.62) 38%, rgba(2, 6, 23, 0.24) 100%),
    url("https://images.unsplash.com/photo-1598016677484-ad34c3fd766e?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 82%, rgba(148, 163, 184, 0.08), transparent 18rem),
    linear-gradient(90deg, rgba(2, 6, 23, 0.72) 0%, rgba(2, 6, 23, 0.38) 50%, rgba(2, 6, 23, 0.08) 100%);
}

.hero__watermark {
  position: absolute;
  right: max(3vw, 2rem);
  bottom: 2rem;
  width: clamp(8rem, 18vw, 15rem);
  opacity: 0.08;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 6rem 0;
}

.hero__copy {
  max-width: 42rem;
  animation: fadeUp 0.8s ease both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  color: #fff;
  font-weight: 700;
  backdrop-filter: blur(14px);
}

.eyebrow__icon {
  width: 1.1rem;
  height: 1.1rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.25rem, 7vw, 5.75rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.hero__lead {
  margin: 1.5rem 0 0;
  max-width: 38rem;
  font-size: clamp(1.06rem, 2vw, 1.4rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero__actions--center {
  justify-content: center;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
}

.hero__stats article {
  min-width: 8rem;
}

.hero__stats strong {
  display: block;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 800;
}

.hero__stats span {
  display: block;
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.74);
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  z-index: 1;
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  transform: translateX(-50%);
  animation: bob 2.4s ease-in-out infinite;
}

.hero__scroll svg {
  width: 1.5rem;
  height: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.panel,
.service-card,
.testimonial,
.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.panel,
.testimonial {
  padding: 2rem;
}

.panel--lift,
.service-card,
.testimonial {
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.panel--lift:hover,
.service-card:hover,
.testimonial:hover {
  transform: translateY(-0.25rem);
  border-color: rgba(15, 23, 42, 0.2);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.emoji {
  margin-bottom: 1rem;
  font-size: 2.25rem;
}

.panel h3,
.service-card h3,
.icon-blurb h3,
.timeline__item h3,
.site-footer h3 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}

.panel p,
.service-card p,
.icon-blurb p,
.timeline__item p,
.testimonial p,
.site-footer p,
.site-footer li {
  margin: 0;
  line-height: 1.75;
  color: var(--text-muted);
}

.service-card {
  position: relative;
  overflow: clip;
  padding: 2rem;
}

.service-card__icon {
  display: inline-flex;
  width: 3.5rem;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.06);
  color: var(--accent);
}

.service-card__icon svg,
.icon-blurb__badge svg {
  width: 1.7rem;
  height: 1.7rem;
}

.service-card__watermark {
  position: absolute;
  right: -0.8rem;
  bottom: -0.8rem;
  width: 5.5rem;
  opacity: 0.06;
  transform: rotate(12deg);
}

.feature-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 1.6rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 0.2rem rgba(34, 197, 94, 0.14);
}

.service-tags {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-tags > span {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.05);
}

.service-tags__icon {
  width: 1.4rem;
  height: 1.4rem;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.2;
}

.icon-blurb {
  text-align: center;
}

.icon-blurb__badge {
  display: inline-flex;
  width: 4rem;
  height: 4rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 1.2rem;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  color: #fff;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.18);
}


.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.timeline__item {
  position: relative;
}

.timeline__step {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  color: #dbeafe;
}

.testimonial-scroller {
  --card-width: 22rem;
  --card-gap: 1.5rem;
  position: relative;
  overflow: hidden;
  margin: 0 calc(-1 * (100vw - var(--container)) / 2);
  padding: 0 calc((100vw - var(--container)) / 2);
  mask-image: linear-gradient(
    to right,
    transparent,
    black 3rem,
    black calc(100% - 3rem),
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 3rem,
    black calc(100% - 3rem),
    transparent
  );
}

.testimonial-track {
  display: flex;
  gap: var(--card-gap);
  padding: 0.5rem 0 1rem;
  animation: testimonialScroll 40s linear infinite;
  width: max-content;
  will-change: transform;
}

.testimonial-scroller:hover .testimonial-track,
.testimonial-scroller:focus-within .testimonial-track {
  animation-play-state: paused;
}

.testimonial-track .testimonial {
  flex: 0 0 var(--card-width);
  min-width: var(--card-width);
}

@keyframes testimonialScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.testimonial p {
  margin-bottom: 1.5rem;
  font-style: italic;
}

.stars {
  margin-bottom: 1rem;
  letter-spacing: 0.16em;
  color: #fbbf24;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial__author span {
  display: block;
  margin-top: 0.2rem;
  color: #64748b;
}

.avatar {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  color: #0f172a;
  font-weight: 800;
}

.accordion {
  display: grid;
  gap: 1rem;
}

.accordion__item {
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: #fff;
  overflow: clip;
}

.accordion__trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.4rem;
  border: 0;
  background: transparent;
  text-align: left;
  font-weight: 700;
  color: var(--text);
}

.accordion__trigger span:last-child {
  font-size: 1.3rem;
  transition: transform var(--transition);
}

.accordion__trigger[aria-expanded="true"] span:last-child {
  transform: rotate(180deg);
}

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition);
}

.accordion__panel > p {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  padding: 0 1.4rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.accordion__item.is-open .accordion__panel {
  grid-template-rows: 1fr;
}

.accordion__item.is-open .accordion__panel > p {
  padding-bottom: 1.4rem;
}

.section-contact {
  position: relative;
  background:
    radial-gradient(circle at 84% 16%, rgba(148, 163, 184, 0.18), transparent 22rem),
    radial-gradient(circle at 8% 92%, rgba(255, 255, 255, 0.12), transparent 20rem),
    linear-gradient(180deg, #0f172a 0%, #020617 100%);
}

.section-contact::before,
.section-contact::after {
  content: "";
  position: absolute;
  width: 13rem;
  height: 13rem;
  background: url("./logo-small.png") center/contain no-repeat;
  opacity: 0.05;
}

.section-contact::before {
  left: 2rem;
  bottom: 2rem;
  transform: rotate(-14deg);
}

.section-contact::after {
  right: 2rem;
  top: 2rem;
  transform: rotate(12deg);
}

.contact-card {
  position: relative;
  z-index: 1;
  padding: 2rem;
  border-color: rgba(255, 255, 255, 0.12);
}

.contact-form {
  display: grid;
  gap: 1.25rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.55rem;
}

.field label,
.consent {
  color: #1e293b;
}

.field label {
  font-weight: 700;
}

.field__error {
  font-size: 0.85rem;
  font-weight: 600;
  color: #dc2626;
  min-height: 0;
}

.field__error:empty {
  display: none;
}

.field--invalid input,
.field--invalid textarea,
.field--invalid select {
  border-color: #dc2626;
  box-shadow: 0 0 0 0.2rem rgba(220, 38, 38, 0.1);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.46);
  border-radius: 0.95rem;
  background: #fff;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.field textarea {
  resize: vertical;
  min-height: 10rem;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 0;
  border-color: rgba(15, 23, 42, 0.7);
  box-shadow: 0 0 0 0.25rem rgba(15, 23, 42, 0.08);
}

.consent {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.7;
}

.consent input {
  margin-top: 0.25rem;
}

.consent a {
  color: #0f172a;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.contact-form__actions {
  display: grid;
  gap: 0.6rem;
}

.contact-form__hint {
  margin: 0;
  text-align: center;
  color: #64748b;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  text-align: center;
  font-weight: 700;
}

.form-status.is-success {
  color: #15803d;
}

.form-status.is-error {
  color: #b91c1c;
}

.button[disabled] {
  opacity: 0.72;
  cursor: progress;
  transform: none;
}

.section-cta {
  position: relative;
  background:
    radial-gradient(circle at center, rgba(148, 163, 184, 0.16), transparent 24rem),
    linear-gradient(180deg, #0f172a 0%, #020617 100%);
}

.site-footer {
  background: #020617;
  color: #cbd5e1;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.25rem;
}

.footer-logo {
  display: block;
  margin-bottom: 1rem;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
}

.site-footer ul {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer h3 {
  color: #fff;
}

.site-footer p,
.site-footer li {
  color: rgba(203, 213, 225, 0.8);
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.legal-hero {
  padding: 6rem 0 3rem;
  background:
    radial-gradient(circle at top right, rgba(148, 163, 184, 0.12), transparent 22rem),
    linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.legal-content {
  display: grid;
  gap: 1.6rem;
  max-width: 50rem;
}

.legal-content h2 {
  margin: 0;
  font-size: 1.45rem;
}

.legal-content p,
.legal-content li {
  margin: 0;
  line-height: 1.8;
  color: var(--text-muted);
}

.legal-content ul {
  display: grid;
  gap: 0.8rem;
  padding-left: 1.2rem;
}

/* ── Scroll-reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bob {
  0%, 100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 0.5rem);
  }
}

@media (max-width: 1100px) {
  .grid--4,
  .timeline,
  .footer-grid,
  .service-tags {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 860px) {
  .desktop-nav {
    display: none;
  }

  .nav-shell__right {
    display: flex;
  }

  .menu-toggle {
    display: inline-block;
  }

  .grid--3,
  .grid--4,
  .form-grid,
  .timeline,
  .footer-grid,
  .hero__stats,
  .service-tags {
    grid-template-columns: 1fr;
  }

  .hero__stats {
    display: grid;
    gap: 1rem;
  }

  .section,
  .legal-hero {
    padding: 5rem 0;
  }

  .contact-card {
    padding: 1.25rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 1.5rem, 1180px);
    --container-narrow: min(100vw - 1.5rem, 920px);
  }

  .testimonial-scroller {
    --card-width: 18rem;
  }

  .hero__actions,
  .hero__actions--center {
    flex-direction: column;
  }

  .button,
  .button--sm {
    width: 100%;
  }

  .eyebrow {
    width: 100%;
    justify-content: center;
  }

  .section-heading {
    margin-bottom: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0s !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
