:root {
  --navy-950: #06111d;
  --navy-900: #0a1827;
  --navy-850: #0d1e30;
  --navy-800: #11263b;
  --slate-700: #334b61;
  --slate-500: #6f8799;
  --slate-300: #b8c8d4;
  --paper: #f5f8fa;
  --white: #ffffff;
  --cyan: #57d6ee;
  --cyan-strong: #28b9d7;
  --lime: #a8e85c;
  --lime-dark: #1c3710;
  --orange: #ffb36b;
  --danger: #ff7a7a;
  --line: rgba(184, 200, 212, 0.16);
  --line-light: rgba(10, 24, 39, 0.12);
  --shadow: 0 24px 70px rgba(0, 8, 18, 0.32);
  --shadow-soft: 0 16px 44px rgba(8, 26, 43, 0.12);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --container: 1180px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  color: var(--navy-950);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  color: var(--navy-950);
  background: var(--lime);
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--navy-950);
  background: var(--white);
  border-radius: 10px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.narrow {
  width: min(calc(100% - 40px), 780px);
  margin-inline: auto;
}

.section {
  padding: 104px 0;
}

.section-sm {
  padding: 70px 0;
}

.section-dark {
  color: var(--white);
  background:
    radial-gradient(circle at 85% 20%, rgba(87, 214, 238, 0.09), transparent 30%),
    radial-gradient(circle at 10% 90%, rgba(168, 232, 92, 0.06), transparent 28%),
    var(--navy-950);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--cyan-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-dark .eyebrow,
.section-mid .eyebrow,
.page-hero .eyebrow {
  color: var(--cyan);
}

.eyebrow::before {
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 6.2vw, 5.9rem);
  font-weight: 820;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.05rem, 4.3vw, 3.8rem);
  font-weight: 790;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 760;
}

.lead {
  max-width: 730px;
  color: var(--slate-700);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.section-dark .lead,
.section-mid .lead,
.page-hero .lead {
  color: var(--slate-300);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.65fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 46px;
}

.section-heading h2,
.section-heading p {
  margin-bottom: 0;
}

.header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  color: var(--white);
  background: rgba(6, 17, 29, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background 180ms ease, border-color 180ms ease;
}

.header.scrolled {
  background: rgba(6, 17, 29, 0.94);
  border-color: var(--line);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 840;
  letter-spacing: -0.025em;
}

.logo-mark {
  display: grid;
  width: 38px;
  height: 38px;
  color: var(--navy-950);
  background: linear-gradient(145deg, var(--lime), #7fdf80);
  border-radius: 12px;
  box-shadow: 0 0 0 6px rgba(168, 232, 92, 0.08);
  place-items: center;
}

.logo-mark svg {
  width: 22px;
}

.logo small {
  display: block;
  color: var(--slate-300);
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

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

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

.nav-link {
  display: inline-flex;
  position: relative;
  padding: 9px 10px;
  color: var(--slate-300);
  font-size: 0.94rem;
  font-weight: 660;
  transition: color 160ms ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--white);
}

.nav-link[aria-current="page"]::after {
  position: absolute;
  right: 10px;
  bottom: 2px;
  left: 10px;
  height: 2px;
  background: var(--lime);
  border-radius: 99px;
  content: "";
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: var(--white);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  border-radius: 99px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  min-height: 50px;
  padding: 12px 19px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--navy-950);
  background: var(--lime);
  border: 1px solid var(--lime);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(168, 232, 92, 0.14);
  font-weight: 790;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
  background: #b8f66d;
  box-shadow: 0 15px 36px rgba(168, 232, 92, 0.21);
  transform: translateY(-2px);
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.btn-secondary:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.btn-dark {
  color: var(--white);
  background: var(--navy-950);
  border-color: var(--navy-950);
  box-shadow: none;
}

.btn-dark:hover {
  color: var(--white);
  background: var(--navy-800);
  border-color: var(--navy-800);
  box-shadow: none;
}

.btn-sm {
  min-height: 42px;
  padding: 9px 15px;
  border-radius: 12px;
  font-size: 0.9rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan-strong);
  font-weight: 760;
}

.text-link:hover {
  color: #1688a0;
}

.section-dark .text-link,
.section-mid .text-link {
  color: var(--cyan);
}

.text-link svg {
  width: 17px;
  transition: transform 150ms ease;
}

.text-link:hover svg {
  transform: translateX(3px);
}

.hero {
  display: grid;
  position: relative;
  min-height: 760px;
  padding: calc(var(--header-height) + 76px) 0 72px;
  color: var(--white);
  background: var(--navy-950);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -3;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 17, 29, 0.99) 4%, rgba(6, 17, 29, 0.9) 45%, rgba(6, 17, 29, 0.22) 75%, rgba(6, 17, 29, 0.35) 100%);
  content: "";
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(transparent, var(--navy-950));
  content: "";
}

.hero-bg {
  position: absolute;
  z-index: -4;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-grid {
  display: grid;
  align-items: center;
}

.hero-content {
  max-width: 790px;
}

.hero h1 span {
  color: var(--lime);
}

.hero .lead {
  max-width: 680px;
  margin-bottom: 34px;
  color: #ced9e2;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.pill {
  display: inline-flex;
  padding: 7px 11px;
  align-items: center;
  gap: 8px;
  color: #dce7ed;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 690;
  backdrop-filter: blur(10px);
}

.pill-dot {
  width: 8px;
  height: 8px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(168, 232, 92, 0.1);
}

.hero-proof {
  display: grid;
  max-width: 760px;
  margin-top: 54px;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(9, 24, 38, 0.62);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
}

.hero-proof-item {
  padding: 18px 20px;
}

.hero-proof-item + .hero-proof-item {
  border-left: 1px solid var(--line);
}

.hero-proof strong {
  display: block;
  margin-bottom: 2px;
  color: var(--white);
  font-size: 1rem;
}

.hero-proof span {
  color: var(--slate-300);
  font-size: 0.82rem;
}

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

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

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

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

.card {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(8, 26, 43, 0.04);
}

.section-dark .card,
.section-mid .card {
  color: var(--white);
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--line);
  box-shadow: none;
}

.service-card {
  position: relative;
  min-height: 330px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  border-color: rgba(40, 185, 215, 0.38);
  box-shadow: var(--shadow-soft);
  transform: translateY(-5px);
}

.icon-box {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 32px;
  color: var(--cyan-strong);
  background: rgba(40, 185, 215, 0.09);
  border: 1px solid rgba(40, 185, 215, 0.16);
  border-radius: 16px;
  place-items: center;
}

.icon-box svg {
  width: 25px;
  height: 25px;
}

.service-card p {
  margin-bottom: 24px;
  color: var(--slate-700);
}

.service-card .text-link {
  position: absolute;
  bottom: 28px;
  left: 30px;
}

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

.split.reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.media-frame {
  position: relative;
  overflow: hidden;
  background: var(--navy-850);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-caption {
  display: flex;
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 14px 16px;
  align-items: center;
  gap: 12px;
  color: var(--white);
  background: rgba(6, 17, 29, 0.82);
  border: 1px solid var(--line);
  border-radius: 15px;
  backdrop-filter: blur(12px);
}

.media-caption svg {
  flex: 0 0 auto;
  width: 22px;
  color: var(--lime);
}

.media-caption span {
  color: var(--slate-300);
  font-size: 0.82rem;
}

.check-list {
  display: grid;
  margin: 26px 0 32px;
  padding: 0;
  gap: 13px;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.check-list svg {
  flex: 0 0 auto;
  width: 20px;
  margin-top: 3px;
  color: var(--lime);
}

.check-list.dark-check svg {
  color: #4fab56;
}

.quote-card {
  padding: 34px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(87, 214, 238, 0.1), rgba(168, 232, 92, 0.06)),
    var(--navy-850);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.quote-card .quote-mark {
  margin-bottom: 24px;
  color: var(--lime);
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 0.65;
}

.quote-card blockquote {
  margin: 0 0 28px;
  font-size: 1.28rem;
  font-weight: 650;
  line-height: 1.45;
}

.reference-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.reference-monogram {
  display: grid;
  width: 48px;
  height: 48px;
  color: var(--navy-950);
  background: var(--lime);
  border-radius: 13px;
  font-weight: 900;
  place-items: center;
}

.reference-brand strong,
.reference-brand span {
  display: block;
}

.reference-brand span {
  color: var(--slate-300);
  font-size: 0.82rem;
}

.profile-wrap {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 32px;
  align-items: center;
}

.profile-photo {
  position: relative;
}

.profile-photo::before {
  position: absolute;
  z-index: 0;
  top: -12px;
  right: 14px;
  width: 72%;
  height: 72%;
  background: var(--lime);
  border-radius: var(--radius-md);
  content: "";
}

.profile-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1 / 1.15;
  border-radius: var(--radius-md);
  object-fit: cover;
  object-position: center top;
  box-shadow: var(--shadow-soft);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  margin: 24px 0 0;
  padding: 0;
  gap: 8px;
  list-style: none;
}

.tag-list li {
  padding: 7px 10px;
  color: var(--slate-700);
  background: #e8eff3;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

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

.process-step {
  position: relative;
  padding: 30px 24px 0 0;
}

.process-step:not(:last-child)::after {
  position: absolute;
  top: 28px;
  right: 20px;
  width: calc(100% - 76px);
  height: 1px;
  background: var(--line-light);
  content: "";
  transform: translateX(100%);
}

.step-number {
  display: grid;
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  color: var(--navy-950);
  background: var(--lime);
  border: 8px solid var(--paper);
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 850;
  place-items: center;
}

.process-step p {
  color: var(--slate-700);
}

.price-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.price-card {
  display: flex;
  min-height: 430px;
  padding: 30px;
  flex-direction: column;
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.price-card.featured {
  background: linear-gradient(160deg, rgba(87, 214, 238, 0.12), rgba(168, 232, 92, 0.08));
  border-color: rgba(168, 232, 92, 0.45);
}

.price-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 22px;
  padding: 6px 9px;
  color: var(--cyan);
  background: rgba(87, 214, 238, 0.09);
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-card.featured .price-label {
  color: var(--navy-950);
  background: var(--lime);
}

.price {
  margin: 2px 0 18px;
  color: var(--white);
  font-size: 2.35rem;
  font-weight: 830;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price small {
  color: var(--slate-300);
  font-size: 0.86rem;
  font-weight: 600;
}

.price-card p,
.price-card li {
  color: var(--slate-300);
}

.price-card .btn {
  width: 100%;
  margin-top: auto;
}

.mini-list {
  display: grid;
  margin: 0 0 28px;
  padding: 0;
  gap: 9px;
  list-style: none;
}

.mini-list li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 0.91rem;
}

.mini-list svg {
  flex: 0 0 auto;
  width: 17px;
  margin-top: 3px;
  color: var(--lime);
}

.cta-panel {
  display: grid;
  position: relative;
  padding: 56px;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 20%, rgba(168, 232, 92, 0.15), transparent 30%),
    linear-gradient(135deg, var(--navy-850), var(--navy-950));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.cta-panel h2 {
  max-width: 770px;
  margin-bottom: 12px;
}

.cta-panel p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--slate-300);
}

.page-hero {
  padding: calc(var(--header-height) + 86px) 0 76px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 20%, rgba(87, 214, 238, 0.14), transparent 26%),
    radial-gradient(circle at 62% 100%, rgba(168, 232, 92, 0.07), transparent 30%),
    var(--navy-950);
}

.page-hero h1 {
  max-width: 940px;
  font-size: clamp(2.6rem, 5.5vw, 5rem);
}

.page-hero .lead {
  max-width: 760px;
  margin-bottom: 28px;
}

.breadcrumbs {
  display: flex;
  margin: 0 0 28px;
  padding: 0;
  gap: 8px;
  color: var(--slate-300);
  font-size: 0.82rem;
  list-style: none;
}

.breadcrumbs a:hover {
  color: var(--white);
}

.breadcrumbs li + li::before {
  margin-right: 8px;
  color: var(--slate-500);
  content: "/";
}

.detail-block {
  display: grid;
  padding: 34px 0;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 56px;
  border-top: 1px solid var(--line-light);
}

.detail-block:last-child {
  border-bottom: 1px solid var(--line-light);
}

.detail-number {
  display: flex;
  margin-bottom: 16px;
  align-items: center;
  gap: 10px;
  color: var(--cyan-strong);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 28px;
  list-style: none;
}

.detail-list li {
  display: flex;
  gap: 9px;
  color: var(--slate-700);
}

.detail-list svg {
  flex: 0 0 auto;
  width: 18px;
  margin-top: 4px;
  color: #4fab56;
}

.category-nav {
  display: flex;
  position: sticky;
  z-index: 20;
  top: calc(var(--header-height) + 16px);
  width: fit-content;
  max-width: 100%;
  margin: -24px auto 52px;
  padding: 7px;
  gap: 5px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line-light);
  border-radius: 15px;
  box-shadow: var(--shadow-soft);
  overflow-x: auto;
  backdrop-filter: blur(12px);
}

.category-nav button {
  flex: 0 0 auto;
  padding: 9px 13px;
  color: var(--slate-700);
  background: transparent;
  border: 0;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 760;
  cursor: pointer;
}

.category-nav button:hover,
.category-nav button[aria-pressed="true"] {
  color: var(--white);
  background: var(--navy-950);
}

.pricing-section {
  margin-bottom: 74px;
}

.pricing-section[hidden] {
  display: none;
}

.pricing-section-header {
  display: flex;
  margin-bottom: 24px;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.pricing-section-header h2,
.pricing-section-header p {
  margin-bottom: 0;
}

.pricing-section-header p {
  max-width: 520px;
  color: var(--slate-700);
}

.pricing-table {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-collapse: separate;
  border-radius: var(--radius-md);
  border-spacing: 0;
  box-shadow: 0 8px 28px rgba(8, 26, 43, 0.045);
  overflow: hidden;
}

.pricing-table th,
.pricing-table td {
  padding: 17px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-light);
}

.pricing-table tr:last-child th,
.pricing-table tr:last-child td {
  border-bottom: 0;
}

.pricing-table th {
  width: 28%;
  font-size: 0.95rem;
}

.pricing-table td:nth-child(2) {
  width: 52%;
  color: var(--slate-700);
}

.pricing-table td:last-child {
  width: 20%;
  font-weight: 820;
  white-space: nowrap;
}

.price-note {
  display: flex;
  margin-top: 22px;
  padding: 16px 18px;
  gap: 12px;
  color: var(--slate-700);
  background: #edf3f6;
  border-radius: 13px;
  font-size: 0.88rem;
}

.price-note svg {
  flex: 0 0 auto;
  width: 20px;
  margin-top: 2px;
  color: var(--cyan-strong);
}

.faq-list {
  border-top: 1px solid var(--line-light);
}

.faq-item {
  border-bottom: 1px solid var(--line-light);
}

.faq-item summary {
  display: flex;
  padding: 22px 0;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-weight: 760;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  display: grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  color: var(--cyan-strong);
  background: rgba(40, 185, 215, 0.09);
  border-radius: 50%;
  content: "+";
  place-items: center;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  max-width: 780px;
  padding-bottom: 22px;
  color: var(--slate-700);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 40px;
  align-items: start;
}

.contact-card {
  padding: 32px;
  color: var(--white);
  background: var(--navy-950);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.contact-card p {
  color: var(--slate-300);
}

.contact-list {
  display: grid;
  margin: 30px 0 0;
  padding: 0;
  gap: 13px;
  list-style: none;
}

.contact-list a,
.contact-list div {
  display: flex;
  padding: 14px;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 13px;
}

.contact-list a:hover {
  border-color: rgba(87, 214, 238, 0.42);
}

.contact-list svg {
  flex: 0 0 auto;
  width: 20px;
  margin-top: 2px;
  color: var(--lime);
}

.contact-list strong,
.contact-list span {
  display: block;
}

.contact-list span {
  color: var(--slate-300);
  font-size: 0.8rem;
}

.form-card {
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

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

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

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.86rem;
  font-weight: 730;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--navy-950);
  background: #f8fafb;
  border: 1px solid #cbd8e0;
  border-radius: 11px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--cyan-strong);
  box-shadow: 0 0 0 4px rgba(40, 185, 215, 0.12);
  outline: none;
}

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

.form-hint {
  margin: 18px 0;
  color: var(--slate-700);
  font-size: 0.82rem;
}

.form-status {
  display: none;
  margin-top: 16px;
  padding: 13px 15px;
  color: var(--lime-dark);
  background: #e5f7d0;
  border-radius: 11px;
  font-size: 0.88rem;
}

.form-status.visible {
  display: block;
}

.legal-content h2 {
  margin-top: 46px;
  font-size: 1.6rem;
}

.legal-content h3 {
  margin-top: 30px;
  font-size: 1.15rem;
}

.legal-content p,
.legal-content li {
  color: var(--slate-700);
}

.legal-table-wrap {
  margin: 1.25rem 0 2rem;
  overflow-x: auto;
  border: 1px solid #cbd8e0;
  border-radius: 14px;
  background: var(--white);
}

.legal-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.legal-table th,
.legal-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #dbe5ea;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  color: var(--navy-950);
  background: #edf3f6;
}

.legal-table td {
  color: var(--slate-700);
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.legal-table code {
  color: var(--navy-950);
  font-size: 0.88em;
  overflow-wrap: anywhere;
}

.consent-settings-panel {
  margin: 1.5rem 0 2rem;
  padding: 20px;
  border: 1px solid #cbd8e0;
  border-radius: 14px;
  background: var(--white);
}

.template-warning {
  padding: 18px 20px;
  color: #593400;
  background: #fff0cf;
  border: 1px solid #ebc66e;
  border-radius: 13px;
}

.placeholder {
  display: inline-block;
  padding: 1px 5px;
  color: #6d2f00;
  background: #ffe0b0;
  border-radius: 5px;
  font-weight: 760;
}

.footer {
  padding: 64px 0 24px;
  color: var(--slate-300);
  background: var(--navy-950);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  margin-bottom: 44px;
  grid-template-columns: 1.3fr 0.7fr 0.8fr;
  gap: 70px;
}

.footer-about p {
  max-width: 450px;
  margin: 18px 0 0;
  font-size: 0.9rem;
}

.footer h3 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 0.92rem;
  letter-spacing: 0.03em;
}

.footer-links {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 9px;
  list-style: none;
}

.footer-links a {
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  padding-top: 22px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
}

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

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

@media (max-width: 1040px) {
  .nav {
    gap: 10px;
  }

  .nav-list {
    gap: 0;
  }

  .nav-link {
    padding-inline: 8px;
    font-size: 0.88rem;
  }

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

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  .footer-grid {
    gap: 36px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 70px;
  }

  .section {
    padding: 78px 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    bottom: auto;
    left: 0;
    height: calc(100vh - var(--header-height));
    padding: 26px 20px;
    align-items: stretch;
    flex-direction: column;
    color: var(--white);
    background: rgba(6, 17, 29, 0.985);
    border-top: 1px solid var(--line);
    overflow-y: auto;
  }

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

  .nav-list {
    align-items: stretch;
    flex-direction: column;
  }

  .nav-link {
    padding: 16px 4px;
    font-size: 1.18rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-link[aria-current="page"]::after {
    display: none;
  }

  .nav .btn {
    margin-top: 10px;
  }

  .hero {
    min-height: 700px;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(6, 17, 29, 0.98), rgba(6, 17, 29, 0.76));
  }

  .section-heading,
  .split,
  .split.reverse,
  .contact-grid,
  .detail-block {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .price-preview,
  .cards-3 {
    grid-template-columns: 1fr;
  }

  .price-card {
    min-height: auto;
  }

  .price-card .btn {
    margin-top: 18px;
  }

  .cta-panel {
    padding: 42px;
    grid-template-columns: 1fr;
  }

  .profile-wrap {
    grid-template-columns: 220px 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .footer-about {
    grid-column: 1 / -1;
  }
}

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

  .section {
    padding: 64px 0;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .header .btn-sm {
    display: none;
  }

  .logo small {
    display: none;
  }

  .hero {
    min-height: 760px;
    padding-top: calc(var(--header-height) + 62px);
  }

  .hero-bg {
    opacity: 0.6;
    object-position: 66% center;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(6, 17, 29, 0.94) 0%, rgba(6, 17, 29, 0.87) 70%, var(--navy-950) 100%);
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .hero-proof-item + .hero-proof-item {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .cards-4,
  .cards-2,
  .process-grid,
  .detail-list,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .profile-wrap {
    grid-template-columns: 1fr;
  }

  .profile-photo {
    width: min(260px, 78vw);
  }

  .pricing-section-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .pricing-table,
  .pricing-table tbody,
  .pricing-table tr,
  .pricing-table th,
  .pricing-table td {
    display: block;
    width: 100%;
  }

  .pricing-table tr {
    padding: 18px;
    border-bottom: 1px solid var(--line-light);
  }

  .pricing-table tr:last-child {
    border-bottom: 0;
  }

  .pricing-table th,
  .pricing-table td {
    padding: 4px 0;
    border: 0;
  }

  .pricing-table td:last-child {
    padding-top: 8px;
    color: var(--cyan-strong);
  }

  .cta-panel,
  .form-card,
  .contact-card,
  .quote-card {
    padding: 28px;
  }

  .footer-about {
    grid-column: auto;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

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

@media print {
  .header,
  .footer,
  .category-nav,
  .btn,
  .skip-link {
    display: none !important;
  }

  .page-hero {
    padding: 30px 0;
    color: #000;
    background: #fff;
  }

  .page-hero .lead,
  .breadcrumbs {
    color: #333;
  }

  .section {
    padding: 30px 0;
  }

  .pricing-section[hidden] {
    display: block;
  }
}
