/* Base design system for the US tax & business consulting site */
:root {
  --navy: #1a2c3a;
  --yellow: #fbcd3c;
  --yellow-deep: #e8b932;
  --white: #ffffff;
  --bg: #f7f8fa;
  --border: #e5e7eb;
  --text: #17212b;
  --muted: #64748b;
  --shadow: 0 18px 45px rgba(26, 44, 58, 0.08);
  --shadow-strong: 0 22px 60px rgba(26, 44, 58, 0.14);
  --radius: 22px;
  --radius-sm: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(251, 205, 60, 0.55);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

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

.section--dark {
  background: var(--navy);
  color: var(--white);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(251, 205, 60, 0.12);
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section--dark .section-title,
.section--dark .section-lead,
.section--dark .mini-muted {
  color: rgba(255, 255, 255, 0.92);
}

.section-lead {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.kicker {
  color: var(--yellow);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.header-spacer {
  height: 88px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(26, 44, 58, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand__logo {
  width: 132px;
  height: auto;
  object-fit: contain;
}

.brand__text {
  color: var(--white);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.brand__text span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__item--has-dropdown {
  position: relative;
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  display: grid;
  gap: 2px;
  min-width: 260px;
  margin: 0;
  padding: 10px;
  list-style: none;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(8, 20, 29, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav__dropdown::before {
  content: "";
  position: absolute;
  top: -19px;
  left: 0;
  right: 0;
  height: 19px;
}

.nav__item--has-dropdown:hover .nav__dropdown,
.nav__item--has-dropdown:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav__dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.nav__dropdown a:hover,
.nav__dropdown a:focus-visible {
  background: rgba(251, 205, 60, 0.12);
  color: var(--yellow);
}

.nav__link {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.98rem;
  font-weight: 600;
  transition: color 180ms ease;
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--yellow);
}

.nav__link--active {
  color: var(--yellow);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
  box-shadow: none;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.btn--primary {
  background: var(--yellow);
  color: var(--navy);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--yellow-deep);
}

.btn--secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  border-color: var(--white);
}

.btn--dark {
  background: var(--navy);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--white);
  border-radius: 999px;
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 72px;
  background:
    radial-gradient(circle at top left, rgba(251, 205, 60, 0.16), transparent 22%),
    linear-gradient(135deg, #142532 0%, #1a2c3a 42%, #13212e 100%);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 35%, rgba(251,205,60,0.06) 100%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 42px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(251, 205, 60, 0.12);
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__title {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5.3rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero__text {
  max-width: 680px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero__strip {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero__chip {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.93rem;
  font-weight: 600;
}

.hero__visual {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
}

.visual-card {
  position: relative;
  width: min(100%, 470px);
  padding: 20px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 35px 85px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
}

.visual-card__image {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
}

.visual-card__badge,
.visual-card__metric {
  position: absolute;
  border-radius: 20px;
  background: rgba(26, 44, 58, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 16px;
  box-shadow: var(--shadow);
}

.visual-card__badge {
  top: -18px;
  left: -18px;
  color: var(--white);
  font-weight: 700;
}

.visual-card__metric {
  right: -10px;
  bottom: -16px;
  min-width: 180px;
}

.visual-card__metric strong {
  display: block;
  color: var(--yellow);
  font-size: 1.25rem;
}

.visual-card__metric span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.visual-card__flag {
  position: absolute;
  right: -20px;
  top: 84px;
  width: 170px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 4px solid rgba(255, 255, 255, 0.9);
  transform: rotate(5deg);
}

.trust-strip {
  margin-top: -34px;
  position: relative;
  z-index: 3;
}

.trust-strip__panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.trust-strip__item {
  padding: 28px;
  border-right: 1px solid var(--border);
}

.trust-strip__item:last-child {
  border-right: 0;
}

.trust-strip__label {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 800;
}

.trust-strip__copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 22px;
}

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

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

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

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 12px 32px rgba(26, 44, 58, 0.04);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(251, 205, 60, 0.38);
  box-shadow: var(--shadow-strong);
}

.card--dark {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.card__icon {
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 18px;
  background: rgba(251, 205, 60, 0.14);
  color: var(--yellow);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.card__icon svg {
  width: 26px;
  height: 26px;
}

.card__title {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.18rem;
  line-height: 1.25;
}

.card--dark .card__title,
.card--dark .mini-muted,
.card--dark .card__copy,
.section--dark .mini-muted {
  color: rgba(255, 255, 255, 0.86);
}

.card__copy {
  margin: 0;
  color: var(--muted);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--navy);
  font-weight: 700;
}

.card__link::after {
  content: ">";
  transition: transform 180ms ease;
}

.card:hover .card__link::after {
  transform: translateX(4px);
}

.stat-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.stat-band__item {
  padding: 20px 22px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.stat-band__value {
  display: block;
  color: var(--yellow);
  font-size: 1.15rem;
  font-weight: 800;
}

.stat-band__label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.split__media {
  position: relative;
}

.split__media img {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow-strong);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  padding: 0;
  list-style: none;
}

.pill-list li {
  padding: 10px 14px;
  border-radius: 999px;
  background: #eef2f6;
  color: var(--navy);
  font-weight: 700;
}

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

.timeline::before {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  top: 40px;
  height: 2px;
  background: linear-gradient(90deg, rgba(251,205,60,0.18), rgba(251,205,60,0.9), rgba(251,205,60,0.18));
}

.timeline__step {
  position: relative;
  padding: 28px 24px 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.timeline__num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: var(--navy);
  color: var(--yellow);
  font-size: 1rem;
  font-weight: 800;
}

.timeline__title {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.08rem;
}

.timeline__text {
  margin: 0;
  color: var(--muted);
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.price-card--featured {
  border-color: rgba(251, 205, 60, 0.35);
  box-shadow: 0 24px 60px rgba(26, 44, 58, 0.12);
}

.price-card__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(251, 205, 60, 0.14);
  color: var(--yellow-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-card__price {
  color: var(--navy);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.price-card__best {
  color: var(--muted);
  font-size: 0.95rem;
  margin: -8px 0 0;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text);
}

.feature-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--yellow);
  flex: 0 0 auto;
}

.blog-card__image {
  height: 210px;
  width: 100%;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 18px;
}

.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.blog-card__tag {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(26, 44, 58, 0.08);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 800;
}

.blog-card__date {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.blog-card__title {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.18rem;
  line-height: 1.3;
}

.blog-card__excerpt {
  margin: 0;
  color: var(--muted);
}

.breadcrumb {
  padding: 18px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.breadcrumb a {
  color: var(--navy);
  font-weight: 600;
}

.breadcrumb span {
  color: var(--muted);
}

.hero--compact {
  padding: 62px 0 50px;
}

.page-hero__title {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.page-hero__text {
  margin: 18px 0 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(251, 205, 60, 0.8);
  box-shadow: 0 0 0 4px rgba(251, 205, 60, 0.12);
  outline: none;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-grid .field--full {
  grid-column: 1 / -1;
}

.form-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-status {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(251, 205, 60, 0.12);
  color: var(--navy);
  font-weight: 700;
}

.faq {
  display: grid;
  gap: 16px;
}

.faq__item {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--white);
}

.faq__button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 22px;
  background: transparent;
  border: 0;
  color: var(--navy);
  font-weight: 800;
  text-align: left;
}

.faq__button::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(251, 205, 60, 0.14);
  color: var(--navy);
  font-size: 1.2rem;
  flex: 0 0 auto;
  transition: transform 180ms ease, background-color 180ms ease;
}

.faq__button[aria-expanded="true"]::after {
  content: "–";
  background: rgba(251, 205, 60, 0.28);
}

.faq__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 260ms ease;
}

.faq__panel-inner {
  padding: 0 22px 22px;
  color: var(--muted);
}

.footer {
  background: var(--navy);
  color: var(--white);
  padding: 76px 0 34px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 34px;
  align-items: start;
}

.footer__brand {
  display: grid;
  gap: 18px;
}

.footer__brand img {
  width: 150px;
}

.footer__text {
  color: rgba(255, 255, 255, 0.76);
  max-width: 360px;
}

.footer__title {
  margin: 0 0 18px;
  font-size: 1rem;
  color: var(--white);
}

.footer__links {
  display: grid;
  gap: 11px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.84);
  transition: color 180ms ease;
}

.footer__links a:hover,
.footer__links a:focus-visible {
  color: var(--yellow);
}

.footer__contact {
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.84);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

.mini-muted {
  color: var(--muted);
  font-size: 0.95rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(26, 44, 58, 0.08);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.callout {
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(251,205,60,0.14), rgba(26,44,58,0.06));
  border: 1px solid rgba(26,44,58,0.08);
}

.callout--dark {
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(251,205,60,0.08));
  border-color: rgba(255, 255, 255, 0.12);
}

.inline-list {
  margin: 18px 0 0;
  padding-left: 18px;
  color: inherit;
}

.page-section {
  padding: 72px 0;
}

.service-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  background: #eef2f6;
  color: var(--navy);
  font-weight: 700;
}

.article {
  max-width: 860px;
  margin: 0 auto;
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 0;
}

.article__hero-image {
  width: 100%;
  margin: 32px 0;
  border-radius: 28px;
  box-shadow: var(--shadow-strong);
}

.article h2 {
  color: var(--navy);
  margin-top: 34px;
}

.article p,
.article li {
  color: var(--text);
}

@media (max-width: 1120px) {
  .hero__inner,
  .split,
  .footer__top {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: auto;
  }

  .visual-card {
    width: min(100%, 520px);
    margin-inline: auto;
  }

  .footer__top {
    gap: 28px;
  }

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

  .trust-strip__item:nth-child(2n) {
    border-right: 0;
  }

  .trust-strip__item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }
}

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

  .nav-toggle {
    display: inline-flex;
  }

  .mobile-nav {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease;
    background: rgba(26, 44, 58, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  body.menu-open .mobile-nav {
    max-height: 70vh;
  }

  .mobile-nav__inner {
    display: grid;
    gap: 12px;
    padding: 18px 0 22px;
  }

  .mobile-nav__links {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .mobile-nav__links a,
  .mobile-nav__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
    font-weight: 700;
  }

  .mobile-nav__service-item {
    list-style: none;
  }

  .mobile-nav__service-links {
    display: grid;
    gap: 6px;
    margin: 6px 0 0;
    padding: 0 0 0 14px;
    list-style: none;
  }

  .mobile-nav__service-links[hidden] {
    display: none;
  }

  .mobile-nav__service-links a {
    min-height: 42px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.025);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
  }

  .mobile-nav__cta {
    background: var(--yellow);
    color: var(--navy);
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 74px 0 60px;
  }

  .hero__title {
    font-size: clamp(2.4rem, 10vw, 4rem);
  }

  .grid-3,
  .grid-4,
  .grid-2,
  .stat-band,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    display: none;
  }

  .trust-strip__panel,
  .grid-4,
  .timeline {
    grid-template-columns: 1fr;
  }

  .trust-strip__item,
  .trust-strip__item:nth-child(2n) {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .trust-strip__item:last-child {
    border-bottom: 0;
  }

  .timeline__step {
    padding-top: 24px;
  }

  .visual-card__flag {
    width: 124px;
    right: -8px;
    top: 32px;
  }

  .card,
  .price-card,
  .timeline__step,
  .faq__button,
  .faq__panel-inner,
  .field input,
  .field select,
  .field textarea {
    border-radius: 18px;
  }

  .footer {
    padding-top: 64px;
  }

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

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .site-header__inner {
    min-height: 78px;
  }

  .brand__logo {
    width: 116px;
  }

  .hero__text,
  .section-lead,
  .page-hero__text {
    font-size: 1rem;
  }

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

  .btn {
    width: 100%;
  }

  .hero__visual {
    margin-top: 10px;
  }

  .visual-card {
    padding: 14px;
  }

  .visual-card__badge,
  .visual-card__metric {
    position: static;
    margin-top: 12px;
    width: auto;
  }

  .trust-strip {
    margin-top: -18px;
  }

  .card,
  .callout,
  .timeline__step {
    padding: 22px;
  }

  .footer__bottom {
    gap: 8px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
