:root {
  --fp-accent: #ff3d12;
  --fp-accent-dark: #dd2b06;
  --fp-ink: #15171a;
  --fp-ink-soft: #353a40;
  --fp-muted: #687078;
  --fp-line: #dfe3e6;
  --fp-bg: #f3f5f6;
  --fp-white: #ffffff;
  --fp-radius-sm: 14px;
  --fp-radius: 22px;
  --fp-radius-lg: 32px;
  --fp-shadow: 0 18px 50px rgba(20, 24, 28, 0.09);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--fp-bg);
  color: var(--fp-ink);
  font-family: "Ubuntu", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-underline-offset: 0.2em;
}

/* Шапка и основная навигация. Файл подключён только в шаблоне главной. */
.header > .d-flex {
  gap: 22px;
  padding-top: 22px !important;
  padding-bottom: 22px !important;
  border-bottom: 0 !important;
}

.header .headlogo,
.header .headlogo:hover {
  flex: 0 0 auto;
  margin: 0;
  color: var(--fp-ink);
}

.header .headlogo img {
  width: 190px;
  height: auto;
  margin: 0;
}

.header .worktime-block {
  max-width: 360px;
}

.header .worktime-block .address {
  color: var(--fp-ink);
  font-size: 8px;
  font-weight: 700;
}

.header .worktime-block .worktime {
  color: var(--fp-muted);
  font-size: 14px;
  line-height: 1.45;
}

.header .msg_outer {
  gap: 7px;
}

.header .msg_outer .msg {
  margin: 0;
}

.header .msg_outer a,
.header .email-block a,
.header .phones-block a {
  color: var(--fp-ink);
}

.header .phone_outer {
  margin-left: auto;
}

.header .phones-block,
.header .email-block {
  padding-right: 0;
}

.header .phones-block .view {
  display: none;
}

.header .phones-block a {
  border: 0;
  font-size: 20px;
  font-weight: 700;
}

.header .email-block a {
  border: 0;
  color: var(--fp-muted);
  font-size: 14px;
}

.header .msMiniCart::before {
  background-color: var(--fp-accent);
}

.navbar.navbar-light {
  position: relative;
  z-index: 30;
  margin-bottom: 0 !important;
  padding: 0;
  background: var(--fp-ink) !important;
  border-radius: 0;
}

.navbar .container-fluid {
  width: min(100% - 40px, 1320px);
  margin-inline: auto;
  padding: 0;
}

.navbar .navbar-nav {
  gap: 4px;
}

.navbar .navbar-nav li {
  margin: 0;
}

.navbar-light .navbar-nav .nav-link {
  padding: 15px 17px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 500;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link.show {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.navbar-light .navbar-nav .nav-link.active span {
  color: #fff;
  border: 0;
}

.navbar .dropdown-menu {
  margin-top: 0;
  padding: 8px;
  border: 1px solid #e1e5e9;
  border-radius: 0 0 12px 12px;
  background: #fff;
  box-shadow: var(--fp-shadow);
}

.navbar .dropdown-menu li + li {
  border: 0;
}

.navbar .dropdown-menu a {
  padding: 10px 12px;
  border-radius: 7px;
  color: #2a3038;
}

.navbar .dropdown-menu a:hover,
.navbar .dropdown-menu a:focus {
  color: var(--fp-red);
  background: #f2f4f6;
}

.search_outer {
  display: none;
}

.fp-home,
.fp-home * {
  box-sizing: border-box;
}

.fp-home {
  color: var(--fp-ink);
}

.fp-home img {
  max-width: 100%;
}

.fp-shell {
  width: min(100% - 40px, 1280px);
  margin-inline: auto;
}

.fp-section {
  padding: clamp(64px, 8vw, 108px) 0;
}

.fp-kicker,
.fp-eyebrow {
  margin: 0 0 14px;
  color: var(--fp-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.fp-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: 44px;
  margin-bottom: 38px;
}

.fp-section-heading h2,
.fp-install h2,
.fp-proof h2,
.fp-info h2,
.fp-contact h2,
.fp-faq .faq_outer h2.title {
  margin: 0;
  color: var(--fp-ink);
  font-size: clamp(2rem, 4vw, 3.65rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.fp-section-heading > p {
  margin: 0;
  color: var(--fp-muted);
  font-size: 17px;
  line-height: 1.65;
}

.fp-section-heading--products {
  grid-template-columns: minmax(0, 1fr) auto;
}

.fp-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.fp-button:hover,
.fp-button:focus-visible {
  transform: translateY(-2px);
  text-decoration: none;
}

.fp-button--accent {
  color: #fff;
  background: var(--fp-accent);
}

.fp-button--accent:hover,
.fp-button--accent:focus-visible {
  color: #fff;
  background: var(--fp-accent-dark);
}

.fp-button--light {
  color: var(--fp-ink);
  background: #fff;
}

.fp-button--light:hover,
.fp-button--light:focus-visible {
  color: var(--fp-ink);
  background: #f0f2f3;
}

.fp-button--dark {
  color: #fff;
  background: var(--fp-ink);
}

.fp-button--dark:hover,
.fp-button--dark:focus-visible {
  color: #fff;
  background: #2a2f34;
}

.fp-button--outline {
  color: var(--fp-ink);
  border-color: #bfc5ca;
  background: transparent;
}

.fp-button--outline:hover,
.fp-button--outline:focus-visible {
  color: #fff;
  border-color: var(--fp-ink);
  background: var(--fp-ink);
}

/* Первый экран */
.fp-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 7vw, 94px) 0 clamp(64px, 8vw, 104px);
  color: #fff;
  background:
    radial-gradient(circle at 8% 15%, rgba(255, 61, 18, 0.24), transparent 28%),
    linear-gradient(135deg, #111316 0%, #1d2227 100%);
}

.fp-hero::after {
  position: absolute;
  right: -160px;
  bottom: -240px;
  width: 520px;
  height: 520px;
  border: 90px solid rgba(255, 255, 255, 0.035);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.fp-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  align-items: center;
  gap: clamp(44px, 7vw, 92px);
}

.fp-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.65rem, 5.5vw, 5.35rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.fp-hero__lead {
  max-width: 690px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.6;
}

.fp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.fp-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.fp-hero__facts li {
  position: relative;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 500;
}

.fp-hero__facts li::before {
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 9px;
  height: 9px;
  border: 2px solid var(--fp-accent);
  border-radius: 50%;
  content: "";
}

.fp-hero__media {
  position: relative;
  min-height: 480px;
}

.fp-hero__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 480px;
  border-radius: var(--fp-radius-lg);
  object-fit: cover;
  object-position: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.fp-hero__badge {
  position: absolute;
  z-index: 2;
  right: -18px;
  bottom: -18px;
  display: grid;
  gap: 4px;
  max-width: 270px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--fp-radius-sm);
  color: var(--fp-ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--fp-shadow);
  backdrop-filter: blur(12px);
}

.fp-hero__badge span {
  color: var(--fp-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fp-hero__badge strong {
  font-size: 17px;
  line-height: 1.3;
}

/* Направления */
.fp-services {
  background: var(--fp-bg);
}

.fp-services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.fp-service-card {
  overflow: hidden;
  border: 1px solid var(--fp-line);
  border-radius: var(--fp-radius);
  background: #fff;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

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

.fp-service-card__image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e9ecee;
}

.fp-service-card__image img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  transition: transform 350ms ease;
}

.fp-service-card:hover .fp-service-card__image img {
  transform: scale(1.025);
}

.fp-service-card__body {
  padding: 26px;
}

.fp-service-card__number {
  display: block;
  margin-bottom: 28px;
  color: var(--fp-accent);
  font-size: 13px;
  font-weight: 700;
}

.fp-service-card h3 {
  margin: 0;
  font-size: clamp(21px, 2.2vw, 28px);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.fp-service-card h3 a {
  color: var(--fp-ink);
  text-decoration: none;
}

.fp-service-card p {
  min-height: 76px;
  margin: 16px 0 22px;
  color: var(--fp-muted);
}

.fp-text-link {
  color: var(--fp-ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.fp-text-link span {
  margin-left: 7px;
  color: var(--fp-accent);
}

.fp-text-link:hover,
.fp-text-link:focus-visible {
  color: var(--fp-accent);
}

.fp-service-card--dark {
  border-color: var(--fp-ink);
  color: #fff;
  background: var(--fp-ink);
}

.fp-service-card--dark h3 a,
.fp-service-card--dark .fp-text-link {
  color: #fff;
}

.fp-service-card--dark p {
  color: rgba(255, 255, 255, 0.65);
}

/* Товарные карточки miniShop2 */
.fp-products {
  background: #fff;
}

.fp-products__grid.itemsList {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.fp-products__grid .ms2_product {
  position: relative;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}

.fp-products__grid .ms2_product .card {
  height: 100%;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--fp-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: none !important;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.fp-products__grid .ms2_product .card:hover {
  transform: translateY(-4px);
  border-color: #c8cdd1;
  box-shadow: 0 16px 38px rgba(25, 29, 33, 0.09) !important;
}

.fp-products__grid .card-img-top {
  display: grid;
  aspect-ratio: 1 / 0.82;
  place-items: center;
  overflow: hidden;
  background: #f5f6f7;
}

.fp-products__grid .card-img-top a {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.fp-products__grid .card-img-top img {
  width: 100%;
  height: 100%;
  padding: 10px;
  border-radius: 0;
  object-fit: contain;
}

.fp-products__grid .card-body {
  display: flex;
  min-height: 235px;
  flex-direction: column;
  justify-content: flex-start;
  padding: 18px;
}

.fp-products__grid .card-title {
  margin: 0 0 16px;
  color: var(--fp-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.38;
}

.fp-products__grid .price_outer {
  margin-top: auto;
}

.fp-products__grid .price {
  color: var(--fp-ink);
  font-size: 19px;
}

.fp-products__grid .old_price {
  color: var(--fp-muted);
  font-size: 14px;
}

.fp-products__grid .btn-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}

.fp-products__grid .btn-group .btn,
.fp-products__grid .btn-group input.btn {
  width: 100%;
  min-height: 40px;
  border-radius: 8px !important;
  font-size: 14px;
  font-weight: 700;
}

.fp-products__grid .btn-outline-warning,
.fp-products__grid .btn-outline-secondary {
  color: var(--fp-ink);
  border-color: #cbd0d4;
}

.fp-products__grid .btn-warning,
.fp-products__grid .btn-secondary,
.fp-products__grid .btn.btn-warning {
  color: #fff;
  border-color: var(--fp-accent);
  background: var(--fp-accent);
}

.fp-products__grid .flags {
  top: 12px;
  left: 12px;
  z-index: 4;
}

.fp-products__grid .flags .badge {
  padding: 6px 9px;
  color: #fff;
  border-radius: 6px;
  background: var(--fp-accent);
  font-size: 12px;
}

/* Этапы */
.fp-install {
  background: var(--fp-bg);
}

.fp-install__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1.18fr);
  align-items: start;
  gap: clamp(48px, 8vw, 110px);
}

.fp-install__intro {
  position: sticky;
  top: 28px;
}

.fp-install__intro > p:not(.fp-kicker) {
  margin: 24px 0 30px;
  color: var(--fp-muted);
  font-size: 17px;
}

.fp-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.fp-steps li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--fp-line);
  border-radius: var(--fp-radius-sm);
  background: #fff;
}

.fp-steps li > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: var(--fp-accent);
  font-size: 13px;
  font-weight: 700;
}

.fp-steps h3 {
  margin: 0 0 7px;
  color: var(--fp-ink);
  font-size: 20px;
  line-height: 1.25;
}

.fp-steps p {
  margin: 0;
  color: var(--fp-muted);
  line-height: 1.55;
}

/* Доверие */
.fp-proof {
  padding-top: 0;
  background: var(--fp-bg);
}

.fp-proof__panel {
  overflow: hidden;
  padding: clamp(34px, 5vw, 66px);
  border-radius: var(--fp-radius-lg);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 61, 18, 0.14), transparent 38%),
    var(--fp-ink);
}

.fp-proof__heading {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 44px;
  align-items: start;
}

.fp-proof__heading h2 {
  color: #fff;
}

.fp-proof__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 52px;
  background: rgba(255, 255, 255, 0.14);
}

.fp-proof__grid article {
  padding: 26px;
  background: var(--fp-ink);
}

.fp-proof__grid strong {
  display: block;
  margin-bottom: 18px;
  color: var(--fp-accent);
  font-size: clamp(2rem, 4vw, 3.3rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.fp-proof__grid h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 18px;
}

.fp-proof__grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.55;
}

/* Информационный блок */
.fp-info {
  background: #fff;
}

.fp-info__layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(48px, 8vw, 120px);
}

.fp-info__title {
  position: sticky;
  top: 28px;
  align-self: start;
}

.fp-info__content > p {
  margin: 0;
  color: var(--fp-ink-soft);
  font-size: 18px;
  line-height: 1.75;
}

.fp-info__content > p + p {
  margin-top: 22px;
}

.fp-info__notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.fp-info__notes > div {
  padding: 24px;
  border: 1px solid var(--fp-line);
  border-radius: var(--fp-radius-sm);
  background: var(--fp-bg);
}

.fp-info__notes h3 {
  margin: 0 0 10px;
  color: var(--fp-ink);
  font-size: 18px;
}

.fp-info__notes p {
  margin: 0;
  color: var(--fp-muted);
  font-size: 15px;
}

/* Статьи */
.fp-articles {
  background: var(--fp-bg);
}

.fp-articles__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

.fp-articles__grid .blog_row {
  width: auto;
  max-width: none;
  margin: 0 !important;
  padding: 0;
}

.fp-articles__grid .blog_row_inner,
.fp-articles__grid .blog_row:nth-child(even) .blog_row_inner,
.fp-articles__grid .blog_row:nth-child(odd) .blog_row_inner {
  height: 100%;
  overflow: hidden;
  padding: 0 0 24px;
  border: 1px solid var(--fp-line);
  border-radius: var(--fp-radius-sm);
  background: #fff;
}

.fp-articles__grid .image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e9ecee;
}

.fp-articles__grid .image img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
}

.fp-articles__grid .name,
.fp-articles__grid .text {
  padding-inline: 22px;
}

.fp-articles__grid .name {
  margin-top: 22px;
}

.fp-articles__grid .name h4.title {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.3;
}

.fp-articles__grid .name a {
  color: var(--fp-ink);
  text-decoration: none;
}

.fp-articles__grid .text {
  color: var(--fp-muted);
  font-size: 15px;
}

/* FAQ из существующего MIGX-чанка */
.fp-faq {
  background: #fff;
}

.fp-faq .faq_outer {
  max-width: 920px;
  margin: 0 auto !important;
}

.fp-faq .faq_outer h2.title {
  margin-bottom: 34px;
  text-align: center;
}

.fp-faq .faq_outer .accordion-button,
.fp-faq .faq_outer .accordion-item:first-of-type .accordion-button,
.fp-faq .faq_outer .accordion-item:last-of-type .accordion-button.collapsed {
  margin-bottom: 10px;
  padding: 18px 20px;
  border: 1px solid var(--fp-line);
  border-radius: 12px;
  color: var(--fp-ink);
  background: var(--fp-bg);
  font-size: 16px;
  font-weight: 700;
  box-shadow: none;
}

.fp-faq .faq_outer .accordion-button:not(.collapsed) {
  color: #fff;
  border-color: var(--fp-ink);
  background: var(--fp-ink);
}

.fp-faq .faq_outer .accordion-body {
  margin: -10px 12px 14px;
  padding: 22px;
  border: 1px solid var(--fp-line);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  color: var(--fp-ink-soft);
  background: #fff;
}

/* Финальный призыв */
.fp-contact {
  padding: 0 0 clamp(64px, 8vw, 108px);
  background: #fff;
}

.fp-contact__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 54px;
  padding: clamp(34px, 5vw, 62px);
  border-radius: var(--fp-radius-lg);
  color: #fff;
  background: var(--fp-accent);
}

.fp-contact .fp-kicker {
  color: rgba(255, 255, 255, 0.72);
}

.fp-contact h2 {
  max-width: 850px;
  color: #fff;
}

.fp-contact__actions {
  display: grid;
  min-width: 240px;
  gap: 10px;
  text-align: center;
}

.fp-contact__phone {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.fp-contact__phone:hover,
.fp-contact__phone:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.fp-contact__actions span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

/* Подвал */
.footer {
  margin-top: 0;
  padding: 54px 0 22px;
  border-top: 0;
  color: rgba(255, 255, 255, 0.7);
  background: var(--fp-ink);
}

.footer h3.title {
  margin: 0 0 20px;
  color: #fff;
  font-size: 18px;
}

.footer .footer_menu a,
.footer .footer_copyright a {
  color: rgba(255, 255, 255, 0.76);
  border-color: rgba(255, 255, 255, 0.28);
}

.footer .footer_menu a:hover,
.footer .footer_copyright a:hover {
  color: #fff;
  border-color: var(--fp-accent);
}

.footer .footer_txt {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.48);
}

.footer .footer_copyright {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1199px) {
  .header .worktime-block {
    display: none;
  }

  .fp-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
    gap: 48px;
  }

  .fp-hero__media,
  .fp-hero__media img {
    min-height: 420px;
  }

  .fp-products__grid.itemsList {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fp-proof__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .header > .d-flex {
    gap: 16px;
  }

  .header .headlogo {
    width: auto;
    margin-bottom: 0;
  }

  .header .msg_outer {
    display: none;
  }

  .header .phone_outer {
    margin-left: auto;
  }

  .navbar.navbar-light {
    padding: 12px 0;
  }

  .navbar .navbar-toggler {
    padding: 10px;
    border: 0;
    border-radius: 8px;
    background-color: #fff;
  }

  .navbar .navbar-nav {
    gap: 3px;
    margin: 12px 0 0;
  }

  .navbar-light .navbar-nav .nav-link {
    padding: 11px 12px;
  }

  .fp-hero__grid,
  .fp-install__layout,
  .fp-info__layout {
    grid-template-columns: 1fr;
  }

  .fp-hero__grid {
    gap: 54px;
  }

  .fp-hero__media {
    width: min(100%, 720px);
  }

  .fp-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fp-service-card:last-child {
    grid-column: 1 / -1;
  }

  .fp-service-card:last-child {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
  }

  .fp-service-card:last-child .fp-service-card__image {
    height: 100%;
    aspect-ratio: auto;
  }

  .fp-install__intro,
  .fp-info__title {
    position: static;
  }

  .fp-proof__heading {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .fp-articles__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fp-contact__panel {
    grid-template-columns: 1fr;
  }

  .fp-contact__actions {
    width: min(100%, 320px);
  }
}

@media (max-width: 767px) {
  .fp-shell,
  .navbar .container-fluid {
    width: min(100% - 28px, 1280px);
  }

  .header > .d-flex {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

  .header .headlogo img {
    width: 155px;
  }

  .header .email-block {
    display: none;
  }

  .header .phones-block {
    padding: 0;
  }

  .header .phones-block a {
    font-size: 16px;
  }

  .header .minicart_outer {
    width: auto;
    margin-top: 0;
  }

  .header .msMiniCart::before {
    position: static;
    width: 38px;
    height: 38px;
    margin: 0;
  }

  .header .msMiniCart > div {
    display: none;
  }

  .fp-section-heading,
  .fp-section-heading--products {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .fp-section-heading--products .fp-button {
    justify-self: start;
  }

  .fp-services__grid,
  .fp-articles__grid {
    grid-template-columns: 1fr;
  }

  .fp-service-card:last-child {
    display: block;
    grid-column: auto;
  }

  .fp-service-card:last-child .fp-service-card__image {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .fp-service-card p {
    min-height: 0;
  }

  .fp-products__grid.itemsList {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fp-proof__grid,
  .fp-info__notes {
    grid-template-columns: 1fr;
  }

  .fp-proof__grid article {
    padding: 22px 0;
  }
}

@media (max-width: 540px) {
  .header .phone_outer {
    display: none;
  }

  .header .minicart_outer {
    margin-left: auto;
  }

  .fp-hero {
    padding-top: 44px;
  }

  .fp-hero h1 {
    font-size: clamp(2.3rem, 12vw, 3.35rem);
  }

  .fp-hero__lead {
    margin-top: 20px;
    font-size: 16px;
  }

  .fp-actions {
    display: grid;
  }

  .fp-actions .fp-button {
    width: 100%;
  }

  .fp-hero__facts {
    display: grid;
    gap: 10px;
  }

  .fp-hero__media,
  .fp-hero__media img {
    min-height: 320px;
  }

  .fp-hero__badge {
    right: 10px;
    bottom: -28px;
    max-width: calc(100% - 20px);
  }

  .fp-section {
    padding: 60px 0;
  }

  .fp-section-heading h2,
  .fp-install h2,
  .fp-proof h2,
  .fp-info h2,
  .fp-contact h2,
  .fp-faq .faq_outer h2.title {
    font-size: 2.05rem;
  }

  .fp-products__grid.itemsList {
    grid-template-columns: 1fr;
  }

  .fp-products__grid .card-body {
    min-height: 0;
  }

  .fp-products__grid .card-img-top {
    aspect-ratio: 16 / 10;
  }

  .fp-steps li {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }

  .fp-steps li > span {
    width: 40px;
    height: 40px;
  }

  .fp-proof__panel,
  .fp-contact__panel {
    margin-inline: -4px;
    border-radius: 22px;
  }

  .fp-info__content > p {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fp-home *,
  .fp-home *::before,
  .fp-home *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
