:root {
  --bg-page: #ffffff;
  --bg-soft: #f4f8fc;
  --bg-tint: #eaf2fb;
  --surface: #ffffff;
  --text-main: #0f172a;
  --text-body: #334155;
  --text-subtle: #475569;
  --border: #d8e4f2;
  --border-strong: #b8cde5;
  --primary: #1d4ed8;
  --primary-dark: #1e40af;
  --primary-soft: #eff6ff;
  --sky: #0284c7;
  --success: #047857;
  --success-bg: #ecfdf5;
  --tg: #0077b5;
  --tg-hover: #005e91;
  --viber: #665cac;
  --viber-hover: #514796;
  --wa: #15803d;
  --wa-hover: #166534;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 28px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 18px 40px rgba(29, 78, 216, 0.12);
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

@media (min-width: 960px) {
  html {
    font-size: 17px;
  }
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid #60a5fa;
  outline-offset: 2px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--primary);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .container {
    padding: 0 24px;
  }
}

.section {
  padding: 56px 0;
}

@media (min-width: 960px) {
  .section {
    padding: 80px 0;
  }
}

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

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

.section-header {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-header--left {
  margin-left: 0;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  border: 1px solid #bfdbfe;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 14px;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 14px;
  color: var(--text-main);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(1.75rem, 3.6vw, 2.65rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  font-weight: 800;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

p {
  margin: 0 0 14px;
  color: var(--text-body);
}

.lead {
  font-size: 1.08rem;
  color: var(--text-body);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.15s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  text-align: center;
  line-height: 1.25;
}

.btn:active {
  transform: translateY(1px);
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn--primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(29, 78, 216, 0.22);
}

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

.btn--outline {
  background: #ffffff;
  color: var(--primary-dark);
  border-color: var(--primary);
}

.btn--outline:hover {
  background: var(--primary-soft);
}

.btn--tg {
  background: var(--tg);
  color: #ffffff;
}

.btn--tg:hover {
  background: var(--tg-hover);
}

.btn--viber {
  background: var(--viber);
  color: #ffffff;
}

.btn--viber:hover {
  background: var(--viber-hover);
}

.btn--wa {
  background: var(--wa);
  color: #ffffff;
}

.btn--wa:hover {
  background: var(--wa-hover);
}

.btn--phone {
  background: #0f172a;
  color: #ffffff;
}

.btn--phone:hover {
  background: #1e293b;
}

.btn--sm {
  min-height: 42px;
  padding: 9px 14px;
  font-size: 0.9rem;
}

.btn--block {
  width: 100%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.top-strip {
  background: #0f172a;
  color: #e2e8f0;
  font-size: 0.85rem;
  padding: 7px 0;
}

.top-strip__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
}

.top-strip__hours {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand__logo {
  width: 185px;
  height: auto;
  display: block;
}

@media (min-width: 640px) {
  .brand__logo {
    width: 215px;
  }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 16px;
}

.nav-desktop a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-body);
  padding: 6px 2px;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.nav-desktop a:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-phone {
  display: none;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  white-space: nowrap;
}

.header-phone:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  color: #fff;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.icon-chip:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.icon-chip svg {
  width: 21px;
  height: 21px;
}

.icon-chip--tg {
  background: var(--tg);
}

.icon-chip--viber {
  background: var(--viber);
}

.icon-chip--wa {
  background: var(--wa);
}

.header-messengers {
  display: none;
  align-items: center;
  gap: 6px;
}

.burger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  color: var(--text-main);
}

@media (min-width: 640px) {
  .header-phone,
  .header-messengers {
    display: inline-flex;
  }
}

@media (min-width: 1080px) {
  .nav-desktop {
    display: flex;
  }

  .burger-btn {
    display: none;
  }
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--border);
  background: #ffffff;
  padding: 16px 0 22px;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-nav-list {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.mobile-nav-list a {
  display: block;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 1.02rem;
  border-radius: 10px;
  background: var(--bg-soft);
}

.mobile-drawer__contacts {
  display: grid;
  gap: 10px;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
  padding: 32px 0 48px;
}

@media (min-width: 960px) {
  .hero {
    padding: 52px 0 72px;
  }
}

.hero__grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 44px;
  }
}

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

.hero__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.98rem;
}

.hero__check {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--success-bg);
  color: var(--success);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.hero__check svg {
  width: 14px;
  height: 14px;
}

.hero__cta-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-subtle);
  margin-bottom: 10px;
}

.messenger-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

@media (min-width: 520px) {
  .messenger-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hero__secondary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__secondary-actions .btn {
  flex: 1 1 220px;
}

.hero__visual {
  position: relative;
}

.hero__image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: #e2e8f0;
  aspect-ratio: 16 / 10;
}

.hero__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__trust-card {
  margin-top: 14px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: center;
}

.trust-stat__val {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
}

.trust-stat__label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-subtle);
  font-weight: 600;
  line-height: 1.3;
}

/* Personal Welcome & Advantages */
.founder-banner {
  background: #ffffff;
  border: 1px solid var(--border);
  border-left: 6px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
  display: grid;
  gap: 18px;
  align-items: center;
}

@media (min-width: 820px) {
  .founder-banner {
    grid-template-columns: 1.4fr 0.6fr;
    padding: 28px 32px;
  }
}

.founder-banner__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  background: var(--bg-soft);
  color: var(--text-main);
  border: 1px solid var(--border);
}

.pill-badge--green {
  background: var(--success-bg);
  color: var(--success);
  border-color: #a7f3d0;
}

.cards-grid-3 {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .cards-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .cards-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.adv-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.adv-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.adv-card__icon svg {
  width: 24px;
  height: 24px;
}

.adv-card p:last-child {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Services Catalog */
.service-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.service-card__media {
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__svg-box {
  width: 100%;
  height: 100%;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
}

.service-card__svg-box svg {
  width: 120px;
  height: 120px;
}

.service-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card__desc {
  font-size: 0.94rem;
  margin-bottom: 14px;
  flex: 1;
}

.service-card__price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--bg-soft);
  margin-bottom: 14px;
}

.service-card__price-label {
  font-size: 0.84rem;
  color: var(--text-subtle);
  font-weight: 600;
}

.service-card__price-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.catalog-note {
  margin-top: 24px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 0.92rem;
  color: var(--text-body);
  text-align: center;
}

/* Measurement Banner CTA */
.cta-band {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 55%, #0284c7 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 860px) {
  .cta-band {
    padding: 40px 44px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: center;
  }
}

.cta-band h2,
.cta-band p {
  color: #ffffff;
}

.cta-band p {
  opacity: 0.94;
}

.cta-band__terms {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.92rem;
  margin-top: 14px;
}

.cta-band__actions {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

@media (min-width: 860px) {
  .cta-band__actions {
    margin-top: 0;
  }
}

.btn--white {
  background: #ffffff;
  color: var(--primary-dark);
}

.btn--white:hover {
  background: #eff6ff;
}

/* Profiles & Hardware */
.profile-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}

.profile-tab {
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--text-main);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.profile-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.profile-tab.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.22);
}

.profile-panel {
  display: none;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.profile-panel.is-active {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .profile-panel.is-active {
    grid-template-columns: 1fr 1fr;
    padding: 32px;
    align-items: start;
  }
}

.profile-visuals {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 540px) {
  .profile-visuals {
    grid-template-columns: 1fr 1fr;
  }
}

.profile-visual-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: 10px;
}

.profile-visual-card img {
  width: 100%;
  aspect-ratio: 10 / 7;
  object-fit: contain;
  border-radius: 8px;
  background: #ffffff;
}

.profile-visual-card__cap {
  display: block;
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-subtle);
  text-align: center;
}

.profile-country {
  display: inline-block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--sky);
  background: #e0f2fe;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.spec-bars {
  display: grid;
  gap: 14px;
}

.spec-row__top {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.spec-track {
  height: 10px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.spec-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--sky));
}

.spec-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.spec-fact {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
}

.spec-fact__k {
  display: block;
  font-size: 0.8rem;
  color: var(--text-subtle);
  font-weight: 600;
}

.spec-fact__v {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
}

.hardware-box {
  margin-top: 32px;
}

.hardware-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .hardware-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .hardware-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hardware-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
}

.hardware-card__brand {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.hardware-card p {
  font-size: 0.9rem;
  margin: 0;
}

/* Steps */
.steps-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.step-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.step-card p:last-child {
  margin-bottom: 0;
  font-size: 0.94rem;
}

/* Quiz Calculator */
.quiz-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .quiz-box {
    padding: 36px;
  }
}

.quiz-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.quiz-progress__text {
  font-weight: 800;
  color: var(--primary-dark);
  font-size: 0.95rem;
}

.quiz-progress__bar {
  flex: 1;
  height: 10px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.quiz-progress__fill {
  height: 100%;
  width: 25%;
  background: var(--primary);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.quiz-step {
  display: none;
}

.quiz-step.is-active {
  display: block;
}

.quiz-options {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  margin: 18px 0 22px;
}

@media (min-width: 600px) {
  .quiz-options {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .quiz-options--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  background: #ffffff;
  color: var(--text-main);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
}

.quiz-option:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.quiz-option.is-selected {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.quiz-option__dot {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 2px solid var(--border-strong);
  flex-shrink: 0;
  position: relative;
}

.quiz-option.is-selected .quiz-option__dot {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: inset 0 0 0 4px #ffffff;
}

.quiz-fields {
  display: grid;
  gap: 14px;
  margin: 18px 0;
}

@media (min-width: 640px) {
  .quiz-fields {
    grid-template-columns: 1fr 1fr;
  }
}

.field-group label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.field-control {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--text-main);
}

.field-control:focus {
  border-color: var(--primary);
  outline: none;
}

.city-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.city-chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-soft);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}

.city-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.quiz-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.quiz-summary {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 18px;
  font-size: 0.94rem;
  white-space: pre-line;
}

.copy-feedback {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--success);
}

/* Gallery of Works — Full-bleed 3-Row Horizontal Ticker with Controls */
.section--gallery {
  padding-bottom: 48px;
}

.gallery-stage {
  position: relative;
  width: 100%;
}

.gallery-scroller {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  padding: 6px 0 10px;
}

.gallery-scroller::-webkit-scrollbar {
  display: none;
}

.gallery-track-grid {
  display: grid;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  grid-auto-columns: 190px;
  gap: 10px;
  width: max-content;
}

@media (min-width: 640px) {
  .gallery-track-grid {
    grid-auto-columns: 245px;
    gap: 12px;
  }
}

@media (min-width: 1024px) {
  .gallery-track-grid {
    grid-auto-columns: 290px;
    gap: 14px;
  }
}

.gallery-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.gallery-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.gallery-card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: #e2e8f0;
}

.gallery-card__cap {
  margin: 8px 10px;
  font-size: 0.78rem;
  line-height: 1.32;
  font-weight: 700;
  color: var(--text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.64em;
}

@media (min-width: 768px) {
  .gallery-card__cap {
    margin: 10px 12px;
    font-size: 0.86rem;
    height: 2.64em;
  }
}

.gallery-nav {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 2px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary-dark);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.22);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.gallery-nav:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: translateY(-50%) scale(1.05);
}

.gallery-nav svg {
  width: 24px;
  height: 24px;
}

.gallery-nav--prev {
  left: 14px;
}

.gallery-nav--next {
  right: 14px;
}

@media (min-width: 768px) {
  .gallery-nav {
    display: inline-flex;
  }
}

.gallery-mobile-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px 0;
  max-width: 480px;
  margin: 0 auto;
}

.gallery-mobile-controls .btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.gallery-mobile-hint {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-subtle);
  text-align: center;
}

@media (min-width: 768px) {
  .gallery-mobile-controls {
    display: none;
  }
}

/* Reviews Marquee (right-to-left ticker) */
.reviews-marquee-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 8px 0 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}

.reviews-marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: reviewsMarquee 95s linear infinite;
}

.reviews-marquee-wrap:hover .reviews-marquee-track,
.reviews-marquee-wrap:focus-within .reviews-marquee-track {
  animation-play-state: paused;
}

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

@media (prefers-reduced-motion: reduce) {
  .reviews-marquee-track {
    animation: none;
    overflow-x: auto;
    width: 100%;
  }
}

.review-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.reviews-marquee-track .review-card {
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

@media (min-width: 640px) {
  .reviews-marquee-track .review-card {
    width: 360px;
  }
}

.review-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.review-card__author {
  font-weight: 800;
  color: var(--text-main);
}

.review-card__place {
  font-size: 0.83rem;
  color: var(--text-subtle);
  font-weight: 600;
}

.review-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.review-card__stars {
  color: #d97706;
  font-size: 0.98rem;
  letter-spacing: 2px;
}

.review-card__date {
  font-size: 0.8rem;
  color: var(--text-subtle);
  font-weight: 600;
}

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

.reviews-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.footer-phone-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-phone-link {
  font-size: 1.12rem;
  font-weight: 800;
  color: #ffffff;
}

.footer-phone-link:hover {
  text-decoration: underline;
}

.footer-messenger-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-card--wide {
  max-width: 820px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.all-reviews-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0;
}

.all-reviews-list {
  overflow-y: auto;
  display: grid;
  gap: 12px;
  padding-right: 4px;
  flex: 1;
}

.all-reviews-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  margin-top: 10px;
  border-top: 1px solid var(--border);
}

.lightbox-img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 12px;
  background: #0f172a;
}

.form-status {
  margin-top: 10px;
  font-size: 0.92rem;
  font-weight: 700;
}

.form-status--ok {
  color: var(--success);
}

.form-status--err {
  color: #b91c1c;
}

/* Geography & FAQ */
.geo-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 880px) {
  .geo-grid {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
  }
}

.geo-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.geo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.geo-tag {
  padding: 6px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
}

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

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

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

.faq-item__answer {
  padding: 0 20px 18px;
  font-size: 0.95rem;
  color: var(--text-body);
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 48px 0 98px;
}

@media (min-width: 769px) {
  .site-footer {
    padding: 56px 0 36px;
  }
}

.footer-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  margin-bottom: 28px;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.site-footer h3 {
  color: #ffffff;
  font-size: 1.08rem;
  margin-bottom: 12px;
}

.site-footer p {
  color: #cbd5e1;
  font-size: 0.94rem;
}

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

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.86rem;
  color: #94a3b8;
}

/* Mobile Sticky Bottom Bar */
.mobile-sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 20px rgba(15, 23, 42, 0.1);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

@media (min-width: 769px) {
  .mobile-sticky-bar {
    display: none;
  }
}

.sticky-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 48px;
  padding: 6px 4px;
  border-radius: 10px;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.1;
}

.sticky-btn svg {
  width: 20px;
  height: 20px;
}

.sticky-btn--phone {
  background: #0f172a;
}

.sticky-btn--tg {
  background: var(--tg);
}

.sticky-btn--viber {
  background: var(--viber);
}

.sticky-btn--wa {
  background: var(--wa);
}

/* Service Messenger Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(15, 23, 42, 0.62);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.25);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text-main);
  font-size: 1.3rem;
  cursor: pointer;
}

.modal-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
