:root {
  --bg: #eef3f7;
  --surface: #ffffff;
  --surface-soft: #f6f9fb;
  --ink: #101820;
  --muted: #5d6975;
  --line: rgba(16, 24, 32, 0.11);
  --primary: #176b5d;
  --primary-dark: #0f4f45;
  --primary-soft: rgba(23, 107, 93, 0.12);
  --brand-red: #c41313;
  --accent: #d69e2e;
  --accent-soft: rgba(214, 158, 46, 0.16);
  --blue: #245b8f;
  --shadow: 0 22px 60px rgba(14, 30, 43, 0.13);
  --radius-lg: 8px;
  --radius-md: 8px;
  --container: 1180px;
  --header-sticky-offset: 130px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-main {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-top {
  background: #11181a;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 700;
}

.site-header.is-scrolled .header-main {
  box-shadow: 0 12px 32px rgba(14, 30, 43, 0.1);
}

.header-top-wrap {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-top-wrap p {
  margin: 0;
}

.header-top-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-top-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
}

.header-top-links a:hover {
  color: #f4d180;
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  flex-shrink: 0;
}

.brand-note {
  display: none;
  max-width: 92px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

@media (min-width: 1180px) {
  .brand-note {
    display: block;
  }
}

.brand-logo {
  display: block;
  height: 52px;
  width: auto;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-red), #8e0e0e);
  box-shadow: 0 14px 26px rgba(196, 19, 19, 0.22);
}

.brand-text {
  letter-spacing: 0.08em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.main-nav > a {
  padding: 10px 9px;
  border-radius: 8px;
  color: var(--muted);
  font: inherit;
  font-weight: 750;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav > a:hover,
.main-nav > a[aria-current="page"] {
  color: var(--ink);
  background: var(--surface-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-phone {
  display: none;
  flex-direction: column;
  line-height: 1.15;
  color: var(--ink);
}

.header-phone small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.header-phone strong {
  font-size: 0.95rem;
}

@media (min-width: 760px) {
  .header-phone {
    display: flex;
  }
}

.header-cta {
  min-height: 46px;
  padding: 0 18px;
  background: var(--brand-red);
  box-shadow: 0 14px 28px rgba(196, 19, 19, 0.26);
}

.header-cta:hover {
  background: #9d1010;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 16px 30px rgba(23, 107, 93, 0.24);
}

.button-primary:hover {
  background: var(--primary-dark);
}

.button.header-cta {
  background: var(--brand-red);
  box-shadow: 0 14px 28px rgba(196, 19, 19, 0.26);
}

.button.header-cta:hover {
  background: #9d1010;
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 255, 255, 0.45);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 22px 2px no-repeat,
    var(--surface);
  padding: 9px;
  cursor: pointer;
  position: relative;
}

.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

.nav-toggle::before {
  top: 14px;
}

.nav-toggle::after {
  top: 28px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  min-height: calc(100vh - 114px);
  display: grid;
  align-items: center;
  isolation: isolate;
  padding: 76px 0 58px;
  background: #182325;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 22, 25, 0.9) 0%, rgba(9, 22, 25, 0.72) 48%, rgba(9, 22, 25, 0.32) 100%),
    linear-gradient(180deg, rgba(9, 22, 25, 0.18) 0%, rgba(9, 22, 25, 0.9) 100%);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-media img,
.hero-media video,
.hero-canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-video {
  display: block;
  transform: scale(1.04);
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #fff;
  background: rgba(196, 19, 19, 0.28);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5a5a;
  box-shadow: 0 0 0 0 rgba(255, 90, 90, 0.7);
  animation: livePulse 1.6s ease-out infinite;
}

@keyframes livePulse {
  70% {
    box-shadow: 0 0 0 8px rgba(255, 90, 90, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 90, 90, 0);
  }
}

.task-list {
  display: grid;
  gap: 8px;
}

.task-list button {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  text-align: left;
  font-weight: 750;
  cursor: pointer;
}

.task-list button:hover,
.task-list button.is-selected {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.2);
}

.task-list button span {
  color: #f4d180;
  font-weight: 900;
}

.estimate-result {
  margin: 4px 0 0;
  padding: 0 4px;
  color: #fff;
  font-size: 0.95rem;
}

.hero-panel .estimate-more {
  color: #f4d180;
  margin-top: 0;
  padding-top: 2px;
}

.form-status {
  margin: 0;
  color: var(--primary-dark);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.home-page .service-card,
.home-page .price-card,
.home-page .step-item,
.home-page .signal-grid article,
.home-page .case-list article,
.home-page .faq-item,
.home-page .proof-row div {
  transform-style: preserve-3d;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-page .service-card.is-visible,
.home-page .price-card.is-visible,
.home-page .step-item.is-visible,
.home-page .signal-grid article.is-visible {
  animation: cardSettle 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--reveal-delay, 0ms);
}

@keyframes cardSettle {
  0% {
    opacity: 0;
    transform: translateY(28px) rotateX(6deg);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

.home-page .service-icon,
.home-page .signal-icon,
.home-page .step-number {
  transition: transform 0.35s ease, background 0.35s ease;
}

.home-page .reveal.is-visible .service-icon,
.home-page .reveal.is-visible .signal-icon {
  animation: iconPop 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--reveal-delay, 0ms) + 180ms);
}

@keyframes iconPop {
  0% {
    transform: scale(0.6) rotate(-8deg);
  }
  100% {
    transform: none;
  }
}

.home-page .price-card::after,
.home-page .service-card::after,
.home-page .cta-panel::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -40%;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: skewX(-18deg) translateX(-120%);
  pointer-events: none;
}

.home-page .price-card,
.home-page .service-card,
.home-page .cta-panel {
  position: relative;
  overflow: hidden;
}

.home-page .price-card.is-visible::after,
.home-page .service-card.is-visible::after,
.home-page .cta-panel.is-visible::after {
  animation: shineSweep 1.15s ease 0.35s both;
}

@keyframes shineSweep {
  to {
    transform: skewX(-18deg) translateX(460%);
  }
}

.estimate-result.is-pop {
  animation: resultPop 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes resultPop {
  0% {
    transform: translateY(6px);
    opacity: 0.4;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}

.play-button {
  animation: playPulse 2.2s ease-in-out infinite;
}

@keyframes playPulse {
  50% {
    transform: scale(1.08);
  }
}

@keyframes phoneFloat {
  50% {
    transform: translateY(-10px);
  }
}

.home-page .section-heading.is-visible h2 {
  animation: headingIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes headingIn {
  from {
    clip-path: inset(0 100% 0 0);
    opacity: 0.2;
  }
  to {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .live-dot,
  .hero-video,
  .play-button,
  .main-video,
  .side-video,
  .home-page .reveal.is-visible .service-icon,
  .home-page .reveal.is-visible .signal-icon,
  .home-page .service-card.is-visible,
  .home-page .price-card.is-visible,
  .home-page .step-item.is-visible,
  .home-page .signal-grid article.is-visible,
  .home-page .section-heading.is-visible h2 {
    animation: none;
    transform: none;
    opacity: 1;
    clip-path: none;
  }

  .home-page .price-card::after,
  .home-page .service-card::after,
  .home-page .cta-panel::after {
    display: none;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.62fr);
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #f4d180;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow-alt {
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-color: rgba(23, 107, 93, 0.18);
}

.hero-copy {
  color: #fff;
}

.hero-copy h1 {
  margin: 14px 0 16px;
  font-size: clamp(2.2rem, 5.1vw, 3.85rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 15ch;
}

.lead {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.08rem, 1.6vw, 1.36rem);
}

.hero-subtitle {
  display: grid;
  gap: 10px;
  max-width: 52ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.97rem;
  line-height: 1.55;
  font-weight: 500;
}

.hero-subtitle p {
  margin: 0;
}

.hero-subtitle p:last-child {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 38px;
  max-width: 700px;
}

.proof-row div {
  min-height: 104px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.proof-row strong {
  display: block;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1;
}

.proof-row span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.hero-panel {
  align-self: stretch;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel-header {
  padding: 8px 8px 14px;
}

.panel-header span {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.88rem;
}

.panel-header strong {
  display: block;
  margin-top: 4px;
  font-size: 1.35rem;
}

.hero-panel .panel-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 6px;
  border-radius: 8px;
  color: #fff;
  background: var(--primary);
  font-weight: 800;
}

.section {
  padding: 92px 0;
}

.compact-section {
  position: relative;
  z-index: 3;
  padding: 0 0 36px;
  margin-top: -44px;
}

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

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

.service-card,
.price-card,
.trust-card,
.info-panel,
.feature-card,
.detail-card,
.faq-item,
.contact-block,
.about-copy,
.expert-item,
.step-item,
.case-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 36px rgba(11, 30, 44, 0.06);
}

.signal-grid {
  position: relative;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), #fff),
    var(--surface);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 22px 48px rgba(14, 30, 43, 0.12);
}

.signal-grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-red), var(--primary) 55%, var(--blue));
}

.signal-grid article {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 28px 26px 26px;
  background: transparent;
  box-shadow: none;
}

.signal-grid article + article::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line), transparent);
}

.signal-icon {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 12px;
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.signal-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.signal-grid article:nth-child(1) .signal-icon {
  color: var(--brand-red);
  background: rgba(196, 19, 19, 0.1);
}

.signal-grid article:nth-child(3) .signal-icon {
  color: var(--blue);
  background: rgba(36, 91, 143, 0.12);
}

.signal-copy span {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-grid h2 {
  margin: 6px 0 8px;
  font-size: 1.14rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.signal-copy p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.5;
}

.signal-grid p,
.section-heading p,
.service-card p,
.price-card p,
.step-item p,
.case-list span,
.faq-item p {
  color: var(--muted);
}

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

.section-heading h2 {
  max-width: 820px;
  margin: 16px 0 0;
  font-size: clamp(2rem, 3.8vw, 3.55rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 32px;
  align-items: end;
}

.split-heading p {
  margin: 0 0 4px;
  font-size: 1.04rem;
}

.services-section,
.faq-section,
.inner-page {
  background: var(--surface-soft);
}

.home-page .services-section {
  background: #fff;
}

.service-card {
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border-radius: 14px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-visual {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dfe7ec;
}

.service-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-visual img {
  transform: scale(1.06);
}

.service-visual .service-icon {
  position: absolute;
  top: 12px;
  left: 12px;
  color: #fff;
  background: rgba(16, 24, 32, 0.42);
  backdrop-filter: blur(10px);
}

.service-body {
  display: grid;
  gap: 8px;
  padding: 16px 16px 14px;
  flex: 1;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(23, 107, 93, 0.28);
  box-shadow: 0 24px 46px rgba(11, 30, 44, 0.1);
}

.home-page .service-card:hover {
  transform: none;
}

.service-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  font-weight: 900;
}

.service-card h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.service-card p {
  margin: 0;
}

.service-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 6px;
}

.service-foot strong {
  color: var(--primary-dark);
  font-size: 0.95rem;
}

.text-link {
  width: fit-content;
  margin-top: auto;
  padding-top: 22px;
  color: var(--primary-dark);
  font-weight: 850;
}

.pricing-section {
  background: #fff;
}

.home-page .pricing-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% -10%, rgba(23, 107, 93, 0.16), transparent 42%),
    radial-gradient(circle at 0% 110%, rgba(214, 158, 46, 0.14), transparent 38%),
    #e7f1ec;
}

.home-page .pricing-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(16, 24, 32, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 32, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 35%, #000 35%, transparent 82%);
}

.video-section {
  background: #fff;
}

.home-page .video-section,
.service-page .video-section {
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(196, 19, 19, 0.07), transparent 36%),
    radial-gradient(circle at 92% 12%, rgba(23, 107, 93, 0.08), transparent 34%),
    #f6f9fb;
}

.service-page .video-head h2 {
  max-width: 18ch;
}

.video-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px 48px;
  align-items: end;
  margin-bottom: 42px;
}

.video-head h2 {
  max-width: 14ch;
  margin: 16px 0 0;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.video-head-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.video-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.78fr);
  gap: 34px;
  align-items: center;
}

.video-embed-layout {
  grid-template-columns: 1fr;
  align-items: start;
}

.tiktok-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: end;
  min-height: 0;
}

.tiktok-card {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.28s ease;
}

.tiktok-card:hover .tiktok-bezel {
  transform: translateY(-8px);
}

.tiktok-card:nth-child(2):hover .tiktok-bezel {
  transform: translateY(-20px) scale(1.03);
}

.tiktok-card:hover .play-button {
  transform: translate(-50%, -50%) scale(1.08);
}

.tiktok-bezel {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 8px solid #07090a;
  border-radius: 32px;
  background: #07090a;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 28px 60px rgba(0, 0, 0, 0.38);
  transition: transform 0.28s ease;
}

.tiktok-card:nth-child(2) .tiktok-bezel {
  transform: translateY(-14px) scale(1.03);
}

.tiktok-bezel::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 3;
  width: 76px;
  height: 15px;
  border-radius: 999px;
  background: #07090a;
  transform: translateX(-50%);
}

.tiktok-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #111;
}

.tiktok-card::before {
  display: none;
}

.tiktok-meta {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 2;
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(7, 9, 10, 0.18) 12%, rgba(7, 9, 10, 0.72));
  pointer-events: none;
}

.tiktok-meta span:first-child {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.tiktok-card strong,
.tiktok-meta strong {
  max-width: none;
  font-size: 1.08rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.tiktok-card small,
.tiktok-meta small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.66);
  font-weight: 700;
}

.tiktok-chip {
  position: absolute;
  top: 18px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(8, 12, 14, 0.48);
  backdrop-filter: blur(12px);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
}

.tiktok-card .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  margin: 0;
  transform: translate(-50%, -50%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.tiktok-card:hover .play-button {
  transform: translate(-50%, -50%) scale(1.08);
}

.tiktok-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}

.tiktok-modal[hidden] {
  display: none;
}

.tiktok-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 14, 0.78);
  backdrop-filter: blur(10px);
}

.tiktok-modal-panel {
  position: relative;
  z-index: 1;
  width: min(380px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: #0d1113;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.tiktok-modal-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 12px 16px;
  color: #fff;
}

.tiktok-modal-bar strong {
  margin-right: auto;
  font-size: 0.92rem;
}

.tiktok-modal-open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
}

.tiktok-modal-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.4rem;
  cursor: pointer;
}

.tiktok-modal-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  height: auto;
  max-height: 78vh;
  background: #111;
}

.tiktok-modal-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.tiktok-modal-status {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 3;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.58);
  font-size: 0.82rem;
  transform: translateX(-50%);
  pointer-events: none;
}

.tiktok-modal-frame iframe {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}

body.is-tiktok-open {
  overflow: hidden;
}

.video-copy h2 {
  margin: 16px 0 12px;
  font-size: clamp(2rem, 3.4vw, 3.35rem);
  line-height: 1.06;
}

.video-copy p {
  margin: 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
}

.video-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.light-button {
  border-color: var(--line);
  background: #fff;
}

.soc-icon {
  width: 16px;
  height: 16px;
  display: block;
  flex-shrink: 0;
  overflow: visible;
}

.header-top-links a[aria-label] {
  width: 28px;
  height: 28px;
  justify-content: center;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 12px;
}

.social-row a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.button .soc-icon {
  width: 16px;
  height: 16px;
}

.video-showcase {
  min-height: 520px;
  position: relative;
}

.video-showcase.tiktok-row {
  min-height: 0;
}

.phone-video {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: end;
  width: min(285px, 72vw);
  aspect-ratio: 9 / 16;
  padding: 22px;
  border: 8px solid #111;
  border-radius: 28px;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(12, 21, 22, 0.1) 0%, rgba(12, 21, 22, 0.94) 100%),
    url("/assets/photos/engineer.jpg") center/cover;
  box-shadow: 0 24px 60px rgba(10, 25, 28, 0.2);
}

.phone-video::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 74px;
  height: 16px;
  border-radius: 999px;
  background: #111;
  transform: translateX(-50%);
}

.main-video {
  right: 90px;
  top: 0;
  animation: phoneFloat 5.4s ease-in-out infinite;
}

.side-video {
  right: 0;
  bottom: 6px;
  width: min(220px, 58vw);
  animation: phoneFloat 6.2s ease-in-out infinite reverse;
  background:
    linear-gradient(180deg, rgba(12, 21, 22, 0.08) 0%, rgba(12, 21, 22, 0.92) 100%),
    url("/assets/photos/drone.jpg") center/cover;
}

.play-button {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  color: #111;
  background: #fff;
  font-size: 1.05rem;
  animation: playPulse 2.2s ease-in-out infinite;
}

.play-button .soc-icon {
  width: 18px;
  height: 18px;
}

.phone-video strong {
  max-width: 210px;
  font-size: 1.14rem;
  line-height: 1.2;
}

.phone-video small {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
}

.service-video {
  background: #fff;
}

.service-video-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.46fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.service-video-card .phone-video {
  position: relative;
  right: auto;
  bottom: auto;
  top: auto;
  width: min(240px, 100%);
  justify-self: center;
}

.service-video-card h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.08;
}

.service-video-card p {
  margin: 0;
  color: var(--muted);
}

.seo-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.seo-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(11, 30, 44, 0.06);
}

.seo-panel h2,
.seo-panel h3 {
  margin-top: 0;
}

.seo-panel p {
  color: var(--muted);
}

.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.keyword-list span {
  padding: 9px 11px;
  border: 1px solid rgba(23, 107, 93, 0.14);
  border-radius: 8px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.service-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.service-links-grid a {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--primary-dark);
  font-weight: 850;
}

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

.price-card {
  min-height: 232px;
  display: flex;
  flex-direction: column;
  padding: 22px 20px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
}

.home-page .price-card:hover,
.service-page .price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 107, 93, 0.22);
  box-shadow: 0 22px 40px rgba(14, 30, 43, 0.1);
}

.price-card span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 5px 9px;
  border-radius: 8px;
  color: var(--primary-dark);
  background: var(--accent-soft);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-card h3 {
  margin: 0 0 18px;
  font-size: 1.12rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.price-card strong {
  display: block;
  margin-top: auto;
  margin-bottom: 10px;
  color: var(--primary-dark);
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.price-card p {
  margin: 0;
  font-size: 0.92rem;
}

.featured-price {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 20px 36px rgba(23, 107, 93, 0.22);
}

.featured-price p,
.featured-price span,
.featured-price strong,
.featured-price h3 {
  color: #fff;
}

.featured-price span {
  background: rgba(255, 255, 255, 0.16);
}

.home-page .featured-price:hover {
  border-color: transparent;
  box-shadow: 0 26px 44px rgba(23, 107, 93, 0.28);
}

.process-section {
  background: #fbf8f3;
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 42px;
  align-items: start;
}

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

.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-track::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 28px;
  right: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent) 55%, var(--brand-red));
}

.step-item {
  min-height: 220px;
  padding: 24px;
  background: #fff;
}

.home-page .step-item {
  position: relative;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.inner-page .process-track .step-item {
  position: relative;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.step-number {
  display: inline-flex;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 900;
}

.home-page .step-number {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  color: var(--primary-dark);
  background: #fff;
  box-shadow: 0 0 0 2px var(--primary), 0 12px 24px rgba(23, 107, 93, 0.12);
  font-size: 0.92rem;
  position: relative;
  z-index: 1;
}

.inner-page .process-track .step-number {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  color: var(--primary-dark);
  background: #fff;
  box-shadow: 0 0 0 2px var(--primary), 0 12px 24px rgba(23, 107, 93, 0.12);
  font-size: 0.92rem;
  position: relative;
  z-index: 1;
}

.step-item h3 {
  margin: 22px 0 8px;
  font-size: 1.24rem;
}

.home-page .step-item h3,
.inner-page .process-track .step-item h3 {
  margin: 26px 0 10px;
  max-width: 12ch;
  font-size: 1.42rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.step-item p {
  margin: 0;
}

.home-page .step-item p,
.inner-page .process-track .step-item p {
  max-width: 28ch;
}

.cases-section {
  color: var(--ink);
  background:
    radial-gradient(circle at 100% 0%, rgba(23, 107, 93, 0.08), transparent 36%),
    radial-gradient(circle at 0% 100%, rgba(196, 19, 19, 0.05), transparent 32%),
    #f4f7f8;
}

.cases-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 42px;
  align-items: start;
}

.cases-grid h2 {
  margin: 16px 0 0;
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: 1.05;
}

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

.case-list article {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 220px;
  padding: 26px 24px 22px;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 36px rgba(11, 30, 44, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.case-index {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.case-list h3 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.case-list p,
.case-list span {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.home-page .case-list article:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 107, 93, 0.22);
  box-shadow: 0 22px 40px rgba(14, 30, 43, 0.08);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
  background: #fff;
}

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

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

.faq-item summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 8px;
  color: var(--primary-dark);
  background: var(--primary-soft);
}

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

.faq-item p {
  margin: 0;
  padding: 0 22px 22px;
}

.cta-section {
  background: #fff;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 30px;
  align-items: start;
  padding: 34px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 79, 69, 0.96), rgba(23, 62, 92, 0.96)),
    url("/assets/photos/works.jpg") center/cover;
  box-shadow: var(--shadow);
}

.cta-copy h2 {
  margin: 18px 0 14px;
  font-size: clamp(2rem, 3.4vw, 3.3rem);
  line-height: 1.06;
}

.cta-copy p {
  margin: 0;
  max-width: 700px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
  font-weight: 750;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  font-weight: 750;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.site-footer {
  padding: 64px 0 22px;
  color: #e8eeed;
  background:
    linear-gradient(180deg, rgba(196, 19, 19, 0.16) 0, rgba(196, 19, 19, 0) 18px),
    #101618;
  border-top: 1px solid rgba(196, 19, 19, 0.35);
}

.footer-wrap {
  display: grid;
  grid-template-columns: minmax(240px, 1.25fr) repeat(2, minmax(140px, 0.7fr)) minmax(180px, 0.9fr);
  gap: 42px 32px;
  padding-bottom: 36px;
}

.footer-brand {
  max-width: 420px;
}

.footer-brand p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.55;
}

.footer-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.footer-call {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
}

.footer-call:hover {
  background: rgba(255, 255, 255, 0.08);
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-title {
  margin: 0 0 6px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col a,
.footer-contacts p {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 650;
}

.footer-col a {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-phone {
  color: #fff !important;
  font-size: 1.12rem;
  font-weight: 850 !important;
}

.footer-contacts p {
  margin: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.92rem;
}

.inner-page {
  background: linear-gradient(180deg, #eef3f7 0%, #ffffff 100%);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 56px;
  color: #fff;
  background: #122323;
}

.page-hero-media {
  position: absolute;
  inset: 0;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(16, 24, 32, 0.88) 0%, rgba(16, 24, 32, 0.62) 48%, rgba(16, 24, 32, 0.28) 100%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.16);
}

.page-hero h1 {
  max-width: 880px;
  margin: 16px 0 0;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.page-hero .article-back {
  color: #fff;
}

.page-hero .button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
}

.page-hero .button-secondary:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 36px;
  margin-top: 32px;
}

.page-hero-meta strong {
  display: block;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
}

.page-hero-meta span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 700;
}

.inner-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 32px;
  align-items: center;
}

.inner-split img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
}

.inner-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 40px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.inner-cta h2 {
  margin: 8px 0 8px;
  max-width: 18ch;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.inner-cta p {
  max-width: 46ch;
  margin: 0;
  color: var(--muted);
}

.inner-cta .cta-actions {
  margin-top: 0;
}

.inner-page .compact-section,
.inner-page .process-section,
.inner-page .services-section {
  background: inherit;
}

.about-quote {
  margin: 22px 0 0;
  padding: 18px 20px;
  border-left: 3px solid var(--primary);
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 750;
  font-style: normal;
  line-height: 1.35;
}

.page-hero .about-quote {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-left-color: #f4d180;
}

.people-row,
.client-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.people-row li,
.client-grid li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.86rem;
  font-weight: 700;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.trust-list article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.trust-list h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.trust-list p {
  margin: 0;
  color: var(--muted);
}

.page-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.content-grid,
.about-story {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(290px, 0.72fr);
  gap: 22px;
  align-items: start;
}

.info-panel,
.feature-card,
.detail-card,
.contact-block,
.about-copy {
  padding: 26px;
}

.info-panel h2,
.feature-card h3,
.detail-card h3,
.contact-block h3,
.about-copy h3 {
  margin-top: 0;
}

.info-panel p,
.feature-card p,
.detail-card p,
.contact-block p,
.about-copy p {
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-weight: 650;
}

.check-list li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 8px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  font-weight: 900;
}

.feature-list,
.metric-strip,
.deliverables,
.expert-list {
  display: grid;
  gap: 16px;
}

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

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

.detail-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-dark);
  font-size: 1.8rem;
  line-height: 1.08;
}

.clients-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.client-pill {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-weight: 750;
}

.expert-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 17px;
}

.expert-icon {
  width: 16px;
  height: 16px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: transparent;
  background: var(--primary);
}

.expert-item h3 {
  margin: 0;
  font-size: 1.06rem;
}

.wide-card {
  grid-column: span 3;
}

@media (max-width: 1080px) {
  .header-top-wrap p,
  .header-top-links span {
    display: none;
  }

  .header-top-wrap {
    justify-content: flex-end;
  }

  .hero-grid,
  .process-layout,
  .cases-grid,
  .cta-panel,
  .split-heading,
  .video-layout,
  .video-head,
  .seo-grid {
    grid-template-columns: 1fr;
  }

  .process-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }

  .process-track::before {
    display: none;
  }

  .inner-page .process-track {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .inner-page .process-track::before {
    display: block;
    top: 27px;
    right: auto;
    bottom: 24px;
    left: 26px;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--primary), var(--brand-red));
  }

  .inner-page .process-track .step-item {
    padding: 0 0 32px 78px;
  }

  .inner-page .process-track .step-number {
    position: absolute;
    top: 0;
    left: 0;
  }

  .inner-page .process-track .step-item h3 {
    max-width: none;
  }

  .hero-panel {
    align-self: auto;
  }

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

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

  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 980px) {
  .nav-wrap {
    min-height: 72px;
  }

  .nav-toggle {
    display: block;
  }

  .header-cta {
    min-width: 44px;
    padding: 0 14px;
  }

  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow);
    max-height: min(74vh, 640px);
    overflow: auto;
  }

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

  .main-nav > a {
    width: 100%;
    text-align: left;
    padding: 13px 12px;
  }

  .tiktok-row {
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
  }

  .tiktok-card:nth-child(2) .tiktok-bezel,
  .tiktok-card:hover .tiktok-bezel,
  .tiktok-card:nth-child(2):hover .tiktok-bezel {
    transform: none;
  }

  .tiktok-card {
    scroll-snap-align: start;
    min-width: 240px;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
    padding: 64px 0 36px;
  }

  .hero-copy h1 {
    font-size: clamp(2.15rem, 9vw, 3.2rem);
    max-width: none;
  }

  .brand-logo {
    height: 44px;
  }

  .proof-row,
  .signal-grid,
  .services-grid,
  .price-grid,
  .process-track,
  .process-grid,
  .metric-strip,
  .deliverables,
  .content-grid,
  .about-story,
  .inner-split,
  .service-video-card,
  .service-links-grid,
  .trust-list {
    grid-template-columns: 1fr;
  }

  .inner-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .home-page .process-track::before {
    display: block;
    top: 27px;
    right: auto;
    bottom: 24px;
    left: 26px;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--primary), var(--brand-red));
  }

  .home-page .step-item {
    padding: 0 0 28px 78px;
  }

  .home-page .step-number {
    position: absolute;
    top: 0;
    left: 0;
  }

  .video-showcase {
    min-height: 430px;
  }

  .main-video {
    left: 0;
    right: auto;
  }

  .side-video {
    right: 0;
  }

  .case-list {
    grid-template-columns: 1fr;
  }

  .case-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .section {
    padding: 64px 0;
  }

  .compact-section {
    margin-top: -24px;
    padding: 0 0 24px;
  }

  .inner-page .compact-section {
    margin-top: 0;
    padding: 18px 0 0;
  }

  .inner-page .compact-section + .section {
    padding-top: 36px;
  }

  .inner-page .page-hero {
    padding: 40px 0 40px;
  }

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

  .section-heading h2 {
    font-size: clamp(1.55rem, 7.2vw, 2.15rem);
  }

  .signal-copy {
    min-width: 0;
  }

  .signal-copy p {
    overflow-wrap: break-word;
  }

  .nav-wrap {
    gap: 10px;
  }

  .inner-page .page-hero h1 {
    font-size: clamp(1.85rem, 8.2vw, 2.55rem);
  }

  .page-hero-meta {
    gap: 16px 20px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .page-hero-meta > div {
    min-width: 0;
  }

  .inner-page .process-track::before {
    display: block;
    top: 27px;
    right: auto;
    bottom: 24px;
    left: 26px;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--primary), var(--brand-red));
  }

  .inner-page .process-track .step-item {
    padding: 0 0 28px 78px;
  }

  .inner-page .process-track .step-item:last-child {
    padding-bottom: 0;
  }

  .inner-page .process-track .step-number {
    position: absolute;
    top: 0;
    left: 0;
  }

  .home-page .step-item h3,
  .inner-page .process-track .step-item h3 {
    max-width: none;
  }

  .page-actions {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: min(100%, 360px);
  }

  .page-actions .button {
    width: 100%;
  }

  .inner-cta .cta-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .faq-item summary {
    align-items: flex-start;
    min-height: 0;
    padding: 16px 14px 16px 18px;
    font-size: 0.95rem;
    line-height: 1.35;
  }

  .faq-item summary::after {
    margin-top: 1px;
  }

  .faq-item p {
    padding: 0 18px 18px;
  }

  .inner-cta {
    padding: 22px;
  }

  .inner-cta h2 {
    max-width: none;
    font-size: 1.55rem;
  }

  .trust-list article {
    padding: 18px;
  }

  .header-top-links {
    gap: 8px;
  }

  .signal-grid article + article::before {
    top: 0;
    right: 22px;
    bottom: auto;
    left: 22px;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line), transparent);
  }

  .cta-panel {
    padding: 22px;
  }

  .footer-wrap,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .wide-card {
    grid-column: auto;
  }
}

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

  .brand-logo {
    height: 40px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-text {
    font-size: 0.95rem;
  }

  .hero-panel,
  .contact-form,
  .signal-grid article,
  .price-card,
  .info-panel,
  .feature-card,
  .detail-card,
  .contact-block,
  .about-copy {
    padding: 18px;
  }

  .home-page .step-item {
    padding: 0 0 24px 78px;
  }

  .service-card {
    padding: 0;
  }

  .proof-row div {
    min-height: auto;
  }

  .hero-actions .button,
  .contact-form .button,
  .page-actions .button,
  .inner-cta .cta-actions .button {
    width: 100%;
    min-width: 0;
    flex: none;
  }

  .page-actions,
  .inner-cta .cta-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }

  .page-hero-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .page-hero-meta > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
    padding: 10px 10px 11px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
  }

  .page-hero-meta strong {
    font-size: 0.92rem;
    line-height: 1.15;
  }

  .page-hero-meta span {
    font-size: 0.68rem;
    line-height: 1.25;
  }

  .header-cta {
    padding: 0 12px;
    font-size: 0.86rem;
  }

  .inner-page .section {
    padding: 40px 0;
  }

  .people-row li,
  .client-grid li {
    font-size: 0.8rem;
    padding: 7px 10px;
  }
}

.float-dock {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.float-btn {
  position: relative;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(14, 30, 43, 0.1);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.float-btn:hover,
.float-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(16, 24, 32, 0.18);
  box-shadow: 0 14px 28px rgba(14, 30, 43, 0.14);
}

.float-ico {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
}

.float-ico svg {
  width: 20px;
  height: 20px;
  display: block;
}

.float-label {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translate(6px, -50%);
  padding: 6px 10px;
  border-radius: 6px;
  background: #11181a;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.float-btn:hover .float-label,
.float-btn:focus-visible .float-label {
  opacity: 1;
  transform: translate(0, -50%);
}

.float-call {
  color: var(--brand-red);
}

.float-tg {
  color: #1b8fbf;
}

.float-vb {
  color: #5d4fd6;
}

@media (max-width: 720px) {
  .float-dock {
    right: 12px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }

  .float-label {
    display: none;
  }
}

.prose-block p {
  max-width: 72ch;
  color: var(--muted);
}

.service-page .page-hero .live-badge {
  margin-bottom: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.service-page .intro-copy {
  display: grid;
  gap: 12px;
}

.service-page .intro-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.service-page .check-list-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 22px;
  margin-top: 8px;
}

.service-page .type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.service-page .type-card {
  position: relative;
  min-height: 100%;
  padding: 24px 22px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(14, 30, 43, 0.04);
}

.service-page .type-card:hover {
  transform: translateY(-3px);
  border-color: rgba(23, 107, 93, 0.22);
  box-shadow: 0 18px 36px rgba(14, 30, 43, 0.08);
}

.service-page .type-index {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--brand-red);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.service-page .type-card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.service-page .type-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.service-page .need-grid,
.service-page .result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.service-page .need-panel,
.service-page .result-panel {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(14, 30, 43, 0.05);
}

.service-page .need-panel h2,
.service-page .result-panel h2 {
  margin: 8px 0 0;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.service-page .need-panel-alt {
  color: #fff;
  background:
    linear-gradient(160deg, rgba(15, 79, 69, 0.96), rgba(23, 62, 92, 0.94));
  border-color: transparent;
}

.service-page .need-panel-alt h2 {
  color: #fff;
}

.service-page .need-panel-alt .eyebrow {
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.16);
}

.service-page .need-panel-alt .check-list li {
  color: #fff;
}

.service-page .need-panel-alt .check-list li::before {
  color: #176b5d;
  background: #fff;
}

.service-page .result-panel-alt {
  border-color: rgba(196, 19, 19, 0.18);
  background:
    linear-gradient(180deg, rgba(196, 19, 19, 0.08), #fff 42%);
}

.service-page .pricing-section .price-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: stretch;
}

.service-page .related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.service-page .related-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font-weight: 750;
}

.service-page .related-card:hover {
  border-color: rgba(23, 107, 93, 0.28);
  transform: translateY(-2px);
}

.service-page .related-card span {
  color: var(--brand-red);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
}

.service-page .related-card strong {
  font-size: 0.98rem;
  line-height: 1.3;
}

.service-page .catalog-list {
  display: grid;
  gap: 22px;
}

.service-page .catalog-card {
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(14, 30, 43, 0.06);
}

.service-page .catalog-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 26px 26px 18px;
  background: linear-gradient(180deg, rgba(23, 107, 93, 0.06), transparent 88%);
}

.service-page .catalog-index {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--brand-red);
  font-size: 0.82rem;
  font-weight: 850;
}

.service-page .catalog-head h3 {
  margin: 0 0 8px;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.service-page .catalog-head p {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.55;
}

.service-page .catalog-chip {
  min-width: 150px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  text-align: right;
}

.service-page .catalog-chip strong {
  display: block;
  color: var(--brand-red);
  font-size: 1.12rem;
}

.service-page .catalog-chip span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.service-page .catalog-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-page .catalog-body > div {
  padding: 20px 22px 22px;
}

.service-page .catalog-body > div + div {
  border-left: 1px solid var(--line);
}

.service-page .catalog-label {
  margin: 0 0 10px;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.service-page .catalog-body ul,
.service-page .catalog-body ol {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.service-page .catalog-body li + li {
  margin-top: 6px;
}

.service-page .catalog-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 22px 22px;
  border-top: 1px solid var(--line);
  background: #f7f8f8;
}

@media (max-width: 1080px) {
  .service-page .type-grid,
  .service-page .related-grid,
  .service-page .catalog-body {
    grid-template-columns: 1fr 1fr;
  }

  .service-page .catalog-body > div:nth-child(odd) {
    border-left: 0;
  }

  .service-page .catalog-body > div:nth-child(2),
  .service-page .catalog-body > div:nth-child(4) {
    border-left: 1px solid var(--line);
  }
}

@media (max-width: 860px) {
  .service-page .need-grid,
  .service-page .result-grid,
  .service-page .check-list-grid,
  .service-page .type-grid,
  .service-page .related-grid,
  .service-page .catalog-body,
  .service-page .catalog-head {
    grid-template-columns: 1fr;
  }

  .service-page .catalog-chip {
    text-align: left;
  }

  .service-page .catalog-body > div,
  .service-page .catalog-body > div + div,
  .service-page .catalog-body > div:nth-child(2),
  .service-page .catalog-body > div:nth-child(4) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.article-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(11, 30, 44, 0.07);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.article-card:hover {
  transform: translateY(-6px);
  border-color: rgba(23, 107, 93, 0.28);
  box-shadow: 0 24px 48px rgba(11, 30, 44, 0.12);
}

.article-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dbe4ea;
}

.article-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.article-card:hover .article-card-media img {
  transform: scale(1.04);
}

.article-card-index {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(16, 24, 32, 0.72);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.article-card-body {
  display: grid;
  gap: 8px;
  padding: 18px 20px 22px;
}

.article-card-body small {
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.article-card strong,
.article-card-body strong {
  display: block;
  font-size: 1.12rem;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.article-empty {
  color: var(--muted);
  font-size: 1.05rem;
}

.article-back {
  display: inline-block;
  margin: 10px 0 8px;
  font-weight: 750;
  color: #fff;
}

.article-page .page-hero .live-badge,
.articles-page .page-hero .live-badge {
  margin-bottom: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 36px 48px;
  align-items: start;
}

.article-cover {
  margin: 0 0 32px;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 24px 50px rgba(11, 30, 44, 0.12);
}

.article-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-content {
  max-width: none;
}

.article-content p {
  margin: 0 0 1.15em;
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--ink);
}

.article-content p:first-of-type {
  font-size: 1.22rem;
  line-height: 1.6;
  color: #24313c;
}

.article-aside {
  position: sticky;
  top: var(--header-sticky-offset);
  z-index: 4;
}

.article-aside .need-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(23, 107, 93, 0.08), #fff 42%);
  box-shadow: 0 18px 40px rgba(11, 30, 44, 0.06);
}

.article-aside .need-panel h2 {
  margin: 10px 0 12px;
  font-size: 1.55rem;
  line-height: 1.12;
}

.article-aside .need-panel p {
  margin: 0 0 18px;
  color: var(--muted);
}

.article-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 980px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }
}

@media (max-width: 900px) {
  .article-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .article-grid {
    grid-template-columns: 1fr;
  }
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}

.pagination-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.pagination-link {
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

a.pagination-link:hover {
  border-color: rgba(23, 107, 93, 0.35);
  color: var(--teal, #176b5d);
}

.pagination-link.is-current {
  background: #c41313;
  border-color: #c41313;
  color: #fff;
}

.pagination-link.is-disabled {
  opacity: 0.38;
  pointer-events: none;
}

