/* ============================================================
   Электрик Вадим
   ============================================================ */

:root {
  --paper: #f5f1e8;
  --paper-2: #efe8d8;
  --ink: #1b222c;
  --ink-soft: #5b6472;
  --ink-faint: #8b93a0;
  --line: #ddd4bf;
  --line-soft: #e7e0cf;
  --blue: #2b6f98;
  --blue-deep: #1c4a66;
  --blue-soft: #dfebf1;
  --copper: #bd5b2c;
  --copper-soft: #f4e0cd;
  --white: #ffffff;
  --panel: #14232f;
  --panel-2: #1c3040;
  --panel-line: rgba(255, 255, 255, 0.12);
  --panel-text: #eef2f5;
  --panel-mut: #9db0bd;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -22px rgba(27, 34, 44, 0.35);
  --shadow-sm: 0 8px 20px -12px rgba(27, 34, 44, 0.3);
  --maxw: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(
    90deg,
    rgba(241, 245, 250, 0.96) 0%,
    rgba(246, 247, 250, 0.98) 28%,
    rgba(240, 236, 229, 0.97) 58%,
    rgba(246, 241, 234, 0.97) 100%
  );
  color: var(--ink);
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(
      ellipse at 16% 16%,
      rgba(86, 157, 255, 0.18),
      transparent 22%
    ),
    radial-gradient(
      ellipse at 78% 12%,
      rgba(255, 191, 104, 0.18),
      transparent 20%
    ),
    radial-gradient(
      ellipse at 62% 35%,
      rgba(140, 185, 255, 0.16),
      transparent 26%
    ),
    repeating-linear-gradient(
      125deg,
      transparent 0 32px,
      rgba(85, 123, 255, 0.045) 32px 33px,
      transparent 33px 86px
    );
  opacity: 0.95;
}

h1,
h2,
h3,
h4 {
  font-family: "Golos Text", "Inter", sans-serif;
  color: var(--ink);
  margin: 0 0 12px;
  line-height: 1.14;
  letter-spacing: -0.01em;
}

h1 {
  font-weight: 800;
}
h2 {
  font-weight: 700;
}
h3 {
  font-weight: 700;
  font-size: 19px;
}

p {
  margin: 0 0 14px;
}

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

.mono {
  font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

.container {
  width: min(var(--maxw), 92vw);
  margin: 0 auto;
}

.muted {
  color: var(--ink-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Golos Text", sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-deep);
  background: var(--blue-soft);
  border: 1px solid #c7dbe4;
  padding: 7px 14px;
  border-radius: 999px;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 3px var(--copper-soft);
  flex: none;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* ---- lightning sweep effect, running continuously ---- */
.btn-shine {
  position: absolute;
  top: 0;
  left: -45%;
  width: 32%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(255, 255, 255, 0) 70%,
    transparent 100%
  );
  transform: skewX(-18deg);
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
  animation: btn-shine-sweep 2.6s ease-in-out infinite;
}

.btn-bolt {
  position: absolute;
  top: 50%;
  left: -20%;
  width: 17px;
  height: 17px;
  transform: translateY(-50%) rotate(6deg);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.9))
    drop-shadow(0 0 11px rgba(140, 200, 255, 0.65));
  animation: btn-bolt-sweep 2.6s ease-in-out infinite;
}

.btn-bolt svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* real mouse hover speeds the loop up a bit as a bonus */
.btn:hover .btn-shine {
  animation-duration: 0.9s;
}
.btn:hover .btn-bolt {
  animation-duration: 0.9s;
}

@keyframes btn-shine-sweep {
  0% {
    left: -45%;
  }
  35% {
    left: 125%;
  }
  100% {
    left: 125%;
  }
}

@keyframes btn-bolt-sweep {
  0% {
    left: -20%;
    opacity: 0;
  }
  6% {
    opacity: 1;
  }
  35% {
    left: 118%;
    opacity: 1;
  }
  42% {
    opacity: 0;
  }
  100% {
    left: 118%;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-shine,
  .btn-bolt {
    animation: none;
    display: none;
  }
}

.btn:hover {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 14px 22px -18px rgba(13, 20, 27, 0.5);
  transform: translateY(-1px);
}

.btn:active {
  transform: scale(0.97);
}

.btn.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn.primary:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  color: #fff;
}

.btn.ghost-light {
  border-color: var(--panel-line);
  color: var(--panel-text);
}

.btn.ghost-light:hover {
  background: var(--panel-text);
  color: var(--panel);
}

.btn.sm {
  padding: 10px 16px;
  font-size: 13.5px;
  border-radius: 10px;
}

.head-telegram {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.head-telegram svg {
  flex: none;
}

/* ---------- header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(245, 241, 232, 0.9);
  backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 18px -18px rgba(27, 34, 44, 0.35);
}

.headwrap {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
  color: inherit;
}

.brand-logo {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 11px;
  object-fit: cover;
  display: block;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name strong {
  font-family: "Golos Text", sans-serif;
  font-size: 16.5px;
  font-weight: 700;
}

.brand-name span {
  font-family: "Golos Text", sans-serif;
  font-size: 11.5px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

nav.mainnav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

nav.mainnav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition:
    color 0.15s,
    border-color 0.15s;
}

nav.mainnav a:hover {
  color: var(--ink);
  border-color: var(--copper);
}

.head-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.head-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}

.head-phone a.tel {
  font-family: "Golos Text", sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
}

.head-phone small {
  font-size: 11.5px;
  color: var(--ink-faint);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: var(--ink);
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}

.menu-toggle:hover {
  border-color: var(--line-strong);
}

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

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

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

.mobile-nav {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 10px 14px 16px;
  background: rgba(245, 241, 232, 0.98);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 36px -24px rgba(27, 34, 44, 0.5);
}

.mobile-nav > a {
  display: block;
  text-align: center;
  color: var(--ink);
  font-family: "Golos Text", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 13px 12px;
  position: relative;
}

.mobile-nav > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 42px;
  height: 1px;
  background: rgba(132, 148, 164, 0.28);
  transform: translateX(-50%);
}

.mobile-nav > a:last-of-type::after {
  display: none;
}

.mobile-nav > a:hover,
.mobile-nav > a:focus-visible {
  color: var(--blue);
}

@media (max-width: 1100px) {
  nav.mainnav,
  .head-phone {
    display: none;
  }

  .headwrap {
    gap: 10px;
  }

  .head-cta {
    margin-left: auto;
    gap: 8px;
  }

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

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

/* Narrow phones: keep Telegram in the header, trim brand text
   and compact the button so brand + Telegram + burger still fit. */
@media (max-width: 480px) {
  .brand {
    gap: 8px;
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    min-width: 0;
  }

  .brand-name strong {
    font-size: 14.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
  }

  .brand-name span {
    display: none;
  }

  .head-cta {
    margin-left: 0;
  }

  .head-telegram {
    padding: 8px 10px;
    font-size: 12.5px;
  }
}

@media (max-width: 400px) {
  .head-telegram span {
    display: none;
  }

  .head-telegram {
    padding: 8px;
    min-width: 42px;
    justify-content: center;
  }
}

@media (max-width: 360px) {
  .headwrap {
    gap: 6px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }
}

/* ---------- hero ---------- */
.hero {
  padding: 40px 0 0;
  position: relative;
  isolation: isolate;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.08) 42%,
    rgba(255, 255, 255, 0.02) 100%
  );
}

.hero-image-cover {
  /* padding: 20px 0; */
  background: #14232f;
}

.cover-image-frame {
  position: relative;
  overflow: hidden;
  height: clamp(220px, 28vw, 420px);
  border: 1px solid rgba(161, 179, 197, 0.2);
  background: #0d141a;
  box-shadow:
    0 26px 52px -30px rgba(8, 12, 17, 0.9),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(98, 136, 175, 0.16);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cover-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(9, 13, 18, 0.18) 0%,
    rgba(9, 13, 18, 0.08) 30%,
    rgba(9, 13, 18, 0.18) 100%
  );
}

.cover-image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-title {
  padding: 36px 12px 14px;
  text-align: center;
}

.compact-hero {
  padding: 20px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.compact-hero h1 {
  text-align: center;
  font-size: clamp(18px, 2.5vw, 24px);
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.hero-title h1 {
  margin: 0 0 8px;
  font-size: clamp(22px, 4vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero-title p {
  margin: 0 auto;
  max-width: 46ch;
  color: var(--panel-mut);
  font-size: 15px;
  line-height: 1.45;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero .hero-title h1 {
  margin: 0 0 8px;
  font-size: clamp(22px, 4vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero-desc {
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 30px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.trust-strip .item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.trust-strip svg {
  width: 16px;
  height: 16px;
  color: var(--copper);
  flex: none;
}

/* hero portrait "nameplate" */
.plate {
  position: relative;
  padding: 14px;
}

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

.plate-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3/2.3;
  object-fit: cover;
  object-position: 50% 20%;
}

.plate-tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: var(--panel);
  color: var(--panel-text);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: "Golos Text", sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.4);
}

.plate-tag b {
  display: block;
  font-size: 13px;
  color: #fff;
  letter-spacing: 0.02em;
}

.plate-tag span {
  color: var(--panel-mut);
}

.corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2.5px solid var(--copper);
  opacity: 0.9;
}

.corner.tl {
  top: -2px;
  left: -2px;
  border-right: none;
  border-bottom: none;
  border-top-left-radius: 6px;
}
.corner.br {
  bottom: -2px;
  right: -2px;
  border-left: none;
  border-top: none;
  border-bottom-right-radius: 6px;
}

@media (max-width: 940px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .plate {
    order: -1;
    padding: 6px;
  }
}

/* ---------- sections ---------- */
section {
  padding: 74px 0;
}

section.tight {
  padding: 46px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-head h2 {
  letter-spacing: -0.04em;
  text-align: center;
}

.section-head .eyebrow {
  margin-bottom: 14px;
}

.section-head p {
  color: var(--ink-soft);
  text-align: center;
}

hr.rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* quick facts strip */
.facts {
  background: rgba(255, 255, 255, 0.56);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.facts .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: rgba(255, 255, 255, 0.18);
}

.fact {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 30px 26px;
  border-left: 1px solid var(--line-soft);
}

.fact:first-child {
  border-left: none;
}

.fact .ic {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  display: grid;
  place-items: center;
}

.fact .ic svg {
  width: 20px;
  height: 20px;
}

.fact h4 {
  font-family: "Golos Text", sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  margin: 0 0 4px;
}

.fact p {
  margin: 0;
  font-size: 13.8px;
  color: var(--ink-soft);
}

@media (max-width: 860px) {
  .facts .container {
    grid-template-columns: 1fr;
  }
  .fact {
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-left: none;
    border-top: 1px solid var(--line-soft);
    padding: 22px 18px;
  }
  .fact:first-child {
    border-top: none;
  }
}

/* ---------- cards / grid ---------- */
.grid {
  display: grid;
  gap: 20px;
}
.grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .grid.cols-3,
  .grid.cols-2 {
    grid-template-columns: 1fr;
  }

  .grid.cols-3 .card,
  .price-card {
    text-align: center;
  }

  .grid.cols-3 .card .ic {
    margin-left: auto;
    margin-right: auto;
  }

  .price-card .num-row {
    justify-content: center;
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: 0 18px 28px -24px rgba(27, 34, 44, 0.5);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.card:nth-child(2) {
  border-left-color: #28c7d7;
}

.card:nth-child(3) {
  border-left-color: var(--copper);
}

.card:nth-child(4) {
  border-left-color: #9b5fb4;
}

.card:nth-child(5) {
  border-left-color: #4cbb17;
}

.card:nth-child(6) {
  border-left-color: #e85d93;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 34px -24px rgba(27, 34, 44, 0.56);
}

.card .ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--copper-soft);
  color: var(--copper);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.card .ic svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  margin-bottom: 6px;
}

.card p:last-child {
  margin-bottom: 0;
}

/* benefits list style */
.benefit {
  display: flex;
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.benefit:first-child {
  border-top: none;
}

.benefit .num {
  font-family: "Golos Text", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--copper);
  flex: none;
  width: 34px;
  padding-top: 2px;
  letter-spacing: -0.02em;
}

.benefit h4 {
  font-family: "Golos Text", sans-serif;
  font-size: 16.5px;
  margin: 0 0 4px;
}

.benefit p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
}

/* ---- portrait in benefits section ---- */
.portrait-frame-benefits {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(161, 179, 197, 0.2);
  background: #fff;
  box-shadow:
    0 26px 52px -30px rgba(8, 12, 17, 0.9),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(98, 136, 175, 0.16);
  aspect-ratio: 4/3;
}

.portrait-frame-benefits img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ---------- pricing ---------- */
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-card:nth-child(2) {
  border-left-color: #28c7d7;
}

.price-card:nth-child(3) {
  border-left-color: var(--copper);
}

.price-card .num-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 4px 0 2px;
}

.price-card .num {
  font-family: "Golos Text", sans-serif;
  font-weight: 700;
  font-size: 30px;
  color: var(--blue-deep);
}

.price-card .cur {
  font-family: "Golos Text", sans-serif;
  color: var(--ink-faint);
  font-size: 14px;
}

.price-note {
  text-align: center;
  color: var(--ink-soft);
  font-size: 14px;
  margin-top: 24px;
}

.centered-btn-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

/* ---------- works gallery ---------- */
.works-section {
  background: var(--paper);
  padding-top: 80px;
  padding-bottom: 50px;
}

.works-head {
  max-width: 980px;
  margin: 0 auto 34px;
  text-align: center;
}

.works-head h2 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.works-head p {
  max-width: 640px;
  margin: 0 auto;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.5;
  color: var(--ink-soft);
}

.works-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.works-track-wrap {
  position: relative;
  overflow: hidden;
  flex: 1 1 auto;
  min-width: 0;
  border-radius: 28px;
  padding: 18px 0 12px;
}

.works-track {
  display: flex;
  gap: clamp(12px, 1.6vw, 18px);
  width: max-content;
  transition: transform 0.6s ease;
  will-change: transform;
  padding: 0 6px 8px;
  margin-left: 0;
}

.work-card {
  --work-card-width: clamp(240px, 23vw, 330px);
  flex: 0 0 var(--work-card-width);
  width: var(--work-card-width);
  max-width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 12px 28px -22px rgba(27, 34, 44, 0.42);
  padding: 18px 18px 26px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    opacity 0.28s ease,
    filter 0.28s ease,
    width 0.28s ease,
    flex-basis 0.28s ease;
  opacity: 1;
  filter: none;
  transform: none;
  transform-origin: center center;
}

.work-card.is-active {
  --work-card-width: clamp(240px, 23vw, 330px);
  width: var(--work-card-width);
  flex-basis: var(--work-card-width);
  max-width: 100%;
  opacity: 1;
  filter: none;
  transform: none;
  border-color: var(--line);
  box-shadow: 0 12px 28px -22px rgba(27, 34, 44, 0.42);
}

@media (max-width: 900px) {
  .works-carousel {
    width: min(100%, 980px);
  }

  .work-card {
    --work-card-width: clamp(220px, 42vw, 420px);
  }

  .work-card.is-active {
    --work-card-width: clamp(220px, 42vw, 420px);
  }

  .carousel-arrow {
    display: none !important;
  }
}

@media (max-width: 700px) {
  .works-carousel {
    gap: 0;
  }

  .works-track {
    gap: 12px;
  }

  .work-card {
    --work-card-width: min(95vw, 400px);
    padding: 12px 10px 16px;
  }

  .work-card.is-active {
    --work-card-width: min(95vw, 400px);
  }

  .work-visual {
    min-height: 200px;
    height: auto;
    aspect-ratio: 4/3;
  }

  .work-visual--image {
    min-height: 200px;
    height: auto;
    aspect-ratio: 4/3;
  }

  .work-visual--image img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
  }

  .carousel-arrow {
    display: none !important;
  }

  .work-card h3 {
    min-height: 80px;
    font-size: 16px;
  }
}

.work-card:hover {
  opacity: 1;
  transform: none;
  border-color: var(--line);
  box-shadow: 0 12px 28px -22px rgba(27, 34, 44, 0.42);
}

.works-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.works-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(27, 34, 44, 0.18);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.works-dot.is-active {
  width: 28px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(43, 111, 152, 0.12);
}

.work-visual {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: 320px;
  background: linear-gradient(180deg, #f4f4f4 0%, #dadfe7 100%);
  border: 1px solid rgba(31, 35, 42, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.work-visual--image {
  width: 100%;
  aspect-ratio: 1.28 / 1;
  min-height: 320px;
  height: 360px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-visual--image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  filter: saturate(0.98) contrast(1.02);
}

.carousel-arrow {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(29, 48, 63, 0.2);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96),
    rgba(245, 240, 232, 0.9)
  );
  color: var(--ink);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
  box-shadow:
    0 10px 20px -18px rgba(18, 25, 31, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: "Golos Text", sans-serif;
  font-weight: 500;
  transform: translateY(0);
}

.carousel-arrow:hover {
  transform: translateY(-1px) scale(1.02);
  border-color: rgba(43, 111, 152, 0.4);
  box-shadow:
    0 14px 26px -18px rgba(18, 25, 31, 0.64),
    0 0 0 5px rgba(43, 111, 152, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 1),
    rgba(244, 238, 230, 0.94)
  );
}

.carousel-arrow:active {
  transform: translateY(0) scale(0.98);
}

.work-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.7);
  color: rgba(19, 23, 28, 0.7);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-card h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  text-align: center;
  margin-top: 24px;
  font-family: "Golos Text", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--ink);
}

.work-panel {
  position: absolute;
  inset: 18px 18px auto auto;
  width: 73%;
  height: 72%;
  border-radius: 14px;
  box-shadow: 0 22px 42px -22px rgba(11, 18, 26, 0.5);
  overflow: hidden;
}

.work-panel--dark {
  background: linear-gradient(180deg, #0a1528 0%, #13253b 100%);
  right: 18px;
  top: 20px;
}

.work-panel--soft {
  background: linear-gradient(180deg, #eaf4ff 0%, #dbe8ff 100%);
  right: 18px;
  top: 20px;
}

.work-panel--clean {
  background: linear-gradient(180deg, #f7f8f9 0%, #eef2f4 100%);
  right: 16px;
  top: 20px;
  width: 78%;
  height: 80%;
}

.work-panel-header {
  height: 22px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.05)
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.work-panel-header--small {
  height: 18px;
  background: linear-gradient(90deg, #1d6e86, #28b0c1);
}

.work-panel-header--wide {
  height: 18px;
  background: linear-gradient(90deg, #d0d7dd, #eef1f4);
}

.work-panel-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 18px 14px;
}

.mini-box {
  height: 76px;
  border-radius: 16px;
  background: linear-gradient(180deg, #4a7ea6 0%, #1a3f5a 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.mini-box--wide {
  grid-column: 2;
  background: linear-gradient(180deg, #e5d4b7 0%, #d6a882 100%);
}

.mini-box--short {
  grid-column: 1 / span 2;
  height: 34px;
  background: linear-gradient(90deg, #f0aa47, #e07232);
}

.work-panel-chart {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 68px;
  padding: 18px 16px 0;
}

.work-panel-chart span {
  display: block;
  flex: 1;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #28c7d7, #2d7bad);
}

.work-panel-chart span:nth-child(1) {
  height: 25%;
}
.work-panel-chart span:nth-child(2) {
  height: 46%;
}
.work-panel-chart span:nth-child(3) {
  height: 72%;
}
.work-panel-chart span:nth-child(4) {
  height: 58%;
}
.work-panel-chart span:nth-child(5) {
  height: 86%;
}

.work-panel-row {
  height: 28px;
  margin: 12px 16px 0;
  border-radius: 10px;
  background: linear-gradient(90deg, #dfeaff 0%, #b0c7ff 100%);
}

.work-panel-row--short {
  width: 62%;
  margin-top: 10px;
  background: linear-gradient(90deg, #ffc663, #ff9f43);
}

.work-panel-scene {
  position: relative;
  height: calc(100% - 18px);
  padding: 18px 14px 0;
}

.scene-house {
  position: absolute;
  left: 38px;
  right: 38px;
  bottom: 14px;
  height: 120px;
  border-radius: 18px 18px 14px 14px;
  background: linear-gradient(180deg, #dfe9ef 0%, #f3f6f8 100%);
  border: 1px solid rgba(17, 19, 23, 0.08);
  box-shadow: inset 0 0 0 8px rgba(211, 216, 221, 0.7);
}

.scene-house:before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 84px;
  width: 70%;
  height: 30px;
  background: linear-gradient(180deg, #d9dfe3, #f4f7f9);
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}

.scene-card {
  position: absolute;
  left: 18px;
  bottom: 18px;
  width: 72px;
  height: 82px;
  background: linear-gradient(180deg, #f2f4f4, #dfe5ea);
  border-radius: 12px;
  box-shadow: 0 10px 18px -12px rgba(0, 0, 0, 0.4);
}

.scene-card--small {
  left: auto;
  right: 18px;
  width: 68px;
  height: 64px;
  background: linear-gradient(180deg, #f4f9f6, #d8ece0);
}

.work-device {
  position: absolute;
  bottom: 20px;
  left: 18px;
  border-radius: 12px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96),
    rgba(227, 234, 239, 0.92)
  );
  box-shadow: 0 18px 30px -18px rgba(0, 0, 0, 0.45);
}

.work-device--laptop {
  width: 180px;
  height: 122px;
  left: 30px;
  bottom: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px 14px 10px 10px;
}

.work-device--laptop:before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 16px;
  bottom: 18px;
  border-radius: 8px;
  background: linear-gradient(180deg, #6b95c6, #193857);
}

.work-device--laptop:after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -12px;
  height: 15px;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(180deg, #d9dfe4, #bfc8d5);
}

.work-device--mobile {
  width: 88px;
  height: 140px;
  right: 28px;
  left: auto;
  bottom: 18px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.07);
}

.work-device--mobile:before {
  content: "";
  position: absolute;
  inset: 12px 14px 26px;
  border-radius: 12px;
  background: linear-gradient(180deg, #37b2d8, #3d6ab5);
}

.work-device--mobile:after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 8px;
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: rgba(20, 22, 28, 0.18);
}

.work-visual--one {
  background: linear-gradient(180deg, #f7f7f6 0%, #dadfe5 100%);
}

.work-visual--two {
  background: linear-gradient(180deg, #f6fbff 0%, #d9eaf9 100%);
}

.work-visual--three {
  background: linear-gradient(180deg, #faf8f0 0%, #ece5d8 100%);
}

@media (max-width: 960px) {
  .works-grid {
    grid-template-columns: 1fr;
  }
  .works-head h2 {
    font-size: clamp(26px, 7vw, 36px);
  }
}

/* ---------- diagnose (signs / result) ---------- */
.diagnose {
  background: var(--panel);
  color: var(--panel-text);
}

.diagnose .section-head p {
  color: var(--panel-mut);
}
.diagnose .section-head .eyebrow {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--panel-line);
  color: #cfe3ec;
}

.diag-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

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

  .diag-col h3 {
    justify-content: center;
    text-align: center;
  }
}

.diag-col {
  background: var(--panel-2);
  border: 1px solid var(--panel-line);
  border-radius: var(--radius-md);
  padding: 26px;
}

.diag-col h3 {
  color: #fff;
  font-family: "Golos Text", sans-serif;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.diag-col h3 .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: none;
}

.diag-col.bad h3 .dot {
  background: #e0704a;
}
.diag-col.good h3 .dot {
  background: #63c08a;
}

.diag-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.diag-col li {
  font-size: 14.5px;
  color: var(--panel-mut);
  padding-left: 18px;
  position: relative;
}

.diag-col li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 1px;
}

.diag-col.bad li:before {
  background: #e0704a;
}
.diag-col.good li:before {
  background: #63c08a;
}

/* ---------- process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

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

  .step {
    text-align: center;
  }
}

.step {
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px;
  position: relative;
}

.step:nth-child(2) {
  border-left-color: #28c7d7;
}

.step:nth-child(3) {
  border-left-color: var(--copper);
}

.step:nth-child(4) {
  border-left-color: #9b5fb4;
}

.step:nth-child(5) {
  border-left-color: #4cbb17;
}

.step:nth-child(6) {
  border-left-color: #e85d93;
}

.step .idx {
  font-family: "Golos Text", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-deep);
  background: var(--blue-soft);
  border-radius: 999px;
  padding: 3px 10px;
  display: inline-block;
  margin-bottom: 12px;
}

.step h4 {
  font-family: "Golos Text", sans-serif;
  font-size: 16px;
  margin: 0 0 6px;
}

.step p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- faq accordion ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

details.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 4px 22px;
  box-shadow: var(--shadow-sm);
}

details.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 30px 18px 0;
  font-family: "Golos Text", sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  position: relative;
  display: flex;
  align-items: center;
}

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

details.faq-item summary:after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--copper);
  transition: transform 0.2s ease;
}

details.faq-item[open] summary:after {
  transform: translateY(-50%) rotate(45deg);
}

details.faq-item .faq-a {
  padding: 0 0 20px;
  color: var(--ink-soft);
  font-size: 14.8px;
  max-width: 68ch;
}

/* ---------- contact ---------- */
#contact {
  background: var(--paper-2);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: stretch;
}

.contact-grid .card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 30px 30px 26px;
}

.contact-grid .card > h3 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-align: center;
}

.contact-grid .card > p {
  margin: 0 0 18px;
  line-height: 1.56;
  text-align: center;
}

.contact-grid .card > .hint {
  text-align: center;
}

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

  .contact-grid .card .btn {
    width: 100%;
  }

  .contact-info a.tel-big,
  .contact-info a[href^="mailto:"] {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .success,
  .error {
    text-align: center;
  }
}

form {
  display: grid;
  gap: 12px;
  margin-top: 6px;
}

.formrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

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

input,
textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 11px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.15s;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
}

input::placeholder,
textarea::placeholder {
  color: var(--ink-faint);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

label.agree {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--ink-soft);
}

label.agree input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  flex: none;
}

.success,
.error {
  display: none;
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
}

.success {
  color: #226b45;
  background: #e2f3e8;
}
.error {
  color: #9a3a25;
  background: #fbe6de;
}

.hint {
  font-size: 12.5px;
  color: var(--ink-faint);
  margin-top: 4px;
}

.badge-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 20px;
}

.badge-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 10px 8px;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.contact-info h3 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-align: center;
}

.contact-info h3:first-child {
  margin-top: 0;
}

.contact-info p {
  margin: 0;
  line-height: 1.6;
  text-align: center;
}

.contact-line {
  margin: 0;
  line-height: 1.5;
}

.contact-info a.tel-big {
  display: inline-block;
  font-family: "Golos Text", sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.contact-info a[href^="mailto:"] {
  display: inline-block;
  margin-top: 4px;
}

.contact-info {
  text-align: center;
}

/* ---------- footer ---------- */
footer {
  background: var(--panel);
  color: var(--panel-mut);
  padding: 40px 0 26px;
}

.foot-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--panel-line);
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.foot-brand strong {
  color: #fff;
  font-family: "Golos Text", sans-serif;
}

.foot-links {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}

.foot-links div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.foot-links a {
  font-size: 13.8px;
}
.foot-links a:hover {
  color: #fff;
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 18px;
  font-size: 12.8px;
}

@media (max-width: 720px) {
  .foot-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .foot-brand {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .foot-links {
    width: 100%;
    justify-content: center;
    gap: 18px 28px;
  }

  .foot-links div {
    align-items: center;
    text-align: center;
  }

  .foot-bottom {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .foot-bottom span {
    display: block;
    width: 100%;
    max-width: 18em;
    margin: 0 auto;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
}

/* ---------- toast ---------- */
.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100;
  padding: 13px 18px;
  border-radius: 12px;
  background: var(--panel);
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.4);
  display: none;
  font-size: 14px;
  font-weight: 600;
}

/* ---------- price modal ---------- */
dialog#pdfModal {
  border: none;
  border-radius: 18px;
  padding: 0;
  width: fit-content;
  max-width: calc(100vw - 32px);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.5);
}

dialog#pdfModal::backdrop {
  background: rgba(20, 26, 33, 0.6);
}

.pdf-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: var(--panel);
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
}

.pdf-modal-header button {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.price-img-scroll {
  overflow: auto;
  max-height: 70vh;
}

#priceImg {
  width: auto;
  min-width: 0;
  max-width: none;
  display: block;
  margin: 0 auto;
}

dialog#pdfModal.expanded {
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  border-radius: 0;
}

dialog#pdfModal.expanded .price-img-scroll {
  max-height: 96vh;
}

@media (max-width: 600px) {
  dialog#pdfModal {
    width: calc(100vw - 16px);
    max-width: calc(100vw - 16px);
    border-radius: 12px;
  }

  .pdf-modal-header {
    padding: 11px 14px;
  }

  .price-img-scroll {
    max-height: calc(100vh - 86px);
    overflow-x: hidden;
    overflow-y: auto;
  }

  #priceImg {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- responsive tweaks ---------- */
@media (max-width: 600px) {
  section {
    padding: 48px 0;
  }
  /* .hero {
    padding: 40px 0 26px;
  } */
  h2 {
    font-size: 24px;
  }
  .price-card .num {
    font-size: 26px;
  }
  .badge-row {
    grid-template-columns: 1fr 1fr;
  }
  .work-card h3 {
    min-height: 0;
    margin-top: 16px;
    font-size: 16px;
  }
  details.faq-item summary,
  details.faq-item .faq-a {
    text-align: left;
  }
}

@media (max-width: 425px) {
  .cover-image-frame {
    height: auto;
  }
}
