@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;700&family=Montserrat:wght@400;700&family=Roboto:wght@400;700&display=swap');

* {
    padding: 0;
    margin: 0;
    border: 0;
}


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


:focus,
:active {
    outline: none;
}
a:focus,
a:active {
    outline: none;
}


nav,
footer,
header,
aside {
    display: block;
}


html,
body {
    height: 100%;
    width: 100%;
    font-size: 100%;
    line-height: 1;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}


input,
button,
textarea {
    font-family: inherit;
}


input::-ms-clear {
    display: none;
}
button {
    cursor: pointer;
}
button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

a,
a:visited {
    text-decoration: none;
}
a:hover {
    text-decoration: none;
}
ul li {
    list-style: none;
}
img {
    vertical-align: top;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: 400;
}

a {
    color: #000000;
}

body {
    background: white;
    font-family: 'Manrope', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1;
}

img {
    max-width: 100%;
}

.wrapper {
    display: flex;
    min-height: 100%;
    overflow-x: hidden;
    flex-direction: column;
    background: #ffffff;
}

.header-top {
    display: flex;
    flex-direction: column;
    background: #589ffc;
    position: relative;
    color: #fff;
    margin: 15px 15px 0 15px;
    border-radius: 15px 15px 0 0;
}

.wrapper > .header-top.is-fixed {
    position: fixed;
    top: 0;
    left: 15px;
    right: 15px;
    z-index: 1000;
    margin: 0;
    border-radius: 0 0 15px 15px;
}

.wrapper > .header-top.is-fixed + main {
    padding-top: clamp(125px, 11vw, 220px);
}

/* Основной стиль */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0.75vw 3vw 0;
}

/* Список меню */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    width: 100%;
    justify-content: center;
}

.header-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3vw 3vw 0.8vw;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition:
    transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
    background 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
  font-size: 1.2vw;
  padding: 8px 16px;
  border-radius: 20px;
  position: relative;
}

.nav-links > li > a {
  display: inline-block;
  vertical-align: middle;
  overflow: hidden;
  border: 1px solid transparent;
  isolation: isolate;
}

.nav-links > li > a::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(
      72% 52% at 50% 0%,
      rgba(255, 255, 255, 0.68) 0%,
      rgba(255, 255, 255, 0.12) 48%,
      transparent 76%
    ),
    radial-gradient(
      54% 70% at 100% 100%,
      rgba(255, 255, 255, 0.18) 0%,
      transparent 72%
    );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.nav-links > li > a:hover,
.nav-links > li > a:focus-visible,
.nav-links > li > a.active {
  border-color: rgba(255, 255, 255, 0.52);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.025) 48%,
      rgba(255, 255, 255, 0.07) 100%
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -1px 0 rgba(255, 255, 255, 0.2),
    inset 1px 0 0 rgba(255, 255, 255, 0.12),
    inset -1px 0 0 rgba(255, 255, 255, 0.12),
    0 3px 9px rgba(0, 0, 0, 0.08);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
  -webkit-backdrop-filter: blur(6px) saturate(70%) brightness(108%);
  backdrop-filter: blur(6px) saturate(70%) brightness(108%);
}

.nav-links > li > a:hover::before,
.nav-links > li > a:focus-visible::before,
.nav-links > li > a.active::before {
  opacity: 0.9;
}

.nav-links > li > a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.92);
  outline-offset: 3px;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav-links > li > a:hover,
  .nav-links > li > a:focus-visible,
  .nav-links > li > a.active {
    background: rgba(255, 255, 255, 0.08);
  }
}

/* Выпадающее меню */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background:
    linear-gradient(
      180deg,
      rgba(119, 180, 255, 0.96),
      rgba(102, 169, 255, 0.92)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.44),
    inset 0 -1px 0 rgba(255, 255, 255, 0.12),
    0 16px 38px rgba(24, 70, 134, 0.3),
    0 5px 14px rgba(24, 70, 134, 0.18);
  border-radius: 22px;
  width: clamp(420px, 32vw, 520px);
  z-index: 1000;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(24px) saturate(95%);
  backdrop-filter: blur(24px) saturate(95%);
}

.dropdown:hover .dropdown-menu {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu li a {
  display: block;
  padding: 12px 20px;
  color: #fff;
  text-decoration: none;
  transition:
    transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
    background 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
  font-size: 1.4vw;
  border: 1px solid transparent;
  border-radius: 20px;
  margin: 2px 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.dropdown-menu li a::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(
      72% 52% at 50% 0%,
      rgba(255, 255, 255, 0.68) 0%,
      rgba(255, 255, 255, 0.12) 48%,
      transparent 76%
    ),
    radial-gradient(
      54% 70% at 100% 100%,
      rgba(255, 255, 255, 0.18) 0%,
      transparent 72%
    );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.dropdown-menu li a:hover,
.dropdown-menu li a:focus-visible {
  border-color: rgba(255, 255, 255, 0.52);
  background:
    linear-gradient(
      180deg,
      rgba(50, 119, 208, 0.2) 0%,
      rgba(38, 103, 190, 0.28) 52%,
      rgba(30, 91, 176, 0.24) 100%
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -1px 0 rgba(255, 255, 255, 0.2),
    inset 1px 0 0 rgba(255, 255, 255, 0.12),
    inset -1px 0 0 rgba(255, 255, 255, 0.12),
    0 3px 9px rgba(0, 0, 0, 0.08);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
  -webkit-backdrop-filter: blur(6px) saturate(80%) brightness(96%);
  backdrop-filter: blur(6px) saturate(80%) brightness(96%);
}

.dropdown-menu li a:hover::before,
.dropdown-menu li a:focus-visible::before {
  opacity: 0.9;
}

.dropdown-menu li a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.92);
  outline-offset: 2px;
}

/* Объёмная стеклянная подсветка пунктов обоих уровней меню. */
.nav-links > li > a::before,
.dropdown-menu li a::before {
  background:
    radial-gradient(ellipse at 24% 0%, rgba(255, 255, 255, 0.46), transparent 62%),
    linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.17) 36%, transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(190, 233, 255, 0.24), transparent 60%);
  transform: translateX(-5%);
  transition: opacity 0.25s ease, transform 0.35s ease;
}

.nav-links > li > a:hover,
.nav-links > li > a:focus-visible,
.nav-links > li > a.active,
.dropdown-menu li a:hover,
.dropdown-menu li a:focus-visible,
.dropdown-menu li a.active {
  border-color: rgba(255, 255, 255, 0.49);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.1), rgba(19, 73, 145, 0.07) 55%, rgba(255, 255, 255, 0.045));
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.68),
    inset 1px 0 1px rgba(255, 255, 255, 0.12),
    inset 0 -1px 2px rgba(12, 48, 100, 0.07),
    inset -1px 0 1px rgba(210, 239, 255, 0.1),
    0 3px 8px rgba(16, 55, 109, 0.12);
  text-shadow: 0 1px 2px rgba(8, 35, 77, 0.15);
  -webkit-backdrop-filter: blur(6px) saturate(105%);
  backdrop-filter: blur(6px) saturate(105%);
}

.nav-links > li > a:hover::before,
.nav-links > li > a:focus-visible::before,
.nav-links > li > a.active::before,
.dropdown-menu li a:hover::before,
.dropdown-menu li a:focus-visible::before,
.dropdown-menu li a.active::before {
  opacity: 1;
  transform: translateX(0);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav-links > li > a:hover,
  .nav-links > li > a:focus-visible,
  .nav-links > li > a.active,
  .dropdown-menu li a:hover,
  .dropdown-menu li a:focus-visible,
  .dropdown-menu li a.active {
    background-color: rgba(255, 255, 255, 0.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-links li a,
  .nav-links li a::before {
    transition: none !important;
    transform: none !important;
  }

  .dropdown:hover .dropdown-menu {
    animation: none;
  }
}

/* Стрелочка для выпадающего меню */
.dropdown > a::after {
  content: " ▼";
  font-size: 0.8em;
  margin-left: 5px;
}

main {
    flex: 1 1 auto;
}

:root {
    /* Outer edges of four review cards (20vw each, with 2vw gaps). */
    --review-aligned-width: 86vw;
}

.main-video {
    width: var(--review-aligned-width);
    max-width: none;
    height: auto;
    border-radius: 15px;
    margin: 50px auto;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    object-fit: cover;
    display: block;
}

.politika {
    padding: 40px;
}

h1 {
    font-size: 1.8vw;
    text-transform: uppercase;
}

.site-title {
    display: flex;
    align-items: center;
}

.site-title h1,
.site-title .site-brand {
    color: #ffffff;
    font-size: 1.6vw;
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

.rounded-header-page .header-top {
    border-radius: 15px;
}

.site-title svg {
    width: 4vw;
    height: 4vw;
    margin-right: 10px;
    max-width: 50px;
    max-height: 50px;
    transition: transform 0.3s ease;
}

.site-title svg:hover {
    transform: scale(1.1);
}

.site-title .site-logo {
    width: 4vw;
    height: 4vw;
    margin-right: 10px;
    max-width: 50px;
    max-height: 50px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.site-title .site-logo:hover {
    transform: scale(1.1);
}

.call-me {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* From Uiverse.io by FColombati */ 
.btn {
  all: unset;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  position: relative;
  border-radius: 100em;
  background-color: rgba(0, 0, 0, 0.75);
  box-shadow:
    -0.15em -0.15em 0.15em -0.075em rgba(5, 5, 5, 0.25),
    0.0375em 0.0375em 0.0675em 0 rgba(5, 5, 5, 0.1);
}

.btn::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: calc(100% + 0.3em);
  height: calc(100% + 0.3em);
  top: -0.15em;
  left: -0.15em;
  border-radius: inherit;
  background: linear-gradient(
    -135deg,
    rgba(5, 5, 5, 0.5),
    transparent 20%,
    transparent 100%
  );
  filter: blur(0.0125em);
  opacity: 0.25;
  mix-blend-mode: multiply;
}

.btn .button-outer {
  position: relative;
  z-index: 1;
  border-radius: inherit;
  transition: box-shadow 300ms ease;
  will-change: box-shadow;
  box-shadow:
    0 0.05em 0.05em -0.01em rgba(5, 5, 5, 1),
    0 0.01em 0.01em -0.01em rgba(5, 5, 5, 0.5),
    0.15em 0.3em 0.1em -0.01em rgba(5, 5, 5, 0.25);
}

.btn:hover .button-outer {
  box-shadow:
    0 0 0 0 rgba(5, 5, 5, 1),
    0 0 0 0 rgba(5, 5, 5, 0.5),
    0 0 0 0 rgba(5, 5, 5, 0.25);
}

.button-inner {
  --inset: 0.035em;
  position: relative;
  z-index: 1;
  border-radius: inherit;
  padding: 1em 1.5em;
  background-image: linear-gradient(
    135deg,
    rgba(230, 230, 230, 1),
    rgba(180, 180, 180, 1)
  );
  transition:
    box-shadow 300ms ease,
    clip-path 250ms ease,
    background-image 250ms ease,
    transform 250ms ease;
  will-change: box-shadow, clip-path, background-image, transform;
  overflow: clip;
  clip-path: inset(0 0 0 0 round 100em);
  box-shadow:
        /* 1 */
    0 0 0 0 inset rgba(5, 5, 5, 0.1),
    /* 2 */ -0.05em -0.05em 0.05em 0 inset rgba(5, 5, 5, 0.25),
    /* 3 */ 0 0 0 0 inset rgba(5, 5, 5, 0.1),
    /* 4 */ 0 0 0.05em 0.2em inset rgba(255, 255, 255, 0.25),
    /* 5 */ 0.025em 0.05em 0.1em 0 inset rgba(255, 255, 255, 1),
    /* 6 */ 0.12em 0.12em 0.12em inset rgba(255, 255, 255, 0.25),
    /* 7 */ -0.075em -0.25em 0.25em 0.1em inset rgba(5, 5, 5, 0.25);
}

.btn:hover .button-inner {
  clip-path: inset(
    clamp(1px, 0.0625em, 2px) clamp(1px, 0.0625em, 2px)
      clamp(1px, 0.0625em, 2px) clamp(1px, 0.0625em, 2px) round 100em
  );
  box-shadow:
        /* 1 */
    0.1em 0.15em 0.05em 0 inset rgba(5, 5, 5, 0.75),
    /* 2 */ -0.025em -0.03em 0.05em 0.025em inset rgba(5, 5, 5, 0.5),
    /* 3 */ 0.25em 0.25em 0.2em 0 inset rgba(5, 5, 5, 0.5),
    /* 4 */ 0 0 0.05em 0.5em inset rgba(255, 255, 255, 0.15),
    /* 5 */ 0 0 0 0 inset rgba(255, 255, 255, 1),
    /* 6 */ 0.12em 0.12em 0.12em inset rgba(255, 255, 255, 0.25),
    /* 7 */ -0.075em -0.12em 0.2em 0.1em inset rgba(5, 5, 5, 0.25);
}

.btn .button-inner span {
  position: relative;
  z-index: 4;
  font-family: "Inter", sans-serif;
  letter-spacing: -0.05em;
  font-weight: 500;
  color: rgba(0, 0, 0, 0);
  background-image: linear-gradient(
    135deg,
    rgba(25, 25, 25, 1),
    rgba(75, 75, 75, 1)
  );
  -webkit-background-clip: text;
  background-clip: text;
  transition: transform 250ms ease;
  display: block;
  will-change: transform;
  text-shadow: rgba(0, 0, 0, 0.1) 0 0 0.1em;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.btn:hover .button-inner span {
  transform: scale(0.975);
}

.btn:active .button-inner {
  transform: scale(0.975);
}

.call-me span {
    font-size: 1.6vw;
    font-weight: 700;
    font-family: 'Roboto', Helvetica, Arial, sans-serif;
    display: flex;
    align-items: center;
}

.call-me span a {
    color: #fff;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.call-me span a:hover {
    transform: scale(1.1);
}

.call-me span a::before {
    content: '';
    background: url('../images/phone.svg') no-repeat center;
    background-size: contain;
    width: 2.7vw;
    height: 2.7vw;
    margin-right: 0.5vw;
    filter: brightness(0) invert(1);
    display: inline-block;
    transition: transform 0.3s ease;
}

.call-me button {
    margin-left: 25px;
    text-align: center;
}

.call-me .btn .button-inner span {
    font-size: 1.3vw;
}

.call-me .btn .button-inner {
    padding: 0.8em 1.3em;
}

.header-main {
    display: flex;
    background: url("../images/bg-webp-v1.webp") right/cover no-repeat;
    position: relative;
    color: #fff;
    margin: 0 15px;
    border-radius: 0 0 15px 15px;
}

.header-main-text {
    padding: 5vw;
    width: 58.333vw;
}

.header-main .service-hero-text {
    padding-bottom: clamp(20px, 3vw, 40px);
}

.header-main .header-main-text h2 {
    font-size: clamp(1.5rem, 3.3vw, 4rem);
    line-height: 1.25;
}

.header-main .header-main-text h2 + p {
    margin-top: clamp(1rem, 1.5vw, 1.75rem);
    line-height: 1.5;
}

@media (min-width: 769px) {
    .header-main .service-hero-text {
        padding-top: 2vw;
    }

    .header-main .service-hero-text ul > li:last-child {
        margin-top: calc(7.083vw - clamp(20px, 3vw, 40px));
    }
}

.repair-cost-intro {
    margin: clamp(24px, 3vw, 48px) 15px;
    padding: clamp(20px, 4vw, 56px);
    border-radius: 16px;
    background: #eef5ff;
    color: #173957;
}

.repair-cost-intro h2 {
    font-size: clamp(24px, 2.5vw, 40px);
    line-height: 1.25;
}

.repair-cost-intro p {
    max-width: 80ch;
    margin-top: 16px;
    font-size: clamp(16px, 1.3vw, 20px);
    line-height: 1.65;
}

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

.repair-symptoms-callback {
    margin: 24px 5vw 0;
    color: #173957;
    text-align: center;
    font-size: clamp(16px, 1.3vw, 20px);
    line-height: 1.5;
}

.repair-symptoms-callback .repair-cost-actions {
    justify-content: center;
    margin-top: 16px;
}

.repair-cost-intro .callback-hint,
.repair-symptoms-callback .callback-hint {
    margin-top: 12px;
    font-size: clamp(14px, 1.1vw, 17px);
    line-height: 1.5;
}

.repair-cost-actions .repair-cost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin: 0;
    padding: 14px 22px;
    border: 2px solid #245ba8;
    border-radius: 12px;
    background: #245ba8;
    color: #fff;
    font: inherit;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    cursor: pointer;
}

.repair-cost-actions button.repair-cost-button {
    background: transparent;
    color: #245ba8;
}

.repair-cost-button:hover {
    box-shadow: 0 4px 12px rgba(23, 57, 87, 0.2);
}

.repair-cost-button:focus-visible {
    outline: 3px solid #173957;
    outline-offset: 4px;
}

#repair-prices {
    scroll-margin-top: clamp(145px, 13vw, 240px);
}

@media (max-width: 520px) {
    .repair-cost-actions .repair-cost-button {
        width: 100%;
    }
}

/* Для страницы "Ремонт стиральных машин" */
body.stirka-page .header-main {
    background-image: url("../images/bg_stirka-webp-v1.webp");
    background-position: right center;
}

/* Для страницы "Сварочные работы" */
body.svarka-page .header-main {
    background-image: url("../images/bg_svarka-webp-v1.webp");
    background-position: right;
}

/* Страница ремонта и монтажа кондиционеров */
body.conditioner-page .header-main {
    background: #589ffc;
    min-height: 42vw;
    overflow: hidden;
}

body.conditioner-page .header-main::after {
    content: "";
    position: absolute;
    right: 7%;
    top: 22%;
    width: 31%;
    height: 27%;
    border-radius: 18px;
    background: linear-gradient(#fff, #eaf4f8);
    box-shadow: 0 25px 45px rgba(5, 48, 81, 0.3);
}

body.conditioner-page .header-main::before {
    content: "";
    position: absolute;
    z-index: 1;
    right: 10%;
    top: 40%;
    width: 25%;
    height: 2.5%;
    border-radius: 20px;
    background: #b9d2dc;
    box-shadow: 0 1.2vw 0 -0.35vw rgba(255, 255, 255, 0.65);
}

/* Страница коммерческого холодильного оборудования */
body.commercial-cooling-page .header-main {
    background: #589ffc;
    min-height: 42vw;
    overflow: hidden;
}

body.commercial-cooling-page .header-main::after {
    content: "";
    position: absolute;
    right: 8%;
    top: 15%;
    width: 28%;
    height: 58%;
    border: 1vw solid #f5fbfd;
    border-radius: 14px;
    background: linear-gradient(180deg, #bde9f3 0 16%, #639caf 16% 19%, #e8f7fa 19% 100%);
    box-shadow: 0 25px 45px rgba(2, 31, 54, 0.36);
}

body.commercial-cooling-page .header-main::before {
    content: "❄";
    position: absolute;
    z-index: 1;
    right: 17%;
    top: 31%;
    color: #3f8fa9;
    font-size: 5vw;
}

.commercial-logo {
    display: grid;
    place-items: center;
    width: 5vw;
    height: 5vw;
    margin-right: 1vw;
    border-radius: 50%;
    color: #fff;
    background: #167ba9;
    font-size: 3vw;
}

.commercial-equipment {
    flex-wrap: wrap;
}

.commercial-equipment > li {
    flex: 1 1 28%;
}

/* Страницы-заглушки */
body.placeholder-page {
    background: #eef6f9;
}

.placeholder-site-title {
    gap: 1vw;
}

.placeholder-logo {
    display: grid;
    place-items: center;
    width: 5vw;
    height: 5vw;
    border-radius: 50%;
    color: #fff;
    background: #167ba9;
    font-size: 2.5vw;
}

.placeholder-main {
    display: grid;
    place-items: center;
    min-height: 62vh;
    padding: 5vw 15px;
    background: linear-gradient(145deg, #e9faff, #f8fcfd 55%, #d9f1f7);
}

.placeholder-card {
    width: min(760px, 100%);
    padding: 5vw;
    border: 1px solid rgba(22, 123, 169, 0.16);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 60px rgba(9, 67, 96, 0.14);
    text-align: center;
}

.placeholder-card h2 {
    margin: 0 0 1.4vw;
    color: #123f59;
    font-size: clamp(34px, 4vw, 58px);
}

.placeholder-card p {
    max-width: 610px;
    margin: 0 auto 2vw;
    color: #456471;
    font-size: clamp(17px, 1.4vw, 21px);
    line-height: 1.65;
}

.placeholder-card .placeholder-eyebrow {
    margin-bottom: .7vw;
    color: #167ba9;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.placeholder-icon {
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    margin: 0 auto 1.5vw;
    border-radius: 50%;
    background: #e1f5fa;
    font-size: 42px;
}

.placeholder-button {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 999px;
    color: #fff;
    background: #167ba9;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.placeholder-button:hover {
    background: #105f83;
    transform: translateY(-2px);
}

/* Страница ремонта посудомоечных машин */
body.dishwasher-page .header-main {
    background: #589ffc;
    min-height: 42vw;
    overflow: hidden;
}

body.dishwasher-page .header-main::after {
    content: "";
    position: absolute;
    right: 10%;
    top: 14%;
    width: 24%;
    height: 62%;
    border: 1.1vw solid #f7fbfc;
    border-radius: 18px;
    background: linear-gradient(180deg, #d8f3fa 0 13%, #7dc7d9 13% 16%, #eaf8fb 16% 100%);
    box-shadow: 0 25px 45px rgba(5, 48, 81, 0.32);
}

body.dishwasher-page .header-main::before {
    content: "●  ●  ●";
    position: absolute;
    z-index: 1;
    right: 14%;
    top: 18%;
    color: #4f8da4;
    letter-spacing: .6vw;
    font-size: 1vw;
}

/* Страница ремонта электрических плит и духовых шкафов */
body.stove-page .header-main {
    background: #589ffc;
    min-height: 42vw;
    overflow: hidden;
}

body.stove-page .header-main::after {
    content: "";
    position: absolute;
    right: 9%;
    top: 12%;
    width: 27%;
    height: 65%;
    border: 1.1vw solid #f7fbfc;
    border-radius: 18px;
    background:
        linear-gradient(180deg, transparent 0 28%, #7d9daf 28% 31%, transparent 31%),
        linear-gradient(180deg, #d8f3fa 0 27%, #eaf8fb 27% 100%);
    box-shadow: 0 25px 45px rgba(5, 48, 81, 0.32);
}

body.stove-page .header-main::before {
    content: "●   ●\A●   ●";
    white-space: pre;
    position: absolute;
    z-index: 1;
    right: 14.5%;
    top: 16%;
    color: #4f8da4;
    letter-spacing: 1.1vw;
    font-size: 2vw;
    line-height: 1.35;
}

.service-icon {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin-bottom: 0.8vw;
    border-radius: 10px;
    background: linear-gradient(145deg, #edfaff, #cceeff);
    font-size: clamp(42px, 5vw, 82px);
}

.snoska p{
    text-align: left;
    margin-top: 20px;
    margin-left: 5vw;
    margin-right: 5vw;
    line-height: 1.5;
}

h2 {
    font-size: 3.667vw;
    line-height: 1.25;
}

h1, h2, h3 {
    font-weight: 700;
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
}

.header-main-text li {
    margin-top: 2.083vw;
}

h3 {
    text-align: center;
    font-size: 3vw;
    margin: 4.167vw 5vw 2.083vw;
}



.refrigerator-problems li {
    position: relative;
    margin: 0 auto;
    padding: 0.833vw;
    display: inline-block;
    text-align: center;
    width: 16.667vw;
    box-shadow: 0 5px 5px rgba(0,0,0,0.4);
}

/* Стили для видеоотзывов */
.video-reviews {
    list-style-type: none;
    padding: 1.250vw 1.5vw;
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    flex-wrap: wrap;
}

.video-reviews li {
    position: relative;
    margin: 1vw;
    padding: 0.833vw;
    display: inline-block;
    text-align: center;
    width: 20vw;
    box-shadow: 0 5px 5px rgba(0,0,0,0.4);
    border-radius: 8px;
    overflow: hidden;
}

.video-reviews video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* Стили для блока "Как мы работаем" */
.review-form-section {
    width: calc(100% - 3vw);
    margin: 2.5vw auto 4vw;
    padding: 2.5vw 3vw;
    box-sizing: border-box;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .18);
}

.review-form-heading h3 {
    margin: 0 0 .6vw;
    font-size: 2.3vw;
}

.review-form-heading p {
    margin: 0 0 2vw;
    text-align: center;
    color: #555;
    font-size: 1.15vw;
}

.review-form-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5vw;
}

.review-field,
.review-rating legend {
    display: block;
    color: #222;
    font: 600 1.15vw 'Montserrat', Helvetica, Arial, sans-serif;
}

.review-field span,
.review-rating legend span { color: #d32f2f; }
.review-field small { color: #777; font-weight: 400; }

.review-field input,
.review-field textarea {
    width: 100%;
    margin-top: .55vw;
    padding: .9vw 1vw;
    box-sizing: border-box;
    border: 1px solid #c9c9c9;
    border-radius: 7px;
    background: #fff;
    color: #222;
    font: 400 1.05vw 'Manrope', Arial, sans-serif;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.review-field textarea { min-height: 9vw; resize: vertical; }
.review-field input:focus,
.review-field textarea:focus { border-color: #498b24; box-shadow: 0 0 0 3px rgba(73, 139, 36, .15); }

.review-rating { margin: 1.5vw 0; padding: 0; border: 0; }
.review-stars { display: flex; gap: .35vw; margin-top: .35vw; }
.review-stars button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #c8c8c8;
    font-size: 2.5vw;
    line-height: 1;
    cursor: pointer;
    transition: color .15s, transform .15s;
}
.review-stars button:hover { transform: scale(1.08); }
.review-stars button.is-active { color: #f4b400; }

.review-policy { display: flex; align-items: flex-start; gap: .7vw; margin-top: 1.2vw; font-size: 1vw; line-height: 1.4; }
.review-policy input { flex: 0 0 auto; margin-top: .2vw; transform: scale(1.15); }
.review-policy a { color: #39751c; text-decoration: underline; }

.review-form-footer { display: flex; align-items: center; gap: 1.5vw; margin-top: 1.5vw; }
.review-form-footer button {
    padding: .95vw 2.2vw;
    border: 0;
    border-radius: 7px;
    background: #498b24;
    color: #fff;
    font: 700 1.1vw 'Montserrat', Helvetica, Arial, sans-serif;
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.review-form-footer button:hover { background: #39751c; transform: translateY(-1px); }
.review-form-footer button:disabled { opacity: .65; cursor: wait; transform: none; }
.review-form-status { margin: 0; font-size: 1vw; }
.review-form-status.is-success { color: #39751c; }
.review-form-status.is-error { color: #b42318; }
.review-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 700px) {
    .review-form-section { width: calc(100% - 24px); margin: 28px auto 40px; padding: 24px 18px; }
    .review-form-heading h3 { margin-bottom: 8px; font-size: 24px; }
    .review-form-heading p { margin-bottom: 22px; font-size: 15px; line-height: 1.45; }
    .review-form-row { grid-template-columns: 1fr; gap: 16px; }
    .review-field, .review-rating legend { font-size: 15px; }
    .review-field input, .review-field textarea { margin-top: 7px; padding: 12px; font-size: 16px; }
    .review-field textarea { min-height: 130px; }
    .review-rating { margin: 20px 0; }
    .review-stars { gap: 6px; margin-top: 6px; }
    .review-stars button { font-size: 38px; }
    .review-policy { gap: 10px; margin-top: 16px; font-size: 13px; }
    .review-form-footer { align-items: stretch; flex-direction: column; gap: 12px; margin-top: 20px; }
    .review-form-footer button { width: 100%; padding: 14px 18px; font-size: 16px; }
    .review-form-status { font-size: 14px; line-height: 1.4; text-align: center; }
}

.refrigerator-problems {
    list-style-type: none;
    padding: 1.250vw 1.5vw;
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}

.refrigerator-problems li{
    position: relative;
}

.refrigerator-problems img {
    padding-bottom: 1.667vw;
}

.refrigerator-problems span {
    font-size: 1.333vw;
}

.price_text {
    text-align: center;
    width: 70%;
    margin: 0 auto;
    line-height: 1.5;
}

table {
    width: 70%;
    margin: 0 auto;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 4px;
    color: #40464c;
    margin-top: 30px;
}

table + h4 {
    margin-top: 50px;
}

h4 + table {
    margin-top: 15px;
}

.price-table-scroll {
    width: 70%;
    margin: 15px auto 50px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
}

.price-table-scroll table {
    width: 100%;
    min-width: 900px;
    margin: 0;
    table-layout: fixed;
}

.conditioner-installation-prices th:first-child,
.conditioner-installation-prices td:first-child {
    width: 40%;
}

.conditioner-installation-prices th:not(:first-child),
.conditioner-installation-prices td:not(:first-child) {
    width: 15%;
    text-align: center;
    white-space: nowrap;
}

th, td {
    text-align: left;
    vertical-align: middle;
    padding: 15px;
    border: 1px solid #589ffc; 
    border-radius: 4px; 
    background: #e3f0f8;
    transition: background 0.3s ease;
}

tbody tr:hover td {
    background: #bee3fd;
}

th {
    text-align: center;
    color: #ffffff;
    border-radius: 4px 4px 0 0; 
    background: #589ffc;
}

table:not(.conditioner-installation-prices) td:nth-child(2) {
    text-align: center;
    font-variant-numeric: tabular-nums;
}

table:not(.conditioner-installation-prices) td:first-child,
table:not(.conditioner-installation-prices) th:first-child {
    width: 75%;
}

table:not(.conditioner-installation-prices) td:nth-child(2),
table:not(.conditioner-installation-prices) th:nth-child(2) {
    width: 25%;
}

.brands {
    list-style-type: none;
    padding: 1.250vw 4vw;
    font-size: 1.333vw;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    position: relative;
    flex-wrap: wrap;
}

.brands li {
    border: 1px solid #d5d5d5;
    width: 20.333vw;
    height: 9.333vw;
    margin: 0.833vw auto;
    border-radius: 10px;
}

.brands img {
    padding: 0.83vw;
}

.marks {
    font-weight: 700;
    text-align: center;
}

.reviews {
    margin: 2.500vw auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.reviews li {
    border: 1px solid rgba(202,210,217,1);
    box-shadow: 3px 4px 5px rgba(202,210,217,1);
    border-radius: 5px;
    padding: 1.667vw;
    margin: 1.250vw;
    width: 45%;
    background-color: ghostwhite;
    position: relative;
}

.person {
    display: flex;
    margin-bottom: 1.250vw;
    align-items: center;
    gap: 1.25vw;
    padding-right: max(135px, 11vw);
}

.reviews .person h4 {
    flex: 0 1 auto;
    width: auto;
    margin: 0;
}

.person span {
    max-width: 13vw;
    margin-left: auto;
    font-size: 1.083vw;
    line-height: 1.25;
    text-align: right;
    color: rgba(0,0,0,.44);
}

h4 {
    font-size: 1.833vw;
    font-weight: bold;
    width: 70%;
    margin: 0 auto;
    text-align: left;
}

h4.first-price-table {
    margin-top: 50px;
}

.review {
    text-align: justify;
    font-size: 1.417vw;
    line-height: 1.5em;
}

.review-public-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45vw 1.25vw;
    margin: -0.55vw 0 0.9vw;
    color: rgba(0, 0, 0, 0.52);
    font-size: 1vw;
    line-height: 1.35;
    letter-spacing: 0.02em;
}

.review-public-contact,
.review-public-date {
    margin: 0;
}

/* Контейнер для звёздочек */
.rating {
    position: absolute;
    top: 1.667vw;
    right: 1.667vw;
    display: flex;
    align-items: center;
    gap: 2px;
    line-height: 1;
}

/* Стиль отдельной звезды */
.rating .star {
    color: gold; /* Золотой цвет */
    font-size: 2vw; /* Размер звезды */
    cursor: default; /* Указатель мыши */
}

.rating .star:hover {
    transform: scale(1.2);
    transition: transform 0.2s ease;
}

.district {
    text-align: center;
    margin: 0 5vw 30px;
    font-size: 16px;
    line-height: 1.5;
}

@media (min-width: 1025px) {
    .district {
        font-size: 1.417vw;
    }
}

footer {
    background: #40464c;
    color: #a9abad;
    text-align: center;
    padding: 2vw 0;
    font-size: 12px;
    text-decoration: none;
    line-height: 1.3;
    letter-spacing: 1px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    overflow: auto;
}

.modal-content {
    background: #fff;
    position: fixed;
    padding: 30px;
    width: 40%;
    z-index: 100;
    margin: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal-title {
    margin-bottom: 20px;
    text-align: center;
    font-size: 20px;
}

.close_modal_window {
    color: black;
    font-size: 30px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.modal-content form {
    display: flex;
    flex-direction: column;
}

.slide-callback {
    position: fixed;
    left: 0;
    top: auto;
    bottom: max(14px, env(safe-area-inset-bottom));
    z-index: 95;
    width: 300px;
    transform: translateX(-300px);
    filter: drop-shadow(12px 18px 26px rgba(0, 0, 0, 0.22));
    transition: transform 25.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

@media (min-width: 1025px) {
    .slide-callback {
        width: 352px;
        transform: translateX(-352px);
    }

    .slide-callback.is-open {
        transform: translateX(0);
    }
}

.slide-callback.is-open {
    transform: translateX(0);
}

.slide-callback.is-hovered {
    transition-duration: 1.8s;
}

.slide-callback-panel {
    position: relative;
    min-height: 230px;
    padding: 24px 22px;
    background: #ffffff;
    border-radius: 0 8px 8px 0;
    box-shadow:
        0 22px 54px rgba(0, 0, 0, 0.28),
        0 8px 20px rgba(0, 0, 0, 0.16),
        inset -1px 0 0 rgba(255, 255, 255, 0.9);
}

.slide-callback-toggle {
    position: absolute;
    top: 50%;
    right: -42px;
    width: 42px;
    min-height: 136px;
    padding: 10px 0;
    border: 0;
    border-radius: 0 8px 8px 0;
    background: #589ffc;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow:
        10px 12px 30px rgba(0, 0, 0, 0.24),
        3px 4px 10px rgba(0, 0, 0, 0.18),
        inset 1px 1px 0 rgba(255, 255, 255, 0.26);
}

.slide-callback-toggle span {
    display: inline-block;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.slide-callback-close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: 0;
    background: transparent;
    color: #333333;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.slide-callback h4 {
    margin: 0 28px 10px 0;
    color: #222222;
    font-size: 20px;
    line-height: 1.2;
}

.slide-callback p {
    margin: 0 0 16px;
    color: #555555;
    font-size: 14px;
    line-height: 1.35;
}

.slide-callback-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.slide-callback-phone {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #98a1a1;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
}

.slide-callback-form button {
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    background: #589ffc;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.slide-callback-form button:hover {
    background: #4a8bfc;
    transform: translateY(-1px);
}

.slide-callback-form button:disabled {
    background: #b6bdc8;
    cursor: not-allowed;
    transform: none;
}

.slide-callback-success {
    margin-top: 12px;
    color: #1f8f55;
    font-size: 15px;
    font-weight: 700;
}

.slide-callback-policy {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #777777;
    font-size: 12px;
    line-height: 1.3;
}

.slide-callback-policy input {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
}

.slide-callback-policy a {
    color: #3f83e6;
}

@media (min-width: 521px) and (max-width: 1024px) {
    .slide-callback {
        width: 352px;
        transform: translateX(-352px);
    }

    .slide-callback.is-open {
        transform: translateX(0);
    }

}

@media (max-width: 520px) {
    .slide-callback {
        width: calc(100vw - 58px);
        transform: translateX(calc(-100vw + 58px));
        transition-duration: 1.76s;
    }

    .slide-callback.is-open {
        transform: translateX(0);
    }
}

.client-date {
    margin-bottom: 15px;
    height: 45px;
    border: 1px solid #98a1a1;
    border-radius: 15px;
    padding: 10px;
    width: 100%;
    font-size: 14px;
}

/* Стиль для выпадающего списка */
.client-date select {
    appearance: none; /* Убирает стандартный стиль */
    background-color: white;
    padding-right: 30px; /* Пространство для стрелки */
    cursor: pointer;
}

/* Стрелка справа */
.client-date::after {
    content: "▼";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #999;
}

.checkbox-group {
    margin-top: 15px;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.2);
}

.checkbox-group label {
    font-size: 14px;
    color: #333;
    cursor: pointer; /* Указатель мыши */
}

.checkbox-group .privacy-policy {
    display: inline;
    margin-left: 5px; /* Отступ слева от ссылки */
    color: #0b33b0;
    font-size: 14px;
}

.checkbox-group .privacy-policy:hover {
    text-decoration: none;
    color: #0b33b0;
}

/* From Uiverse.io by eirikvold */ 
.button {
  font-family: inherit;
  font-size: 18px;
  background: linear-gradient(to bottom, #589ffc 0%,#0d4084 100%);
  color: white;
  padding: 0.8em 1.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 25px;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
}

.button:active {
  transform: scale(0.95);
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

.button span {
  display: block;
  margin-left: 0.4em;
  transition: all 0.3s;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: white;
  transition: all 0.3s;
}

.button .svg-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  margin-right: 0.5em;
  transition: all 0.3s;
}

.button:hover .svg-wrapper {
  background-color: rgba(255, 255, 255, 0.5);
}

.button:hover svg {
  transform: rotate(45deg);
}

@media (min-width: 769px) and (max-width: 1024px) {
    .navbar {
        padding-top: 1.25vw;
    }

    .nav-links li a {
        font-size: 1.8vw;
    }

    .dropdown-menu {
        width: clamp(340px, 42vw, 420px);
    }

    .dropdown-menu li a {
        font-size: 2.1vw;
    }

    .price_text,
    table,
    .price-table-scroll,
    h4.first-price-table,
    table + h4,
    .price-table-scroll + h4 {
        width: 82%;
    }

    table:not(.conditioner-installation-prices) td:first-child,
    table:not(.conditioner-installation-prices) th:first-child {
        width: 72%;
    }

    table:not(.conditioner-installation-prices) td:nth-child(2),
    table:not(.conditioner-installation-prices) th:nth-child(2) {
        width: 28%;
    }
}

@media (max-width: 768px) {

    :root {
        /* Two 44vw review cards with a 4vw gap. */
        --review-aligned-width: 92vw;
    }

    .navbar {
        padding: 1.25vw 3vw 0;
    }

    .nav-links {
        flex-wrap: wrap;
        row-gap: 14px;
        column-gap: 6px;
    }

    .nav-links li a {
        font-size: 3.2vw;
        padding: 6px 9px;
    }

    .dropdown-menu li a {
        font-size: 3.8vw;
        line-height: 1.3;
        padding: 14px 20px;
    }

    .dropdown-menu {
        width: min(320px, calc(100vw - 32px));
    }

    .price_text,
    table,
    .price-table-scroll,
    h4.first-price-table,
    table + h4,
    .price-table-scroll + h4 {
        width: calc(100% - 24px);
    }

    .price_text {
        font-size: clamp(14px, 3.6vw, 17px);
    }

    table {
        margin-top: 20px;
        border-spacing: 3px;
        font-size: clamp(13px, 3.4vw, 16px);
        line-height: 1.35;
    }

    th,
    td {
        padding: 10px 8px;
    }

    table:not(.conditioner-installation-prices) td:first-child,
    table:not(.conditioner-installation-prices) th:first-child {
        width: 66%;
    }

    table:not(.conditioner-installation-prices) td:nth-child(2),
    table:not(.conditioner-installation-prices) th:nth-child(2) {
        width: 34%;
    }

    .price-table-scroll {
        margin-top: 15px;
        margin-bottom: 35px;
    }

    .price-table-scroll table {
        width: 100%;
        min-width: 760px;
    }

    .header-bottom {
        padding: 0.25vw 3vw 0.8vw;
    }

    h1 {
        font-size: 3vw;
    }

    .site-title h1,
    .site-title .site-brand {
        font-size: 2.8vw;
    }



    .call-me button {
        display: none;
    }

    .call-me img {
        max-width: 10vw;
    }

    .call-me span {
        font-size: 3vw;
    }

    .call-me span a::before {
        width: 5vw;
        height: 5vw;
        margin-right: 1vw;
    }

    .site-title svg {
        width: 12vw;
        height: 12vw;
        max-width: 60px;
        max-height: 60px;
    }

    .site-title .site-logo {
        width: 12vw;
        height: 12vw;
        max-width: 60px;
        max-height: 60px;
    }

    button {
        margin-top: 3vw;
    }

    button.btn {
        font-size: 3.5vw;
    }

    .header-main button {
        margin-top: 5vw;
    }

    .header-main {
        background: url("../images/bg_mobile-webp-v1.webp") top no-repeat;
        background-size: cover;
        padding-bottom: 180%;
        position: relative;
    }

    .header-main-text {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
    }

    body.stirka-page .header-main {
        background-image: url("../images/bg_stirka_mobile-webp-v1.webp");
        background-position: top;
    }

    body.svarka-page .header-main {
        background-image: url("../images/bg_svarka_mobile-webp-v1.webp");
        background-position: top;
    }

    body.conditioner-page .header-main {
        min-height: 0;
        background: #589ffc;
    }

    body.conditioner-page .header-main::after {
        top: 10%;
        right: 12%;
        width: 76%;
        height: 18%;
    }

    body.conditioner-page .header-main::before {
        top: 23%;
        right: 19%;
        width: 62%;
        height: 1%;
    }

    body.commercial-cooling-page .header-main {
        min-height: 0;
        background: #589ffc;
    }

    body.commercial-cooling-page .header-main::after {
        top: 5%;
        right: 28%;
        width: 44%;
        height: 28%;
    }

    body.commercial-cooling-page .header-main::before {
        top: 12%;
        right: 43%;
        font-size: 12vw;
    }

    .commercial-logo {
        width: 12vw;
        height: 12vw;
        font-size: 7vw;
    }

    .commercial-equipment > li {
        flex-basis: 45%;
    }

    .placeholder-logo {
        width: 12vw;
        height: 12vw;
        font-size: 6vw;
    }

    .placeholder-main {
        min-height: 68vh;
        padding: 8vw 15px;
    }

    .placeholder-card {
        padding: 12vw 6vw;
    }

    .placeholder-card p {
        margin-bottom: 6vw;
    }

    .placeholder-icon {
        width: 72px;
        height: 72px;
        margin-bottom: 5vw;
        font-size: 34px;
    }

    body.dishwasher-page .header-main {
        min-height: 0;
        background: #589ffc;
    }

    body.dishwasher-page .header-main::after {
        top: 5%;
        right: 30%;
        width: 40%;
        height: 27%;
    }

    body.dishwasher-page .header-main::before {
        top: 8%;
        right: 38%;
        font-size: 2vw;
    }

    body.stove-page .header-main {
        min-height: 0;
        background: #589ffc;
    }

    body.stove-page .header-main::after {
        top: 5%;
        right: 28%;
        width: 44%;
        height: 28%;
    }

    body.stove-page .header-main::before {
        top: 8%;
        right: 39%;
        font-size: 4vw;
        letter-spacing: 2vw;
    }

    .header-main-text li {
        font-size: clamp(16px, 2.2vw, 18px);
        line-height: 1.5;
    }

    .header-main-text h2 {
        font-size: 4.5vw;
    }

    .header-main .header-main-text h2 {
        font-size: clamp(24px, 4.1vw, 32px);
    }

    h3 {
        font-size: 5vw;
    }

    .refrigerator-problems {
        flex-wrap: wrap;
    }

    .refrigerator-problems li {
        width: 44vw;
        margin: 2vw;
    }

    .refrigerator-problems span {
        font-size: 3.333vw;
    }

    .video-reviews li {
        width: 44vw;
        margin: 2vw;
    }

    .brands li {
        width: 28.333vw;
        height: 14.333vw;
    }

    .reviews li {
        width: 90%;
        padding: 2.667vw;
        margin: 2.25vw;
    }

    h4 {
        font-size: 3.833vw;
    }

    .person span {
        max-width: 26vw;
        font-size: 2.083vw;
    }

    .person {
        gap: 2vw;
        padding-right: max(100px, 18vw);
    }

    .rating {
        top: 2.667vw;
        right: 2.667vw;
    }

    .review {
        font-size: 2.417vw;
    }

    .review-public-meta {
        gap: 0.8vw 2vw;
        margin: -0.8vw 0 1.8vw;
        font-size: 2.083vw;
    }

    .district {
        font-size: 16px;
    }

    footer {
        padding: 4.5vw 0;
    }

    .modal-content {
        width: 60%;
    }
    
    .main-video {
        margin: 30px auto;
        border-radius: 10px;
        width: var(--review-aligned-width);
    }

    /* Адаптивные стили для таймера скидки */
    .discount-timer {
        gap: 4px;
    }

    .flip-card {
        width: 50px;
        height: 65px;
        perspective: 400px;
    }

    .flip-top-content, .flip-bottom-content {
        font-size: 32px;
    }

    .flip-top-content {
        line-height: 65px;
    }

    .flip-bottom-content {
        top: -65px;
        line-height: 65px;
    }

    .timer-separator {
        font-size: 32px;
        line-height: 65px;
    }

    .discount-badge {
        font-size: 24px;
        padding: 10px 20px;
    }

    .discount-container h3 {
        font-size: 18px;
    }
}

/* Mobile service hero: artwork above the text. */
.mobile-service-art { display: none; }

@media (max-width: 768px) {
    body .header-main.stacked-mobile-hero {
        display: block;
        padding-bottom: 0;
        background: #579ffb;
    }

    body .header-main.stacked-mobile-hero::before {
        content: none;
        display: none;
    }

    .stacked-mobile-hero .mobile-service-art {
        display: block;
        position: relative;
        width: 100%;
        padding-top: 100%;
        overflow: hidden;
    }

    .mobile-service-art img {
        position: absolute;
        top: 0;
        left: 0;
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }

    .header-main.stacked-mobile-hero .header-main-text {
        position: static;
        width: 100%;
        padding-top: 16px;
    }
}


/* ===== work-process ===== */
/* Shared steps for the home page and every service page. */
.work-process {
    counter-reset: work-step;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    width: var(--review-aligned-width, 86vw);
    margin: 0 auto;
    padding: 16px 0 24px;
    list-style: none;
}

.work-process li {
    counter-increment: work-step;
    min-width: 0;
    margin: 0;
    padding: 24px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.4);
    text-align: center;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.work-process li::before {
    content: 'ШАГ ' counter(work-step);
    display: block;
    width: fit-content;
    margin: 0 auto 16px;
    padding: 7px 12px;
    border-radius: 20px;
    background: #e5f0ff;
    color: #174b8d;
    font: bold 14px/1.4 Arial, sans-serif;
    letter-spacing: 0.06em;
}

.work-process .icon {
    font-size: 44px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.work-process li h4 {
    width: 100%;
    margin: 0;
    text-align: center;
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 20px;
    line-height: 1.35;
    padding-bottom: 14px;
}

.work-process li p {
    font-size: 16px;
    line-height: 1.6;
}

@media (max-width: 1100px) {
    .work-process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .work-process {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* ===== promo ===== */
/* Управляемый блок новостей и акций */
.promo-slider-section {
    width: var(--review-aligned-width, 86vw);
    margin: 42px auto 10px;
}

.promo-slider-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.promo-slider-heading p {
    color: #2f7fe7;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.promo-slider-heading h2 {
    color: #15253a;
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.15;
    text-align: right;
}

.promo-slider {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 22px;
    background: #15253a;
    box-shadow: 0 18px 48px rgba(29, 72, 125, 0.18);
}

.promo-slider-viewport {
    overflow: hidden;
}

.promo-slider-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}

.promo-slide {
    position: relative;
    flex: 0 0 100%;
    min-height: 0;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    background: #15253a;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}

.promo-slide.is-dragging {
    cursor: grabbing;
}

.promo-slide-gallery {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    transform: translate3d(-100%, 0, 0);
    transition: transform 12s linear;
    will-change: transform;
}

.promo-slide-gallery.is-without-transition {
    transition: none;
}

.promo-slide-image {
    position: relative;
    flex: 0 0 100%;
    min-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 1;
    pointer-events: none;
}

.promo-slide::after {
    content: none;
}

.promo-slide-content {
    position: relative;
    z-index: 3;
    display: flex;
    min-height: clamp(330px, 42vw, 520px);
    width: min(620px, 70%);
    padding: clamp(34px, 6vw, 76px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: #fff;
}

.promo-slide-badge {
    margin-bottom: 16px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    background: rgba(88, 159, 252, 0.28);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.promo-slide h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.06;
    text-align: left;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.3);
}

.promo-slide-description {
    max-width: 570px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(15px, 1.6vw, 19px);
    line-height: 1.55;
}

.promo-slide-link {
    display: inline-flex;
    min-height: 46px;
    margin-top: 26px;
    padding: 12px 22px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #589ffc;
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: 0 10px 25px rgba(17, 82, 168, 0.35);
    transition: transform 0.2s ease, background 0.2s ease;
}

.promo-slide-link:visited {
    color: #fff;
}

.promo-slide-link:hover,
.promo-slide-link:focus-visible {
    background: #397ed8;
    color: #fff;
    transform: translateY(-2px);
}

.promo-slider-control {
    position: absolute;
    z-index: 4;
    top: 50%;
    display: grid;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(8, 26, 49, 0.58);
    color: #fff;
    font-size: 38px;
    line-height: 1;
    place-items: center;
    transform: translateY(-50%);
    backdrop-filter: blur(8px);
    transition: background 0.2s ease, transform 0.2s ease;
}

.promo-slider-control:hover,
.promo-slider-control:focus-visible {
    background: #589ffc;
    transform: translateY(-50%) scale(1.05);
}

.promo-slider-control[hidden],
.promo-slider-dots[hidden] {
    display: none;
}

.promo-slider-prev {
    left: 18px;
}

.promo-slider-next {
    right: 18px;
}

.promo-slider-dots {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 22px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 9px;
}

.promo-slider-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    transition: width 0.2s ease, border-radius 0.2s ease, background 0.2s ease;
}

.promo-slider-dot.is-active {
    width: 28px;
    border-radius: 999px;
    background: #589ffc;
}

/* Кнопка возврата к началу длинной страницы */
.back-to-top {
    position: fixed;
    z-index: 900;
    right: clamp(16px, 2vw, 28px);
    bottom: clamp(18px, 3vw, 32px);
    display: grid;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    background: linear-gradient(145deg, #68aaff, #397ed8);
    color: #fff;
    font-size: 27px;
    font-weight: 700;
    line-height: 1;
    opacity: 0;
    place-items: center;
    pointer-events: none;
    transform: translateY(14px);
    box-shadow: 0 12px 28px rgba(28, 91, 173, 0.34);
    transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
    box-shadow: 0 16px 34px rgba(28, 91, 173, 0.46);
    transform: translateY(-3px);
}

@media (max-width: 700px) {
    .promo-slider-section {
        margin-top: 28px;
    }

    .promo-slider-heading {
        display: block;
    }

    .promo-slider-heading h2 {
        margin-top: 7px;
        font-size: 27px;
        text-align: left;
    }

    .promo-slider {
        border-radius: 17px;
    }

    .promo-slide {
        aspect-ratio: 3 / 4;
    }

    .promo-slide-content {
        min-height: 430px;
    }

    .promo-slide::after {
        background: linear-gradient(0deg, rgba(8, 26, 49, 0.96) 0%, rgba(8, 26, 49, 0.73) 62%, rgba(8, 26, 49, 0.18) 100%);
    }

    .promo-slide-content {
        width: 100%;
        padding: 130px 24px 58px;
        justify-content: flex-end;
    }

    .promo-slide h3 {
        font-size: 31px;
    }

    .promo-slide-description {
        display: -webkit-box;
        overflow: hidden;
        font-size: 15px;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
    }

    .promo-slider-control {
        top: 26px;
        width: 40px;
        height: 40px;
        font-size: 31px;
        transform: none;
    }

    .promo-slider-control:hover,
    .promo-slider-control:focus-visible {
        transform: scale(1.05);
    }

    .promo-slider-prev {
        right: 66px;
        left: auto;
    }

    .promo-slider-next {
        right: 18px;
    }

    .promo-slider-dots {
        bottom: 18px;
    }

    .back-to-top {
        width: 46px;
        height: 46px;
        font-size: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .promo-slider-track,
    .promo-slide-gallery,
    .promo-slide-link,
    .promo-slider-control,
    .promo-slider-dot,
    .back-to-top {
        scroll-behavior: auto;
        transition: none;
    }
}
.promo-details-link {
  position: absolute;
  bottom: 38px;
  right: 18px;
  z-index: 5;
  padding: 10px 18px;
  border-radius: 10px;
  background: #fff;
  color: #173d67;
  box-shadow: 0 2px 12px #0003;
  text-decoration: none;
  font-weight: 700;
}
.promo-details-link:focus-visible { outline: 3px solid #edab4f; outline-offset: 3px; }


/* ===== home ===== */
/* The home page introduces every service; individual pages retain their own heroes. */
.home-page .header-main {
    background: #589ffc;
    padding: 2vw 5vw clamp(20px, 3vw, 40px);
    overflow: hidden;
    isolation: isolate;
    min-height: 36.7vw;
    align-items: flex-start;
}

.home-page .header-main-text {
    position: relative;
    z-index: 1;
    width: 54%;
    max-width: 760px;
    padding: 0;
}

.home-page .header-main .header-main-text h2 {
    margin: 0;
    font-size: clamp(26px, 2.9vw, 46px);
    line-height: 1.25;
}

.home-hero-image {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50%;
    max-height: 100%;
    display: block;
    pointer-events: none;
}

.home-hero-image img {
    display: block;
    width: 100%;
    height: auto;
}

.home-page .header-main-text li {
    margin-top: clamp(8px, 0.65vw, 12px);
    font-size: clamp(16px, 1.1vw, 18px);
    line-height: 1.35;
}

.home-page .header-main button {
    margin-top: 14px;
    font-size: 16px;
}

@media (max-width: 900px) {
    .home-page .header-main {
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        padding: 0 0 28px;
    }

    .home-page .header-main-text {
        order: 1;
        width: auto;
        max-width: none;
        padding: 0 clamp(20px, 5vw, 40px);
    }

    .home-page .header-main .header-main-text h2 {
        font-size: clamp(24px, 4.1vw, 32px);
    }

    .home-hero-image {
        position: static;
        order: 0;
        width: 108%;
        max-width: 648px;
        max-height: none;
        flex-shrink: 0;
        align-self: flex-end;
        /* The hero clips the circle at its right edge, without page overflow. */
        margin: 0 -8% 24px 0;
    }
}

.home-services {
    margin: 48px 15px;
}

.home-services h2 {
    color: #173c6a;
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1.25;
    text-align: center;
}

.home-services-intro {
    margin: 12px auto 28px;
    max-width: 680px;
    text-align: center;
    font-size: 17px;
    line-height: 1.6;
    color: #46576b;
}

.home-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 16px;
    max-width: 1400px;
    margin: 0 auto;
}

.home-service-grid a {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 26px;
    border: 1px solid #d2e2f4;
    border-radius: 15px;
    background: #f3f8ff;
    color: #173c6a;
    transition: background 150ms ease;
}

.home-service-grid a:hover {
    background: #e5f0ff;
}

.home-service-grid a:focus-visible {
    outline: 3px solid #2466b8;
    outline-offset: 3px;
}

.home-service-grid h3 {
    margin: 0 0 12px;
    padding: 0;
    font-size: 23px;
    line-height: 1.25;
    text-align: left;
}

.home-service-grid p {
    margin: 0 0 22px;
    color: #46576b;
    font-size: 16px;
    line-height: 1.6;
}

.home-service-grid span {
    margin-top: auto;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}


/* ===== discount ===== */
/* Стили для блока скидки и таймера */
.discount-is-expired .discount-badge,
.discount-is-expired .discount-submit-btn,
.discount-is-expired .discount-submit-btn:hover {
    background: #666;
    color: #fff;
}
.discount-block {
    background: #589ffc;
    padding: 40px 20px;
    margin: 40px 15px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.discount-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.discount-container h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 24px;
}

.discount-badge {
    background: #e74c3c;
    color: white;
    font-size: 36px;
    font-weight: bold;
    padding: 15px 30px;
    border-radius: 10px;
    display: inline-block;
    margin: 15px 0;
}

.discount-container > p {
    color: #666;
    margin: 15px 0;
    font-size: 16px;
}

.discount-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 25px 0;
}

.flip-card {
    position: relative;
    width: 90px;
    height: 110px;
    perspective: 1000px;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(to bottom, #1a1a1a 0%, #2a2a2a 100%);
    border: 1px solid #333;
    box-shadow: inset 0 1px 3px rgba(255,255,255,0.1);
    transform-style: preserve-3d;
}

.flip-card::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    background: rgba(255,255,255,0.25);
    z-index: 10;
    transform: translateY(-1px);
    pointer-events: none;
}

.flip-card > div {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 56px;
    font-weight: bold;
    font-family: 'Roboto', 'Arial', sans-serif;
    line-height: 1;
    backface-visibility: hidden;
    background: inherit;
}

.flip-top {
    top: 0;
    border-radius: 8px 8px 0 0;
    transform-origin: center bottom;
    z-index: 2;
}

.flip-bottom {
    top: 50%;
    border-radius: 0 0 8px 8px;
    transform-origin: center top;
    transform: rotateX(180deg);
    z-index: 1;
}

.flip-top-content,
.flip-bottom-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 0 8px rgba(255,255,255,0.15);
}

.flip-card.flip .flip-top {
    transform: rotateX(-180deg);
    transition: transform 0.6s cubic-bezier(.2, .8, .2, 1);
}

.flip-card.flip .flip-bottom {
    transform: rotateX(0deg);
    transition: transform 0.6s cubic-bezier(.2, .8, .2, 1);
}

/* Линия посередине карточки */
.flip-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0) 100%);
    z-index: 10;
    pointer-events: none;
    transform: translateY(-1px);
}

.timer-separator {
    font-size: 56px;
    font-weight: bold;
    color: #2c3e50;
    line-height: 110px;
    font-family: 'Roboto', 'Arial', sans-serif;
}

.discount-expired {
    color: #e74c3c;
    font-size: 14px;
    line-height: 1.5;
    margin: 20px 0;
    font-weight: normal;
}

.discount-form {
    margin-top: 25px;
}

.discount-form input {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

.discount-form input:focus {
    outline: none;
    border-color: #589ffc;
}

.discount-policy {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 8px 0 16px;
    text-align: left;
    color: #333;
    font-size: 14px;
    line-height: 1.35;
}

.discount-form .discount-policy-input {
    width: auto;
    flex: 0 0 auto;
    margin: 2px 0 0;
    padding: 0;
    transform: scale(1.15);
}

.discount-policy a {
    color: #0b33b0;
}

.discount-btn {
    width: 100%;
    padding: 15px;
    background: #589ffc;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.discount-btn:hover {
    background: #4a8bfc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(88,159,252,0.4);
}

.discount-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.discount-success {
    color: #27ae60;
    margin-top: 20px;
    font-size: 20px;
    font-weight: bold;
}

.discount-timer {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 30px 0;
}

.flip-card {
    position: relative;
    width: 90px;
    height: 110px;
    perspective: 1000px;
}

.top,
.bottom,
.top-flip,
.bottom-flip {
    position: absolute;
    width: 100%;
    height: 50%;
    overflow: hidden;

    background: #222;
    color: #fff;

    display: flex;
    justify-content: center;

    font-size: 60px;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;

    backface-visibility: hidden;
}

.top,
.top-flip {
    align-items: flex-end;
    border-radius: 10px 10px 0 0;
    border-bottom: 1px solid #111;
}

.bottom,
.bottom-flip {
    align-items: flex-start;
    bottom: 0;
    border-radius: 0 0 10px 10px;
}

.top span,
.top-flip span {
    transform: translateY(50%);
}

.bottom span,
.bottom-flip span {
    transform: translateY(-50%);
}

.top-flip {
    z-index: 5;
    transform-origin: bottom;
}

.bottom-flip {
    z-index: 4;
    transform-origin: top;
    transform: rotateX(90deg);
}

.flip-card.flipping .flip-top {
    animation: flipTop .3s linear forwards;
}

.flip-card.flipping .flip-bottom {
    animation: flipBottom .3s linear .3s forwards;
}

@keyframes flipTop {
    from {
        transform: rotateX(0deg);
    }
    to {
        transform: rotateX(-90deg);
    }
}

@keyframes flipBottom {
    from {
        transform: rotateX(90deg);
    }
    to {
        transform: rotateX(0deg);
    }
}

.flip-card::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,.15);
    z-index: 10;
}

.discount-timer{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:14px;
}

.separator{
  font-size:44px;
  font-weight:700;
  opacity:.6;
}

.flip-card{
  position:relative;
  width:100px;
  height:120px;
  perspective:1000px;
  font-size:70px;
  font-weight:700;
}

.top,.bottom,.flip-top,.flip-bottom{
  position:absolute;
  width:100%;
  height:50%;
  display:flex;
  justify-content:center;
  align-items:center;
  background:linear-gradient(145deg,#111,#1c1c1c);
  color:#fff;
  overflow:hidden;
  border-radius:12px;
  backface-visibility:hidden;
}

.top{top:0;border-bottom:1px solid rgba(255,255,255,.08)}
.bottom{bottom:0}

.flip-top{top:0;transform-origin:bottom}
.flip-bottom{bottom:0;transform-origin:top;transform:rotateX(90deg)}

.discount-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.separator {
  font-size: 44px;
  font-weight: 700;
}

.flip-card {
  position: relative;
  width: 100px;
  height: 120px;
  perspective: 1000px;
  font-size: 70px;
  font-weight: 700;
}

.top, .bottom,
.flip-top, .flip-bottom {
  position: absolute;
  width: 100%;
  height: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #111;
  color: #fff;
  overflow: hidden;
  border-radius: 12px;
  backface-visibility: hidden;
}

.top { top: 0; }
.bottom { bottom: 0; }

.flip-top {
  top: 0;
  transform-origin: bottom;
}

.flip-bottom {
  bottom: 0;
  transform-origin: top;
  transform: rotateX(90deg);
}

/*main, header, footer {
    padding: 0 15px;
}

@media (min-width: 575.98px){
    main, header, footer {
        padding: 0 calc(50vw - 270px);
    }
}

@media (min-width: 767.98px){
    main, header, footer {
        padding: 0 calc(50vw - 360px);
    }
}

@media (min-width: 991.98px) {
    main, header, footer {
        padding: 0 calc(50vw - 480px);
    }
}

@media (min-width: 1199.98px){
    main, header, footer {
        padding: 0 calc(50vw - 590px);
    }
}*/

/* ===== Flip Clock Timer ===== */
.discount-timer-panel {
    margin: 12px 0 6px;
    padding: 2px 0 10px;
    background: transparent;
    border: 0;
}

.discount-timer-panel h3 {
    margin-bottom: 8px;
    font-size: 22px;
}

.fc-timer {
    --fc-card-width: 104px;
    --fc-card-height: 126px;
    --fc-card-radius: 12px;
    --fc-font-size: 68px;
    --fc-fold-time: 260ms;
    --fc-unfold-time: 380ms;
    --fc-card-bg: radial-gradient(ellipse at 45% 38%, #566271 0%, #3b4654 42%, #26303d 76%, #18202b 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 8px 0 0;
}

.fc-sep {
    font-size: 56px;
    font-weight: 600;
    color: rgba(25, 29, 36, 0.82);
    line-height: 1;
    margin-bottom: 4px;
    text-shadow: 0 1px 0 rgba(255,255,255,0.5);
}

.fc-card {
    position: relative;
    width: var(--fc-card-width);
    height: var(--fc-card-height);
    border-radius: var(--fc-card-radius);
    background: var(--fc-card-bg);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow:
        0 3px 8px -3px rgba(0,0,0,0.3),
        0 14px 24px -8px rgba(0,0,0,0.36),
        inset 0 1px 0 rgba(255,255,255,0.2),
        inset 0 0 0 1px rgba(0,0,0,0.46),
        inset 18px 0 28px rgba(0,0,0,0.3),
        inset -18px 0 28px rgba(0,0,0,0.3),
        inset 0 -14px 22px rgba(0,0,0,0.34);
    font-size: var(--fc-font-size);
    font-weight: 500;
    font-family: 'Manrope', 'Roboto', Arial, sans-serif;
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
    perspective: 700px;
    perspective-origin: 50% 50%;
    overflow: hidden;
    transform-style: preserve-3d;
}

.fc-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(ellipse at 42% 30%, rgba(255,255,255,0.15), rgba(255,255,255,0.035) 42%, transparent 68%),
        radial-gradient(ellipse at center, transparent 48%, rgba(0,0,0,0.18) 100%);
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,0.22),
        inset 3px 2px 8px rgba(255,255,255,0.08),
        inset -6px -2px 12px rgba(0,0,0,0.18),
        inset 0 -6px 12px rgba(0,0,0,0.2);
    z-index: 9;
    pointer-events: none;
}

.fc-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    margin-top: -0.5px;
    background:
        linear-gradient(to right, #0d131c, #202936 48%, #0d131c);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.08);
    z-index: 10;
    pointer-events: none;
}

.fc-upper, .fc-lower,
.fc-flip-upper, .fc-flip-lower {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    color: #ffffff;
    background:
        linear-gradient(to right, rgba(0,0,0,0.32), rgba(255,255,255,0.065) 45%, rgba(255,255,255,0.065) 55%, rgba(0,0,0,0.32)),
        var(--fc-card-bg);
    backface-visibility: hidden;
    line-height: 1;
    text-shadow:
        0 1px 0 rgba(255,255,255,0.14),
        0 2px 4px rgba(0,0,0,0.48);
    transform-style: preserve-3d;
}

.fc-upper span, .fc-lower span,
.fc-flip-upper span, .fc-flip-lower span {
    position: absolute;
    left: 0;
    width: 100%;
    height: var(--fc-card-height);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fc-upper, .fc-flip-upper {
    top: 0;
    border-radius: var(--fc-card-radius) var(--fc-card-radius) 0 0;
    border-bottom: 0;
    background:
        linear-gradient(to bottom, rgba(255,255,255,0.08), rgba(255,255,255,0.025) 52%, rgba(0,0,0,0.12)),
        linear-gradient(to right, rgba(0,0,0,0.32), rgba(255,255,255,0.065) 45%, rgba(255,255,255,0.065) 55%, rgba(0,0,0,0.32)),
        var(--fc-card-bg);
}

.fc-lower, .fc-flip-lower {
    bottom: 0;
    border-radius: 0 0 var(--fc-card-radius) var(--fc-card-radius);
    background:
        linear-gradient(to top, rgba(0,0,0,0.24), rgba(255,255,255,0.04) 58%, rgba(255,255,255,0.085)),
        linear-gradient(to right, rgba(0,0,0,0.32), rgba(255,255,255,0.065) 45%, rgba(255,255,255,0.065) 55%, rgba(0,0,0,0.32)),
        var(--fc-card-bg);
}

.fc-upper span, .fc-flip-upper span {
    top: 0;
}

.fc-lower span, .fc-flip-lower span {
    bottom: 0;
}

.fc-flip-upper {
    z-index: 5;
    transform-origin: center bottom;
    visibility: hidden;
    transform: rotateX(0deg);
}

.fc-flip-lower {
    z-index: 4;
    transform-origin: center top;
    visibility: hidden;
    transform: rotateX(90deg);
}

.fc-card.fc-animate .fc-flip-upper,
.fc-card.fc-animate .fc-flip-lower {
    visibility: visible;
}

.fc-card.fc-animate .fc-flip-upper {
    animation: fc-fold var(--fc-fold-time) cubic-bezier(.55, .04, .85, .5) both;
}

.fc-card.fc-animate .fc-flip-lower {
    animation: fc-unfold var(--fc-unfold-time) linear var(--fc-fold-time) both;
}

/* Lighting follows the leaf instead of darkening the entire digit with a filter. */
.fc-flip-upper::after, .fc-flip-lower::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(0,0,0,.1), rgba(0,0,0,.65));
    opacity: 0;
}

.fc-flip-lower::after {
    background: linear-gradient(to bottom, rgba(0,0,0,.58), rgba(0,0,0,.08));
}

.fc-card.fc-animate .fc-flip-upper::after {
    animation: fc-fold-shade var(--fc-fold-time) ease-in both;
}

.fc-card.fc-animate .fc-flip-lower::after {
    animation: fc-unfold-shade var(--fc-unfold-time) ease-out var(--fc-fold-time) both;
}

@keyframes fc-fold {
    0% {
        transform: rotateX(0deg);
    }
    100% {
        transform: rotateX(-90deg);
    }
}

@keyframes fc-unfold {
    0% {
        transform: rotateX(90deg);
        animation-timing-function: cubic-bezier(.16, .65, .32, 1);
    }
    76% {
        transform: rotateX(0deg);
        animation-timing-function: ease-out;
    }
    89% {
        transform: rotateX(3deg);
        animation-timing-function: ease-in;
    }
    100% {
        transform: rotateX(0deg);
    }
}

@keyframes fc-fold-shade {
    from { opacity: 0; }
    to { opacity: .7; }
}

@keyframes fc-unfold-shade {
    from { opacity: .7; }
    76%, to { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .fc-card.fc-animate .fc-flip-upper,
    .fc-card.fc-animate .fc-flip-lower {
        animation: none;
        visibility: hidden;
    }
    .fc-card.fc-animate .fc-flip-upper::after,
    .fc-card.fc-animate .fc-flip-lower::after {
        animation: none;
    }
}

@media (max-width: 768px) {
    .discount-timer-panel {
        margin-top: 10px;
        padding: 4px 10px 14px;
    }

    .discount-timer-panel h3 {
        font-size: 18px;
    }

    .fc-timer {
        --fc-card-width: 68px;
        --fc-card-height: 84px;
        --fc-card-radius: 8px;
        --fc-font-size: 46px;
        gap: 6px;
    }

    .fc-sep {
        font-size: 40px;
        margin-bottom: 2px;
    }
}
.public-form-turnstile {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 65px;
    margin: 12px 0;
    overflow: hidden;
    box-sizing: border-box;
}

.public-form-turnstile > div,
.public-form-turnstile iframe {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

@media (min-width: 1025px) {
    .slide-callback .public-form-turnstile > div,
    .slide-callback .public-form-turnstile iframe {
        width: 300px !important;
        max-width: 300px !important;
    }
}

.public-form-security-error {
    width: 100%;
    margin: 0 0 10px;
    color: #9f1c1c;
    font-size: 14px;
    line-height: 1.35;
}

.public-form-security-error[hidden] {
    display: none;
}


/* ===== service-hero-photos-responsive ===== */
/* Reuse the refrigerator page's spacing and typography from style.css. */
body.service-photo-page .header-main {
    background: #589ffc;
    min-height: 0;
    overflow: hidden;
    isolation: isolate;
}

body.service-photo-page .header-main::before,
body.service-photo-page .header-main::after {
    content: none;
    display: none;
}

body.service-photo-page .header-main .service-hero-text {
    z-index: 1;
}

body.service-photo-page .service-hero-image {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 60%;
    height: 100%;
    transform: translateX(16%);
    display: block;
    pointer-events: none;
}

body.service-photo-page .service-hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right bottom;
}

@media (min-width: 769px) {
    body.service-photo-page .header-main .service-hero-text {
        position: relative;
    }
}

/* Match the home page image placement; retain service text typography. */
@media (max-width: 900px) {
    body.service-photo-page .header-main {
        flex-direction: column;
        align-items: stretch;
        padding: 0 0 28px;
    }

    body.service-photo-page .header-main .service-hero-text {
        position: relative;
        order: 1;
        width: 100%;
        padding: 0 5vw;
    }

    body.service-photo-page .service-hero-image {
        position: static;
        height: auto;
        transform: none;
        order: 0;
        width: 108%;
        max-width: 648px;
        max-height: none;
        flex-shrink: 0;
        align-self: flex-end;
        margin: 0 -8% 24px 0;
    }
}

@media (max-width: 900px) {
    body.service-photo-page .service-hero-image img {
        height: auto;
    }
}

/* Tighter text rhythm on the dishwasher hero. */
body.dishwasher-page.service-photo-page:not(.stove-page) .header-main .header-main-text h2 {
    line-height: 1.15;
}

body.dishwasher-page.service-photo-page:not(.stove-page) .header-main-text li:not(:last-child) {
    margin-top: clamp(8px, 1vw, 16px);
    line-height: 1.25;
}

/* The browser selects one source; each SVG keeps its original vector contour. */
body.service-photo-page .service-hero-image picture {
    display: block;
    width: 100%;
    height: 100%;
}

@media (max-width: 900px) {
    body.service-photo-page .service-hero-image picture {
        height: auto;
    }
}


/* ===== refrigeration-hero-reference ===== */
/* Keep the complete refrigeration group in the right column. */
@media (min-width: 901px) {
    body.service-photo-page:where(.commercial-cooling-page) .service-hero-image {
        width: 48%;
        transform: none;
    }
}


/* ===== commercial-equipment-photos ===== */
/* Illustrations for equipment categories only; service icons stay unchanged. */
.commercial-equipment-photos > li > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    padding: 0;
    margin-bottom: 12px;
    border-radius: 10px;
}
.commercial-equipment-photos > li > span {
    display: block;
    font-size: clamp(14px, 1.333vw, 22px);
    line-height: 1.35;
}
