:root {
  --blue: #0073ff;
  --blue-soft: #5ca3ff;
  --blue-dark: #0453c6;
  --black: #1c1c1c;
  --white: #ffffff;
  --bg: #f1f6ff;
  --text-muted: #667587;
  --border: rgba(153, 185, 231, 0.35);
  --shadow: 0 20px 50px rgba(20, 56, 120, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--black);
  background:
    radial-gradient(circle at 10% -20%, #e0edff 0%, rgba(224, 237, 255, 0) 40%),
    radial-gradient(circle at 90% 0%, #d7e9ff 0%, rgba(215, 233, 255, 0) 35%),
    var(--white);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.bg-orb,
.bg-grid {
  position: fixed;
  pointer-events: none;
  z-index: -1;
}

.bg-orb {
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.35;
}

.orb-1 {
  background: linear-gradient(135deg, #2f8bff, #8ec6ff);
  top: -220px;
  left: -170px;
}

.orb-2 {
  background: linear-gradient(145deg, #4f55ff, #44c6ff);
  bottom: -240px;
  right: -120px;
}

.bg-grid {
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 115, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 115, 255, 0.045) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 100%);
}

.section {
  padding: 84px 0;
  position: relative;
}

.section-soft {
  background: linear-gradient(170deg, rgba(244, 249, 255, 0.72), rgba(236, 245, 255, 0.72));
}

.section-label {
  margin: 0 0 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(34px, 5.6vw, 66px);
}

h2 {
  font-size: clamp(30px, 4.3vw, 48px);
}

h3 {
  font-size: 23px;
}

p {
  margin: 0 0 16px;
}

.lead {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 760px;
}

.lead-small {
  color: var(--text-muted);
  max-width: 560px;
  font-size: 17px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid rgba(178, 206, 244, 0.45);
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(22px) saturate(130%);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  display: block;
  height: 30px;
  width: auto;
}

.nav {
  display: flex;
  gap: 18px;
}

.nav a {
  font-size: 15px;
  color: #2f4053;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background 0.22s ease, color 0.22s ease;
}

.nav a:hover {
  background: rgba(0, 115, 255, 0.1);
  color: var(--blue-dark);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(156, 185, 225, 0.7);
  background: rgba(255, 255, 255, 0.92);
  color: #2f4053;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
}

.mobile-menu {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue) 0%, #0060d8 100%);
  color: var(--white);
  padding: 13px 24px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0, 115, 255, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0, 115, 255, 0.28);
  filter: saturate(110%);
}

.btn-small {
  padding: 10px 17px;
}

.btn-outline {
  background: #ffffff;
  color: #0b3e84;
  border: 1px solid rgba(95, 154, 234, 0.5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.hero {
  padding-top: 90px;
  color: #eef5ff;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(68, 139, 255, 0.38), transparent 36%),
    radial-gradient(circle at 85% 18%, rgba(89, 117, 255, 0.32), transparent 42%),
    radial-gradient(circle at 74% 78%, rgba(42, 191, 255, 0.26), transparent 46%),
    linear-gradient(145deg, #04132e 0%, #092756 45%, #0d3f88 100%);
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(115deg, rgba(120, 190, 255, 0.12), rgba(120, 190, 255, 0) 40%),
    linear-gradient(295deg, rgba(120, 190, 255, 0.1), rgba(120, 190, 255, 0) 42%),
    linear-gradient(rgba(88, 162, 255, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 162, 255, 0.11) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 52px 52px, 52px 52px;
  mask-image: radial-gradient(circle at 50% 40%, black 45%, transparent 100%);
  animation: hero-grid-shift 24s linear infinite;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 620px;
  height: 620px;
  border-radius: 140px;
  background: conic-gradient(from 220deg, rgba(136, 196, 255, 0.34), rgba(76, 157, 255, 0.06), rgba(109, 182, 255, 0.32));
  transform: rotate(12deg);
  filter: blur(14px);
  z-index: -1;
  animation: hero-aura 18s ease-in-out infinite alternate;
}

.hero-geometry {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  display: block;
  opacity: 0.78;
  filter: drop-shadow(0 14px 30px rgba(40, 97, 196, 0.3));
  mix-blend-mode: screen;
}

.shape-a {
  width: 190px;
  height: 190px;
  left: -40px;
  top: 14%;
  border-radius: 34px;
  border: 1px solid rgba(130, 198, 255, 0.42);
  background: linear-gradient(155deg, rgba(151, 212, 255, 0.62), rgba(50, 142, 255, 0.2));
  animation: float-shape-a 23s ease-in-out infinite alternate;
}

.shape-b {
  width: 140px;
  height: 140px;
  right: 16%;
  top: 9%;
  border-radius: 50%;
  border: 1px solid rgba(120, 188, 255, 0.5);
  background: radial-gradient(circle at 35% 35%, rgba(202, 231, 255, 0.9), rgba(66, 157, 255, 0.28));
  animation: float-shape-b 18s ease-in-out infinite;
}

.shape-c {
  width: 160px;
  height: 160px;
  left: 46%;
  bottom: -34px;
  border-radius: 26px;
  border: 1px solid rgba(114, 181, 255, 0.46);
  background: linear-gradient(140deg, rgba(181, 225, 255, 0.6), rgba(45, 136, 255, 0.18));
  transform: rotate(32deg);
  animation: float-shape-c 26s linear infinite;
}

.shape-d {
  width: 96px;
  height: 96px;
  left: 24%;
  top: 6%;
  border-radius: 18px;
  border: 1px solid rgba(120, 186, 255, 0.42);
  background: linear-gradient(145deg, rgba(130, 195, 255, 0.56), rgba(213, 236, 255, 0.24));
  transform: rotate(16deg);
  animation: float-shape-d 14s ease-in-out infinite;
}

.shape-e {
  width: 210px;
  height: 210px;
  right: -70px;
  bottom: 6%;
  border-radius: 60px;
  border: 1px solid rgba(112, 177, 255, 0.4);
  background: linear-gradient(165deg, rgba(131, 199, 255, 0.54), rgba(47, 127, 245, 0.18));
  transform: rotate(-22deg);
  animation: float-shape-e 20s ease-in-out infinite alternate;
}

@keyframes hero-grid-shift {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(28px, 20px, 0); }
}

@keyframes hero-aura {
  0% { transform: translate3d(0, 0, 0) rotate(16deg); }
  100% { transform: translate3d(-20px, 26px, 0) rotate(28deg); }
}

@keyframes float-shape-a {
  0% { transform: translate3d(0, 0, 0) rotate(12deg); }
  100% { transform: translate3d(24px, -22px, 0) rotate(28deg); }
}

@keyframes float-shape-b {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(16px, 20px, 0); }
}

@keyframes float-shape-c {
  0% { transform: translate3d(0, 0, 0) rotate(32deg); }
  50% { transform: translate3d(-18px, -14px, 0) rotate(44deg); }
  100% { transform: translate3d(0, 0, 0) rotate(32deg); }
}

@keyframes float-shape-d {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(16deg); }
  50% { transform: translate3d(12px, -10px, 0) rotate(32deg); }
}

@keyframes float-shape-e {
  0% { transform: translate3d(0, 0, 0) rotate(-22deg); }
  100% { transform: translate3d(-20px, 16px, 0) rotate(-10deg); }
}

.hero .section-label {
  color: #9cc7ff;
}

.hero .lead {
  color: rgba(228, 239, 255, 0.86);
}

.hero-grid,
.split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}

.hero-copy {
  position: relative;
}

.hero-copy::before {
  content: "";
  position: absolute;
  left: -26px;
  top: -20px;
  width: 74px;
  height: 74px;
  border-radius: 20px;
  background: linear-gradient(140deg, rgba(0, 115, 255, 0.14), rgba(255, 255, 255, 0.2));
  transform: rotate(20deg);
}

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

.glass {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.75), rgba(244, 250, 255, 0.5));
  border: 1px solid rgba(158, 194, 242, 0.45);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px) saturate(130%);
}

.hero-card {
  border-radius: 26px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.16), rgba(154, 203, 255, 0.08));
  border-color: rgba(160, 205, 255, 0.32);
  box-shadow: 0 16px 38px rgba(14, 47, 104, 0.34);
}

.hero-card h3 {
  color: #ffffff;
}

.hero-card li {
  color: rgba(233, 243, 255, 0.94);
}

.geo-shape {
  position: absolute;
  pointer-events: none;
  opacity: 0.28;
}

.geo-square {
  width: 94px;
  height: 94px;
  right: -26px;
  top: -24px;
  border-radius: 24px;
  background: linear-gradient(150deg, #86bcff, #1f7fff);
  transform: rotate(28deg);
}

.geo-circle {
  width: 110px;
  height: 110px;
  left: -24px;
  bottom: -42px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #a8d4ff, #3a88f2);
}

.hero-card ul,
.panel ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 12px;
}

.cards {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.cards-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.card {
  border-radius: 20px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
  box-shadow: 0 8px 22px rgba(52, 86, 148, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 115, 255, 0.3);
  box-shadow: 0 15px 28px rgba(36, 74, 138, 0.15);
}

.icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(0, 115, 255, 0.14), rgba(0, 115, 255, 0.04));
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 13px;
}

.panel {
  border-radius: 24px;
  padding: 34px;
  border: 1px solid var(--border);
}

.panel h2 {
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.12;
  margin-bottom: 14px;
}

.panel ul {
  font-size: 16px;
  line-height: 1.5;
}

.panel-danger {
  background: linear-gradient(155deg, rgba(255, 245, 245, 0.92), rgba(255, 249, 249, 0.76));
}

.panel-success {
  background: linear-gradient(155deg, rgba(235, 245, 255, 0.95), rgba(243, 249, 255, 0.78));
}

.table-wrap {
  position: relative;
  overflow-x: auto;
  margin-top: 24px;
  border: 1px solid rgba(147, 183, 232, 0.46);
  border-radius: 20px;
  box-shadow: 0 14px 28px rgba(35, 74, 132, 0.12);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.94), rgba(241, 248, 255, 0.88));
  backdrop-filter: blur(12px);
}

.table-swipe-hint {
  display: none;
}

.compare-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

th,
td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(166, 196, 237, 0.3);
}

th {
  background: linear-gradient(150deg, rgba(224, 240, 255, 0.78), rgba(245, 251, 255, 0.7));
  color: #24456d;
  font-size: 14px;
  letter-spacing: 0.01em;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table tbody tr {
  transition: background-color 0.2s ease;
}

.compare-table tbody tr:hover {
  background-color: rgba(15, 121, 255, 0.04);
}

.compare-area {
  font-weight: 600;
  color: #27466b;
}

.cell-price {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
}

.cell-price-tax {
  background: rgba(120, 139, 166, 0.12);
  color: #4a627f;
}

.cell-price-sound {
  background: linear-gradient(145deg, rgba(24, 132, 255, 0.16), rgba(109, 188, 255, 0.22));
  color: #0f5fce;
}

.saving-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  color: #0b7c37;
  background: linear-gradient(145deg, rgba(118, 228, 165, 0.24), rgba(169, 244, 197, 0.34));
}

.mt {
  margin-top: 42px;
}

.note {
  margin-top: 18px;
  color: var(--text-muted);
}

.pricing-hint {
  margin-top: 10px;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(130, 174, 235, 0.55);
  background: linear-gradient(145deg, rgba(241, 248, 255, 0.95), rgba(231, 242, 255, 0.85));
  color: #31567f;
  font-size: 14px;
}

#pricing-cards .pricing-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.96), rgba(237, 246, 255, 0.86));
  border: 1px solid rgba(157, 192, 236, 0.5);
}

#pricing-cards .pricing-card::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 110px;
  height: 110px;
  border-radius: 30px;
  background: linear-gradient(155deg, rgba(82, 165, 255, 0.24), rgba(137, 206, 255, 0.08));
  transform: rotate(16deg);
}

.pricing-chip {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  font-size: 12px;
  color: #2f5f99;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.pricing-value {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  font-size: 22px;
  color: #0f3978;
}

#pricing-cards .pricing-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 500;
  color: #557193;
}

#pricing-cards .pricing-card-extra .pricing-chip {
  color: #3f6b94;
}

.pricing-value strong {
  font-weight: 800;
  color: #0d4fa8;
}

.logos-marquee {
  margin-top: 20px;
  border: 1px solid rgba(157, 190, 234, 0.44);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  overflow: hidden;
  padding: 14px 0;
}

.logos-track {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  animation: logos-scroll 24s linear infinite;
}

.logo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(145deg, #f7fbff, #edf5ff);
  border: 1px solid rgba(164, 195, 236, 0.55);
  color: #2f4a6c;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.logo-pill-image {
  min-width: 180px;
  background: linear-gradient(145deg, #f6fbff, #edf6ff);
  border-color: rgba(139, 176, 224, 0.65);
}

.logo-pill-image img {
  max-width: 140px;
  max-height: 34px;
  width: auto;
  height: auto;
  object-fit: contain;
  transform: scale(1.73);
  transform-origin: center;
  filter: none;
}

.logo-pill-image.logo-pill-dark {
  background: linear-gradient(145deg, #f6fbff, #edf6ff);
  border-color: rgba(139, 176, 224, 0.65);
}

.logo-pill-image.logo-pill-dark img {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.26));
}

@keyframes logos-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.calc-shell {
  padding: 12px;
  border-radius: 24px;
  background: rgba(247, 251, 255, 0.66);
  border: 1px solid rgba(170, 197, 233, 0.42);
}

.calc-layout {
  display: grid;
  grid-template-columns: 1.6fr 0.86fr;
  gap: 18px;
  align-items: stretch;
  width: 100%;
  padding-inline: 0;
}

.calc-left {
  padding: 28px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(164, 194, 236, 0.55);
}

.calc-left h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  margin-bottom: 8px;
}

.calc-control {
  margin-top: 18px;
}

.calc-control-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.calc-control-head label {
  font-weight: 600;
  color: #2b415f;
}

.calc-control-title {
  margin: 0;
}

.calc-control-main {
  min-width: 0;
}

.calc-control-meta {
  margin: 0;
  min-width: 72px;
  text-align: right;
  color: #46658c;
  font-weight: 600;
  font-size: 15px;
}

.calc-control-laptop-row {
  display: grid;
  grid-template-columns: minmax(170px, 220px) minmax(0, 1fr) minmax(72px, 96px);
  gap: 12px;
  align-items: center;
  margin-bottom: 0;
}

.calc-control-value {
  width: 100%;
  min-width: 0;
}

.calc-max {
  color: #7389a8;
  font-size: 14px;
}

.calc-control-row {
  display: grid;
  grid-template-columns: 1fr 88px;
  gap: 10px;
  align-items: center;
}

.calc-control input[type="number"] {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(165, 196, 237, 0.8);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.95);
}

.calc-right {
  padding: 22px 20px;
  border-radius: 20px;
  background: linear-gradient(160deg, #e9f2ff, #dae9ff);
  border: 1px solid rgba(159, 189, 231, 0.58);
}

.calc-right h3 {
  margin-bottom: 12px;
  font-size: clamp(22px, 2.2vw, 28px);
}

.calc-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.calc-tabs button {
  border: 1px solid rgba(163, 191, 230, 0.8);
  border-radius: 10px;
  background: #f8fbff;
  color: #334d70;
  padding: 8px 10px;
  min-height: 40px;
  font-weight: 600;
  font-size: 14px;
}

.calc-tabs .is-active {
  background: #0f79ff;
  border-color: #0f79ff;
  color: #ffffff;
}

.calc-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  border-top: 1px solid rgba(147, 177, 217, 0.55);
  padding: 11px 0;
  color: #2a4568;
}

.calc-summary-item p {
  margin: 0;
}

.calc-summary-item strong {
  font-size: clamp(19px, 2vw, 24px);
  color: #1a3f77;
}

.calc-summary-item span {
  color: #5f7fa5;
}

.calc-summary-total {
  margin-top: 4px;
}

.calc-summary-total strong {
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #0f3978;
  word-break: keep-all;
}

.calc-summary-total span {
  font-size: 14px;
  white-space: nowrap;
}

#result-price.is-updated {
  animation: price-pop 0.24s ease;
}

@keyframes price-pop {
  0% { transform: scale(0.96); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

.calc-subtext {
  font-size: 14px;
  color: #48658a;
  margin: 2px 0 14px;
}

.calc-submit {
  width: 100%;
  margin-top: 14px;
}

.lead-submit {
  min-height: 60px;
  font-size: 16px;
  font-weight: 800;
}

#leadForm {
  gap: 10px;
}

#leadForm .form-status {
  min-height: 0;
  margin: 2px 0 0;
}

.form {
  display: grid;
  gap: 12px;
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
}

.form input {
  width: 100%;
  border: 1px solid rgba(165, 196, 237, 0.7);
  border-radius: 13px;
  padding: 12px 14px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.88);
}

.counter-input {
  display: grid;
  grid-template-columns: 1fr 92px;
  gap: 8px;
  align-items: stretch;
}

.counter-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.counter-btn {
  border: 1px solid rgba(165, 196, 237, 0.8);
  border-radius: 12px;
  background: linear-gradient(145deg, #f5f9ff, #ecf4ff);
  color: #1f4f88;
  min-height: 44px;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.counter-btn:hover {
  border-color: rgba(0, 115, 255, 0.4);
}

.form input:focus {
  outline: none;
  border-color: rgba(0, 115, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(0, 115, 255, 0.12);
}

.form select {
  width: 100%;
  border: 1px solid rgba(165, 196, 237, 0.7);
  border-radius: 13px;
  padding: 12px 14px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--black);
}

.form select:focus {
  outline: none;
  border-color: rgba(0, 115, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(0, 115, 255, 0.12);
}

.inline-input {
  display: flex;
  align-items: center;
  gap: 10px;
}

.inline-input span {
  color: var(--text-muted);
  font-size: 14px;
}

.phone-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px;
  align-items: center;
}

.phone-prefix {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #203a5d;
  font-weight: 400;
  font-size: 16px;
  padding: 0 2px;
}

.phone-flag {
  font-size: 18px;
  line-height: 1;
}

.phone-code {
  letter-spacing: 0.01em;
}

#area-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1a78ff 0%, #79b3ff 100%);
  outline: none;
}

#area-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: #005fe0;
  box-shadow: 0 6px 14px rgba(0, 95, 224, 0.35);
  cursor: pointer;
}

#area-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: #005fe0;
  box-shadow: 0 6px 14px rgba(0, 95, 224, 0.35);
  cursor: pointer;
}

.form-status {
  min-height: 20px;
  font-size: 14px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.step {
  background: rgba(255, 255, 255, 0.86);
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 26px rgba(52, 86, 148, 0.08);
  padding: 18px;
}

.step span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #0057d9);
  color: var(--white);
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer {
  background: linear-gradient(180deg, rgba(233, 243, 255, 0.8), rgba(225, 237, 255, 0.95));
  padding: 56px 0 28px;
  border-top: 1px solid rgba(152, 184, 228, 0.36);
}

.footer-shell {
  background: rgba(246, 250, 255, 0.76);
  border: 1px solid rgba(168, 195, 234, 0.42);
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 14px 32px rgba(37, 70, 126, 0.1);
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(164, 191, 230, 0.34);
}

.footer-tagline {
  margin: 0;
  color: #324865;
  font-weight: 500;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 26px;
  padding: 22px 0 18px;
}

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

.footer-card {
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(168, 195, 234, 0.46);
}

.footer-card h3 {
  margin-bottom: 1.6px;
  font-size: 13px;
  font-weight: 400;
  color: #7789a3;
  letter-spacing: 0.01em;
}

.footer-card p {
  margin: 0;
  font-weight: 600;
  font-size: 18px;
  color: #1f3554;
}

.footer-card-phone {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 140px;
}

.footer-card-mail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 140px;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #b4bfce;
  color: #7a889a;
  margin-bottom: 16px;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.contact-icons-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #b4bfce;
  color: #7a889a;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.contact-badge:hover {
  background: #0f79ff;
  border-color: #0f79ff;
  color: #ffffff;
}

.contact-icon:hover {
  background: #0f79ff;
  border-color: #0f79ff;
  color: #ffffff;
}

.icon-svg {
  width: 20px;
  height: 20px;
  color: currentColor;
  flex-shrink: 0;
}

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

.footer-links-grid h3 {
  margin-bottom: 10px;
}

.footer-links-grid p {
  margin: 0 0 8px;
}

.footer-legal {
  border-top: 1px solid rgba(164, 191, 230, 0.34);
  border-bottom: 1px solid rgba(164, 191, 230, 0.34);
  padding: 16px 0;
}

.footer-legal p {
  margin: 0 0 4px;
  color: #425e81;
  font-size: 12px;
  line-height: 1.25;
}

.footer h3 {
  font-size: 16px;
  margin: 0 0 10px;
}

.footer-bottom {
  margin-top: 14px;
  padding-top: 2px;
  font-size: 14px;
  color: var(--text-muted);
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .card,
  .btn {
    transition: none;
  }

  .logos-track {
    animation: none;
  }

  .hero-shape {
    animation: none;
  }

  .hero::before,
  .hero::after {
    animation: none;
  }
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-menu {
    position: fixed;
    top: 76px;
    left: 14px;
    right: 14px;
    z-index: 58;
    display: grid;
    gap: 8px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(162, 192, 232, 0.55);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 14px 32px rgba(31, 65, 117, 0.17);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .mobile-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    color: #2a405d;
    background: rgba(234, 244, 255, 0.6);
    font-weight: 500;
  }

  .mobile-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero-grid,
  .split,
  .footer-main,
  .calc-layout {
    grid-template-columns: 1fr;
  }

  .cards-4,
  .cards-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-cards {
    grid-template-columns: 1fr;
  }

  .calc-right h3 {
    font-size: 24px;
  }

  .calc-left,
  .calc-right {
    padding: 20px;
  }

  .panel h2 {
    font-size: clamp(23px, 4vw, 30px);
  }

  .panel ul {
    font-size: 15px;
  }

  .calc-shell {
    padding: 10px;
  }

  .calc-control-laptop-row {
    grid-template-columns: minmax(150px, 190px) minmax(0, 1fr) 84px;
    gap: 10px;
  }

  .calc-control-title {
    font-size: 14px;
  }

  .calc-control-meta {
    font-size: 14px;
  }
}

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

  .cards-4,
  .steps {
    grid-template-columns: 1fr;
  }

  #pricing-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #pricing-cards .pricing-card {
    padding: 14px;
  }

  #pricing-cards .pricing-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .pricing-value {
    font-size: 18px;
  }

  .btn {
    width: 100%;
  }

  .table-swipe-hint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    color: #8b97a7;
    border: 1px solid rgba(183, 197, 216, 0.9);
    font-size: 12px;
    font-weight: 500;
    flex: 0 0 auto;
    transform: translateY(-2px);
  }

  .hero-shape {
    opacity: 0.28;
  }

  .shape-a,
  .shape-c,
  .shape-e {
    width: 120px;
    height: 120px;
  }

  .shape-b,
  .shape-d {
    width: 84px;
    height: 84px;
  }

  .calc-layout {
    gap: 14px;
    padding-inline: 0;
  }

  .calc-shell {
    padding: 8px;
    border-radius: 18px;
  }

  .calc-left,
  .calc-right {
    padding: 16px;
    border-radius: 16px;
  }

  .calc-left h2 {
    font-size: clamp(23px, 8vw, 30px);
  }

  .panel {
    padding: 24px;
  }

  .panel h2 {
    font-size: clamp(21px, 7vw, 26px);
    line-height: 1.15;
  }

  .panel ul {
    font-size: 14px;
    line-height: 1.45;
  }

  .calc-control-head label,
  .calc-max {
    font-size: 13px;
  }

  .calc-control-laptop-row {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: stretch;
  }

  .calc-control-title {
    font-size: 14px;
  }

  .calc-control-meta {
    text-align: left;
    min-width: 0;
    font-size: 13px;
  }

  .calc-control-row {
    grid-template-columns: 1fr 76px;
    gap: 8px;
  }

  .calc-control input[type="number"],
  #points {
    font-size: 15px;
    padding: 11px 12px;
  }

  .counter-input {
    grid-template-columns: 1fr 90px;
    gap: 6px;
  }

  .counter-actions {
    gap: 6px;
  }

  .counter-btn {
    min-height: 46px;
    font-size: 21px;
  }

  .calc-summary-item {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .calc-summary-total p:last-child {
    display: flex;
    align-items: baseline;
    gap: 6px;
  }

  .calc-submit {
    min-height: 46px;
  }

  .phone-row {
    grid-template-columns: auto 1fr;
    gap: 8px;
  }

  .phone-prefix {
    white-space: nowrap;
  }

  .trust-section .cards-4 .card {
    padding-top: 16px;
    padding-bottom: 14px;
  }

  .trust-section .cards-4 .card h3 {
    margin-bottom: 4px;
    line-height: 1.15;
  }

  .trust-section .cards-4 .card p {
    margin: 0;
    line-height: 1.2;
    font-size: 14px;
  }

  .steps {
    position: relative;
    gap: 22px;
    padding-top: 8px;
  }

  .steps::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 8px;
    bottom: 8px;
    width: 1px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(145, 167, 197, 0.75), rgba(145, 167, 197, 0.35));
  }

  .step {
    position: relative;
    padding: 26px 16px 14px;
    text-align: center;
  }

  .step span {
    position: absolute;
    top: -17px;
    left: 50%;
    transform: translateX(-50%);
    width: 34px;
    height: 34px;
    margin-bottom: 0;
    border: 1px solid rgba(143, 167, 198, 0.85);
    background: #ffffff;
    color: #536983;
  }

  .step p {
    margin: 0;
  }

  .step-final {
    background: linear-gradient(155deg, rgba(227, 241, 255, 0.96), rgba(211, 232, 255, 0.9));
    border-color: rgba(105, 159, 228, 0.55);
  }

  .step-final span {
    border-color: #0f79ff;
    color: #0f79ff;
    font-weight: 800;
  }

  .step-final p {
    color: #104f97;
    font-weight: 600;
  }

  .logo img {
    height: 26px;
  }

  .footer-shell {
    padding: 22px 16px;
    border-radius: 20px;
  }

  .footer-top {
    gap: 8px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-card-phone,
  .footer-card-mail {
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 12px;
    row-gap: 4px;
    align-items: center;
    min-height: 0;
  }

  .footer-card-phone .contact-icon {
    margin-bottom: 0;
    grid-row: 1 / span 2;
  }

  .footer-card-phone h3,
  .footer-card-phone p,
  .footer-card-mail h3,
  .footer-card-mail p {
    margin: 0;
    grid-column: 2;
  }

  .footer-card-mail .contact-icons-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    grid-row: 1 / span 2;
  }

  .footer-card-mail {
    grid-template-columns: 82px 1fr;
  }

  .footer-card-mail .contact-badge {
    width: 36px;
    height: 36px;
  }

  .footer-legal p {
    font-size: 13px;
  }
}
