@font-face {
  font-family: "Cantarell Local";
  src: url("../fonts/Cantarell-VF.otf") format("opentype");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DejaVu Sans Local";
  src: url("../fonts/DejaVuSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DejaVu Sans Local";
  src: url("../fonts/DejaVuSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-body: "DejaVu Sans Local", "Segoe UI", sans-serif;
  --font-display: "Cantarell Local", "Trebuchet MS", sans-serif;
  --bg: #f4f7f6;
  --surface: #ffffff;
  --surface-2: #eaf0ee;
  --text: #17211c;
  --muted: #405247;
  --line: #d3ddd8;
  --accent: #00684a;
  --accent-2: #0a8a64;
  --radius: 14px;
  --shadow: 0 10px 24px rgba(19, 33, 28, 0.08);
  --hero-bg:
    linear-gradient(115deg, rgba(12, 20, 30, 0.9) 8%, rgba(20, 28, 38, 0.52) 50%, rgba(35, 25, 18, 0.7) 100%),
    radial-gradient(circle at 84% 48%, rgba(255, 188, 88, 0.42), transparent 45%),
    radial-gradient(circle at 74% 16%, rgba(134, 194, 255, 0.24), transparent 35%),
    linear-gradient(145deg, #2b3135 0%, #5f4f3e 48%, #283744 100%);
  --hero-lines:
    radial-gradient(circle at 62% 20%, rgba(226, 243, 255, 0.92) 0 2px, transparent 3px),
    radial-gradient(circle at 69% 27%, rgba(226, 243, 255, 0.78) 0 2px, transparent 3px),
    radial-gradient(circle at 77% 34%, rgba(226, 243, 255, 0.78) 0 2px, transparent 3px),
    radial-gradient(circle at 84% 24%, rgba(226, 243, 255, 0.8) 0 2px, transparent 3px),
    linear-gradient(88deg, transparent 60%, rgba(226, 243, 255, 0.44) 60.2%, transparent 60.4%),
    linear-gradient(28deg, transparent 69%, rgba(226, 243, 255, 0.34) 69.2%, transparent 69.4%),
    linear-gradient(146deg, transparent 65%, rgba(226, 243, 255, 0.32) 65.2%, transparent 65.4%);
  --hero-rings:
    radial-gradient(circle at 76% 21%, rgba(238, 248, 255, 0.8) 0 52px, transparent 53px),
    radial-gradient(circle at 76% 21%, rgba(238, 248, 255, 0.42) 0 79px, transparent 80px),
    radial-gradient(circle at 66% 35%, rgba(238, 248, 255, 0.52) 0 28px, transparent 29px),
    radial-gradient(circle at 84% 35%, rgba(238, 248, 255, 0.52) 0 32px, transparent 33px);
  --hero-article-color: #edf4f8;
  --hero-tag-bg: rgba(230, 244, 255, 0.14);
  --hero-tag-border: rgba(230, 244, 255, 0.4);
  --hero-tag-text: #e9f5ff;
  --hero-btn-text: #f3fbff;
  --hero-btn-border: rgba(230, 244, 255, 0.65);
  --hero-btn-bg: rgba(9, 18, 25, 0.3);
}

body.hero-v1 {
  --hero-bg:
    linear-gradient(116deg, rgba(14, 22, 30, 0.92) 10%, rgba(18, 28, 39, 0.56) 52%, rgba(28, 36, 42, 0.74) 100%),
    radial-gradient(circle at 85% 52%, rgba(255, 176, 76, 0.3), transparent 44%),
    radial-gradient(circle at 73% 14%, rgba(127, 185, 245, 0.19), transparent 34%),
    linear-gradient(148deg, #2f3538 0%, #5a4d3f 46%, #2e3b46 100%);
}

body.hero-v2 {
  --hero-bg:
    linear-gradient(113deg, rgba(8, 16, 24, 0.95) 6%, rgba(11, 22, 34, 0.62) 50%, rgba(17, 22, 25, 0.78) 100%),
    radial-gradient(circle at 83% 50%, rgba(255, 201, 113, 0.54), transparent 43%),
    radial-gradient(circle at 75% 18%, rgba(112, 186, 255, 0.35), transparent 34%),
    linear-gradient(145deg, #1f2428 0%, #3f3730 48%, #202d39 100%);
  --hero-lines:
    radial-gradient(circle at 62% 20%, rgba(233, 246, 255, 1) 0 2px, transparent 3px),
    radial-gradient(circle at 69% 27%, rgba(233, 246, 255, 0.92) 0 2px, transparent 3px),
    radial-gradient(circle at 77% 34%, rgba(233, 246, 255, 0.92) 0 2px, transparent 3px),
    radial-gradient(circle at 84% 24%, rgba(233, 246, 255, 0.95) 0 2px, transparent 3px),
    linear-gradient(88deg, transparent 60%, rgba(233, 246, 255, 0.58) 60.2%, transparent 60.4%),
    linear-gradient(28deg, transparent 69%, rgba(233, 246, 255, 0.46) 69.2%, transparent 69.4%),
    linear-gradient(146deg, transparent 65%, rgba(233, 246, 255, 0.42) 65.2%, transparent 65.4%);
  --hero-rings:
    radial-gradient(circle at 76% 21%, rgba(244, 250, 255, 0.9) 0 56px, transparent 57px),
    radial-gradient(circle at 76% 21%, rgba(244, 250, 255, 0.6) 0 86px, transparent 87px),
    radial-gradient(circle at 66% 35%, rgba(244, 250, 255, 0.62) 0 30px, transparent 31px),
    radial-gradient(circle at 84% 35%, rgba(244, 250, 255, 0.62) 0 34px, transparent 35px);
}

body.hero-v3 {
  --hero-bg:
    linear-gradient(108deg, rgba(9, 16, 20, 0.93) 8%, rgba(16, 26, 34, 0.63) 49%, rgba(15, 23, 32, 0.82) 100%),
    radial-gradient(circle at 85% 52%, rgba(39, 175, 255, 0.32), transparent 45%),
    radial-gradient(circle at 72% 16%, rgba(112, 255, 212, 0.3), transparent 35%),
    linear-gradient(145deg, #1f2428 0%, #233238 48%, #20242c 100%);
  --hero-lines:
    radial-gradient(circle at 62% 20%, rgba(214, 255, 245, 0.94) 0 2px, transparent 3px),
    radial-gradient(circle at 69% 27%, rgba(214, 255, 245, 0.82) 0 2px, transparent 3px),
    radial-gradient(circle at 77% 34%, rgba(214, 255, 245, 0.82) 0 2px, transparent 3px),
    radial-gradient(circle at 84% 24%, rgba(214, 255, 245, 0.82) 0 2px, transparent 3px),
    linear-gradient(88deg, transparent 60%, rgba(214, 255, 245, 0.48) 60.2%, transparent 60.4%),
    linear-gradient(28deg, transparent 69%, rgba(214, 255, 245, 0.4) 69.2%, transparent 69.4%),
    linear-gradient(146deg, transparent 65%, rgba(214, 255, 245, 0.38) 65.2%, transparent 65.4%);
  --hero-rings:
    radial-gradient(circle at 76% 21%, rgba(219, 255, 247, 0.84) 0 56px, transparent 57px),
    radial-gradient(circle at 76% 21%, rgba(219, 255, 247, 0.55) 0 86px, transparent 87px),
    radial-gradient(circle at 66% 35%, rgba(219, 255, 247, 0.55) 0 30px, transparent 31px),
    radial-gradient(circle at 84% 35%, rgba(219, 255, 247, 0.55) 0 34px, transparent 35px);
}

body.hero-v4 {
  --hero-bg:
    linear-gradient(95deg, rgba(3, 10, 24, 0.88) 0%, rgba(4, 19, 44, 0.74) 42%, rgba(6, 41, 82, 0.26) 68%, rgba(8, 54, 108, 0.1) 100%),
    radial-gradient(circle at 79% 22%, rgba(88, 201, 255, 0.24) 0%, rgba(88, 201, 255, 0.1) 18%, rgba(88, 201, 255, 0) 42%),
    radial-gradient(circle at 70% 76%, rgba(52, 176, 255, 0.18) 0%, rgba(52, 176, 255, 0.08) 14%, rgba(52, 176, 255, 0) 34%),
    image-set(
      url("../img/smart-home-phone-740.avif") type("image/avif"),
      url("../img/smart-home-phone-740.webp") type("image/webp")
    ),
    linear-gradient(135deg, #091a33 0%, #113a66 100%);
  --hero-lines:
    linear-gradient(88deg, transparent 52%, rgba(164, 233, 255, 0.28) 52.2%, transparent 52.4%),
    linear-gradient(90deg, transparent 66%, rgba(164, 233, 255, 0.22) 66.2%, transparent 66.4%);
  --hero-rings:
    radial-gradient(circle at 76% 23%, rgba(131, 226, 255, 0.44) 0 50px, transparent 51px),
    radial-gradient(circle at 76% 23%, rgba(131, 226, 255, 0.2) 0 78px, transparent 79px);
  --hero-article-color: #edf4f8;
  --hero-tag-bg: rgba(228, 242, 255, 0.16);
  --hero-tag-border: rgba(228, 242, 255, 0.42);
  --hero-tag-text: #ebf6ff;
  --hero-btn-text: #eef8ff;
  --hero-btn-border: rgba(228, 242, 255, 0.56);
  --hero-btn-bg: rgba(11, 21, 30, 0.45);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg);
  background-image: linear-gradient(180deg, #f8faf9 0%, #edf2ef 100%);
  line-height: 1.62;
  font-weight: 500;
  letter-spacing: 0.004em;
}

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

a {
  color: var(--accent);
}

.container {
  width: 100%;
  max-width: 1120px;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(135deg, #123126 0%, #1f4a3a 100%);
  border-bottom: 1px solid rgba(197, 228, 213, 0.28);
  backdrop-filter: blur(8px);
  box-shadow:
    0 10px 24px rgba(8, 26, 19, 0.36),
    inset 0 -1px 0 rgba(224, 247, 236, 0.18);
  overflow: hidden;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: -30% -10%;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 42%, rgba(86, 184, 144, 0.2), transparent 42%),
    radial-gradient(circle at 82% 60%, rgba(90, 191, 255, 0.16), transparent 40%);
  animation: cta-breathe 5.5s ease-in-out infinite;
  opacity: 0.9;
}

.topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  color: #eaf4ef;
  text-decoration: none;
  font-weight: 680;
  letter-spacing: 0.012em;
  text-shadow: 0 1px 10px rgba(12, 35, 26, 0.55);
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 6px 14px rgba(5, 28, 21, 0.35);
  flex: 0 0 auto;
}

.menu {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.menu a {
  font-family: var(--font-display);
  text-decoration: none;
  color: #eaf4ef;
  font-weight: 620;
  letter-spacing: 0.006em;
  text-shadow: 0 1px 10px rgba(12, 35, 26, 0.45);
}

.header-faq-mobile {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.006em;
  color: #ecf8f2;
  border: 1px solid rgba(205, 238, 225, 0.34);
  background: rgba(10, 28, 20, 0.45);
  white-space: nowrap;
  margin-left: auto;
}


.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 44px;
  background: var(--hero-bg);
  background-size: cover;
  background-position: center;
  min-height: clamp(430px, 62vh, 680px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: var(--hero-lines);
  opacity: 0.95;
  background-size: cover;
  background-position: right center;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 44%, rgba(0, 0, 0, 0.55) 58%, #000 70%);
  mask-image: linear-gradient(to right, transparent 0%, transparent 44%, rgba(0, 0, 0, 0.55) 58%, #000 70%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: var(--hero-rings);
  mix-blend-mode: screen;
  opacity: 0.8;
}

body.hero-v4 .hero::after {
  opacity: 0.45;
}

body.hero-v4 .hero::before {
  opacity: 0.58;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.hero article {
  max-width: 760px;
  color: var(--hero-article-color);
  text-shadow: none;
}

body.hero-v4 .hero {
  background-position: center 46%;
}

body.hero-v4 .hero-grid {
  max-width: 1120px;
  width: 100%;
}

body.hero-v4 .hero article {
  max-width: 560px;
  margin-left: auto;
}

.tagline {
  display: inline-block;
  background: var(--hero-tag-bg);
  border: 1px solid var(--hero-tag-border);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 700;
  color: var(--hero-tag-text);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.14;
  margin: 0 0 12px;
  letter-spacing: 0.004em;
}

h1 {
  font-weight: 760;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.002em;
}

@media (min-width: 1024px) {
  h1 {
    font-size: clamp(2.06rem, 4.15vw, 3.09rem);
  }

  body.hero-v4 .hero-grid {
    margin-left: auto;
    margin-right: auto;
    transform: none;
  }
}

h2 {
  font-weight: 700;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  letter-spacing: 0.003em;
}

h3 {
  font-weight: 680;
  font-size: 1.22rem;
  letter-spacing: 0.002em;
}

p {
  margin: 0 0 12px;
  line-height: 1.64;
}

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

.btn {
  display: inline-block;
  font-family: var(--font-display);
  text-decoration: none;
  color: var(--hero-btn-text);
  border: 1px solid var(--hero-btn-border);
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 680;
  letter-spacing: 0.01em;
  background: var(--hero-btn-bg);
  backdrop-filter: blur(2px);
}

.btn.primary {
  background: linear-gradient(135deg, #008e6e 0%, #00ab86 100%);
  border-color: #00b18a;
  color: #fff;
}

body.hero-v4 .hero .btn.primary {
  animation: hero-cta-pulse 2.1s ease-in-out infinite;
}

.section {
  padding: 58px 0;
}

.section h2 {
  margin-bottom: 16px;
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(236, 245, 241, 0.97) 0%, rgba(229, 240, 235, 0.97) 100%),
    repeating-linear-gradient(
      90deg,
      rgba(18, 49, 38, 0.025) 0,
      rgba(18, 49, 38, 0.025) 1px,
      transparent 1px,
      transparent 26px
    );
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust {
  padding-top: 28px;
  background:
    linear-gradient(135deg, rgba(239, 248, 244, 0.98) 0%, rgba(233, 244, 239, 0.98) 100%);
  border-top: 1px solid #d5e5dd;
  border-bottom: 1px solid #d5e5dd;
}

#services {
  background:
    linear-gradient(135deg, rgba(244, 251, 248, 0.99) 0%, rgba(236, 247, 242, 0.99) 100%);
}

#advantages {
  background:
    linear-gradient(180deg, rgba(237, 247, 242, 0.98) 0%, rgba(230, 242, 237, 0.98) 100%),
    repeating-linear-gradient(
      90deg,
      rgba(18, 49, 38, 0.02) 0,
      rgba(18, 49, 38, 0.02) 1px,
      transparent 1px,
      transparent 30px
    );
}

#workflow {
  background:
    linear-gradient(135deg, rgba(242, 250, 246, 0.99) 0%, rgba(235, 246, 241, 0.99) 100%);
  border-top: 1px solid #d7e7df;
  border-bottom: 1px solid #d7e7df;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.trust-item {
  background: #ffffff;
  border: 1px solid #d3ddd8;
  border-top: 4px solid #0f7f5f;
  border-radius: 12px;
  padding: 14px;
  font-weight: 600;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid #0f7f5f;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
  animation: service-in 0.65s ease both;
}

.card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 18px 36px rgba(6, 30, 23, 0.2);
  border-color: #80d8bd;
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 72%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(131, 236, 205, 0.58) 50%, transparent 100%);
  transition: left 0.42s ease;
}

.card:hover::after {
  left: 130%;
}

.cards .card:nth-child(2) {
  animation-delay: 0.1s;
}

.cards .card:nth-child(3) {
  animation-delay: 0.2s;
}

.visual-showcase {
  background: linear-gradient(135deg, #0f1b25 0%, #142736 100%);
  color: #e5f2ff;
}

.visual-showcase h2 {
  color: #edf7ff;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.showcase-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(140, 186, 234, 0.35);
  border-top: 4px solid #0f7f5f;
  background: #0c1620;
  box-shadow: 0 12px 34px rgba(3, 12, 20, 0.55);
  animation: card-in 0.75s ease both;
}

.showcase-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.03);
}

.showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 18%, rgba(96, 200, 255, 0.32), transparent 30%),
    radial-gradient(circle at 82% 82%, rgba(91, 143, 255, 0.26), transparent 34%);
  animation: glow-pulse 3.2s ease-in-out infinite;
}

.showcase-overlay {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
}

.showcase-overlay span {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(169, 214, 255, 0.55);
  background: rgba(11, 24, 35, 0.66);
  color: #ebf7ff;
  font-weight: 600;
  backdrop-filter: blur(3px);
  animation: badge-pulse 2.8s ease-in-out infinite;
}

.showcase-card:nth-child(2) {
  animation-delay: 0.15s;
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes glow-pulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 0.9;
  }
}

@keyframes badge-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(125, 203, 255, 0.24);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(125, 203, 255, 0);
  }
}

@keyframes hero-cta-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 177, 138, 0.55);
  }
  50% {
    transform: scale(1.035);
    box-shadow: 0 0 0 16px rgba(0, 177, 138, 0);
  }
}

@keyframes service-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cta-breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.82;
  }
  50% {
    transform: scale(1.09);
    opacity: 1;
  }
}

@keyframes telegram-glow {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(120, 214, 255, 0.48);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 0 0 13px rgba(120, 214, 255, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.hero-v4 .hero .btn.primary,
  .card,
  .cta-band::before,
  .cta-telegram,
  .showcase-card,
  .showcase-card::after,
  .showcase-overlay span {
    animation: none !important;
  }

  .card::after {
    display: none;
  }
}

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

.checks p {
  margin: 0;
}

.checks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.checks p {
  background: #fff;
  border: 1px solid #d2ddd7;
  border-radius: 10px;
  padding: 12px;
}

.steps {
  list-style: none;
  counter-reset: step;
  margin: 8px 0 0;
  padding: 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 12px 14px 12px 48px;
  border: 1px solid #d2ddd7;
  border-radius: 12px;
  background: #fff;
}

.steps li + li {
  margin-top: 10px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #0f7f5f;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.cta-band {
  background: linear-gradient(135deg, #123126 0%, #1f4a3a 100%);
  color: #eaf4ef;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 42%, rgba(86, 184, 144, 0.26), transparent 40%),
    radial-gradient(circle at 78% 64%, rgba(90, 191, 255, 0.22), transparent 38%);
  animation: cta-breathe 5.5s ease-in-out infinite;
}

.cta-wrap {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
}

.cta-wrap p {
  color: #cfe3da;
}

.cta-actions {
  justify-content: center;
}

.cta-telegram {
  animation: telegram-glow 3.2s ease-in-out infinite;
}

.site-footer {
  background: #112017;
  color: #eaf2ee;
  padding: 40px 0;
}

.site-footer a {
  color: #9fe7c9;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 920px) {
  .hero-grid,
  .trust-grid,
  .showcase-grid,
  .checks,
  .cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    gap: 10px;
  }

  .brand {
    font-size: 1.05rem;
  }

  .hero {
    padding-top: 34px;
  }

  body.hero-v4 .hero {
    background-position: 24% 50%;
  }

  body.hero-v4 .hero-grid {
    max-width: 100%;
    justify-items: end;
  }

  body.hero-v4 .hero article {
    max-width: min(50%, 430px);
    margin-left: auto;
    margin-right: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
  }

  body.hero-v4 h1 {
    font-size: clamp(1.55rem, 4.1vw, 2rem);
    line-height: 1.12;
    max-width: 15ch;
    text-wrap: balance;
    margin-bottom: 10px;
  }

  body.hero-v4 .hero p {
    font-size: 0.98rem;
    line-height: 1.42;
    max-width: 33ch;
  }

  body.hero-v4 .tagline {
    padding: 5px 11px;
    font-size: 0.94rem;
    margin-bottom: 10px;
  }

  body.hero-v4 .actions {
    margin-top: 14px;
    gap: 10px;
  }

  body.hero-v4 .btn {
    padding: 9px 14px;
  }

}

@media (max-width: 900px) {
  .menu {
    display: none;
  }

  .header-faq-mobile {
    display: inline-flex;
  }
}

@media (max-width: 767px) {
  body.hero-v4 {
    --hero-bg:
      linear-gradient(96deg, rgba(4, 14, 35, 0.9) 0%, rgba(5, 23, 52, 0.76) 50%, rgba(7, 42, 81, 0.24) 76%, rgba(7, 50, 92, 0.1) 100%),
      radial-gradient(circle at 74% 16%, rgba(91, 198, 255, 0.24) 0%, rgba(91, 198, 255, 0.1) 14%, rgba(91, 198, 255, 0) 34%),
      image-set(
        url("../img/smart-home-phone-480.avif") type("image/avif"),
        url("../img/smart-home-phone-480.webp") type("image/webp")
      ),
      linear-gradient(135deg, #091a33 0%, #113a66 100%);
  }

  body.hero-v4 .hero {
    background-position: 0% 50%;
  }

  body.hero-v4 .hero article {
    max-width: min(56%, 320px);
    margin-left: 0;
    margin-right: auto;
    margin-top: 16px;
  }

  body.hero-v4 h1 {
    font-size: clamp(1.35rem, 7.2vw, 1.82rem);
    max-width: 13ch;
  }

  body.hero-v4 .hero p {
    font-size: 0.92rem;
    max-width: 30ch;
  }
}
