@media (max-width: 1040px) {
  .menu,
  .header-actions {
    display: none;
  }

  .burger {
    display: block;
  }

  .menu.open {
    display: flex;
    position: fixed;
    top: 86px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(3, 10, 8, 0.94);
    backdrop-filter: blur(18px);
  }

  .hero__grid,
  .service-detail,
  .product,
  .calculator,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero-card {
    justify-self: start;
  }

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

  .catalog-tools {
    grid-template-columns: 1fr 1fr;
  }

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

  .cta-form {
    min-width: 0;
  }

  .product-gallery,
  .calc-result {
    position: static;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 64px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 118px;
  }

  .hero__title {
    font-size: 44px;
    letter-spacing: -1.8px;
  }

  .section-title {
    font-size: 32px;
  }

  .section-top {
    display: block;
  }

  .slider-controls {
    margin-top: 18px;
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .footer__grid,
  .form-grid,
  .catalog-tools {
    grid-template-columns: 1fr;
  }

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

  .hero-card img,
  .service-detail__image img,
  .main-photo {
    height: 360px;
  }

  .thumbs img {
    height: 76px;
  }

  .product-info h3 {
    font-size: 30px;
  }

  .cta-form {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 22px, var(--container));
  }

  .hero__title {
    font-size: 38px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .hero__buttons,
  .product-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
/* =========================================================
   ФИНАЛЬНЫЙ ФОН ДЛЯ БЛОКА "ХОТИТЕ РАССЧИТАТЬ ОБЪЕКТ?"
   ========================================================= */

body #contacts .cta {
  position: relative !important;
  overflow: hidden !important;

  display: grid !important;
  grid-template-columns: 1fr auto !important;
  gap: 34px !important;
  align-items: center !important;

  padding: 46px !important;
  border-radius: 30px !important;
  border: 1px solid rgba(142, 230, 0, 0.35) !important;

  background-image:
    linear-gradient(
      90deg,
      rgba(3, 8, 7, 0.96) 0%,
      rgba(3, 8, 7, 0.82) 34%,
      rgba(3, 8, 7, 0.50) 64%,
      rgba(3, 8, 7, 0.20) 100%
    ),
    url("/images/wood-cta-bg.png") !important;

  background-size: cover !important;
  background-position: right center !important;
  background-repeat: no-repeat !important;

  box-shadow:
    0 0 0 1px rgba(142, 230, 0, 0.12),
    0 0 26px rgba(142, 230, 0, 0.16),
    0 28px 80px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

body #contacts .cta::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;

  background:
    radial-gradient(
      circle at 78% 48%,
      rgba(142, 230, 0, 0.14),
      transparent 36%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04),
      rgba(0, 0, 0, 0.18)
    ) !important;

  pointer-events: none !important;
}

body #contacts .cta > * {
  position: relative !important;
  z-index: 2 !important;
}

body #contacts .cta h2 {
  margin: 0 0 14px !important;
  max-width: 720px !important;
  color: #ffffff !important;
  font-size: 36px !important;
  line-height: 1.1 !important;
  letter-spacing: -1px !important;
}

body #contacts .cta p {
  margin: 0 !important;
  max-width: 680px !important;
  color: #d7e4da !important;
  font-size: 18px !important;
  line-height: 1.65 !important;
}

body #contacts .cta-form {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

body #contacts .cta-form input {
  width: 270px !important;
  height: 54px !important;
  padding: 0 18px !important;

  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;

  background: rgba(3, 8, 7, 0.78) !important;
  color: #ffffff !important;
  outline: none !important;
}

body #contacts .cta-form input::placeholder {
  color: rgba(215, 228, 218, 0.72) !important;
}

body #contacts .cta-form input:focus {
  border-color: rgba(142, 230, 0, 0.72) !important;
  box-shadow: 0 0 18px rgba(142, 230, 0, 0.20) !important;
}

@media (max-width: 900px) {
  body #contacts .cta {
    grid-template-columns: 1fr !important;
    padding: 32px 24px !important;

    background-image:
      linear-gradient(
        180deg,
        rgba(3, 8, 7, 0.94),
        rgba(3, 8, 7, 0.76)
      ),
      url("/images/wood-cta-bg.png") !important;

    background-size: cover !important;
    background-position: center !important;
  }

  body #contacts .cta h2 {
    font-size: 30px !important;
  }

  body #contacts .cta-form {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  body #contacts .cta-form input {
    width: 100% !important;
  }

  body #contacts .cta-form .btn {
    width: 100% !important;
  }
}
/* =========================================================
   MOBILE HERO REDESIGN
   ========================================================= */

@media (max-width: 768px) {

  .hero {
    min-height: auto !important;
    padding: 112px 0 38px !important;
  }

  .hero__grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

  .hero__title {
    margin: 22px 0 14px !important;
    font-size: 52px !important;
    line-height: 0.94 !important;
    letter-spacing: -2px !important;
  }

  .hero__text {
    font-size: 18px !important;
    line-height: 1.55 !important;
  }

  .hero__buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-top: 24px !important;
  }

  .hero__buttons .btn {
    width: 100% !important;
    justify-content: center !important;
    height: 58px !important;
    font-size: 17px !important;
  }

  .hero-card {
    width: 100% !important;
    margin-top: 10px !important;
    padding: 14px !important;
    border-radius: 28px !important;
  }

  .hero-card img {
    height: 230px !important;
    border-radius: 22px !important;
  }

  .hero-card__bottom {
    margin-top: 12px !important;
    align-items: center !important;
  }

  .hero-card__bottom strong {
    font-size: 26px !important;
    line-height: 1 !important;
  }

  .hero-card__bottom small {
    font-size: 14px !important;
  }

  .hero-card__bottom .btn {
    min-width: 120px !important;
    height: 48px !important;
  }

  .hero__note {
    margin-top: 18px !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
  }

}
/* =========================================================
   MOBILE REDESIGN — ТОЛЬКО ТЕЛЕФОН
   ========================================================= */

@media (max-width: 768px) {
  body {
    overflow-x: hidden !important;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .header {
    height: 86px !important;
  }

  .nav {
    height: 86px !important;
  }

  .logo__text {
    font-size: 22px !important;
    line-height: 1 !important;
  }

  .logo__text small {
    font-size: 12px !important;
  }

  .burger {
    width: 52px !important;
    height: 52px !important;
    font-size: 30px !important;
  }

  .hero {
    min-height: auto !important;
    padding: 110px 0 38px !important;
  }

  .hero__grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 22px !important;
  }

  .badge {
    max-width: 100% !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
  }

  .hero__title {
    margin: 24px 0 16px !important;
    font-size: 48px !important;
    line-height: 0.95 !important;
    letter-spacing: -1.8px !important;
  }

  .hero__text {
    font-size: 18px !important;
    line-height: 1.55 !important;
  }

  .hero__buttons {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-top: 24px !important;
  }

  .hero__buttons .btn {
    width: 100% !important;
    height: 58px !important;
    justify-content: center !important;
    font-size: 17px !important;
  }

  .hero__note {
    margin-top: 20px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .hero-card {
    width: 100% !important;
    margin-top: 10px !important;
    padding: 14px !important;
    border-radius: 26px !important;
  }

  .hero-card img {
    height: 230px !important;
    border-radius: 20px !important;
  }

  .hero-card__bottom {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 12px !important;
    align-items: center !important;
  }

  .hero-card__bottom strong {
    font-size: 20px !important;
    line-height: 1.1 !important;
  }

  .hero-card__bottom small {
    font-size: 14px !important;
  }

  .hero-card__bottom .btn {
    height: 46px !important;
    min-width: 110px !important;
  }

  .stats {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    margin-top: 28px !important;
  }

  .stat {
    min-height: 92px !important;
    padding: 16px !important;
    border-radius: 20px !important;
  }

  .stat strong {
    font-size: 20px !important;
  }

  .stat span {
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  .section {
    padding-top: 54px !important;
    padding-bottom: 54px !important;
  }

  .section-label {
    font-size: 13px !important;
    margin-bottom: 14px !important;
  }

  .section-title {
    font-size: 36px !important;
    line-height: 1.05 !important;
    letter-spacing: -1.3px !important;
  }

  .section-subtitle {
    font-size: 17px !important;
    line-height: 1.55 !important;
  }

  .service-strip,
  .service-strip--three {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: 72% !important;
    gap: 14px !important;
    overflow-x: auto !important;
    padding: 24px 0 18px !important;
    scroll-snap-type: x mandatory !important;
  }

  .service-card {
    min-height: 230px !important;
    border-radius: 22px !important;
  }

  .service-card img {
    border-radius: 22px !important;
  }

  .service-card__name {
    font-size: 19px !important;
  }

  .service-card__price {
    font-size: 13px !important;
  }

  .process-section {
    padding-top: 40px !important;
  }

  .grid,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .process-card {
    min-height: auto !important;
    padding: 22px !important;
    border-radius: 22px !important;
  }

  .process-card__number {
    font-size: 42px !important;
    top: 16px !important;
    right: 18px !important;
  }

  .process-card h3 {
    margin-top: 38px !important;
    font-size: 24px !important;
  }

  .process-card p {
    font-size: 16px !important;
    line-height: 1.5 !important;
  }

  .catalog-tools {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .catalog-tools input,
  .catalog-tools select,
  .catalog-tools .btn {
    width: 100% !important;
    height: 56px !important;
  }

  .work-card {
    border-radius: 24px !important;
  }

  .work-card__image img {
    height: 250px !important;
    object-fit: cover !important;
  }

  .work-card__body {
    padding: 20px !important;
  }

  .work-card__title {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  .work-card__title h3 {
    font-size: 24px !important;
    line-height: 1.15 !important;
  }

  .work-card__title strong {
    font-size: 20px !important;
  }

  .work-card__body p {
    font-size: 17px !important;
    line-height: 1.4 !important;
  }

  .work-card__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    font-size: 15px !important;
  }

  .work-card__btn {
    width: auto !important;
    min-width: 190px !important;
    height: 54px !important;
  }

  .calculator {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .calc-form,
  .calc-result {
    width: 100% !important;
    border-radius: 24px !important;
    padding: 22px !important;
  }

  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .form-grid input,
  .form-grid select,
  .form-grid textarea {
    width: 100% !important;
    min-width: 0 !important;
  }

  .form-grid textarea {
    min-height: 130px !important;
  }

  .result-price {
    font-size: 34px !important;
    line-height: 1.05 !important;
  }

  .cta {
    grid-template-columns: 1fr !important;
    padding: 28px 20px !important;
    border-radius: 24px !important;
  }

  .cta h2 {
    font-size: 30px !important;
  }

  .cta p {
    font-size: 16px !important;
  }

  .cta-form {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .cta-form input,
  .cta-form .btn {
    width: 100% !important;
  }

  .footer__grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}
@media (max-width: 768px) {
  .hero__title {
    font-size: 39px !important;
    line-height: 1.02 !important;
    letter-spacing: -1.2px !important;
    margin: 18px 0 12px !important;
  }

  .hero__text {
    font-size: 15.5px !important;
    line-height: 1.55 !important;
  }

  .badge {
    font-size: 12px !important;
    padding: 8px 11px !important;
  }

  .hero__buttons .btn {
    height: 52px !important;
    font-size: 15px !important;
  }

  .hero__note {
    font-size: 13px !important;
  }
}
@media (max-width: 768px) {
  .hero {
    padding: 96px 0 22px !important;
  }

  .hero__grid {
    gap: 14px !important;
  }

  .badge {
    font-size: 11px !important;
    padding: 7px 10px !important;
  }

  .hero__title {
    font-size: 34px !important;
    line-height: 1 !important;
    letter-spacing: -1px !important;
    margin: 14px 0 10px !important;
  }

  .hero__text {
    font-size: 14px !important;
    line-height: 1.45 !important;
  }

  .hero__buttons {
    gap: 10px !important;
    margin-top: 16px !important;
  }

  .hero__buttons .btn {
    height: 48px !important;
    font-size: 14px !important;
  }

  .hero__note {
    display: none !important;
  }

  .hero-card {
    margin-top: 4px !important;
    padding: 10px !important;
  }

  .hero-card img {
    height: 150px !important;
  }

  .hero-card__bottom {
    margin-top: 9px !important;
  }

  .hero-card__bottom strong {
    font-size: 16px !important;
  }

  .hero-card__bottom small {
    font-size: 12px !important;
  }

  .hero-card__bottom .btn {
    height: 40px !important;
    min-width: 90px !important;
    font-size: 13px !important;
  }

  .stats {
    margin-top: 18px !important;
  }
}
/* =========================================================
   MOBILE HERO — ТЕКСТ СЛЕВА, КАРТОЧКА СПРАВА
   Только мобильная версия
   ========================================================= */

@media (max-width: 768px) {
  .hero {
    min-height: auto !important;
    padding: 100px 0 28px !important;
  }

  .hero__grid {
    display: grid !important;
    grid-template-columns: 1fr 0.95fr !important;
    gap: 16px !important;
    align-items: center !important;
  }

  .hero__content {
    display: contents !important;
  }

  .badge {
    grid-column: 1 / -1 !important;
    width: fit-content !important;
    max-width: 100% !important;
    font-size: 11px !important;
    padding: 7px 10px !important;
  }

  .hero__title {
    grid-column: 1 / 2 !important;
    margin: 12px 0 8px !important;
    font-size: 31px !important;
    line-height: 1 !important;
    letter-spacing: -1px !important;
  }

  .hero__text {
    grid-column: 1 / 2 !important;
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  .hero-card {
    grid-column: 2 / 3 !important;
    grid-row: 2 / 5 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 9px !important;
    border-radius: 22px !important;
  }

  .hero-card img {
    height: 170px !important;
    border-radius: 17px !important;
  }

  .hero-card__bottom {
    margin-top: 8px !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 8px !important;
    align-items: center !important;
  }

  .hero-card__bottom strong {
    font-size: 13px !important;
    line-height: 1.1 !important;
  }

  .hero-card__bottom small {
    font-size: 11px !important;
    line-height: 1.2 !important;
  }

  .hero-card__bottom .btn {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    font-size: 0 !important;
    border-radius: 50% !important;
  }

  .hero-card__bottom .btn::after {
    content: "→";
    font-size: 18px;
  }

  .hero__buttons {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 12px !important;
  }

  .hero__buttons .btn {
    width: 100% !important;
    height: 50px !important;
    justify-content: center !important;
    font-size: 15px !important;
  }

  .hero__note {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .hero__grid {
    grid-template-columns: 0.9fr 1.1fr !important;
    gap: 12px !important;
  }

  .hero__title {
    font-size: 28px !important;
    line-height: 0.98 !important;
  }

  .hero__text {
    font-size: 12.5px !important;
    line-height: 1.42 !important;
  }

  .hero-card {
    padding: 8px !important;
  }

  .hero-card img {
    height: 190px !important;
  }

  .hero-card__bottom strong {
    font-size: 12px !important;
  }

  .hero-card__bottom small {
    font-size: 10.5px !important;
    white-space: nowrap !important;
  }

  .hero-card__bottom .btn {
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
  }

  .hero__buttons {
    margin-top: 16px !important;
  }
}
/* =========================================================
   MOBILE PROCESS — 4 КАРТОЧКИ КВАДРАТОМ 2×2
   ========================================================= */

@media (max-width: 768px) {
  #process .grid--4 {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .process-card {
    min-height: 185px !important;
    padding: 16px !important;
    border-radius: 22px !important;
  }

  .process-card .card__icon {
    width: 42px !important;
    height: 42px !important;
    font-size: 18px !important;
  }

  .process-card__number {
    top: 16px !important;
    right: 14px !important;
    font-size: 38px !important;
  }

  .process-card h3 {
    margin-top: 34px !important;
    margin-bottom: 8px !important;
    font-size: 20px !important;
    line-height: 1.1 !important;
  }

  .process-card p {
    font-size: 13px !important;
    line-height: 1.35 !important;
  }
}
@media (max-width: 768px) {
  #process .grid--4 {
    gap: 10px !important;
  }

  .process-card {
    min-height: 155px !important;
    padding: 13px !important;
    border-radius: 18px !important;
  }

  .process-card .card__icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 15px !important;
  }

  .process-card__number {
    top: 13px !important;
    right: 12px !important;
    font-size: 32px !important;
  }

  .process-card h3 {
    margin-top: 28px !important;
    margin-bottom: 6px !important;
    font-size: 18px !important;
  }

  .process-card p {
    font-size: 12px !important;
    line-height: 1.3 !important;
  }
}
@media (max-width: 768px) {
  .process-card {
    min-height: 140px !important;
    padding: 11px !important;
  }

  .process-card .card__icon {
    width: 32px !important;
    height: 32px !important;
    font-size: 14px !important;
  }

  .process-card__number {
    font-size: 28px !important;
  }

  .process-card h3 {
    margin-top: 24px !important;
    font-size: 16px !important;
  }

  .process-card p {
    font-size: 11px !important;
    line-height: 1.25 !important;
  }
}
@media (max-width: 768px) {
  #catalog {
    padding-top: 34px !important;
  }

  #catalog .section-label {
    font-size: 12px !important;
    padding: 7px 12px !important;
    margin-bottom: 14px !important;
  }

  #catalog .section-title {
    font-size: 32px !important;
    line-height: 1.02 !important;
    letter-spacing: -1px !important;
    margin-bottom: 14px !important;
  }

  #catalog .section-subtitle {
    max-width: 95% !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
  }

  #catalog .section-top {
    margin-bottom: 22px !important;
  }

  .catalog-tools {
    gap: 10px !important;
  }

  .catalog-tools input,
  .catalog-tools select {
    height: 50px !important;
    padding: 0 18px !important;
    border-radius: 20px !important;
    font-size: 14px !important;
  }

  .catalog-tools .btn {
    height: 52px !important;
    border-radius: 999px !important;
    font-size: 15px !important;
  }
}
/* =========================================================
   MOBILE CATALOG — КАРТОЧКИ В СТИЛЕ МАГАЗИНА
   ========================================================= */

@media (max-width: 768px) {
  #catalog .grid--3 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  #catalog .work-card {
    display: grid !important;
    grid-template-columns: 42% 58% !important;
    align-items: stretch !important;
    min-height: 210px !important;
    border-radius: 22px !important;
  }

  #catalog .work-card__image {
    height: 100% !important;
    border-radius: 22px 0 0 22px !important;
  }

  #catalog .work-card__image img {
    width: 100% !important;
    height: 100% !important;
    min-height: 210px !important;
    object-fit: cover !important;
    border-radius: 22px 0 0 22px !important;
  }

  #catalog .work-card__tag {
    top: 12px !important;
    left: 10px !important;
    padding: 6px 10px !important;
    font-size: 10px !important;
  }

  #catalog .work-card__body {
    padding: 16px 14px !important;
  }

  #catalog .work-card__title {
    display: block !important;
  }

  #catalog .work-card__title h3 {
    margin: 0 0 7px !important;
    font-size: 19px !important;
    line-height: 1.12 !important;
  }

  #catalog .work-card__title strong {
    display: block !important;
    margin-bottom: 9px !important;
    font-size: 17px !important;
    line-height: 1.1 !important;
  }

  #catalog .work-card__body p {
    margin: 0 0 12px !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
  }

  #catalog .work-card__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-bottom: 12px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
  }

  #catalog .work-card__meta span {
    white-space: nowrap !important;
  }

  #catalog .work-card__btn {
    min-width: 130px !important;
    height: 40px !important;
    margin-top: 0 !important;
    padding: 0 16px !important;
    font-size: 13px !important;
  }
}
/* =========================================================
   MOBILE CATALOG — КОМПАКТНЫЙ ВЕРХ КАК НА РЕФЕРЕНСЕ
   ========================================================= */

@media (max-width: 768px) {
  #catalog {
    padding-top: 26px !important;
  }

  #catalog .section-label {
    font-size: 10px !important;
    padding: 5px 10px !important;
    margin-bottom: 12px !important;
  }

  #catalog .section-title {
    max-width: 360px !important;
    font-size: 28px !important;
    line-height: 1.05 !important;
    letter-spacing: -0.8px !important;
    margin-bottom: 10px !important;
  }

  #catalog .section-subtitle {
    max-width: 360px !important;
    font-size: 12.5px !important;
    line-height: 1.45 !important;
    margin-bottom: 0 !important;
  }

  #catalog .section-top {
    margin-bottom: 16px !important;
  }

  #catalog .catalog-tools {
    display: grid !important;
    grid-template-columns: 1fr 0.9fr !important;
    gap: 10px !important;
    align-items: center !important;
  }

  #catalog .catalog-tools input {
    grid-column: 1 / 2 !important;
    height: 42px !important;
    padding: 0 14px !important;
    border-radius: 16px !important;
    font-size: 12px !important;
  }

  #catalog .catalog-tools select {
    height: 42px !important;
    padding: 0 14px !important;
    border-radius: 16px !important;
    font-size: 12px !important;
  }

  #catalog #typeFilter {
    grid-column: 2 / 3 !important;
  }

  #catalog #priceFilter {
    grid-column: 1 / -1 !important;
  }

  #catalog .catalog-tools .btn {
    grid-column: 1 / -1 !important;
    height: 46px !important;
    border-radius: 16px !important;
    font-size: 13px !important;
  }
}
@media (max-width: 768px) {
  #catalog .catalog-tools {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  #catalog .catalog-tools input,
  #catalog .catalog-tools select,
  #catalog .catalog-tools .btn {
    display: block !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    height: 48px !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  #catalog #typeFilter {
    display: block !important;
    width: 100% !important;
    height: 48px !important;
    border-radius: 18px !important;
  }
}
@media (max-width: 768px) {
  #catalog .catalog-tools {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
  }

  #catalog .catalog-tools input,
  #catalog .catalog-tools select,
  #catalog .catalog-tools .btn {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 50px !important;
    border-radius: 18px !important;
    font-size: 14px !important;
  }

  #catalog .catalog-tools .btn {
    height: 56px !important;
    margin-top: 2px !important;
  }
}
/* =========================================================
   MOBILE CATALOG — СТИЛЬ КАК МАГАЗИН, ТОЛЬКО МОБИЛКА
   ========================================================= */

@media (max-width: 768px) {
  #catalog {
    padding-top: 42px !important;
    padding-bottom: 44px !important;
  }

  #catalog .section-top {
    margin-bottom: 18px !important;
  }

  #catalog .section-label {
    display: inline-flex !important;
    align-items: center !important;
    width: fit-content !important;
    padding: 6px 12px !important;
    margin-bottom: 14px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    line-height: 1 !important;
  }

  #catalog .section-title {
    max-width: 370px !important;
    margin: 0 0 12px !important;
    font-size: 34px !important;
    line-height: 1.03 !important;
    letter-spacing: -1px !important;
  }

  #catalog .section-subtitle {
    max-width: 390px !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
  }

  #catalog .catalog-tools {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-top: 22px !important;
    margin-bottom: 22px !important;
  }

  #catalog .catalog-tools input,
  #catalog .catalog-tools select {
    width: 100% !important;
    height: 48px !important;
    padding: 0 16px !important;
    border-radius: 18px !important;
    font-size: 13px !important;
    background: rgba(17, 28, 24, 0.92) !important;
  }

  #catalog .catalog-tools .btn {
    width: 100% !important;
    height: 54px !important;
    margin-top: 2px !important;
    border-radius: 18px !important;
    font-size: 15px !important;
  }

  #catalog .grid--3 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  #catalog .work-card {
    display: grid !important;
    grid-template-columns: 42% 58% !important;
    min-height: 176px !important;
    border-radius: 20px !important;
    overflow: hidden !important;
  }

  #catalog .work-card__image {
    height: 100% !important;
    border-radius: 20px 0 0 20px !important;
  }

  #catalog .work-card__image img {
    width: 100% !important;
    height: 100% !important;
    min-height: 176px !important;
    object-fit: cover !important;
    border-radius: 20px 0 0 20px !important;
  }

  #catalog .work-card__tag {
    top: 10px !important;
    left: 10px !important;
    padding: 5px 9px !important;
    border-radius: 999px !important;
    font-size: 9px !important;
    line-height: 1 !important;
  }

  #catalog .work-card__body {
    padding: 13px 13px 12px !important;
  }

  #catalog .work-card__title {
    display: block !important;
    margin-bottom: 7px !important;
  }

  #catalog .work-card__title h3 {
    margin: 0 0 5px !important;
    font-size: 17px !important;
    line-height: 1.12 !important;
    letter-spacing: -0.3px !important;
  }

  #catalog .work-card__title strong {
    display: block !important;
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.1 !important;
    color: var(--green) !important;
  }

  #catalog .work-card__body p {
    margin: 0 0 9px !important;
    font-size: 12px !important;
    line-height: 1.32 !important;
  }

  #catalog .work-card__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    margin: 0 0 10px !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
  }

  #catalog .work-card__meta span {
    white-space: nowrap !important;
  }

  #catalog .work-card__btn {
    min-width: 116px !important;
    height: 36px !important;
    margin-top: 0 !important;
    padding: 0 13px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
  }
}
@media (max-width: 768px) {
  #catalog .catalog-tools::before,
  #catalog .catalog-tools::after {
    display: none !important;
    content: none !important;
  }

  #catalog .catalog-tools {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
  }

  #catalog .catalog-tools input {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    height: 44px !important;
    border-radius: 18px !important;
  }

  #catalog .catalog-tools select {
    display: none !important;
  }

  #catalog .mobile-shop-filters {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
  }

  #catalog .mobile-filter-title {
    margin: 4px 0 0 !important;
    color: #dfeee5 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
  }

  #catalog .mobile-chip-row {
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto !important;
    padding-bottom: 4px !important;
    width: 100% !important;
    scrollbar-width: none !important;
  }

  #catalog .mobile-chip-row::-webkit-scrollbar {
    display: none !important;
  }

  #catalog .mobile-chip {
    flex: 0 0 auto !important;
    height: 34px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    background: rgba(18, 28, 24, 0.96) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    font-family: inherit !important;
  }

  #catalog .mobile-chip.active {
    background: var(--green) !important;
    color: #102000 !important;
    border-color: var(--green) !important;
  }

  #catalog .catalog-tools .btn {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    height: 46px !important;
    border-radius: 16px !important;
    font-size: 13px !important;
  }

  #catalog .mobile-catalog-info {
    display: flex !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin: 12px 0 !important;
    color: var(--muted) !important;
    font-size: 11px !important;
  }
}
@media (max-width: 768px) {
  #catalog .catalog-tools {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  #catalog .catalog-tools input {
    order: 1 !important;
    width: 100% !important;
  }

  #catalog .mobile-shop-filters {
    order: 2 !important;
    width: 100% !important;
    display: block !important;
  }

  #catalog .mobile-filter-title {
    width: 100% !important;
    margin: 8px 0 8px !important;
    text-align: left !important;
  }

  #catalog .mobile-chip-row {
    width: 100% !important;
    display: flex !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    gap: 8px !important;
  }

  #catalog .catalog-tools .btn {
    order: 3 !important;
    width: 100% !important;
  }

  #catalog .mobile-catalog-info {
    width: 100% !important;
  }
}
@media (max-width: 768px) {
  #catalog .catalog-tools > select {
    display: none !important;
  }

  #catalog .catalog-tools > select#typeFilter,
  #catalog .catalog-tools > select#priceFilter {
    display: none !important;
  }
}
@media (max-width: 768px) {
  #catalog .grid--3 {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  #catalog .work-card {
    display: flex !important;
    flex-direction: column !important;
    min-height: auto !important;
    border-radius: 20px !important;
    overflow: hidden !important;
  }

  #catalog .work-card__image {
    width: 100% !important;
    height: 135px !important;
    border-radius: 20px 20px 0 0 !important;
  }

  #catalog .work-card__image img {
    width: 100% !important;
    height: 135px !important;
    min-height: 135px !important;
    object-fit: cover !important;
    border-radius: 20px 20px 0 0 !important;
  }

  #catalog .work-card__body {
    padding: 12px !important;
  }

  #catalog .work-card__title h3 {
    font-size: 15px !important;
    line-height: 1.12 !important;
  }

  #catalog .work-card__title strong {
    font-size: 14px !important;
    color: var(--green) !important;
  }

  #catalog .work-card__body p {
    display: -webkit-box !important;
    overflow: hidden !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }

  #catalog .work-card__meta {
    font-size: 10px !important;
    gap: 4px !important;
  }

  #catalog .work-card__btn {
    width: 100% !important;
    min-width: 0 !important;
    height: 36px !important;
    font-size: 11px !important;
  }
}
@media (max-width: 768px) {
  #calculator .calc-form {
    max-width: 460px !important;
    padding: 16px !important;
  }

  #calculator .form-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  #calculator .form-grid input,
  #calculator .form-grid select {
    height: 46px !important;
    padding: 0 14px !important;
    border-radius: 16px !important;
    font-size: 13px !important;
  }

  #calculator .form-grid textarea {
    grid-column: 1 / -1 !important;
    min-height: 80px !important;
    padding: 13px 14px !important;
    border-radius: 16px !important;
    font-size: 13px !important;
  }

  #calculator .calc-form .btn {
    height: 48px !important;
    margin-top: 12px !important;
  }
}
@media (max-width: 768px) {
  #calculator .calculator {
    max-width: 430px !important;
  }

  #calculator .calc-form {
    max-width: 430px !important;
    padding: 14px !important;
  }

  #calculator .form-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  #calculator .form-grid input,
  #calculator .form-grid select {
    height: 42px !important;
    padding: 0 12px !important;
    border-radius: 14px !important;
    font-size: 12.5px !important;
  }

  #calculator .form-grid textarea {
    min-height: 68px !important;
    padding: 12px !important;
    border-radius: 14px !important;
    font-size: 12.5px !important;
  }

  #calculator .calc-form .btn {
    height: 44px !important;
    margin-top: 10px !important;
    font-size: 13px !important;
  }
}
@media (max-width: 768px) {
  #calculator .section-title {
    max-width: 390px !important;
    font-size: 29px !important;
    line-height: 1.08 !important;
    letter-spacing: -0.8px !important;
    text-align: left !important;
  }

  #calculator .section-title::first-line {
    white-space: nowrap !important;
  }

  #calculator .section-subtitle {
    max-width: 390px !important;
    font-size: 14px !important;
    line-height: 1.42 !important;
  }

  #calculator .calculator {
    max-width: 405px !important;
    margin: 0 auto !important;
  }

  #calculator .calc-form {
    max-width: 405px !important;
    padding: 12px !important;
    border-radius: 20px !important;
  }

  #calculator .form-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 7px !important;
  }

  #calculator .form-grid input,
  #calculator .form-grid select {
    height: 39px !important;
    padding: 0 11px !important;
    border-radius: 13px !important;
    font-size: 12px !important;
  }

  #calculator .form-grid textarea {
    min-height: 60px !important;
    padding: 10px 11px !important;
    border-radius: 13px !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
  }

  #calculator .calc-form .btn {
    height: 42px !important;
    margin-top: 9px !important;
    font-size: 12.5px !important;
  }

  #calculator .calc-result {
    max-width: 405px !important;
    padding: 14px !important;
    border-radius: 20px !important;
  }
}
@media (max-width: 768px) {
  #calculator .section-title {
    max-width: 440px !important;
    width: 100% !important;
    font-size: 27px !important;
    line-height: 1.05 !important;
    letter-spacing: -0.8px !important;
  }

  #calculator .calculator {
    max-width: 380px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #calculator .calc-form {
    max-width: 380px !important;
    padding: 12px !important;
    border-radius: 20px !important;
  }

  #calculator .form-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  #calculator .form-full {
    grid-column: 1 / -1 !important;
  }

  #calculator .form-grid input,
  #calculator .form-grid select {
    height: 40px !important;
    padding: 0 12px !important;
    border-radius: 13px !important;
    font-size: 12px !important;
  }

  #calculator .form-grid textarea {
    min-height: 58px !important;
    padding: 10px 12px !important;
    border-radius: 13px !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
  }

  #calculator .calc-form .btn {
    height: 42px !important;
    margin-top: 9px !important;
    font-size: 12.5px !important;
  }
}
@media (max-width: 768px) {
  #calculator {
    padding-top: 34px !important;
  }

  #calculator .section-top {
    text-align: center !important;
    margin-bottom: 18px !important;
  }

  #calculator .section-label {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #calculator .section-title {
    max-width: 360px !important;
    margin: 0 auto 10px !important;
    font-size: 26px !important;
    line-height: 1.08 !important;
    letter-spacing: -0.6px !important;
    text-align: center !important;
  }

  #calculator .section-subtitle {
    max-width: 340px !important;
    margin: 0 auto !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    text-align: center !important;
  }

  #calculator .calculator {
    max-width: 340px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    gap: 14px !important;
  }

  #calculator .calc-form {
    max-width: 340px !important;
    padding: 12px !important;
    border-radius: 20px !important;
  }

  #calculator .form-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  #calculator .form-full {
    grid-column: 1 / -1 !important;
  }

  #calculator .form-grid input,
  #calculator .form-grid select {
    height: 38px !important;
    padding: 0 11px !important;
    border-radius: 13px !important;
    font-size: 12px !important;
  }

  #calculator .form-grid textarea {
    min-height: 52px !important;
    padding: 9px 11px !important;
    border-radius: 13px !important;
    font-size: 11.5px !important;
    line-height: 1.25 !important;
  }

  #calculator .calc-form .btn {
    height: 40px !important;
    margin-top: 8px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
  }

  #calculator .calc-result {
    max-width: 340px !important;
    padding: 14px !important;
    border-radius: 20px !important;
  }
}
@media (max-width: 768px) {
  #calculator .calculator,
  #calculator .calc-form,
  #calculator .calc-result {
    max-width: 320px !important;
  }

  #calculator .calc-form {
    padding: 10px !important;
    border-radius: 18px !important;
  }

  #calculator .form-grid {
    gap: 7px !important;
  }

  #calculator .form-grid input,
  #calculator .form-grid select {
    height: 36px !important;
    padding: 0 10px !important;
    border-radius: 12px !important;
    font-size: 11.5px !important;
  }

  #calculator .form-grid textarea {
    min-height: 48px !important;
    padding: 8px 10px !important;
    border-radius: 12px !important;
    font-size: 11.5px !important;
  }

  #calculator .calc-form .btn {
    height: 38px !important;
    margin-top: 7px !important;
  }
}
@media (max-width: 768px) {
  #calculator .calc-result {
    order: -1 !important;
    max-width: 320px !important;
    margin: 0 auto 10px !important;
    padding: 12px 14px !important;
    border-radius: 18px !important;
  }

  #calculator .calc-result .section-label {
    display: none !important;
  }

  #calculator .calc-result h3 {
    margin: 0 0 6px !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
  }

  #calculator .result-price {
    display: block !important;
    margin: 0 0 6px !important;
    font-size: 18px !important;
    line-height: 1.15 !important;
  }

  #calculator .calc-result p {
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  #calculator .calc-result small {
    display: none !important;
  }
}
@media (max-width: 768px) {
  #calculator .calc-result {
    display: none !important;
  }
}
@media (max-width: 768px) {
  #contacts {
    padding-top: 28px !important;
    padding-bottom: 32px !important;
  }

  #contacts .cta {
    max-width: 330px !important;
    margin: 0 auto !important;
    padding: 14px 16px !important;
    border-radius: 18px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  #contacts .cta h2 {
    margin: 0 0 6px !important;
    font-size: 20px !important;
    line-height: 1.12 !important;
    letter-spacing: -0.4px !important;
  }

  #contacts .cta p {
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
  }

  #contacts .cta-form {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  #contacts .cta-form input {
    width: 100% !important;
    height: 38px !important;
    padding: 0 12px !important;
    border-radius: 14px !important;
    font-size: 12px !important;
  }

  #contacts .cta-form .btn {
    width: 100% !important;
    height: 40px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
  }
}
@media (max-width: 768px) {
  .footer {
    padding: 28px 0 18px !important;
  }

  .footer__grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 22px 18px !important;
  }

  .footer__grid > div:first-child {
    grid-column: 1 / -1 !important;
  }

  .footer__grid > div:first-child p {
    max-width: 360px !important;
    margin-top: 12px !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  .footer h4 {
    margin: 0 0 10px !important;
    font-size: 16px !important;
  }

  .footer p,
  .footer a {
    font-size: 13px !important;
    line-height: 1.65 !important;
  }

  .copyright {
    margin-top: 22px !important;
    padding-top: 16px !important;
    font-size: 11px !important;
  }
}
@media (max-width: 768px) {
  .footer__grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
  }

  .footer__grid > div:first-child {
    grid-column: 1 / -1 !important;
  }

  .footer__grid > div:nth-child(3) {
    display: none !important;
  }

  .footer__grid > div:nth-child(2) {
    grid-column: 1 / 2 !important;
  }

  .footer__grid > div:nth-child(4) {
    grid-column: 2 / 3 !important;
  }

  .footer h4 {
    font-size: 15px !important;
    margin-bottom: 8px !important;
  }

  .footer p,
  .footer a {
    font-size: 12.5px !important;
    line-height: 1.55 !important;
  }

  .footer__grid > div:first-child p {
    font-size: 12.5px !important;
    line-height: 1.45 !important;
    max-width: 100% !important;
  }
}
@media (max-width: 768px) {
  #contacts .cta {
    max-width: 400px !important;
    width: calc(100% - 54px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
/* =========================================================
   MOBILE SERVICE PAGES — ЕДИНЫЙ СТИЛЬ ДЛЯ БЫТОВОК / ХОЗБЛОКОВ / ДОМОВ
   ========================================================= */

@media (max-width: 768px) {
  .service-hero {
    padding-top: 105px !important;
    padding-bottom: 34px !important;
  }

  .service-hero .container,
  .service-page .container,
  .service-section .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .service-hero__grid,
  .service-hero__content,
  .service-hero__info {
    display: block !important;
  }

  .service-hero__image,
  .service-hero img,
  #heroImage {
    width: 100% !important;
    height: 235px !important;
    object-fit: cover !important;
    border-radius: 24px !important;
  }

  .service-hero__media {
    margin-bottom: 24px !important;
    padding: 10px !important;
    border-radius: 28px !important;
    border: 1px solid rgba(142, 230, 0, 0.45) !important;
    box-shadow:
      0 0 18px rgba(142, 230, 0, 0.28),
      0 0 48px rgba(142, 230, 0, 0.14) !important;
  }

  #pageType {
    margin-bottom: 12px !important;
    font-size: 12px !important;
    color: rgba(215, 228, 218, 0.62) !important;
  }

  #pageTitle,
  .service-hero h1 {
    margin: 0 0 14px !important;
    font-size: 38px !important;
    line-height: 1.02 !important;
    letter-spacing: -1.2px !important;
  }

  #pageAccent {
    display: inline !important;
  }

  #pageIntro,
  .service-hero__text {
    margin: 0 0 20px !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
  }

  .service-hero .btn,
  .service-hero__buttons .btn {
    width: 100% !important;
    height: 50px !important;
    margin-top: 10px !important;
    justify-content: center !important;
    border-radius: 999px !important;
    font-size: 14px !important;
  }

  .service-section,
  .section {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }

  .service-section .section-label,
  .service-page .section-label {
    display: inline-flex !important;
    width: fit-content !important;
    padding: 6px 12px !important;
    margin-bottom: 12px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
  }

  #whatTitle,
  #insideTitle,
  #examplesTitle,
  .service-section .section-title {
    margin: 0 0 14px !important;
    font-size: 32px !important;
    line-height: 1.05 !important;
    letter-spacing: -0.9px !important;
  }

  #whatParagraphs p,
  .service-section p,
  .section-subtitle {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  #insideList {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 16px 0 0 !important;
    list-style: none !important;
  }

  #insideList li {
    padding: 11px 12px !important;
    border-radius: 16px !important;
    background: rgba(17, 28, 24, 0.94) !important;
    border: 1px solid rgba(255, 255, 255, 0.11) !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
  }

  #benefitsGrid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  #benefitsGrid .card {
    min-height: 145px !important;
    padding: 14px !important;
    border-radius: 20px !important;
  }

  #benefitsGrid .card__icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 15px !important;
  }

  #benefitsGrid h3 {
    margin: 18px 0 6px !important;
    font-size: 16px !important;
    line-height: 1.15 !important;
  }

  #benefitsGrid p {
    font-size: 11.5px !important;
    line-height: 1.35 !important;
  }

  #projectCards {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  .examples-slider-controls {
    display: none !important;
  }

  .example-card {
    min-width: 0 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
  }

  .example-card__image {
    height: 135px !important;
  }

  .example-card__image img {
    width: 100% !important;
    height: 135px !important;
    object-fit: cover !important;
  }

  .example-card__body {
    padding: 12px !important;
  }

  .example-card__body h3 {
    margin: 0 0 7px !important;
    font-size: 15px !important;
    line-height: 1.15 !important;
  }

  .example-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    margin-bottom: 7px !important;
  }

  .meta-pill {
    padding: 4px 7px !important;
    border-radius: 999px !important;
    font-size: 9.5px !important;
  }

  .example-price {
    display: block !important;
    margin: 0 0 9px !important;
    color: var(--green) !important;
    font-size: 14px !important;
  }

  .example-card .btn {
    width: 100% !important;
    height: 34px !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
  }

  #projectDetail,
  .project-detail {
    margin-top: 24px !important;
    padding: 14px !important;
    border-radius: 22px !important;
  }

  #detailImage {
    width: 100% !important;
    height: 230px !important;
    object-fit: cover !important;
    border-radius: 18px !important;
  }

  #detailType {
    display: inline-flex !important;
    width: fit-content !important;
    margin-top: 14px !important;
    padding: 6px 12px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
  }

  #detailTitle {
    margin: 14px 0 10px !important;
    font-size: 30px !important;
    line-height: 1.05 !important;
    letter-spacing: -0.8px !important;
  }

  #detailDescription {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  #detailPrice {
    display: block !important;
    margin: 16px 0 !important;
    color: var(--green) !important;
    font-size: 30px !important;
    line-height: 1 !important;
  }

  .detail-specs,
  .project-detail__specs {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .detail-spec,
  .project-detail__spec {
    padding: 11px 13px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.055) !important;
    font-size: 12px !important;
  }

  #detailIncluded {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 12px 0 0 !important;
    list-style: none !important;
  }

  #detailIncluded li {
    padding: 10px 12px !important;
    border-radius: 14px !important;
    background: rgba(17, 28, 24, 0.94) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
  }
}
@media (max-width: 768px) {
  #projectCards {
    align-items: start !important;
  }

  #projectCards .example-card {
    min-height: auto !important;
    height: auto !important;
  }

  #projectCards .example-card__image {
    height: 120px !important;
  }

  #projectCards .example-card__image img {
    height: 120px !important;
  }

  #projectCards .example-card__body {
    padding: 10px !important;
  }

  #projectCards .example-card__body h3 {
    font-size: 14px !important;
    margin-bottom: 6px !important;
  }

  #projectCards .example-meta {
    margin-bottom: 6px !important;
  }

  #projectCards .example-price {
    margin-bottom: 8px !important;
    font-size: 13px !important;
  }

  #projectCards .example-card .btn {
    height: 32px !important;
  }
}
@media (max-width: 768px) {
  #projectCards {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 0 0 10px !important;
    scroll-snap-type: x mandatory !important;
    align-items: stretch !important;
    scrollbar-width: none !important;
  }

  #projectCards::-webkit-scrollbar {
    display: none !important;
  }

  #projectCards .example-card {
    flex: 0 0 78% !important;
    width: 78% !important;
    min-width: 78% !important;
    max-width: 78% !important;
    height: auto !important;
    min-height: 0 !important;
    scroll-snap-align: start !important;
  }

  #projectCards .example-card__image {
    height: 140px !important;
  }

  #projectCards .example-card__image img {
    height: 140px !important;
    object-fit: cover !important;
  }

  #projectCards .example-card__body {
    padding: 12px !important;
  }

  #projectCards .example-card__body h3 {
    font-size: 16px !important;
    line-height: 1.15 !important;
  }

  #projectCards .example-card .btn {
    height: 36px !important;
  }
}
@media (max-width: 768px) {
  #projectDetail {
    max-width: 360px !important;
    max-height: 620px !important;
    overflow-y: auto !important;
    margin: 20px auto 0 !important;
    padding: 12px !important;
    border-radius: 22px !important;
    background: rgba(9, 14, 12, 0.98) !important;
    scrollbar-width: thin !important;
  }

  #projectDetail::-webkit-scrollbar {
    width: 4px !important;
  }

  #projectDetail::-webkit-scrollbar-thumb {
    background: rgba(142, 230, 0, 0.5) !important;
    border-radius: 999px !important;
  }

  #detailImage {
    width: 100% !important;
    height: 180px !important;
    object-fit: cover !important;
    border-radius: 18px !important;
    margin-bottom: 12px !important;
  }

  #detailType {
    margin: 0 0 10px !important;
    padding: 5px 11px !important;
    font-size: 10px !important;
    border-radius: 999px !important;
  }

  #detailTitle {
    margin: 0 0 10px !important;
    font-size: 28px !important;
    line-height: 1.02 !important;
  }

  #detailDescription {
    margin-bottom: 12px !important;
    font-size: 13px !important;
    line-height: 1.42 !important;
  }

  #detailPrice {
    margin: 0 0 14px !important;
    font-size: 34px !important;
    line-height: 1 !important;
  }

  .detail-specs,
  .project-detail__specs {
    gap: 7px !important;
    margin-bottom: 14px !important;
  }

  .detail-spec,
  .project-detail__spec {
    padding: 10px 12px !important;
    border-radius: 14px !important;
    font-size: 11.5px !important;
  }

  #detailIncludedTitle {
    margin-bottom: 10px !important;
    font-size: 24px !important;
    line-height: 1.05 !important;
  }

  #detailIncluded {
    gap: 7px !important;
  }

  #detailIncluded li {
    padding: 10px 12px !important;
    border-radius: 14px !important;
    font-size: 11.5px !important;
    line-height: 1.35 !important;
  }

  #projectDetail .btn,
  #projectDetail button {
    height: 40px !important;
    font-size: 12px !important;
    border-radius: 999px !important;
  }
}
@media (max-width: 768px) {
  #projectDetail {
    display: grid !important;
    grid-template-columns: 42% 58% !important;
    gap: 12px !important;
    max-width: 440px !important;
    max-height: 520px !important;
    overflow-y: auto !important;
    padding: 12px !important;
    border-radius: 22px !important;
  }

  #detailImage {
    grid-column: 1 / 2 !important;
    grid-row: 1 / 7 !important;
    width: 100% !important;
    height: 210px !important;
    object-fit: cover !important;
    border-radius: 18px !important;
    position: sticky !important;
    top: 0 !important;
  }

  #detailType,
  #detailTitle,
  #detailDescription,
  #detailPrice,
  .detail-specs,
  .project-detail__specs,
  #detailIncluded,
  #detailIncludedTitle {
    grid-column: 2 / 3 !important;
  }

  #detailType {
    margin: 0 0 6px !important;
    font-size: 9px !important;
    padding: 5px 9px !important;
  }

  #detailTitle {
    margin: 0 0 7px !important;
    font-size: 20px !important;
    line-height: 1.05 !important;
  }

  #detailDescription {
    margin: 0 0 8px !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
  }

  #detailPrice {
    margin: 0 0 9px !important;
    font-size: 22px !important;
  }

  .detail-specs,
  .project-detail__specs {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  .detail-spec,
  .project-detail__spec {
    padding: 8px 10px !important;
    border-radius: 12px !important;
    font-size: 10.5px !important;
  }

  #detailIncludedTitle {
    margin: 10px 0 8px !important;
    font-size: 20px !important;
    line-height: 1.05 !important;
  }

  #detailIncluded li {
    padding: 8px 10px !important;
    font-size: 10.5px !important;
  }
}
@media (max-width: 768px) {
  #projectDetail {
    display: block !important;
    max-width: 360px !important;
    max-height: 560px !important;
    overflow-y: auto !important;
    margin: 20px auto 0 !important;
    padding: 12px !important;
    border-radius: 22px !important;
  }

  #detailImage {
    display: block !important;
    width: 100% !important;
    height: 190px !important;
    object-fit: cover !important;
    border-radius: 18px !important;
    margin: 0 0 12px !important;
    position: static !important;
  }

  #detailType {
    display: inline-flex !important;
    margin: 0 0 10px !important;
    padding: 5px 11px !important;
    border-radius: 999px !important;
    font-size: 10px !important;
  }

  #detailTitle {
    margin: 0 0 8px !important;
    font-size: 26px !important;
    line-height: 1.05 !important;
    letter-spacing: -0.7px !important;
  }

  #detailDescription {
    display: -webkit-box !important;
    overflow: hidden !important;
    margin: 0 0 12px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
  }

  #detailPrice {
    display: block !important;
    margin: 0 0 14px !important;
    color: var(--green) !important;
    font-size: 30px !important;
    line-height: 1 !important;
  }

  .detail-specs,
  .project-detail__specs {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 7px !important;
    margin-bottom: 14px !important;
  }

  .detail-spec,
  .project-detail__spec {
    padding: 9px 12px !important;
    border-radius: 14px !important;
    font-size: 12px !important;
  }

  #detailIncludedTitle {
    margin: 14px 0 10px !important;
    font-size: 24px !important;
    line-height: 1.05 !important;
  }

  #detailIncluded {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 7px !important;
  }

  #detailIncluded li {
    padding: 9px 12px !important;
    border-radius: 14px !important;
    font-size: 11.5px !important;
    line-height: 1.35 !important;
  }
}
@media (max-width: 768px) {
  #projectDetail {
    max-width: 330px !important;
    max-height: 460px !important;
    overflow-y: auto !important;
    padding: 10px !important;
    border-radius: 20px !important;
  }

  #detailImage {
    height: 150px !important;
    border-radius: 16px !important;
    margin-bottom: 10px !important;
  }

  #detailTitle {
    font-size: 22px !important;
    margin-bottom: 7px !important;
  }

  #detailDescription {
    font-size: 12px !important;
    line-height: 1.35 !important;
    -webkit-line-clamp: 2 !important;
    margin-bottom: 10px !important;
  }

  #detailPrice {
    font-size: 26px !important;
    margin-bottom: 10px !important;
  }

  .detail-spec,
  .project-detail__spec,
  #detailIncluded li {
    padding: 8px 10px !important;
    font-size: 11px !important;
  }

  #detailIncludedTitle {
    font-size: 21px !important;
  }
}
@media (max-width: 768px) {
  .detail-specs,
  .project-detail__specs {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 7px !important;
  }

  .detail-spec,
  .project-detail__spec {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    padding: 8px 9px !important;
    border-radius: 13px !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
  }

  .detail-spec span,
  .project-detail__spec span {
    font-size: 10px !important;
    line-height: 1.15 !important;
    opacity: 0.7 !important;
  }

  .detail-spec strong,
  .project-detail__spec strong {
    font-size: 11px !important;
    line-height: 1.15 !important;
    text-align: left !important;
  }

  #detailIncludedTitle {
    margin-top: 12px !important;
  }

  #detailIncluded li {
    font-size: 10.5px !important;
    line-height: 1.3 !important;
  }
}
@media (max-width: 768px) {
  .detail-specs,
  .project-detail__specs {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 7px !important;
  }

  .detail-spec,
  .project-detail__spec {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 4px !important;
    min-height: 58px !important;
    padding: 8px 10px !important;
    border-radius: 13px !important;
  }

  .detail-spec span,
  .project-detail__spec span {
    display: block !important;
    font-size: 10px !important;
    line-height: 1.15 !important;
    color: rgba(215, 228, 218, 0.68) !important;
  }

  .detail-spec strong,
  .project-detail__spec strong {
    display: block !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
    text-align: left !important;
    color: #ffffff !important;
  }

  #detailIncludedTitle {
    margin-top: 12px !important;
    font-size: 20px !important;
  }

  #detailIncluded {
    margin-top: 8px !important;
  }

  #detailIncluded li {
    font-size: 10.5px !important;
    line-height: 1.3 !important;
  }
}
@media (max-width: 768px) {
  .detail-specs,
  .project-detail__specs {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .detail-spec,
  .project-detail__spec {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    min-height: 54px !important;
    padding: 10px 12px !important;
    border-radius: 14px !important;
  }

  .detail-spec span,
  .project-detail__spec span {
    font-size: 11px !important;
    line-height: 1.15 !important;
    color: rgba(215, 228, 218, 0.68) !important;
    white-space: nowrap !important;
  }

  .detail-spec strong,
  .project-detail__spec strong {
    font-size: 12px !important;
    line-height: 1.15 !important;
    text-align: right !important;
    max-width: 60% !important;
    color: #ffffff !important;
  }

  .detail-spec:nth-child(3),
  .project-detail__spec:nth-child(3),
  .detail-spec:nth-child(4),
  .project-detail__spec:nth-child(4) {
    grid-column: span 2 !important;
  }
}
@media (max-width: 768px) {
  .detail-specs,
  .project-detail__specs {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .detail-spec,
  .project-detail__spec {
    grid-column: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    min-height: 64px !important;
    padding: 10px 11px !important;
    border-radius: 14px !important;
  }

  .detail-spec span,
  .project-detail__spec span {
    display: block !important;
    margin-bottom: 5px !important;
    font-size: 10.5px !important;
    line-height: 1.15 !important;
    color: rgba(215, 228, 218, 0.68) !important;
    white-space: normal !important;
  }

  .detail-spec strong,
  .project-detail__spec strong {
    display: block !important;
    max-width: 100% !important;
    font-size: 11.5px !important;
    line-height: 1.18 !important;
    text-align: left !important;
    color: #ffffff !important;
    white-space: normal !important;
  }

  .detail-spec:nth-child(1),
  .project-detail__spec:nth-child(1) {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
  }

  .detail-spec:nth-child(2),
  .project-detail__spec:nth-child(2) {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
  }

  .detail-spec:nth-child(3),
  .project-detail__spec:nth-child(3) {
    grid-column: 1 / 2 !important;
    grid-row: 2 !important;
  }

  .detail-spec:nth-child(4),
  .project-detail__spec:nth-child(4) {
    grid-column: 2 / 3 !important;
    grid-row: 2 !important;
  }
}
@media (max-width: 768px) {
  #detailDescription {
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    font-size: 11.5px !important;
    line-height: 1.32 !important;
    margin-bottom: 9px !important;
  }

  .detail-specs,
  .project-detail__specs {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    margin-bottom: 10px !important;
  }

  .detail-spec,
  .project-detail__spec {
    min-height: 46px !important;
    padding: 7px 8px !important;
    border-radius: 12px !important;
  }

  .detail-spec span,
  .project-detail__spec span {
    margin-bottom: 3px !important;
    font-size: 9px !important;
    line-height: 1.05 !important;
  }

  .detail-spec strong,
  .project-detail__spec strong {
    font-size: 9.5px !important;
    line-height: 1.08 !important;
  }

  #detailPrice {
    margin-bottom: 9px !important;
  }
}  
@media (max-width: 768px) {
  #detailIncludedTitle {
    text-align: center !important;
    font-size: 24px !important;
    line-height: 1.1 !important;
    margin: 12px auto 10px !important;
  }

  #detailIncluded li {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    text-align: center !important;
    min-height: 34px !important;
  }
}
@media (max-width: 768px) {
  #detailIncludedTitle {
    white-space: nowrap !important;
    text-align: center !important;
    font-size: 22px !important;
    line-height: 1 !important;
    margin: 12px auto 10px !important;
  }
}
@media (max-width: 768px) {
  #detailIncludedTitle {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    white-space: nowrap !important;
    font-size: 24px !important;
    line-height: 1 !important;
    letter-spacing: -0.8px !important;
    text-align: center !important;
    margin: 12px 0 10px !important;
  }
}
@media (max-width: 768px) {
  #detailIncludedTitle {
    white-space: nowrap !important;
    text-align: center !important;
  }
}
@media (max-width: 768px) {
  .mobile-detail-included-title {
    white-space: nowrap !important;
    font-size: 20px !important;
    line-height: 1.05 !important;
    letter-spacing: -0.6px !important;
    text-align: left !important;
  }
}
@media (max-width: 768px) {
  .detail-spec,
  .project-detail__spec {
    min-height: 42px !important;
    padding: 7px 9px !important;
    border-radius: 12px !important;
  }

  .detail-spec span,
  .project-detail__spec span {
    font-size: 9px !important;
    line-height: 1 !important;
  }

  .detail-spec strong,
  .project-detail__spec strong {
    font-size: 9.5px !important;
    line-height: 1.05 !important;
  }

  #detailIncludedTitle,
  .mobile-detail-included-title {
    text-align: center !important;
    margin: 8px auto 8px !important;
  }
}
@media (max-width: 768px) {
  .service-hero {
    min-height: auto !important;
    padding-top: 100px !important;
    padding-bottom: 32px !important;
    overflow: visible !important;
  }

  .service-hero__content,
  .service-hero__info {
    max-height: none !important;
    overflow: visible !important;
  }

  #pageIntro {
    display: block !important;
    max-height: none !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
  }

  .service-hero::after {
    display: none !important;
  }

  .service-section {
    margin-top: 0 !important;
    padding-top: 34px !important;
  }
}
@media (max-width: 768px) {
  .service-hero {
    background-image: none !important;
    background: #020605 !important;
  }

  .service-hero::before,
  .service-hero::after {
    display: none !important;
    content: none !important;
  }

  .service-section,
  .service-page section,
  main section {
    background: #020605 !important;
  }

  .service-section::before,
  .service-section::after,
  .service-page section::before,
  .service-page section::after {
    display: none !important;
    content: none !important;
  }
}
@media (max-width: 768px) {
  #what,
  #about,
  .service-about,
  .service-info,
  .service-text,
  .service-section:has(#whatTitle),
  section:has(#whatTitle) {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .service-hero {
    padding-top: 96px !important;
    padding-bottom: 28px !important;
  }

  .service-hero__grid {
    display: flex !important;
    flex-direction: column !important;
  }

  .service-hero__content {
    display: flex !important;
    flex-direction: column !important;
  }

  #pageType {
    order: 1 !important;
    margin: 0 0 8px !important;
    font-size: 12px !important;
  }

  #pageTitle {
    order: 2 !important;
    margin: 0 0 14px !important;
    font-size: 34px !important;
    line-height: 1.05 !important;
  }

  .service-hero__media,
  #heroImage {
    order: 3 !important;
  }

  .service-hero__media {
    margin: 0 0 18px !important;
  }

  #heroImage {
    height: 230px !important;
    object-fit: cover !important;
    border-radius: 24px !important;
  }

  #pageIntro {
    order: 4 !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
  }
}
@media (max-width: 768px) {
  #calculator .form-grid select,
  #calculator .form-full,
  #calculator select.form-full,
  #calculator #calcProject,
  #calculator #calcType {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;
  }

  #calculator .form-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  #calculator .form-grid input {
    height: 40px !important;
  }

  #calculator .form-grid textarea {
    grid-column: 1 / -1 !important;
  }
}
@media (max-width: 768px) {
  #calculator .calc-form select[name="type"],
  #calculator .calc-form select[name="service"],
  #calculator .calc-form #calcType,
  #calculator .calc-form #formServiceName,
  #calculator .calc-form select:first-of-type {
    display: block !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
  }
}
@media (max-width: 768px) {
  #contacts .cta h2 {
    font-size: 22px !important;
    line-height: 1.15 !important;
  }

  #contacts .cta h2 {
    font-size: 0 !important;
  }

  #contacts .cta h2::before {
    content: "Хотите сейчас связаться?";
    font-size: 22px !important;
    line-height: 1.15 !important;
  }

  #contacts .cta p,
  #contacts .cta-form input {
    display: none !important;
  }

  #contacts .cta-form .btn {
    font-size: 0 !important;
  }

  #contacts .cta-form .btn::before {
    content: "Позвонить →";
    font-size: 13px !important;
  }

  #contacts .cta-form .btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}
@media (max-width: 768px) {
  #contacts .cta > div {
    display: none !important;
  }

  #contacts .cta {
    max-width: 320px !important;
    width: calc(100% - 40px) !important;
    padding: 14px !important;
    border-radius: 18px !important;
  }

  #contacts .cta-form input {
    display: none !important;
  }

  #contacts .cta-form .btn {
    width: 100% !important;
    height: 42px !important;
    border-radius: 999px !important;
    font-size: 0 !important;
  }

  #contacts .cta-form .btn::before {
    content: "Позвонить";
    font-size: 14px !important;
  }
}
@media (max-width: 768px) {
  #home.hero {
    background-image:
      linear-gradient(
        90deg,
        rgba(3, 8, 7, 0.98) 0%,
        rgba(3, 8, 7, 0.78) 42%,
        rgba(3, 8, 7, 0.42) 100%
      ),
      url("/images/hero-bg.png") !important;

    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    background-color: #020605 !important;
  }

  #home.hero::before {
    display: block !important;
    content: "" !important;
  }
}
@media (max-width: 768px) {
  .mobile-call-btn {
    max-width: 220px !important;
    height: 40px !important;
    font-size: 13px !important;
  }

  .mobile-call-section {
    padding: 6px 0 22px !important;
  }
}
.mobile-call-section {
  display: none;
}

@media (max-width: 768px) {
  .mobile-call-section {
    display: flex !important;
    justify-content: center !important;
    padding: 14px 16px 28px !important;
    background: #020605 !important;
  }

  .mobile-call-box {
    width: 100% !important;
    max-width: 360px !important;
    padding: 12px !important;
    border-radius: 18px !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    background: rgba(3, 8, 7, 0.75) !important;
    box-shadow: 0 0 22px rgba(142, 230, 0, 0.18) !important;
  }

  .mobile-call-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 52px !important;
    border-radius: 16px !important;
    background: var(--green) !important;
    color: #102000 !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
  }
}
#mobileCallOnly {
  display: none;
}

@media (max-width: 768px) {
  #mobileCallOnly {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 16px 20px 30px !important;
    background: #020605 !important;
  }

  #mobileCallBox {
    width: 100% !important;
    max-width: 430px !important;
    padding: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.55) !important;
    border-radius: 18px !important;
    background: rgba(3, 8, 7, 0.82) !important;
    box-shadow:
      0 0 18px rgba(142, 230, 0, 0.18),
      inset 0 0 14px rgba(255, 255, 255, 0.04) !important;
  }

  #mobileCallButton {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 56px !important;
    border-radius: 16px !important;
    background: #8ee600 !important;
    color: #102000 !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    box-shadow:
      0 0 18px rgba(142, 230, 0, 0.35),
      0 10px 26px rgba(0, 0, 0, 0.35) !important;
  }
}
@media (max-width: 768px) {
  #contacts {
    display: none !important;
  }
}
@media (max-width: 768px) {
  #mobileCallOnly {
    padding-top: 46px !important;
    padding-bottom: 56px !important;
  }

  #mobileCallBox {
    margin-top: 12px !important;
    margin-bottom: 12px !important;
  }
}
@media (max-width: 768px) {
  #process .grid,
  #process .grid--4 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  #process .process-card {
    min-height: 155px !important;
    padding: 13px !important;
    border-radius: 18px !important;
  }

  #process .process-card .card__icon {
    width: 34px !important;
    height: 34px !important;
    font-size: 14px !important;
  }

  #process .process-card__number {
    top: 13px !important;
    right: 12px !important;
    font-size: 30px !important;
  }

  #process .process-card h3 {
    margin-top: 28px !important;
    margin-bottom: 6px !important;
    font-size: 17px !important;
    line-height: 1.1 !important;
  }

  #process .process-card p {
    font-size: 11px !important;
    line-height: 1.28 !important;
  }
}
@media (max-width: 768px) {
  #process .grid,
  #process .grid--4 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  #process .process-card {
    min-height: 175px !important;
    padding: 18px !important;
    border-radius: 22px !important;
  }

  #process .process-card .card__icon {
    width: 42px !important;
    height: 42px !important;
    margin-bottom: 22px !important;
    font-size: 16px !important;
  }

  #process .process-card__number {
    top: 22px !important;
    right: 18px !important;
    font-size: 34px !important;
  }

  #process .process-card h3 {
    margin: 0 0 8px !important;
    font-size: 18px !important;
    line-height: 1.12 !important;
  }

  #process .process-card p {
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
  }
}
@media (max-width: 768px) {
  .mobile-process-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }

  .mobile-process-grid .process-card {
    min-height: 175px !important;
    padding: 18px !important;
    border-radius: 22px !important;
  }

  .mobile-process-grid .card__icon {
    width: 42px !important;
    height: 42px !important;
    margin-bottom: 22px !important;
    font-size: 16px !important;
  }

  .mobile-process-grid .process-card__number {
    top: 22px !important;
    right: 18px !important;
    font-size: 34px !important;
  }

  .mobile-process-grid .process-card h3 {
    margin: 0 0 8px !important;
    font-size: 18px !important;
    line-height: 1.12 !important;
  }

  .mobile-process-grid .process-card p {
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
  }
}
@media (max-width: 768px) {
  .mobile-process-grid {
    gap: 10px !important;
  }

  .mobile-process-grid .process-card {
    min-height: 135px !important;
    padding: 13px !important;
    border-radius: 18px !important;
  }

  .mobile-process-grid .card__icon {
    width: 34px !important;
    height: 34px !important;
    margin-bottom: 18px !important;
    font-size: 14px !important;
  }

  .mobile-process-grid .process-card__number {
    top: 16px !important;
    right: 14px !important;
    font-size: 28px !important;
  }

  .mobile-process-grid .process-card h3 {
    margin-bottom: 6px !important;
    font-size: 15px !important;
  }

  .mobile-process-grid .process-card p {
    font-size: 10.5px !important;
    line-height: 1.28 !important;
  }
}
@media (max-width: 768px) {
  #catalog .grid--3 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    align-items: stretch !important;
  }

  #catalog .work-card {
    height: 100% !important;
    min-height: 392px !important;
    display: flex !important;
    flex-direction: column !important;
  }

  #catalog .work-card__image,
  #catalog .work-card__image img {
    height: 150px !important;
    min-height: 150px !important;
  }

  #catalog .work-card__body {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 12px !important;
  }

  #catalog .work-card__title h3 {
    min-height: 38px !important;
  }

  #catalog .work-card__body p {
    min-height: 44px !important;
    max-height: 44px !important;
  }

  #catalog .work-card__meta {
    min-height: 28px !important;
    margin-top: auto !important;
    margin-bottom: 10px !important;
  }

  #catalog .work-card__btn {
    margin-top: 0 !important;
    width: 100% !important;
    height: 38px !important;
  }
}
@media (max-width: 768px) {
  #catalog .grid--3 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  #catalog .work-card {
    min-height: 245px !important;
    height: 245px !important;
    border-radius: 18px !important;
  }

  #catalog .work-card__image,
  #catalog .work-card__image img {
    height: 105px !important;
    min-height: 105px !important;
    border-radius: 18px 18px 0 0 !important;
  }

  #catalog .work-card__body {
    height: 140px !important;
    padding: 9px !important;
  }

  #catalog .work-card__tag {
    top: 8px !important;
    left: 8px !important;
    padding: 4px 8px !important;
    font-size: 8px !important;
  }

  #catalog .work-card__title h3 {
    min-height: 30px !important;
    margin-bottom: 3px !important;
    font-size: 12.5px !important;
    line-height: 1.1 !important;
  }

  #catalog .work-card__title strong {
    margin-bottom: 5px !important;
    font-size: 12px !important;
  }

  #catalog .work-card__body p {
    min-height: 28px !important;
    max-height: 28px !important;
    margin-bottom: 6px !important;
    font-size: 9.5px !important;
    line-height: 1.2 !important;
    -webkit-line-clamp: 2 !important;
  }

  #catalog .work-card__meta {
    min-height: 18px !important;
    margin-bottom: 7px !important;
    font-size: 8.5px !important;
    gap: 3px !important;
  }

  #catalog .work-card__btn {
    height: 30px !important;
    font-size: 9.5px !important;
    border-radius: 999px !important;
  }
}
@media (max-width: 768px) {
  #catalog .work-card {
    height: 245px !important;
    min-height: 245px !important;
    overflow: hidden !important;
  }

  #catalog .work-card__body {
    height: 140px !important;
    overflow: hidden !important;
    padding: 9px !important;
  }

  #catalog .work-card__body p {
    display: -webkit-box !important;
    min-height: 24px !important;
    max-height: 24px !important;
    overflow: hidden !important;
    margin: 0 0 4px !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }

  #catalog .work-card__meta {
    display: block !important;
    min-height: 13px !important;
    max-height: 13px !important;
    overflow: hidden !important;
    margin: 0 0 5px !important;
    font-size: 8px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }

  #catalog .work-card__meta span:nth-child(2),
  #catalog .work-card__meta span:nth-child(3) {
    display: none !important;
  }

  #catalog .work-card__btn {
    height: 28px !important;
    margin-top: 0 !important;
    font-size: 9px !important;
  }
}
@media (max-width: 768px) {
  .menu.open,
  .menu.active {
    display: flex !important;
    position: fixed !important;
    top: 86px !important;
    left: 16px !important;
    right: 16px !important;
    z-index: 10000 !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
    padding: 22px !important;
    border: 1px solid var(--line) !important;
    border-radius: 24px !important;
    background: rgba(3, 10, 8, 0.96) !important;
    backdrop-filter: blur(18px) !important;
  }
}
@media (max-width: 768px) {
  .menu.open,
  .menu.active {
    max-height: 270px !important;
    overflow: hidden !important;
  }
}
@media (max-width: 768px) {
  #process .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  #process .mobile-process-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
  }

  #process .mobile-process-grid .process-card {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 145px !important;
    padding: 12px !important;
    border-radius: 18px !important;
    overflow: hidden !important;
  }

  #process .mobile-process-grid .card__icon {
    width: 32px !important;
    height: 32px !important;
    margin-bottom: 18px !important;
    font-size: 13px !important;
  }

  #process .mobile-process-grid .process-card__number {
    top: 14px !important;
    right: 12px !important;
    font-size: 28px !important;
  }

  #process .mobile-process-grid .process-card h3 {
    margin: 0 0 6px !important;
    font-size: 16px !important;
    line-height: 1.1 !important;
  }

  #process .mobile-process-grid .process-card p {
    margin: 0 !important;
    font-size: 10.5px !important;
    line-height: 1.25 !important;
  }
}
@media (max-width: 768px) {
  #process {
    width: 100% !important;
    overflow: visible !important;
  }

  #process .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  #process .grid,
  #process .grid--4,
  #process .mobile-process-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  #process .process-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 150px !important;
    padding: 13px !important;
    border-radius: 18px !important;
  }

  #process .process-card .card__icon {
    width: 34px !important;
    height: 34px !important;
    margin-bottom: 18px !important;
    font-size: 14px !important;
  }

  #process .process-card__number {
    top: 14px !important;
    right: 12px !important;
    font-size: 28px !important;
  }

  #process .process-card h3 {
    margin: 0 0 6px !important;
    font-size: 16px !important;
    line-height: 1.1 !important;
  }

  #process .process-card p {
    margin: 0 !important;
    font-size: 10.5px !important;
    line-height: 1.25 !important;
  }
}
@media (max-width: 768px) {
  #process {
    overflow: hidden !important;
  }

  #process .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  #process .mobile-process-grid,
  #process .grid--4 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
  }

  #process .process-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 132px !important;
    padding: 10px !important;
    border-radius: 18px !important;
    overflow: hidden !important;
  }

  #process .process-card .card__icon {
    width: 30px !important;
    height: 30px !important;
    margin-bottom: 22px !important;
    font-size: 12px !important;
  }

  #process .process-card__number {
    top: 12px !important;
    right: 10px !important;
    font-size: 24px !important;
  }

  #process .process-card h3 {
    margin: 0 0 5px !important;
    font-size: 14px !important;
    line-height: 1.05 !important;
  }

  #process .process-card p {
    margin: 0 !important;
    font-size: 9.5px !important;
    line-height: 1.2 !important;
  }
}
@media (max-width: 768px) {
  #process .container {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }

  #process .mobile-process-grid {
    display: grid !important;
    grid-template-columns: repeat(2, calc((100vw - 44px) / 2)) !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: none !important;
  }

  #process .process-card {
    width: 100% !important;
    min-width: 0 !important;
    height: 150px !important;
    min-height: 150px !important;
    padding: 12px !important;
    border-radius: 18px !important;
    box-sizing: border-box !important;
  }

  #process .process-card .card__icon {
    width: 32px !important;
    height: 32px !important;
    margin-bottom: 18px !important;
    font-size: 13px !important;
  }

  #process .process-card__number {
    top: 13px !important;
    right: 12px !important;
    font-size: 26px !important;
  }

  #process .process-card h3 {
    margin: 0 0 5px !important;
    font-size: 15px !important;
    line-height: 1.05 !important;
  }

  #process .process-card p {
    margin: 0 !important;
    font-size: 10px !important;
    line-height: 1.22 !important;
  }
}
@media (max-width: 768px) {
  #catalog .work-card.mobile-hide-card {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .service-hero {
    padding-bottom: 12px !important;
  }

  .service-section,
  .service-page section {
    padding-top: 24px !important;
    padding-bottom: 28px !important;
  }

  #insideList,
  #benefitsGrid,
  #projectCards,
  #projectDetail {
    margin-top: 12px !important;
  }
}
@media (max-width: 768px) {
  .service-hero {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  .service-hero + .section,
  .service-hero + .service-section {
    padding-top: 10px !important;
    margin-top: 0 !important;
  }
}
@media (max-width: 768px) {
  .service-hero {
    padding-top: 86px !important;
  }

  .service-hero__media {
    margin-top: 0 !important;
  }

  .service-hero__grid {
    gap: 0 !important;
  }
}
.logo-img {
  width: 190px;
  height: auto;
  display: block;
  object-fit: contain;
}

.logo {
  display: flex;
  align-items: center;
}
.mobile-call-section {
  display: none !important;
}

@media (max-width: 768px) {
  .mobile-call-section {
    display: flex !important;
    justify-content: center !important;
    padding: 46px 16px 56px !important;
    background: #020605 !important;
  }
}
@media (max-width: 768px) {
  #services .service-strip,
  #services .service-strip--three {
    display: flex !important;
    gap: 16px !important;
    overflow-x: auto !important;
    padding: 18px 0 22px !important;
    scroll-snap-type: x mandatory !important;
  }

  #services .service-card {
    flex: 0 0 82% !important;
    width: 82% !important;
    min-width: 82% !important;
    height: 300px !important;
    min-height: 300px !important;
    border-radius: 24px !important;
    scroll-snap-align: start !important;
    overflow: hidden !important;
  }

  #services .service-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}
@media (max-width: 768px) {
  .hero__buttons {
    margin-bottom: 32px;
  }

  .stats {
    margin-top: 36px;
  }
}
@media (max-width: 768px) {
  #process {
    margin-top: -10px;
  }
}
@media (max-width: 768px) {
  #process {
    scroll-margin-top: 170px;
  }
}

@media (min-width: 769px) {
  #catalog .catalog-tools {
    display: grid !important;
    grid-template-columns: 1.4fr 1fr 1fr auto !important;
    gap: 16px !important;
    align-items: center !important;
  }

  #catalog .catalog-tools input,
  #catalog .catalog-tools select {
    display: block !important;
    width: 100% !important;
    height: 64px !important;
  }

  #catalog .catalog-tools .btn {
    height: 64px !important;
    white-space: nowrap !important;
  }

  #catalog .catalog-tools label,
  #catalog .catalog-tools button:not(.btn),
  #catalog .mobile-shop-filters,
  #catalog .mobile-catalog-info {
    display: none !important;
  }

  #calculator {
    scroll-margin-top: 35px !important;
  }
}
@media (max-width: 768px) {
  #process {
    scroll-margin-top: 155px !important;
  }
}
@media (max-width: 768px) {
  #process {
    padding-top:-30px !important;
    margin-top: -30px !important;
  }
}
@media (max-width: 768px) {
  #catalog {
    scroll-margin-top: 30px !important;
  }
}
@media (max-width: 768px) {
  .footer__grid > div:first-child {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .copyright {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .desktop-call-btn {
    display: none !important;
  }
}
@media (min-width: 769px) {
  #contacts {
    display: none !important;
  }
}
@media (min-width: 769px) {
  body[data-service-page="doma"] #benefitsGrid {
    grid-template-columns: repeat(4, 1fr);
  }

  body[data-service-page="doma"] #benefitsGrid .card:nth-child(5) {
    display: none;
  }
}
/* DESKTOP ONLY — убираем вторую нижнюю линию у карточек услуг */
@media (min-width: 769px) {
  #services .service-card {
    border-bottom: none !important;
    box-shadow:
      0 0 0 1px rgba(142, 230, 0, 0.35),
      0 24px 70px rgba(0, 0, 0, 0.55),
      0 0 34px rgba(142, 230, 0, 0.16) !important;
  }

  #services .service-card::before,
  #services .service-card::after {
    border-bottom: none !important;
    box-shadow: none !important;
  }

  #services .service-card img {
    border-bottom: none !important;
  }
}
/* DESKTOP ONLY — чуть уменьшаем карточки услуг, чтобы убрать нижний лаг */
@media (min-width: 769px) {
  #services .service-strip {
    align-items: start !important;
    padding-bottom: 24px !important;
  }

  #services .service-card {
    height: 380px !important;
    min-height: 380px !important;
    max-height: 380px !important;
  }

  #services .service-card img {
    height: 100% !important;
    object-fit: cover !important;
  }
}
/* MOBILE ONLY — убрать 5-е преимущество "Понятная смета" на странице домов */
@media (max-width: 768px) {
  body[data-service-page="doma"] #benefitsGrid .card:nth-child(5) {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .header,
  .nav,
  .logo,
  .logo-img {
    background: #020806 !important;
    background-image: none !important;
    box-shadow: none !important;
  }

  .logo-img {
    display: block !important;
  }

  .service-page .grid--4,
  .page-service .grid--4,
  body[data-service-page] .grid--4 {
    gap: 16px !important;
  }

  body[data-service-page] .card {
    padding: 20px !important;
    min-height: auto !important;
  }

  .examples-slider,
  .projects-slider,
  .service-projects__slider {
    padding-top: 22px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
  }

  .project-card,
  .example-card,
  .service-project-card {
    transform: none !important;
    margin-top: 0 !important;
  }

  .service-projects,
  .examples-section {
    padding-top: 20px !important;
  }
}
@media (max-width: 768px) {
  .project-card,
  .example-card,
  .service-project-card {
    overflow: hidden !important;
  }

  .project-card img,
  .example-card img,
  .service-project-card img {
    max-width: 100% !important;
    display: block !important;
  }
}
@media (max-width: 768px) {
  .project-card img,
  .example-card img,
  .service-project-card img {
    width: 100% !important;
    height: 180px !important;
    object-fit: cover !important;
    border-radius: 22px 22px 0 0 !important;
  }

  .project-card,
  .example-card,
  .service-project-card {
    overflow: hidden !important;
  }
}
@media (max-width: 768px) {
  .header,
  .nav {
    background: #000000 !important;
    background-image: none !important;
  }

  .logo,
  .logo-img {
    background: #000000 !important;
    box-shadow: none !important;
  }
}
.header,
.nav,
.logo,
.logo-img {
  background: #010403 !important;
  background-image: none !important;
  box-shadow: none !important;
}
@media (max-width: 768px) {
  .project-card img,
  .example-card img,
  .service-project-card img {
    width: calc(100% + 28px) !important;
    max-width: none !important;
    margin-left: -14px !important;
    margin-right: -14px !important;
    height: 190px !important;
    object-fit: cover !important;
  }
}
@media (max-width: 768px) {
  .service-project-card,
  .project-card,
  .example-card {
    overflow: hidden !important;
  }

  .service-project-card img,
  .project-card img,
  .example-card img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
    border-radius: 22px 22px 0 0 !important;
  }
}
@media (max-width: 768px) {
  .service-page .service-project-card,
  .service-page .project-card,
  .service-page .example-card {
    padding: 12px !important;
  }

  .service-page .service-project-card img,
  .service-page .project-card img,
  .service-page .example-card img {
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}
@media (max-width: 768px) {
  .service-examples .work-card,
  .service-examples .project-card,
  .service-examples .example-card,
  .service-examples .service-project-card {
    padding: 14px !important;
  }

  .service-examples .work-card__image,
  .service-examples .project-card__image,
  .service-examples .example-card__image,
  .service-examples .service-project-card__image {
    margin: 0 !important;
    padding: 0 !important;
  }

  .service-examples img {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 18px !important;
    display: block !important;
  }
}
@media (max-width: 768px) {
  #projectCards .card {
    padding: 0 0 18px 0 !important;
    overflow: hidden !important;
  }

  #projectCards .card img {
    width: 100% !important;
    height: 190px !important;
    object-fit: cover !important;
    object-position: center !important;
    margin: 0 !important;
    border-radius: 20px 20px 0 0 !important;
  }

  body[data-service-page="bytovki"] #projectCards .card img {
    object-fit: contain !important;
    background: #07100d !important;
  }

  #projectCards .card h3,
  #projectCards .card p,
  #projectCards .card strong,
  #projectCards .card .btn,
  #projectCards .card div:not(:first-child) {
    margin-left: 18px !important;
    margin-right: 18px !important;
  }

  #projectCards .card .btn {
    width: calc(100% - 36px) !important;
  }
}
@media (max-width: 768px) {
  /* карточки примеров только внутри разделов услуг */
  body[data-service-page] #projectCards .card {
    width: 360px !important;
    max-width: 360px !important;
    padding: 0 0 18px 0 !important;
    overflow: hidden !important;
  }

  body[data-service-page] #projectCards .card h3,
  body[data-service-page] #projectCards .card p,
  body[data-service-page] #projectCards .card strong,
  body[data-service-page] #projectCards .card .btn,
  body[data-service-page] #projectCards .card div:not(:first-child) {
    margin-left: 18px !important;
    margin-right: 18px !important;
    text-align: left !important;
  }

  body[data-service-page] #projectCards .card .btn {
    width: calc(100% - 36px) !important;
    text-align: center !important;
  }

  /* только бытовки: фото без сильного приближения */
  body[data-service-page="bytovki"] #projectCards .card img {
    width: 100% !important;
    height: 185px !important;
    object-fit: contain !important;
    object-position: center !important;
    background: #07100d !important;
    margin: 0 !important;
    border-radius: 20px 20px 0 0 !important;
  }

  /* остальные разделы: фото не трогаем */
}
@media (max-width: 768px) {
  body[data-service-page] #projectCards > * {
    width: 335px !important;
    max-width: 335px !important;
  }

  body[data-service-page] #projectCards > * h3,
  body[data-service-page] #projectCards > * p,
  body[data-service-page] #projectCards > * strong {
    text-align: left !important;
  }

  body[data-service-page] #projectCards > * h3,
  body[data-service-page] #projectCards > * p,
  body[data-service-page] #projectCards > * strong,
  body[data-service-page] #projectCards > * .btn {
    margin-left: 16px !important;
    margin-right: 16px !important;
  }

  body[data-service-page] #projectCards > * .btn {
    width: calc(100% - 32px) !important;
    text-align: center !important;
  }
}
.photo-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  cursor: zoom-out;
}

.photo-overlay img {
  max-width: 92vw;
  max-height: 92vh;
  border-radius: 20px;
}
@media (max-width: 768px) {
  body[data-service-page="bytovki"] #projectCards .card:first-child img {
    width: 100% !important;
    height: 190px !important;
    object-fit: cover !important;
    object-position: center !important;
    margin: 0 !important;
    background: transparent !important;
  }
}
@media (max-width: 768px) {
  body[data-service-page="bytovki"] #projectCards .card:nth-child(1) img,
  body[data-service-page="bytovki"] #projectCards .card:nth-child(2) img,
  body[data-service-page="bytovki"] #projectCards .card:nth-child(3) img {
    width: 100% !important;
    height: 190px !important;
    object-fit: cover !important;
    object-position: center !important;
    margin: 0 !important;
    background: transparent !important;
  }
}
@media (max-width: 768px) {
  body[data-service-page] #projectCards .card h3,
  body[data-service-page] #projectCards .card p,
  body[data-service-page] #projectCards .card strong,
  body[data-service-page] #projectCards .card span,
  body[data-service-page] #projectCards .card small {
    text-align: left !important;
  }

  body[data-service-page] #projectCards .card h3,
  body[data-service-page] #projectCards .card p,
  body[data-service-page] #projectCards .card strong,
  body[data-service-page] #projectCards .card .price,
  body[data-service-page] #projectCards .card .tags,
  body[data-service-page] #projectCards .card .meta {
    margin-left: 18px !important;
    margin-right: 18px !important;
  }

  body[data-service-page] #projectCards .card .btn {
    margin-left: 18px !important;
    margin-right: 18px !important;
    width: calc(100% - 36px) !important;
    text-align: center !important;
  }
}
@media (max-width: 768px) {
  body[data-service-page] #projectCards .example-card {
    width: 92% !important;
    max-width: 340px !important;
  }

  body[data-service-page] #projectCards .example-card__body {
    text-align: left !important;
    align-items: flex-start !important;
  }

  body[data-service-page] #projectCards .example-card__body h3,
  body[data-service-page] #projectCards .example-card__body p,
  body[data-service-page] #projectCards .example-card__body strong,
  body[data-service-page] #projectCards .example-card__body span {
    text-align: left !important;
  }

  body[data-service-page] #projectCards .example-card__body .btn {
    align-self: stretch !important;
    text-align: center !important;
  }
}
@media (max-width: 768px) {
  .header {
    padding-top: 0;
  }

  .nav {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .logo-img {
    max-height: 58px;
  }