/* ===== CSS Variables (trafaret 3 palette) ===== */
:root {
  --bg: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-subtle: #f8fafc;
  --bg-warm: #f1f5f9;
  --accent: #f97316;
  --accent-hover: #ea580c;
  --secondary: #3b82f6;
  --secondary-hover: #2563eb;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --bg-accent: #0f172a;
  --bg-accent-end: #1e293b;
  --text-on-accent: #ffffff;
  --text-muted-on-accent: #94a3b8;
  --success: #059669;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 4px 16px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 8px 30px rgba(15, 23, 42, 0.08);
  --header-h: 72px;
  --sticky-cta-h: 72px;
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: 0.25s ease;
}

/* ===== Icons (Heroicons-style inline SVG) ===== */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: currentColor;
}

.icon svg {
  width: 100%;
  height: 100%;
}

.icon--sm {
  width: 16px;
  height: 16px;
}

.icon--md {
  width: 20px;
  height: 20px;
}

.icon--lg {
  width: 28px;
  height: 28px;
}

.btn .icon {
  width: 16px;
  height: 16px;
}

.hero__badge .icon {
  color: #fdba74;
}

.service-card__link .icon {
  width: 14px;
  height: 14px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 80px 0;
  background: var(--bg-card);
}

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

.section--accent {
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(249, 115, 22, 0.12), transparent),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(59, 130, 246, 0.1), transparent),
    linear-gradient(180deg, var(--bg-accent) 0%, var(--bg-accent-end) 100%);
  color: var(--text-on-accent);
}

.section--accent .section__label {
  color: #fb923c;
}

.section--accent .section__title {
  color: var(--text-on-accent);
}

.section--accent .section__subtitle {
  color: var(--text-muted-on-accent);
}

#production {
  position: relative;
  overflow: hidden;
}

#production::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

#production .container {
  position: relative;
  z-index: 1;
}

#production .section__subtitle {
  margin-bottom: 0;
}

.section--accent .contact-item__label {
  color: var(--text-muted-on-accent);
}

.section--accent .contact-item__value,
.section--accent .contact-item__value a {
  color: var(--text-on-accent);
}

.section--accent .contact-item__value a:hover {
  color: #fb923c;
}

.section--accent .contact-item__icon {
  background: rgba(249, 115, 22, 0.15);
}

.section--accent .btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-on-accent);
}

.section--accent .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--text-on-accent);
}

.section--accent .contact-form {
  color: var(--text);
}

.section--accent .contact-form__title {
  color: var(--text);
}

.section--accent .contact-form__subtitle,
.section--accent .contact-form .form-group label,
.section--accent .contact-form .form-checkbox {
  color: var(--text-muted);
}

.section--accent .contact-form .form-checkbox a {
  color: var(--accent);
}

.section__label {
  display: inline-block;
  position: relative;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  padding-bottom: 6px;
}

.section__label::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  opacity: 0.55;
  transform: none;
}

.services-header .section__label::after,
.faq-header .section__label::after,
.contact-header .section__label::after {
  left: 50%;
  transform: translateX(-50%);
}

.service-detail__text .section__label {
  padding-bottom: 0;
  margin-bottom: 8px;
}

.service-detail__text .section__label::after {
  display: none;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section__subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 48px;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition);
  min-height: 48px;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.25);
}

.btn--secondary {
  background: var(--secondary);
  color: #fff;
}
.btn--secondary:hover {
  background: var(--secondary-hover);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}
.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--ghost {
  background: var(--bg-subtle);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  background: var(--bg-card-hover);
  border-color: var(--text-muted);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 14px;
  min-height: 40px;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
  transition: background var(--transition);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-heading);
  color: var(--text);
  transition: opacity var(--transition);
}

.logo:hover { opacity: 0.88; }

.logo__mark {
  flex-shrink: 0;
  display: flex;
  line-height: 0;
}

.logo__mark svg {
  width: 40px;
  height: 40px;
  display: block;
}

.logo__text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.logo__accent,
.title-accent {
  color: var(--accent);
  font-weight: 800;
}

.logo__brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo__slogan {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--text-muted);
  white-space: nowrap;
}

.header--top .logo__slogan {
  color: rgba(255, 255, 255, 0.55);
}

.footer__brand .logo__slogan {
  color: var(--text-muted);
}

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

.nav__list {
  display: flex;
  gap: 28px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav__link:hover,
.nav__link.active {
  color: var(--text);
}

.nav__link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.nav__link--accent {
  font-weight: 700;
  color: var(--accent) !important;
}

.nav__link--accent:hover,
.nav__link--accent.active {
  color: var(--accent-hover) !important;
}

.nav__dropdown {
  position: relative;
}

.nav__dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  position: relative;
  transition: color var(--transition);
}

.nav__dropdown-toggle:hover,
.nav__dropdown-toggle.active {
  color: var(--text);
}

.nav__dropdown-toggle.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.nav__dropdown-chevron {
  transition: transform var(--transition);
  flex-shrink: 0;
}

.nav__dropdown.is-open .nav__dropdown-chevron {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 180px;
  padding: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 100;
}

.nav__dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

@media (hover: hover) and (min-width: 769px) {
  .nav__dropdown:hover .nav__dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
}

.nav__dropdown.is-open .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown-link {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}

.nav__dropdown-link:hover {
  background: var(--bg-subtle);
  color: var(--accent);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--accent);
  transition: opacity var(--transition);
}
.header__phone:hover { opacity: 0.8; }

.header__email {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--accent);
  background: rgba(249, 115, 22, 0.12);
  border-radius: 10px;
  transition: background var(--transition);
}

.header__email:hover {
  background: rgba(249, 115, 22, 0.2);
}

.header__messenger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  border-radius: 8px;
  transition: background var(--transition), transform var(--transition), opacity var(--transition);
}

.header__messenger:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.header__messenger--telegram:hover {
  background: rgba(34, 158, 217, 0.1);
}

.header__messenger--max:hover {
  background: rgba(124, 58, 237, 0.1);
}

.header__messenger .messenger-icon {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.header__cta {
  white-space: nowrap;
}

.nav__cta-mobile {
  display: none;
}

.burger {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(249, 115, 22, 0.25), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(59, 130, 246, 0.15), transparent),
    linear-gradient(180deg, var(--bg-accent) 0%, var(--bg-accent-end) 100%);
  color: var(--text-on-accent);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero::after {
  display: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 20px;
  padding-bottom: 32px;
}

.hero__contacts {
  width: 100%;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(249, 115, 22, 0.2);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: #fdba74;
  margin-bottom: 24px;
}

.hero__text-note {
  display: none;
}

.hero__title {
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 20px;
  color: var(--text-on-accent);
  text-wrap: balance;
}

.hero__title span { color: var(--accent); }

.hero__phrase {
  white-space: nowrap;
}

.hero__text {
  font-size: 18px;
  line-height: 1.65;
  color: #cbd5e1;
  margin-bottom: 16px;
  max-width: 520px;
  text-wrap: pretty;
}

.hero__actions {
  margin-top: 24px;
}

.hero__btn-phone {
  padding: 14px 24px;
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.28);
}

.hero__btn-phone-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-align: left;
  line-height: 1.2;
}

.hero__btn-phone-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.9;
}

.hero__btn-phone-number {
  font-size: clamp(17px, 2.5vw, 20px);
  font-weight: 800;
  white-space: nowrap;
}

.hero__stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__stat-value {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
}

.hero__stat-label {
  font-size: 13px;
  color: #94a3b8;
  margin-top: 4px;
}

.hero__visual {
  position: relative;
}

.hero__image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

.hero__image-wrap::before {
  content: '';
  position: absolute;
  inset: -16px;
  background: rgba(249, 115, 22, 0.2);
  filter: blur(40px);
  z-index: -1;
}

.hero__image {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
  cursor: default;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.hero__image-wrap,
.hero__visual {
  cursor: default;
  pointer-events: none;
}

.hero__float-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 16px 20px;
}

.hero__float-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 18px;
  color: #34d399;
}

.hero__float-card span {
  font-size: 13px;
  color: #94a3b8;
}

@media (min-width: 769px) {
  .hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: unset;
    padding-bottom: 0;
    width: auto;
    flex-direction: unset;
    justify-content: unset;
    z-index: 1;
  }

  .hero__content {
    position: static;
    z-index: auto;
    text-align: left;
  }

  .hero__visual {
    position: relative;
    inset: auto;
    width: auto;
    max-width: none;
    margin: 0;
    z-index: auto;
  }

  .hero__image-wrap {
    height: auto;
    aspect-ratio: 7 / 6;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  }

  .hero__image-wrap::before {
    display: block;
  }

  .hero__image {
    width: 100%;
    height: 100%;
    max-width: none;
    aspect-ratio: unset;
    object-fit: cover;
    object-position: center;
    filter: none;
  }

  .hero__title {
    color: var(--text-on-accent);
    text-shadow: none;
  }

  .hero__text {
    color: #cbd5e1;
    text-shadow: none;
  }

  .hero__phrase {
    white-space: nowrap;
  }

  .hero__btn-services {
    display: inline-flex;
  }

  .hero .btn-group {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-top: 0;
  }

  .hero .btn-group .btn {
    flex: unset;
    width: auto;
    min-width: unset;
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero__stats {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    padding-top: 32px;
    text-align: left;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero__stat-value {
    font-size: 28px;
    color: var(--accent);
    text-shadow: none;
  }

  .hero__stat-label {
    font-size: 13px;
    color: #94a3b8;
    text-shadow: none;
  }

  .hero__float-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    right: auto;
    transform: none;
    width: auto;
    max-width: none;
    margin: 0;
    text-align: left;
    white-space: normal;
  }
}

/* ===== Material chips ===== */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.chip {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: #cbd5e1;
  transition: all var(--transition);
}

.chip:hover {
  border-color: var(--accent);
  color: #fdba74;
}

.btn--light {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-on-accent);
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.btn--light:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--text-on-accent);
  transform: translateY(-2px);
}

/* Header on dark hero */
.header--top {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none !important;
}

.header--top .logo { color: var(--text-on-accent); }
.header--top .nav__link { color: rgba(255, 255, 255, 0.8); }
.header--top .nav__link:hover,
.header--top .nav__link.active { color: var(--text-on-accent); }
.header--top .nav__dropdown-toggle { color: rgba(255, 255, 255, 0.8); }
.header--top .nav__dropdown-toggle:hover,
.header--top .nav__dropdown-toggle.active { color: var(--text-on-accent); }
.header--top .header__phone { color: var(--text-on-accent); }
.header--top .header__email {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}
.header--top .header__email:hover {
  background: rgba(255, 255, 255, 0.28);
}
.header--top .burger span { background: var(--text-on-accent); }

/* ===== Services header ===== */
.services-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.services-header .section__label {
  display: inline-block;
}

.services-header .section__subtitle {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

/* ===== Materials strip ===== */
.materials-strip--cards {
  padding: 36px 0 40px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.materials-strip__intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
}

.materials-strip__title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.2;
  margin: 8px 0 12px;
}

.materials-strip__lead {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}

.materials-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.materials-strip__card {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text);
  overflow: hidden;
  min-height: 0;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.materials-strip__card:hover {
  transform: translateY(-4px);
  border-color: rgba(249, 115, 22, 0.45);
  box-shadow: var(--shadow-lg);
}

.materials-strip__hit {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
  min-height: 0;
}

.materials-strip__hit:hover {
  color: inherit;
}

.materials-strip__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0f172a;
}

.materials-strip__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.materials-strip__card:hover .materials-strip__img {
  transform: scale(1.05);
}

.materials-strip__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px 18px;
  flex: 1;
}

.materials-strip__name {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
}

.materials-strip__text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}

.materials-strip__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 11px 18px 14px;
  border-top: 1px solid var(--border);
  background: transparent;
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
}

.materials-strip__cta:hover,
.materials-strip__cta:focus-visible {
  color: var(--accent-hover);
  background: rgba(249, 115, 22, 0.08);
}

.materials-strip__cta svg {
  flex-shrink: 0;
}

.materials-strip__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  justify-content: center;
}

.materials-strip__chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.materials-strip__chip:hover {
  color: var(--accent);
  border-color: rgba(249, 115, 22, 0.45);
  background: #fff;
}

.materials-strip--legal {
  padding: 10px 20px 12px;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
}

.legal-template .header {
  height: auto;
}

.legal-template .header__inner {
  height: var(--header-h);
}

.legal-template .legal-page {
  padding-top: calc(var(--header-h) + 64px);
}

/* ===== Directions grid ===== */
.directions-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-auto-rows: minmax(210px, auto);
  gap: 16px;
}

.directions-details {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 72px;
}

#walls,
#navigation,
#reusable,
#marking,
#magnetic,
#material-film,
#material-plastic,
#material-metal,
#material-magnetic {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.prices-table tr:target {
  background: rgba(249, 115, 22, 0.07);
  outline: 2px solid rgba(249, 115, 22, 0.35);
  outline-offset: -2px;
}

.service-card {
  min-height: 210px;
}

.service-card--featured {
  grid-row: span 2;
  min-height: 100%;
}

.service-card__hit {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  flex: 1;
  height: 100%;
  min-height: inherit;
  color: inherit;
}

.service-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__label {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fdba74;
}

.nav__dropdown-menu--wide {
  min-width: 260px;
}

/* ===== Services tabs ===== */
.services-tabs__nav {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  padding: 8px;
  background: rgba(249, 115, 22, 0.06);
  border: 2px solid rgba(249, 115, 22, 0.18);
  border-radius: 999px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.services-tabs__nav::-webkit-scrollbar { display: none; }

.services-tabs__tab {
  flex: 1;
  min-width: max-content;
  padding: 16px 32px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  background: transparent;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.services-tabs__tab:hover {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(249, 115, 22, 0.25);
}

.services-tabs__tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.services-tabs__tab.is-active {
  color: var(--accent);
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 2px 14px rgba(249, 115, 22, 0.22);
}

.services-tabs__panels {
  position: relative;
}

.services-tabs__panel {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
}

.services-tabs__panel.is-active {
  position: relative;
  inset: auto;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  z-index: 1;
}

.services-tabs__title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

/* ===== Service cards — photo grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: minmax(300px, auto);
  gap: 24px;
}

.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow);
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

.service-card--photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.service-card--tall {
  grid-row: span 2;
  min-height: 100%;
}

.service-card--wide {
  grid-column: span 2;
}

.gallery-mini__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(20, 18, 16, 0.78) 0%,
    rgba(20, 18, 16, 0.4) 32%,
    rgba(20, 18, 16, 0) 62%
  );
  transition: background var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover .service-card__overlay {
  background: linear-gradient(
    to top,
    rgba(20, 18, 16, 0.82) 0%,
    rgba(20, 18, 16, 0.46) 36%,
    rgba(20, 18, 16, 0.05) 68%
  );
}

.service-card__content {
  position: relative;
  z-index: 2;
  padding: 28px;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.service-card--tall .service-card__content {
  padding: 32px;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.service-card--tall .service-card__title {
  font-size: clamp(22px, 2.5vw, 28px);
}

.service-card__text {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 10px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.service-card--tall .service-card__text {
  font-size: 15px;
  margin-top: 12px;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  transition: gap var(--transition), color var(--transition);
  position: relative;
  z-index: 2;
}

.service-card__link:hover {
  gap: 10px;
  color: #fff;
}

/* ===== Service detail sections ===== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-detail--reverse {
  direction: rtl;
}
.service-detail--reverse > * { direction: ltr; }

.service-detail__text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.7;
}

.service-detail__text p:last-of-type { margin-bottom: 24px; }

.service-detail__closing {
  padding: 16px 20px;
  margin-bottom: 24px;
  background: rgba(249, 115, 22, 0.07);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text);
  font-weight: 500;
}

.service-detail__text .btn {
  margin-bottom: 4px;
}

.gallery-mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gallery-mini__item {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
  background: var(--bg-subtle);
  cursor: zoom-in;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: inherit;
}

.gallery-mini__item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow);
}

.gallery-mini__item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ===== Materials & Prices ===== */
.prices-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.prices-header__text {
  flex: 1;
  max-width: 640px;
}

.prices-header .section__title {
  text-wrap: balance;
}

.prices-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  line-height: 1.12;
}

.prices-title__line--accent {
  white-space: nowrap;
}

.prices-card__chevron {
  display: none;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--transition);
}

.prices-card.is-open .prices-card__chevron {
  transform: rotate(180deg);
}

@media (min-width: 769px) {
  .prices-card__trigger {
    display: contents;
    pointer-events: none;
  }
}

.prices-header__text .section__subtitle {
  margin-bottom: 0;
}

.prices-header__from {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  background: linear-gradient(135deg, #fff 0%, #fffbf7 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(249, 115, 22, 0.08);
  line-height: 1.2;
}

.prices-header__from::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.55), rgba(251, 146, 60, 0.25), rgba(59, 130, 246, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.prices-header__from-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.14), rgba(249, 115, 22, 0.06));
  color: var(--accent);
  flex-shrink: 0;
}

.prices-header__from-icon svg {
  width: 22px;
  height: 22px;
}

.prices-header__from-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.prices-header__from-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.prices-header__from-value {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.prices-header__from-unit {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
}

.prices-header__from-note {
  font-size: 12px;
  color: var(--text-muted);
}

.materials-board {
  display: flex;
  flex-direction: column;
}

.prices-overview {
  margin: 0;
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(249, 115, 22, 0.18), transparent),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(59, 130, 246, 0.14), transparent),
    #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-bottom: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.prices-overview__img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
  pointer-events: auto;
}

.materials-board__note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

.prices-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow);
}

.prices-table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
  font-size: 14px;
}

.prices-table thead {
  background: var(--bg-warm);
}

.prices-table th {
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--border);
}

.prices-table th:not(:first-child):not(:nth-child(2)) {
  text-align: right;
}

.prices-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.prices-table td:nth-child(2) {
  vertical-align: top;
}

.prices-table tbody tr:last-child td {
  border-bottom: none;
}

.prices-table tbody tr:nth-child(even) {
  background: rgba(248, 250, 252, 0.6);
}

.prices-table td:not(:first-child):not(:nth-child(2)) {
  text-align: right;
  font-family: var(--font-heading);
  font-weight: 600;
}

.prices-table td:last-child {
  white-space: nowrap;
}

.prices-table__material {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
}

.prices-table__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 11px;
  flex-shrink: 0;
}

.prices-table__badge--blue {
  background: rgba(59, 130, 246, 0.12);
  color: var(--secondary);
}

.prices-table__badge--indigo {
  background: rgba(99, 102, 241, 0.12);
  color: #4f46e5;
}

.prices-table__badge--slate {
  background: var(--bg-warm);
  color: var(--text);
}

.prices-table__badge--accent {
  background: rgba(249, 115, 22, 0.12);
  color: var(--accent);
}

.prices-table__badge--metal {
  background: rgba(100, 116, 139, 0.15);
  color: #64748b;
}

.prices-table__badge--magnetic {
  background: rgba(99, 102, 241, 0.12);
  color: #6366f1;
}

.prices-table__on-request {
  text-align: center;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.prices-table__name {
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.prices-table__use {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.55;
  min-width: 220px;
  max-width: 340px;
}

.prices-table__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.prices-table__tier {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  white-space: nowrap;
}

.prices-table__amount {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.prices-table__best {
  color: var(--accent);
}

#prices .cta-banner {
  margin-top: 28px;
}

/* ===== Benefits ===== */
#benefits {
  position: relative;
  overflow: hidden;
}

#benefits::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 100% 0%, rgba(249, 115, 22, 0.07), transparent),
    radial-gradient(ellipse 45% 40% at 0% 100%, rgba(59, 130, 246, 0.05), transparent);
  pointer-events: none;
}

#benefits::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.018) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

#benefits .container {
  position: relative;
  z-index: 1;
}

#benefits .section__subtitle {
  max-width: 560px;
}

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

.benefit-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left-width: 3px;
  border-radius: var(--radius-lg);
  padding: 30px 26px 28px;
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
  box-shadow: var(--shadow);
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249, 115, 22, 0.22);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.09);
}

.benefit-card:nth-child(1) { border-left-color: rgba(249, 115, 22, 0.4); }
.benefit-card:nth-child(2) { border-left-color: rgba(59, 130, 246, 0.4); }
.benefit-card:nth-child(3) { border-left-color: rgba(79, 70, 229, 0.35); }
.benefit-card:nth-child(4) { border-left-color: rgba(5, 150, 105, 0.4); }
.benefit-card:nth-child(5) { border-left-color: rgba(249, 115, 22, 0.3); }
.benefit-card:nth-child(6) { border-left-color: rgba(59, 130, 246, 0.3); }

.benefit-card:nth-child(n + 4) {
  background: linear-gradient(180deg, #ffffff 0%, #fcfdfe 100%);
}

.benefit-card__icon {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  color: var(--accent);
  transition: transform var(--transition);
}

.benefit-card:hover .benefit-card__icon {
  transform: scale(1.05);
}

.benefit-card__icon .icon {
  width: 40px;
  height: 40px;
}

.benefit-card__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.benefit-card__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

.benefit-card__text strong {
  color: var(--text);
  font-weight: 600;
}

/* ===== Production ===== */
.production-intro {
  max-width: 720px;
  margin-bottom: 32px;
}

.production-intro .section__subtitle {
  margin-bottom: 0;
}

.production-bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 48px;
  align-items: stretch;
}

.production-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg-accent);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.production-card:hover {
  border-color: rgba(249, 115, 22, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.production-card--featured {
  border-color: rgba(249, 115, 22, 0.35);
}

.production-card--featured .production-card__content {
  border-top-width: 4px;
  background: linear-gradient(180deg, #1a2332 0%, #0f172a 100%);
}

.production-card__bg {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  height: 280px;
  overflow: hidden;
  cursor: zoom-in;
}

.production-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.5s ease;
}

.production-card:hover .production-card__img {
  transform: scale(1.05);
}

.production-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
  padding: 22px 24px 24px;
  background: var(--bg-accent);
  border-top: 3px solid var(--accent);
  box-sizing: border-box;
}

.production-card__title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
}

.production-card__text {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 10px;
  max-width: none;
}

.production-card__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.production-card__stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: #fb923c;
  line-height: 1.2;
}

.production-card__stat-label {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 500;
  color: #94a3b8;
  line-height: 1.35;
}

.production-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin-top: auto;
  padding-top: 4px;
}

.production-card__tags li {
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(249, 115, 22, 0.45);
  border-radius: 100px;
}

.production-process {
  margin-bottom: 64px;
}

.production-process__title,
.production-order__title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  color: var(--text-on-accent);
  text-align: center;
  margin-bottom: 8px;
}

.production-process__subtitle,
.production-order__subtitle {
  font-size: 16px;
  color: var(--text-muted-on-accent);
  text-align: center;
  max-width: 520px;
  margin: 0 auto 40px;
}

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

.production-timeline::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.4) 15%, rgba(249, 115, 22, 0.4) 85%, transparent);
  pointer-events: none;
}

.production-step {
  position: relative;
  padding: 24px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.production-step:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(249, 115, 22, 0.3);
  transform: translateY(-4px);
}

.production-step__marker {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.production-step__num {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fb923c;
}

.production-step__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.15);
  border: 2px solid rgba(249, 115, 22, 0.3);
  color: #fb923c;
}

.production-step__icon svg {
  width: 22px;
  height: 22px;
}

.production-step__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-on-accent);
  margin-bottom: 8px;
}

.production-step__text {
  font-size: 14px;
  color: var(--text-muted-on-accent);
  line-height: 1.6;
}

.production-order {
  margin-bottom: 48px;
}

/* ===== Order scenarios (interactive) ===== */
.order-scenarios {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.order-scenarios__nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
}

.order-scenarios__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 96px;
  padding: 14px 12px 18px;
  text-align: center;
  font-family: var(--font-heading);
  color: var(--text-on-accent);
  background: transparent;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.order-scenarios__tab:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(249, 115, 22, 0.25);
}

.order-scenarios__tab:focus-visible {
  outline: 2px solid #fb923c;
  outline-offset: 2px;
}

.order-scenarios__tab.is-active {
  background: rgba(249, 115, 22, 0.16);
  border-color: rgba(249, 115, 22, 0.55);
  box-shadow: 0 4px 18px rgba(249, 115, 22, 0.18);
  transform: translateY(-1px);
}

.order-scenarios__tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.25);
  color: #fb923c;
  transition: background var(--transition), transform var(--transition);
}

.order-scenarios__tab.is-active .order-scenarios__tab-icon {
  background: rgba(249, 115, 22, 0.28);
}

.order-scenarios__tab-icon .icon {
  width: 20px;
  height: 20px;
}

.order-scenarios__tab-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.order-scenarios__tab-title {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.order-scenarios__tab-hint {
  font-size: 12px;
  color: var(--text-muted-on-accent);
  line-height: 1.35;
}

.order-scenarios__tab.is-active .order-scenarios__tab-hint {
  color: #fdba74;
}

.order-scenarios__tab-chevron {
  display: none;
}

.order-scenarios__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(249, 115, 22, 0.2);
  pointer-events: none;
  overflow: hidden;
}

.order-scenarios__progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: #fb923c;
  transform-origin: left center;
}

.order-scenarios.is-autoplaying .order-scenarios__tab.is-active .order-scenarios__progress-bar {
  animation: order-tab-progress 5s linear forwards;
}

@keyframes order-tab-progress {
  from { width: 0; }
  to { width: 100%; }
}

.order-scenarios__detail {
  position: relative;
  min-width: 0;
}

.order-scenarios__panel {
  display: none;
  flex-direction: column;
  gap: 24px;
  padding: 32px 28px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
}

.order-scenarios__panel.is-active {
  display: flex;
  animation: order-panel-in 0.35s ease;
}

@keyframes order-panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.order-panel__badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fdba74;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: 100px;
}

.order-panel__title {
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 800;
  color: var(--text-on-accent);
  margin-bottom: 10px;
}

.order-panel__lead {
  font-size: 15px;
  color: var(--text-muted-on-accent);
  line-height: 1.65;
  max-width: 52ch;
}

.order-panel__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  flex: 1 1 auto;
}

.order-panel__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fb923c;
  margin-bottom: 10px;
}

.order-panel__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.order-panel__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--text-on-accent);
  line-height: 1.55;
}

.order-panel__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

.order-panel__next {
  padding: 18px 20px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}

.order-panel__next .order-panel__label {
  margin-bottom: 6px;
}

.order-panel__action {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-on-accent);
  line-height: 1.55;
  overflow-wrap: break-word;
  word-break: break-word;
}

.order-panel__cta {
  align-self: flex-start;
  margin-top: auto;
}

.production-cta {
  text-align: center;
}

/* ===== FAQ ===== */
.faq-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.faq-header .section__label {
  display: inline-block;
}

.faq-header .section__subtitle {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
  box-shadow: var(--shadow);
}

.faq-item.active { border-color: var(--accent); }

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: color var(--transition);
}

.faq-item__question:hover { color: var(--accent); }

.faq-item__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent);
  transition: transform var(--transition);
}

.faq-item.active .faq-item__icon { transform: rotate(45deg); }

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-item__answer {
  max-height: 480px;
}

.faq-item__answer p {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== Contact ===== */
.contact-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.contact-header .section__label {
  display: inline-block;
}

.contact-header .section__subtitle {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

.contact-block {
  max-width: 640px;
  margin: 0 auto;
}

.contact-block__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.contact-block__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.contact-block__meta-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
}

.contact-block__meta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(249, 115, 22, 0.1);
  color: var(--accent);
}

.contact-block__meta-icon svg {
  width: 20px;
  height: 20px;
}

.contact-block__meta-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-block__meta-value {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
  min-width: 0;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item__icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 107, 53, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.contact-item__icon .icon {
  width: 22px;
  height: 22px;
}

.contact-item__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-item__value {
  font-size: 16px;
  font-weight: 600;
}

.contact-item__value a:hover { color: var(--accent); }

.contact-form {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  min-width: 0;
  height: 100%;
}

.contact-messengers {
  margin-top: 4px;
}

.contact-form__header {
  position: relative;
  margin: -36px -36px 28px;
  padding: 28px 36px 24px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.07) 0%, rgba(248, 250, 252, 0) 72%);
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.contact-form__header::after {
  content: '';
  position: absolute;
  left: 36px;
  bottom: -1px;
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.7;
}

.contact-form__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  background: rgba(249, 115, 22, 0.12);
  border-radius: 12px;
  color: var(--accent);
}

.contact-form__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-form__subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.contact-form__header .contact-form__subtitle {
  margin-bottom: 0;
}

.contact-form > .form-checkbox {
  margin-top: auto;
}

.contact-form > .btn--primary {
  width: 100%;
  margin-top: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group select option { background: var(--bg-card); }

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
}

.form-checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.form-checkbox a { color: var(--accent); text-decoration: underline; }

.form-error {
  font-size: 12px;
  color: #F87171;
  margin-top: 6px;
  display: none;
}

.form-group.error .form-error { display: block; }
.form-group.error input,
.form-group.error select,
.form-group.error textarea { border-color: #F87171; }

.form-group textarea {
  resize: vertical;
  min-height: 88px;
}

.form-optional {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 12px;
}

.form-success {
  display: none;
  padding: 16px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid var(--success);
  border-radius: var(--radius);
  color: var(--success);
  font-size: 15px;
  text-align: center;
  margin-top: 16px;
}

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

/* ===== Footer ===== */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer__brand p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.7;
  max-width: 280px;
}

.footer__title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 0;
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--accent); }

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

.payment-badge {
  padding: 6px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

.footer__bottom a { color: var(--text-muted); }
.footer__bottom a:hover { color: var(--accent); }

.footer__lang {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.footer__lang-link {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, background-color 0.2s;
}

.footer__lang-link:hover {
  color: var(--text);
  background: rgba(100, 116, 139, 0.12);
}

.footer__lang-link.is-active,
.footer__lang-link.is-active:hover {
  color: #fff;
  background: var(--accent);
}

/* ===== Preloader ===== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--bg-accent) 0%, var(--bg-accent-end) 100%);
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.preloader__logo svg {
  width: 56px;
  height: 56px;
  animation: preloader-pulse 1.2s ease-in-out infinite;
}

.preloader__spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(249, 115, 22, 0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: preloader-spin 0.8s linear infinite;
}

@keyframes preloader-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.85; }
}

@keyframes preloader-spin {
  to { transform: rotate(360deg); }
}

body.is-loading {
  overflow: hidden;
}

/* ===== Scroll to top ===== */
.scroll-top {
  position: fixed;
  left: 24px;
  right: auto;
  bottom: 24px;
  z-index: 998;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-accent);
  color: var(--text-on-accent);
  border: none;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition), background var(--transition);
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.scroll-top:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ===== Contact actions ===== */
.contact-actions {
  display: grid;
  gap: 10px;
}

.contact-actions__item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.contact-actions__item:hover {
  border-color: rgba(249, 115, 22, 0.35);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.contact-actions__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  color: var(--accent);
}

.contact-actions__icon svg {
  width: 22px;
  height: 22px;
}

.contact-actions__icon .messenger-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.contact-actions__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.contact-actions__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-actions__item--phone .contact-actions__label {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
}

.contact-actions--services .contact-actions__item--phone .contact-actions__label,
.contact-actions--section .contact-actions__item--phone .contact-actions__label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-actions--services .contact-actions__item--phone .contact-actions__value,
.contact-actions--section .contact-actions__item--phone .contact-actions__value {
  color: #fff;
  font-size: clamp(17px, 3vw, 20px);
}

.contact-actions--section .contact-actions__item--phone .contact-actions__value {
  font-size: clamp(18px, 3.5vw, 22px);
}

.contact-actions__value {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  word-break: break-word;
}

.contact-actions--hero {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.contact-actions--hero .contact-actions__item {
  min-height: 56px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  color: var(--text-on-accent);
}

.contact-actions--hero .contact-actions__item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(249, 115, 22, 0.45);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.contact-actions--hero .contact-actions__label {
  color: #94a3b8;
}

.contact-actions--hero .contact-actions__value {
  color: #fff;
  font-size: 14px;
}

.contact-actions--hero .contact-actions__item--phone {
  background: linear-gradient(135deg, var(--accent), #ea580c);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.28);
}

.contact-actions--hero .contact-actions__item--phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(249, 115, 22, 0.36);
}

.contact-actions--hero .contact-actions__item--phone .contact-actions__icon {
  color: #fff;
}

.contact-actions--hero .contact-actions__item--phone .contact-actions__label,
.contact-actions--hero .contact-actions__item--phone .contact-actions__value {
  color: #fff;
}

.contact-actions--hero .contact-actions__item--phone .contact-actions__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.contact-actions--hero .contact-actions__item--phone .contact-actions__value {
  font-size: 15px;
  font-weight: 800;
}

.contact-actions--hero .contact-actions__item--email .contact-actions__icon,
.contact-actions--hero .contact-actions__item--telegram .contact-actions__icon,
.contact-actions--hero .contact-actions__item--max .contact-actions__icon {
  color: #fdba74;
}

.contact-actions--row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 20px;
}

.contact-actions--services {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.contact-actions--services .contact-actions__item--phone {
  grid-column: 1 / -1;
}

.contact-actions--services .contact-actions__item--phone {
  min-height: 60px;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--accent), #ea580c);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.22);
}

.contact-actions--services .contact-actions__item--phone:hover {
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.3);
}

.contact-actions--services .contact-actions__item--phone .contact-actions__icon {
  color: #fff;
}

.contact-actions--services .contact-actions__item--phone .contact-actions__label,
.contact-actions--services .contact-actions__item--phone .contact-actions__value {
  color: #fff;
}

.contact-actions--services .contact-actions__item--phone .contact-actions__value {
  font-size: clamp(17px, 2.5vw, 20px);
}

.contact-actions--services .contact-actions__item {
  min-height: 48px;
  padding: 10px 12px;
  gap: 8px;
}

.contact-actions--services .contact-actions__text {
  min-width: 0;
}

.contact-actions--services .contact-actions__label {
  font-size: 10px;
}

.contact-actions--services .contact-actions__icon {
  width: auto;
  height: auto;
}

.contact-actions--services .contact-actions__item--phone .contact-actions__icon,
.contact-actions--services .contact-actions__item--email .contact-actions__icon {
  width: 36px;
  height: 36px;
}

.contact-actions--services .contact-actions__value {
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-actions--panel {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

.contact-actions--cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-actions--cards .contact-actions__item {
  min-height: 88px;
  padding: 18px;
}

.contact-actions--cards .contact-actions__value {
  font-size: 16px;
}

.contact-actions--section {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.contact-actions--section .contact-actions__item--phone {
  grid-column: 1 / -1;
  min-height: 72px;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--accent), #ea580c);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.25);
}

.contact-actions--section .contact-actions__item--phone:hover {
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.32);
}

.contact-actions--section .contact-actions__item--phone .contact-actions__icon {
  color: #fff;
}

.contact-actions--section .contact-actions__item--phone .contact-actions__label,
.contact-actions--section .contact-actions__item--phone .contact-actions__value {
  color: #fff;
}

.contact-actions--section .contact-actions__item--phone .contact-actions__value {
  font-size: clamp(18px, 3.5vw, 22px);
}

.contact-actions-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.contact-actions-wrap__title {
  font-size: 20px;
  margin: 0;
}

.contact-actions__item--telegram .contact-actions__icon,
.contact-actions__item--max .contact-actions__icon {
  background: transparent;
  width: auto;
  height: auto;
}

.contact-actions__item--phone .contact-actions__icon,
.contact-actions__item--email .contact-actions__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(249, 115, 22, 0.12);
  color: var(--accent);
}

.contact-actions--section .contact-actions__item--phone .contact-actions__icon,
.contact-actions--services .contact-actions__item--phone .contact-actions__icon,
.contact-actions--hero .contact-actions__item--phone .contact-actions__icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* ===== Floating contacts (desktop) ===== */
.float-contacts {
  position: fixed;
  right: 16px;
  bottom: 24px;
  z-index: 997;
  display: none;
}

@media (min-width: 769px) {
  .float-contacts {
    display: block;
  }
}

.contact-actions--float {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-actions--float .contact-actions__item {
  min-height: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.contact-actions--float .contact-actions__item:hover {
  transform: scale(1.06);
  box-shadow: none;
  border-color: transparent;
}

.contact-actions--float .contact-actions__text {
  display: none;
}

.contact-actions--float .contact-actions__icon {
  width: auto;
  height: auto;
}

.contact-actions--float .contact-actions__item--phone .contact-actions__icon,
.contact-actions--float .contact-actions__item--email .contact-actions__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.contact-actions--float .contact-actions__icon svg {
  width: 22px;
  height: 22px;
}

.contact-actions--float .contact-actions__icon .messenger-icon {
  width: 44px;
  height: 44px;
}

/* ===== Sticky contacts (mobile) ===== */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.06);
  padding: 8px 8px max(8px, env(safe-area-inset-bottom, 0px));
}

.contact-actions--sticky {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
}

.contact-actions--sticky .contact-actions__item {
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-height: 56px;
  padding: 8px 4px;
  text-align: center;
  border-radius: 0;
  background: transparent;
  border: none;
}

.contact-actions--sticky .contact-actions__item:hover {
  box-shadow: none;
  transform: none;
  background: rgba(15, 23, 42, 0.04);
}

.contact-actions--sticky .contact-actions__item--phone .contact-actions__icon,
.contact-actions--sticky .contact-actions__item--email .contact-actions__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.contact-actions--sticky .contact-actions__icon {
  width: auto;
  height: auto;
}

.contact-actions--sticky .contact-actions__text {
  gap: 0;
}

.contact-actions--sticky .contact-actions__label {
  font-size: 10px;
  letter-spacing: 0;
  text-transform: none;
}

.contact-actions--sticky .contact-actions__value {
  display: none;
}

/* ===== Messenger icons & links ===== */
.messenger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.messenger-icon svg,
.messenger-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.messenger-icon--mono svg {
  display: block;
}

.btn-messenger .messenger-icon {
  width: 16px;
  height: 16px;
}

.nav__messengers {
  display: none;
}

.nav.mobile-open .nav__messengers {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.nav__messenger-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav__messenger-link:hover {
  color: var(--text);
}

.nav__messenger-link--telegram:hover {
  color: var(--secondary);
}

.nav__messenger-link--max:hover {
  color: #7c3aed;
}

.footer__messengers {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.footer__messenger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer__messenger:hover {
  color: var(--accent);
}

.footer__credit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.55;
  transition: opacity var(--transition);
}

.footer__credit .messenger-icon {
  opacity: 0.65;
  filter: grayscale(1);
}

.footer__credit:hover {
  opacity: 0.8;
  color: var(--text-muted);
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.08), rgba(248, 250, 252, 1));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
}

.cta-banner__text h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.cta-banner__text p {
  font-size: 15px;
  color: var(--text-muted);
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Request modal ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--transition), visibility var(--transition);
}

.modal.is-open {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
}

.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  transform: translateY(16px) scale(0.98);
  transition: transform var(--transition);
}

.modal.is-open .modal__dialog {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
  z-index: 1;
}

.modal__close:hover {
  color: var(--text);
  background: var(--bg-subtle);
}

.modal__form {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

body.modal-open {
  overflow: hidden;
}

.contact-modal__dialog {
  max-width: 440px;
  padding: 36px 28px 28px;
}

.contact-modal__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-modal__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 8px;
}

.contact-modal__lead {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-muted);
}

.contact-modal__choices {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-modal__choice {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-subtle);
  color: var(--text);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.contact-modal__choice:hover {
  border-color: rgba(249, 115, 22, 0.45);
  background: #fff;
  color: var(--text);
  transform: translateY(-1px);
}

.contact-modal__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--border);
}

.contact-modal__icon svg {
  width: 20px;
  height: 20px;
}

.contact-modal__choice--phone .contact-modal__icon {
  color: var(--accent);
  border-color: rgba(249, 115, 22, 0.35);
  background: rgba(249, 115, 22, 0.08);
}

.contact-modal__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.contact-modal__label {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}

.contact-modal__value {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== Photo lightbox ===== */
.lightbox {
  z-index: 1200;
  padding: 16px;
}

.lightbox__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  max-height: calc(100vh - 32px);
  z-index: 1;
}

.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 0;
  max-width: 100%;
  max-height: calc(100vh - 120px);
}

.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 160px);
  width: auto;
  height: auto;
  min-width: 160px;
  min-height: 120px;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.35);
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox__caption {
  max-width: 640px;
  padding: 0 48px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.lightbox__counter {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.04em;
}

.lightbox__close {
  top: 0;
  right: 0;
  color: #fff;
  background: rgba(15, 23, 42, 0.45);
}

.lightbox__close:hover {
  color: #fff;
  background: rgba(15, 23, 42, 0.7);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  background: rgba(15, 23, 42, 0.45);
  transition: background var(--transition), transform var(--transition);
  z-index: 2;
}

.lightbox__nav:hover {
  background: rgba(249, 115, 22, 0.9);
  transform: translateY(-50%) scale(1.05);
}

.lightbox__nav--prev { left: 0; }
.lightbox__nav--next { right: 0; }

.lightbox__nav:focus-visible,
.lightbox__close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ===== Legal pages ===== */
.legal-page .header__inner {
  gap: 16px;
}

.legal-page .logo__slogan {
  display: none;
}

.legal-page .header__inner > .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.legal-page {
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 80px;
  min-height: 100vh;
}

.legal-page h1 {
  font-size: 32px;
  margin-bottom: 8px;
}

.legal-page .updated {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 20px;
  margin: 32px 0 12px;
  color: var(--accent);
}

.legal-page p,
.legal-page li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-page ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card--tall {
    grid-row: span 1;
  }
  .service-card--wide {
    grid-column: span 2;
  }
  .directions-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-card--featured {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 280px;
  }
  .materials-strip__grid {
    grid-template-columns: 1fr 1fr;
  }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .production-bento {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .production-card__bg {
    height: 260px;
  }
  .production-timeline { grid-template-columns: repeat(2, 1fr); }
  .production-timeline::before { display: none; }
}

@media (max-width: 768px) {
  :root {
    --header-h: 76px;
    --sticky-cta-h: 100px;
  }

  .section__label {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  .section__label::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .service-detail__text .section__label {
    margin-left: 0;
    margin-right: auto;
  }

  .section__title,
  .section__subtitle {
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  .container { padding: 0 20px; }

  .section { padding: 60px 0; }

  .header__inner {
    gap: 12px;
    min-width: 0;
  }

  .logo {
    min-width: 0;
    gap: 9px;
  }

  .header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .header:has(.nav.mobile-open) {
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom-color: var(--border);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .header:has(.nav.mobile-open) .logo {
    color: var(--text);
  }

  .header:has(.nav.mobile-open) .logo__slogan {
    color: var(--text-muted);
  }

  .header:has(.nav.mobile-open) .burger span {
    background: var(--text);
  }

  .nav__list,
  .header__actions { display: none; }

  .nav.mobile-open .nav__cta-mobile {
    display: block;
    margin-top: 8px;
  }

  .nav.mobile-open .nav__cta-mobile .btn {
    width: auto;
    min-width: 220px;
    min-height: 48px;
  }

  .burger {
    display: flex;
    position: relative;
    z-index: 1002;
    width: 48px;
    height: 48px;
    gap: 6px;
  }

  .burger span {
    width: 24px;
    height: 2.5px;
  }

  .nav:not(.mobile-open) {
    display: none;
  }

  .nav.mobile-open {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    bottom: 0;
    width: 100%;
    height: calc(100dvh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    z-index: 1001;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 32px 20px max(32px, env(safe-area-inset-bottom));
  }

  .nav.mobile-open .nav__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    width: 100%;
    max-width: 320px;
  }

  .nav.mobile-open .nav__link {
    font-size: 20px;
    font-weight: 600;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .nav.mobile-open .nav__dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
    text-align: center;
  }

  .nav.mobile-open .nav__dropdown-toggle {
    font-size: 20px;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    pointer-events: none;
    cursor: default;
  }

  .nav.mobile-open .nav__dropdown-chevron {
    display: none;
  }

  .nav.mobile-open .nav__dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
  }

  .nav.mobile-open .nav__dropdown-link {
    font-size: 17px;
    text-align: center;
    padding: 12px 16px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
  }

  .nav.mobile-open .nav__messenger-link {
    min-height: 44px;
  }

  .logo__mark svg {
    width: 42px;
    height: 42px;
  }

  .logo__text {
    font-size: 20px;
  }

  .logo__slogan {
    font-size: 11px;
    white-space: normal;
    max-width: 145px;
    line-height: 1.25;
  }

  .scroll-top {
    left: 16px;
    right: auto;
    bottom: calc(var(--sticky-cta-h) + env(safe-area-inset-bottom, 0px) + 56px);
    width: 46px;
    height: 46px;
  }

  .float-contacts {
    display: none;
  }

  .hero {
    position: relative;
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    padding: 0;
    display: block;
    overflow: hidden;
    box-sizing: border-box;
  }

  .hero::before {
    display: none;
  }

  .hero::after {
    display: none;
  }

  .hero .hero__grid.container {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  .hero__inner {
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: 100svh;
    max-width: none;
    padding: 0;
    gap: 12px;
  }

  .hero__contacts {
    position: relative;
    z-index: 3;
    padding: calc(var(--header-h) + 10px) 12px 0;
  }

  .contact-actions--hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .contact-actions--hero .contact-actions__item {
    min-height: 48px;
    padding: 10px 12px;
  }

  .contact-actions--hero .contact-actions__item--phone .contact-actions__value {
    font-size: 14px;
  }

  .contact-actions--hero .contact-actions__value {
    font-size: 12px;
  }

  .hero__grid {
    position: relative;
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
    flex: 1;
    height: auto;
    min-height: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 2;
  }

  .hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 4px 20px 0;
  }

  .hero__badge {
    margin-left: auto;
    margin-right: auto;
    font-size: 13px;
    padding: 7px 14px;
    margin-bottom: 12px;
  }

  .hero__text-note {
    display: inline;
  }

  .hero__float-card {
    display: none;
  }

  .hero__visual {
    position: absolute;
    inset: 0;
    order: unset;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    z-index: 0;
  }

  .hero__image-wrap {
    position: absolute;
    inset: 0;
    height: 100%;
    aspect-ratio: unset;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .hero__image-wrap::before {
    display: none;
  }

  .hero__image {
    width: 100%;
    height: 100%;
    aspect-ratio: unset;
    object-fit: cover;
    object-position: center 30%;
    filter: brightness(0.38) saturate(0.85);
  }

  .hero__title {
    font-size: clamp(38px, 10.5vw, 54px);
    margin-bottom: 12px;
    color: #ffffff;
    text-shadow:
      0 1px 3px rgba(0, 0, 0, 0.9),
      0 4px 20px rgba(0, 0, 0, 0.7);
  }

  .hero__phrase {
    white-space: normal;
  }

  .hero__text {
    font-size: 16px;
    max-width: none;
    margin-bottom: 14px;
    margin-left: auto;
    margin-right: auto;
    color: #f8fafc;
    text-shadow:
      0 1px 3px rgba(0, 0, 0, 0.9),
      0 2px 14px rgba(0, 0, 0, 0.65);
  }

  .hero__btn-services {
    display: inline-flex;
  }

  .hero__actions {
    margin-top: 0;
  }

  .hero .btn-group {
    flex-direction: row;
    align-items: stretch;
    gap: 10px;
    margin-top: 0;
  }

  .hero .btn-group .btn {
    flex: 1;
    width: auto;
    min-width: 0;
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero__btn-phone-number {
    font-size: 15px;
    white-space: normal;
  }

  .hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .hero__stat-value {
    font-size: 22px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
  }

  .hero__stat-label {
    font-size: 12px;
    line-height: 1.35;
    color: #e2e8f0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
  }

  .services-header {
    margin-bottom: 32px;
  }

  .materials-strip--cards {
    padding: 28px 0 32px;
  }

  .materials-strip__grid {
    grid-template-columns: 1fr;
  }

  .materials-strip__card {
    min-height: 0;
  }

  .materials-strip__chip {
    font-size: 12px;
    padding: 7px 12px;
  }

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

  .service-card,
  .service-card--featured {
    min-height: 240px;
  }

  .directions-details {
    gap: 48px;
    margin-top: 48px;
  }

  .legal-template .legal-page {
    padding-top: calc(var(--header-h) + 92px);
  }

  .services-tabs {
    min-width: 0;
  }

  .services-tabs__nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-left: 0;
    margin-right: 0;
    padding: 6px;
    margin-bottom: 24px;
    border-radius: var(--radius-lg);
    overflow-x: visible;
    gap: 6px;
  }

  .services-tabs__tab {
    flex: unset;
    min-width: 0;
    padding: 12px 8px;
    font-size: 13px;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
    border-radius: var(--radius);
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .services-tabs__panels {
    min-height: 0;
  }

  .services-tabs__panel {
    position: relative;
    inset: auto;
    padding: 28px 24px;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
  }

  .services-tabs__panel:not(.is-active) {
    display: none;
  }

  .service-detail,
  .service-detail--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 28px;
  }

  .service-detail .gallery-mini {
    order: -1;
  }

  .service-detail__text .btn {
    width: 100%;
  }

  .gallery-mini {
    gap: 10px;
    min-width: 0;
  }

  .gallery-mini__item {
    min-width: 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card--tall,
  .service-card--wide {
    grid-row: span 1;
    grid-column: span 1;
  }
  .service-card {
    min-height: 320px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .benefit-card {
    padding: 24px 22px;
  }

  .benefit-card:hover {
    transform: translateY(-2px);
  }

  .production-card__stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .production-process {
    margin-bottom: 48px;
  }

  .production-process__title,
  .production-order__title {
    font-size: clamp(22px, 5.5vw, 26px);
    text-align: left;
    margin-bottom: 10px;
  }

  .production-process__subtitle,
  .production-order__subtitle {
    text-align: left;
    max-width: none;
    margin: 0 0 28px;
    font-size: 15px;
    line-height: 1.55;
  }

  .production-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 4px;
  }

  .production-timeline::before {
    display: none;
  }

  .production-timeline::after {
    content: '';
    position: absolute;
    left: 27px;
    top: 28px;
    bottom: 28px;
    width: 2px;
    background: linear-gradient(180deg, rgba(249, 115, 22, 0.55) 0%, rgba(249, 115, 22, 0.12) 100%);
    pointer-events: none;
  }

  .production-step {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 6px;
    align-items: start;
    text-align: left;
    padding: 0 0 24px;
    background: transparent;
    border: none;
    border-radius: 0;
  }

  .production-step:last-child {
    padding-bottom: 0;
  }

  .production-step:hover {
    background: transparent;
    border-color: transparent;
    transform: none;
  }

  .production-step__marker {
    grid-row: 1 / 3;
    grid-column: 1;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
  }

  .production-step__num {
    font-size: 11px;
  }

  .production-step__icon {
    width: 44px;
    height: 44px;
    background: var(--bg-accent);
    border-color: rgba(249, 115, 22, 0.45);
  }

  .production-step__icon svg {
    width: 20px;
    height: 20px;
  }

  .production-step__title {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    margin-bottom: 0;
    font-size: 17px;
    line-height: 1.3;
  }

  .production-step__text {
    grid-column: 2;
    grid-row: 2;
    font-size: 14px;
    line-height: 1.55;
    color: #cbd5e1;
  }

  .order-scenarios {
    gap: 16px;
  }

  .order-scenarios__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 6px;
  }

  .order-scenarios__tab {
    min-height: 88px;
    padding: 12px 10px;
  }

  .order-scenarios__tab-title {
    font-size: 13px;
  }

  .order-scenarios__tab-hint {
    font-size: 11px;
  }

  .order-scenarios__detail {
    min-height: 0;
  }

  .order-scenarios__panel {
    padding: 24px 20px;
  }

  .order-panel__cta {
    width: 100%;
    justify-content: center;
  }

  .contact-block__meta {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-actions--section {
    grid-template-columns: 1fr;
  }

  .contact-actions--section .contact-actions__item--phone {
    grid-column: auto;
  }

  .contact-item__value {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
  }

  .form-checkbox input {
    width: 20px;
    height: 20px;
    margin-top: 1px;
  }

  .prices-header {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-bottom: 24px;
  }

  .prices-header__text {
    align-self: stretch;
    text-align: left;
  }

  .prices-header__text .section__label {
    margin-left: 0;
    margin-right: auto;
  }

  .prices-header__from {
    align-self: stretch;
    justify-content: flex-start;
    padding: 14px 18px;
  }

  .prices-header__from-value {
    font-size: 26px;
  }

  .materials-board__note {
    text-align: left;
    font-size: 13px;
    line-height: 1.55;
    margin-top: 16px;
  }

  .prices-overview {
    margin-bottom: 16px;
    border: 1px solid rgba(15, 23, 42, 0.18);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
  }

  .prices-table-wrap {
    overflow: visible;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .prices-table {
    min-width: 0;
    display: block;
    font-size: 14px;
  }

  .prices-table thead {
    display: none;
  }

  .prices-table tbody {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .prices-table tbody tr.prices-card {
    display: block;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
  }

  .prices-table tbody tr.prices-card:nth-child(even) {
    background: var(--bg-card);
  }

  .prices-card__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    font: inherit;
    color: inherit;
    text-align: left;
    -webkit-tap-highlight-color: transparent;
  }

  .prices-card__chevron {
    display: block;
  }

  .prices-table td {
    display: block;
    padding: 0;
    border: none;
    text-align: left !important;
    white-space: normal;
  }

  .prices-card.is-open td:first-child {
    margin-bottom: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
  }

  .prices-card:not(.is-open) td:first-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }

  .prices-card:not(.is-open) td:not(:first-child) {
    display: none !important;
  }

  .prices-table__material {
    min-width: 0;
  }

  .prices-table__name {
    font-size: 16px;
  }

  .prices-table td.prices-table__use {
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.55;
    min-width: 0;
    max-width: none;
    color: var(--text-muted);
  }

  .prices-table td:has(.prices-table__price),
  .prices-table td.prices-table__min,
  .prices-table td.prices-table__on-request {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid var(--border);
    font-family: var(--font-body);
    font-weight: 400;
  }

  .prices-table td[data-label]::before {
    content: attr(data-label);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    flex-shrink: 0;
  }

  .prices-table td:has(.prices-table__price)::before {
    display: none;
  }

  .prices-table__price {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
  }

  .prices-table__tier {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    text-transform: none;
    letter-spacing: 0;
  }

  .prices-table__amount {
    font-size: 16px;
    flex-shrink: 0;
  }

  .prices-table td.prices-table__min,
  .prices-table td.prices-table__on-request {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: var(--text);
  }

  .prices-table td.prices-table__on-request:not([data-label]) {
    justify-content: center;
  }

  .faq-item__question {
    padding: 18px 20px;
    font-size: 15px;
    min-height: 44px;
  }

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

  .faq-item.active .faq-item__answer {
    max-height: 480px;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
  }

  .cta-banner .btn {
    width: 100%;
  }

  .sticky-cta {
    display: flex;
    height: auto;
    min-height: var(--sticky-cta-h);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  }

  .contact-actions--sticky {
    gap: 8px;
  }

  .contact-actions--sticky .contact-actions__item {
    min-height: 64px;
    padding: 10px 6px;
    gap: 6px;
  }

  .contact-actions--sticky .contact-actions__item--phone .contact-actions__icon,
  .contact-actions--sticky .contact-actions__item--email .contact-actions__icon {
    width: 40px;
    height: 40px;
  }

  .contact-actions--sticky .contact-actions__icon svg {
    width: 20px;
    height: 20px;
  }

  .contact-actions--sticky .contact-actions__icon .messenger-icon {
    width: 32px;
    height: 32px;
  }

  .contact-actions--sticky .contact-actions__label {
    font-size: 11px;
    font-weight: 600;
  }

  body {
    padding-bottom: calc(var(--sticky-cta-h) + env(safe-area-inset-bottom, 0px));
  }

  body.modal-open,
  body.is-loading {
    padding-bottom: 0;
  }

  .footer {
    padding: 48px 0 28px;
  }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }

  .footer__brand p {
    max-width: none;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .modal__close {
    width: 44px;
    height: 44px;
    top: 12px;
    right: 12px;
  }

  .legal-page h1 {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  :root {
    --sticky-cta-h: 96px;
  }

  .container { padding: 0 16px; }

  .section { padding: 48px 0; }

  .logo__mark svg {
    width: 40px;
    height: 40px;
  }

  .logo__text {
    font-size: 19px;
  }

  .logo__slogan {
    max-width: 125px;
    font-size: 10px;
  }

  .hero__content {
    padding-top: calc(var(--header-h) + 6px);
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero__badge {
    font-size: 12px;
    padding: 6px 12px;
  }

  .hero__title {
    font-size: clamp(34px, 9.5vw, 44px);
    margin-bottom: 10px;
  }

  .hero__br {
    display: none;
  }

  .hero__text {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .hero__stats {
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
  }

  .hero__stat-value {
    font-size: 20px;
  }

  .hero__stat-label {
    font-size: 11px;
  }

  .services-header {
    margin-bottom: 24px;
  }

  .services-tabs__nav {
    padding: 5px;
    gap: 4px;
  }

  .services-tabs__tab {
    padding: 10px 6px;
    font-size: 13px;
    min-height: 40px;
  }

  .services-tabs__panel {
    padding: 20px 16px;
  }

  .services-tabs__title {
    font-size: 22px;
  }

  .service-detail,
  .service-detail--reverse {
    gap: 20px;
  }

  .service-detail__text p {
    font-size: 15px;
  }

  .service-detail__closing {
    padding: 14px 16px;
    font-size: 14px;
  }

  .gallery-mini {
    gap: 8px;
  }

  .benefit-card {
    padding: 20px 18px;
  }

  .production-card__bg {
    height: 240px;
  }

  .production-card__content {
    padding: 20px 18px 22px;
  }

  .production-card__title { font-size: 19px; }
  .production-card__text { font-size: 14px; }

  .production-card__stat-value {
    font-size: 15px;
  }

  .production-card__stat-label {
    font-size: 11px;
  }

  .production-process__title,
  .production-order__title {
    font-size: 21px;
  }

  .production-process__subtitle,
  .production-order__subtitle {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .production-timeline::after {
    left: 25px;
    top: 24px;
    bottom: 24px;
  }

  .production-step {
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 12px;
    padding-bottom: 20px;
  }

  .production-step__icon {
    width: 40px;
    height: 40px;
  }

  .production-step__icon svg {
    width: 18px;
    height: 18px;
  }

  .production-step__title {
    font-size: 16px;
  }

  .production-step__text {
    font-size: 13px;
  }

  .order-scenarios__tab {
    padding: 12px 14px;
    gap: 12px;
  }

  .order-scenarios__tab-icon {
    width: 40px;
    height: 40px;
  }

  .order-scenarios__tab-title {
    font-size: 14px;
  }

  .order-scenarios__tab-hint {
    font-size: 12px;
  }

  .order-scenarios__panel {
    padding: 20px 16px;
    gap: 20px;
  }

  .order-panel__next {
    padding: 14px 16px;
  }

  .prices-header__from-value {
    font-size: 24px;
  }

  .prices-table tbody tr {
    padding: 14px;
  }

  .prices-table__name {
    font-size: 15px;
  }

  .prices-table td.prices-table__use {
    font-size: 12px;
  }

  .prices-table__amount {
    font-size: 15px;
  }

  .faq-item__question {
    padding: 16px;
    font-size: 14px;
    gap: 12px;
  }

  .faq-item__icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .faq-item__answer p {
    padding: 0 16px 16px;
    font-size: 14px;
  }

  .contact-block__card {
    padding: 18px 16px;
  }

  .contact-block__meta {
    margin-top: 16px;
    padding-top: 16px;
  }

  .contact-form { padding: 24px 16px; }

  .contact-form__header {
    margin: -24px -16px 20px;
    padding: 22px 16px 18px;
  }

  .contact-form__header::after {
    left: 16px;
  }

  .contact-form__title {
    font-size: 20px;
  }

  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; }

  .cta-banner {
    padding: 24px 20px;
  }

  .cta-banner__text h3 {
    font-size: 20px;
  }

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

  .contact-actions--services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .contact-actions--services .contact-actions__item--phone {
    grid-column: 1 / -1;
  }

  .contact-actions--services .contact-actions__item {
    padding: 8px 10px;
    min-height: 44px;
  }

  .contact-actions--services .contact-actions__value {
    font-size: 12px;
  }

  .contact-actions--hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .contact-actions--hero .contact-actions__item {
    min-height: 44px;
    padding: 8px 10px;
    gap: 8px;
  }

  .contact-actions--hero .contact-actions__item--phone .contact-actions__value {
    font-size: 13px;
  }

  .cta-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-banner .contact-actions--row {
    width: 100%;
  }

  .sticky-cta {
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom, 0px));
  }

  .footer {
    padding: 40px 0 24px;
  }

  .footer__grid {
    gap: 28px;
  }

  .footer__bottom {
    font-size: 12px;
  }

  .legal-page {
    padding-top: calc(var(--header-h) + 24px);
    padding-bottom: 48px;
  }

  .legal-page h1 {
    font-size: 22px;
  }

  .legal-page h2 {
    font-size: 18px;
  }

  .legal-page .header__inner > .btn {
    padding: 10px 14px;
    font-size: 13px;
    min-height: 44px;
  }

  .modal {
    padding: 0;
    align-items: center;
    justify-content: center;
  }

  .modal__dialog {
    max-width: none;
    width: 100%;
    max-height: 92dvh;
    border-radius: var(--radius-lg);
    padding: 28px 20px calc(28px + env(safe-area-inset-bottom, 0px));
  }

  .lightbox {
    padding: 0;
    align-items: center;
    justify-content: center;
  }

  .lightbox__stage {
    width: 100%;
    max-width: none;
    max-height: 100dvh;
    padding: 48px 8px calc(16px + env(safe-area-inset-bottom, 0px));
  }

  .lightbox__nav {
    width: 40px;
    height: 40px;
  }

  .lightbox__nav--prev { left: 4px; }
  .lightbox__nav--next { right: 4px; }

  .lightbox__caption {
    padding: 0 12px;
    font-size: 13px;
  }

  .lightbox__figure {
    max-height: none;
    flex: 1;
    justify-content: center;
    width: 100%;
  }

  .lightbox__img {
    max-width: 100%;
    max-height: calc(100dvh - 120px);
    border-radius: var(--radius);
  }
}

/* =====================================================================
   Mobile fixes 2026-09-30: шапка с телефоном, меню в один экран,
   главный экран без обрезки, нижняя панель из двух кнопок
   ===================================================================== */
.header__mphone { display: none; }
.nav__short { display: none; }
.nav__request-mobile { display: none; }

html.is-menu-open,
html:has(body.modal-open) { overflow: hidden; }

/* Первый экран виден сразу, без ожидания анимации */
.hero .fade-in {
  opacity: 1;
  transform: none;
  transition: none;
}

.dock__call,
.dock__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  cursor: pointer;
  border: 0;
}

.dock__call {
  flex: 0 0 42%;
  color: var(--text);
  background: #f1f5f9;
}

.dock__cta {
  flex: 1;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.28);
}

@media (max-width: 768px) {

  /* --- Шапка: телефон цифрами + город --- */
  .header__inner { gap: 10px; }

  .header__mphone {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: auto;
    min-width: 0;
    line-height: 1.15;
    color: var(--text);
    white-space: nowrap;
  }

  .header__mphone-num {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.01em;
  }

  .header__mphone-city {
    font-size: 11px;
    color: var(--text-muted);
  }

  .header--top .header__mphone { color: #fff; }
  .header--top .header__mphone-city { color: rgba(255, 255, 255, 0.65); }
  .header:has(.nav.mobile-open) .header__mphone { color: var(--text); }
  .header:has(.nav.mobile-open) .header__mphone-city { color: var(--text-muted); }

  .burger { margin-left: 0; width: 44px; height: 44px; }

  /* --- Мобильное меню: всё на одном экране --- */
  .nav.mobile-open {
    top: var(--header-h);
    bottom: auto;
    height: auto;
    min-height: 0;
    max-height: calc(100dvh - var(--header-h));
    align-items: stretch;
    padding: 8px 20px calc(16px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.18);
  }

  html.is-menu-open body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(15, 23, 42, 0.45);
  }

  .nav.mobile-open .nav__list {
    align-items: stretch;
    gap: 0;
    max-width: 480px;
    margin: 0 auto;
  }

  .nav.mobile-open .nav__list > li:not(.nav__cta-mobile):not(.nav__messengers):not(.nav__request-mobile) {
    border-bottom: 1px solid var(--border);
  }

  .nav.mobile-open .nav__link,
  .nav.mobile-open .nav__dropdown-toggle,
  .header--top .nav.mobile-open .nav__link,
  .header--top .nav.mobile-open .nav__dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 50px;
    padding: 0 2px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    text-align: left;
    pointer-events: auto;
    cursor: pointer;
  }

  .nav.mobile-open .nav__link.active { color: var(--accent); }

  .nav.mobile-open .nav__dropdown {
    align-items: stretch;
    gap: 0;
    text-align: left;
  }

  .nav.mobile-open .nav__dropdown-chevron {
    display: block;
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    transition: transform var(--transition);
  }

  .nav.mobile-open .nav__dropdown.is-open .nav__dropdown-chevron { transform: rotate(180deg); }

  .nav.mobile-open .nav__dropdown-menu { display: none; }

  .nav.mobile-open .nav__dropdown.is-open .nav__dropdown-menu {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0 0 8px;
  }

  .nav.mobile-open .nav__dropdown-link {
    justify-content: flex-start;
    min-height: 40px;
    padding: 8px 12px;
    font-size: 15px;
    text-align: left;
    color: var(--text-secondary, #475569);
    border-radius: 8px;
  }

  .nav.mobile-open .nav__dropdown-link:hover { background: #f8fafc; color: var(--accent); }

  .nav.mobile-open .nav__cta-mobile {
    display: block;
    margin-top: 16px;
  }

  .nav.mobile-open .nav__cta-mobile .btn,
  .nav.mobile-open .nav__request-btn {
    width: 100%;
    min-width: 0;
    min-height: 48px;
  }

  .nav.mobile-open .nav__request-mobile {
    display: block;
    margin-top: 8px;
  }

  .nav.mobile-open .nav__messengers {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
    margin-top: 10px;
  }

  .nav.mobile-open .nav__messenger-link {
    font-size: 15px;
    color: var(--text);
  }

  /* --- Главный экран: ничего не обрезается --- */
  .hero {
    height: auto;
    max-height: none;
    min-height: calc(100svh - var(--sticky-cta-h) - env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
  }

  .hero__inner,
  .hero__inner.container {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
  }

  /* Контакты дублируют нижнюю панель и шапку — на телефоне убираем */
  .hero__contacts { display: none; }

  .hero__grid { flex: 1; justify-content: center; }

  .hero__content,
  .hero__content[class] {
    padding: calc(var(--header-h) + 16px) 16px 24px;
  }

  .hero__title { font-size: clamp(32px, 9vw, 44px); }

  .hero__text {
    font-size: 15px;
    line-height: 1.55;
  }

  .hero .btn-group {
    flex-direction: column;
    gap: 10px;
  }

  .hero .btn-group .btn {
    width: 100%;
    height: 52px;
    min-height: 52px;
    box-sizing: border-box;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .hero__stats {
    gap: 8px;
    margin-top: 18px;
  }

  .hero__stat-value { font-size: 20px; white-space: nowrap; }
  .hero__stat-label { font-size: 11.5px; }
}

@media (max-width: 480px) {
  .logo__slogan { display: none; }
  .logo { gap: 8px; }
  .logo__mark svg { width: 36px; height: 36px; }
  .logo__text { font-size: 18px; }
}

@media (max-width: 360px) {
  .header__mphone-num { font-size: 13px; }
  .logo__text { font-size: 16px; }
  .logo__mark svg { width: 32px; height: 32px; }
  .dock__call, .dock__cta { font-size: 14px; padding: 0 10px; }
}

@media (max-height: 700px) and (max-width: 768px) {
  .hero__content,
  .hero__content[class] { padding-top: calc(var(--header-h) + 8px); padding-bottom: 12px; }
  .hero__badge { display: none; }
  .hero__title { font-size: 30px; margin-bottom: 8px; }
  .hero__text { font-size: 14px; line-height: 1.45; margin-bottom: 12px; }
  .hero .btn-group { gap: 8px; }
  .hero .btn-group .btn { height: 46px; min-height: 46px; }
  .hero__stats { margin-top: 12px; padding-top: 10px; }
  .hero__stat-value { font-size: 18px; }

  .nav.mobile-open { padding-top: 4px; padding-bottom: 12px; }
  .nav.mobile-open .nav__link,
  .nav.mobile-open .nav__dropdown-toggle,
  .header--top .nav.mobile-open .nav__link,
  .header--top .nav.mobile-open .nav__dropdown-toggle { min-height: 42px; font-size: 17px; }
  .nav.mobile-open .nav__dropdown-link { min-height: 34px; padding: 6px 12px; font-size: 14px; }
  .nav.mobile-open .nav__cta-mobile { margin-top: 10px; }
  .nav.mobile-open .nav__cta-mobile .btn,
  .nav.mobile-open .nav__request-btn { min-height: 44px; padding-top: 8px; padding-bottom: 8px; }
  .nav.mobile-open .nav__messengers { margin-top: 6px; }
  .nav.mobile-open .nav__messenger-link { min-height: 40px; }
}

/* Прелоадер: страховка — уходит сам через 4 с, даже если скрипт не отработал */
.preloader {
  animation: preloader-failsafe 0.4s ease 4s forwards;
}

@keyframes preloader-failsafe {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
  .preloader { display: none; }
  body.is-loading { overflow: visible; }
  .fade-in,
  .fade-in.visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =====================================================================
   Mobile menu v2: Услуги и Материалы всегда раскрыты, всё в один экран
   ===================================================================== */
@media (max-width: 768px) {
  .nav.mobile-open {
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  }

  .nav.mobile-open .nav__list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    max-width: 480px;
  }

  .nav.mobile-open .nav__list > li,
  .nav.mobile-open .nav__list > li:not(.nav__cta-mobile):not(.nav__messengers):not(.nav__request-mobile) {
    grid-column: span 2;
    border-bottom: 0;
    margin: 0;
  }

  .nav.mobile-open .nav__list > li.nav__dropdown,
  .nav.mobile-open .nav__list > li.nav__cta-mobile,
  .nav.mobile-open .nav__list > li.nav__request-mobile,
  .nav.mobile-open .nav__list > li.nav__messengers {
    grid-column: 1 / -1 !important;
  }

  .nav.mobile-open .nav__list > li.nav__dropdown + li.nav__dropdown { margin-top: 6px; }

  /* Заголовки групп — не кнопки, а подписи */
  .nav.mobile-open .nav__dropdown-toggle,
  .nav.mobile-open .nav__dropdown-toggle.nav__link,
  .header--top .nav.mobile-open .nav__dropdown-toggle,
  .header--top .nav.mobile-open .nav__dropdown-toggle.nav__link {
    display: block;
    height: auto;
    background: none;
    border: 0;
    border-radius: 0;
    width: 100%;
    min-height: 0;
    padding: 0 2px 6px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    text-align: left;
    pointer-events: none;
    cursor: default;
  }

  .nav.mobile-open .nav__dropdown-chevron { display: none; }

  .nav.mobile-open .nav__dropdown-menu,
  .nav.mobile-open .nav__dropdown.is-open .nav__dropdown-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 0;
  }

  .nav.mobile-open .nav__dropdown-menu > li { min-width: 0; }

  .nav.mobile-open .nav__dropdown-link,
  .nav.mobile-open .nav__link:not(.nav__dropdown-toggle),
  .header--top .nav.mobile-open .nav__link:not(.nav__dropdown-toggle) {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 42px;
    padding: 6px 8px;
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    color: var(--text);
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-sizing: border-box;
  }

  .nav.mobile-open .nav__dropdown-link:hover,
  .nav.mobile-open .nav__link:hover,
  .nav.mobile-open .nav__link.active {
    color: var(--accent);
    border-color: rgba(249, 115, 22, 0.45);
    background: #fff7ed;
  }

  .nav.mobile-open .nav__full { display: none; }
  .nav.mobile-open .nav__short { display: inline; }
  .nav.mobile-open .nav__dropdown-menu > li:last-child:nth-child(odd) { grid-column: 1 / -1; }

  .nav.mobile-open .nav__list > li:not(.nav__dropdown):not(.nav__cta-mobile):not(.nav__request-mobile):not(.nav__messengers) {
    margin-top: 6px;
  }

  .nav.mobile-open .nav__cta-mobile { margin-top: 8px; }
  .nav.mobile-open .nav__request-mobile { margin-top: 0; }

  .nav.mobile-open .nav__cta-mobile .btn,
  .nav.mobile-open .nav__request-btn {
    width: 100%;
    min-height: 46px;
  }

  .nav.mobile-open .nav__messengers {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 28px;
    margin-top: 0;
  }

  .nav.mobile-open .nav__messenger-link { min-height: 40px; font-size: 15px; }
}

@media (max-width: 768px) and (max-height: 700px) {
  .nav.mobile-open { padding-top: 10px; padding-bottom: 10px; }
  .nav.mobile-open .nav__list { gap: 6px; }
  .nav.mobile-open .nav__dropdown-link,
  .nav.mobile-open .nav__link:not(.nav__dropdown-toggle),
  .header--top .nav.mobile-open .nav__link:not(.nav__dropdown-toggle) { min-height: 38px; font-size: 13px; }
  .nav.mobile-open .nav__cta-mobile .btn,
  .nav.mobile-open .nav__request-btn { min-height: 42px; padding-top: 6px; padding-bottom: 6px; }
  .nav.mobile-open .nav__messenger-link { min-height: 36px; }
}

/* ===== Кнопки над подвалом (23.10.2026) =====
   В конце страницы плавающие кнопки лежали на нижней строке подвала: стрелка «наверх» слева — на «© 2026 ТрафаретПро…»,
   «Политике конфиденциальности» или «Разработка сайта» (по ширине экрана), колонка кнопок связи справа (телефон, почта,
   Telegram, MAX) — на «Разработка сайта», «English», «Правилах пользования». Служебные страницы (политика, правила)
   кнопок не имеют, правило их не касается. Цвета, тексты и порядок блоков не менялись. */

/* От 769 px: у нижней строки отступы ровно на столько, на сколько кнопки заходят в контейнер.
   Слева стрелка: 24 px от края + 48 px + 12 px зазора = 84 px от края экрана.
   Справа колонка: 16 px от края + 44 px + 12 px зазора = 72 px от края экрана.
   (100vw - 100%) / 2 — сколько контейнер сам отстоит от края (32 px, на экранах шире 1440 px больше), от ~1544 px отступ 0.
   Колонка кнопок высотой 200 px верхней кнопкой (телефон) касалась снизу строки часов работы в колонке «Контакты»
   (на 1040–1100 px английской версии и на 1280 px русской, на 1–3 px): сетке на 8 px больше воздуха снизу (было 48 px),
   строка встаёт выше кнопки. Ширину колонок не трогаем, чтобы строки не переносились по-новому. */
@media (min-width: 769px) {
  body:not(.legal-template) .footer__bottom {
    padding-left: max(0px, calc(84px - (100vw - 100%) / 2));
    padding-right: max(0px, calc(72px - (100vw - 100%) / 2));
  }

  body:not(.legal-template) .footer__grid {
    margin-bottom: 56px;
  }
}

/* Телефон до 600 px: строки нижней части подвала идут по центру, широкие («© 2026…», «Политика конфиденциальности ·
   Правила пользования») доходят до стрелки «наверх» слева над нижней панелью. Подвал кончается выше: строка ссылок
   встаёт над стрелкой, узкая «Разработка сайта» — рядом с ней. Стрелка: 56 px над панелью, 46 px высотой; низ текста —
   на 20 px ниже верха стрелки: 56 + 46 - 20 = 82 px от панели. */
@media (max-width: 600px) {
  body:not(.legal-template) .footer {
    padding-bottom: 82px;
  }
}

/* ===== Шапка на 769–1139 px (23.10.2026) =====
   Шапка идёт в одну строку: логотип 216 px, меню 501 px, контакты 306 px (телефон, почта, Telegram, MAX), поля 2 × 32 px —
   всего 1087 px, а бургер включается только до 768 px. На 769–1086 px контакты уходили за правый край экрана (на 770 px
   обрезалось 142 px: почта, Telegram, MAX и часть телефона). Почта, Telegram и MAX есть в колонке кнопок справа
   (.float-contacts, от 769 px), поэтому на узких ширинах шапка оставляет из контактов только телефон. Уже 1000 px прячется
   подпись логотипа (как на телефоне до 480 px) и сужаются промежутки меню; уже 930 px телефон показан значком в такой же
   плашке, как у почты, номер остаётся для экранного диктора. Пороги взяты с запасом на полосу прокрутки Windows (17 px).
   С 1140 px шапка прежняя. */
@media (min-width: 769px) and (max-width: 1139px) {
  .header__actions .header__email,
  .header__actions .header__messenger {
    display: none;
  }
}

@media (min-width: 769px) and (max-width: 999px) {
  .header__inner .logo__slogan {
    display: none;
  }

  .header__inner .nav__list {
    gap: 20px;
  }
}

@media (min-width: 769px) and (max-width: 929px) {
  .header__inner .nav__list {
    gap: 16px;
  }

  .header__actions .header__phone {
    position: relative;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(249, 115, 22, 0.12);
    border-radius: 10px;
  }

  .header--top .header__actions .header__phone {
    background: rgba(255, 255, 255, 0.18);
  }

  .header__actions .header__phone .header-phone-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
}
