/* ---------- Local fonts: Inter (lib/fonts) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../lib/fonts/inter-cyrillic-400-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../lib/fonts/inter-cyrillic-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../lib/fonts/inter-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../lib/fonts/inter-cyrillic-500-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../lib/fonts/inter-cyrillic-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../lib/fonts/inter-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../lib/fonts/inter-cyrillic-600-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../lib/fonts/inter-cyrillic-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../lib/fonts/inter-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../lib/fonts/inter-cyrillic-700-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../lib/fonts/inter-cyrillic-ext-700-normal.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../lib/fonts/inter-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../lib/fonts/inter-cyrillic-800-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../lib/fonts/inter-cyrillic-ext-800-normal.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../lib/fonts/inter-latin-800-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --umi-primary: #1A365D;
  --umi-secondary: #38BDF8;
  --umi-accent: #7C3AED;
  --umi-bg-soft: #F0F4F8;
  --umi-border: #E3EAF3;
  --umi-shadow: 0 10px 30px rgba(26, 54, 93, 0.08);
  --umi-shadow-hover: 0 18px 45px rgba(124, 58, 237, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Roboto', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #334155;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--umi-primary);
  font-weight: 700;
}

a {
  color: var(--umi-accent);
  text-decoration: none;
}

.section-title {
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: #64748b;
  max-width: 640px;
  margin: 0 auto;
}

.bg-soft {
  background-color: var(--umi-bg-soft);
}

.text-umi-primary { color: var(--umi-primary) !important; }
.text-umi-secondary { color: var(--umi-secondary) !important; }
.text-umi-accent { color: var(--umi-accent) !important; }

.btn {
  border-radius: 10px;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.btn-lg { padding: 0.8rem 1.8rem; }

.btn-primary {
  --bs-btn-bg: var(--umi-primary);
  --bs-btn-border-color: var(--umi-primary);
  --bs-btn-hover-bg: #244a7d;
  --bs-btn-hover-border-color: #244a7d;
}

.btn-accent {
  color: #fff;
  background: linear-gradient(135deg, var(--umi-accent) 0%, #6366F1 100%);
  border: none;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.35);
}

.btn-accent:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.45);
}

.btn-outline-secondary {
  --bs-btn-color: var(--umi-primary);
  --bs-btn-border-color: var(--umi-primary);
  --bs-btn-hover-bg: var(--umi-primary);
  --bs-btn-hover-border-color: var(--umi-primary);
}

.btn:hover {
  transform: translateY(-2px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--umi-border);
}

.navbar {
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.navbar-brand {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--umi-primary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.navbar-logo {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.brand-name { font-size: 1.2rem; }

.navbar-brand .brand-name { color: var(--umi-primary); }
.navbar-brand .brand-dot,
.footer-brand .brand-dot { color: var(--umi-secondary); }

.navbar-brand .brand-slogan {
  font-size: 0.66rem;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.navbar-brand span {
  color: var(--umi-secondary);
}

.navbar-brand:hover { color: var(--umi-primary); }

.navbar-nav .nav-link {
  color: var(--umi-primary);
  font-weight: 500;
  margin: 0 0.35rem;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--umi-secondary);
  background: rgba(56, 189, 248, 0.1);
}

.navbar-toggler {
  border: none;
  color: var(--umi-primary);
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ---------- Animated burger to close (mobile menu) ---------- */
.navbar-toggler-icon {
  background-image: none;
  position: relative;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background-color: currentColor;
  transition: background-color 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background-color: currentColor;
  transition: top 0.3s ease, transform 0.3s ease;
}

.navbar-toggler-icon::before {
  top: -7px;
}

.navbar-toggler-icon::after {
  top: 7px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background-color: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---------- Topbar ---------- */
.site-topbar {
  background: linear-gradient(90deg, #0F1B33 0%, var(--umi-primary) 100%);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1029;
}

.site-topbar .topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-right: 1.2rem;
  white-space: nowrap;
}

.site-topbar .topbar-item:last-child {
  margin-right: 0;
}

.site-topbar .topbar-item i,
.site-topbar .topbar-link i {
  color: var(--umi-secondary);
  width: 15px;
  text-align: center;
}

.site-topbar .topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.9);
  margin-left: 1.1rem;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.site-topbar .topbar-link:hover {
  color: #ffffff;
}

@media (max-width: 575.98px) {
  .site-topbar .topbar-item {
    margin-right: 0.7rem;
  }
  .site-topbar .topbar-link {
    margin-left: 0.6rem;
  }
  .site-topbar-left,
  .site-topbar-right {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--umi-bg-soft) 100%);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.3, 1);
  will-change: transform;
}

.hero-shape-1 {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.8) 0%, transparent 70%);
}

.hero-shape-2 {
  width: 340px;
  height: 340px;
  bottom: -140px;
  left: -100px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.7) 0%, transparent 70%);
}

.hero-shape-3 {
  width: 180px;
  height: 180px;
  top: 40%;
  left: 55%;
  background: radial-gradient(circle, rgba(26, 54, 93, 0.5) 0%, transparent 70%);
}

.hero-butterfly {
  position: absolute;
  pointer-events: none;
  will-change: transform;
  filter: blur(2.5px);
  animation: butterflyFloat 11s ease-in-out infinite;
}

.hero-butterfly-2 {
  width: 150px;
  height: 150px;
  top: 30%;
  left: 4%;
  opacity: 0.8;
  filter: blur(3px);
  animation-duration: 11s;
}

@keyframes butterflyFloat {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-16px) rotate(4deg); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--umi-border);
  border-radius: 50rem;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  color: var(--umi-primary);
  box-shadow: var(--umi-shadow);
}

.hero-badge i {
  color: var(--umi-secondary);
}

.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  color: var(--umi-secondary);
}

.hero-lead {
  font-size: 1.15rem;
  color: #64748b;
  max-width: 560px;
}

.hero-stats {
  display: flex;
  gap: 2.2rem;
  flex-wrap: wrap;
}

.hero-stats .stat-value {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--umi-primary);
}

.hero-stats .stat-label {
  color: #64748b;
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--umi-shadow);
  padding: 1.5rem;
  max-width: 420px;
  margin-left: auto;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.hero-card-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--umi-secondary), var(--umi-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
}

.hero-code {
  background: var(--umi-primary);
  color: #d7e6fb;
  border-radius: 12px;
  padding: 1rem 1.2rem;
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.82rem;
  line-height: 1.6;
}

.hero-code .tag { color: var(--umi-secondary); }
.hero-code .key { color: #c4b5fd; }
.hero-code .val { color: #86efac; }
.hero-code .typing-caret {
  display: inline-block;
  width: 0.55em;
  height: 1em;
  margin-left: 2px;
  vertical-align: -0.15em;
  background: var(--umi-secondary);
  animation: typing-caret-blink 1.05s steps(1) infinite;
}
@keyframes typing-caret-blink {
  0%, 55% { opacity: 1; }
  56%, 100% { opacity: 0; }
}

/* ---------- Sections common ---------- */
.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-sm {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Services cards ---------- */
.service-card {
  background: #fff;
  border: 1px solid var(--umi-border);
  border-radius: 18px;
  padding: 1.8rem;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--umi-shadow-hover);
  border-color: transparent;
}

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(124, 58, 237, 0.15));
  color: var(--umi-accent);
}

.service-card h4,
.service-card h3 { font-size: 1.15rem; }

.domain-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--umi-primary);
  margin-bottom: 0.6rem;
}

.domain-name i {
  color: var(--umi-secondary);
}

.service-card .card-more {
  color: var(--umi-secondary);
  font-weight: 600;
  font-size: 0.92rem;
}

/* ---------- Price cards ---------- */
.price-card {
  background: #fff;
  border: 1px solid var(--umi-border);
  border-radius: 20px;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.price-card.price-popular {
  border: 2px solid var(--umi-accent);
  background: linear-gradient(180deg, #fff 0%, rgba(124, 58, 237, 0.05) 100%);
}

.price-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--umi-accent), #6366F1);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 1rem;
  border-radius: 50rem;
  white-space: nowrap;
}

.price-card .plan-name {
  color: #64748b;
  font-weight: 600;
}

.price-card .price {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--umi-primary);
}

.price-card .price span {
  font-size: 1rem;
  color: #94a3b8;
  font-weight: 500;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0;
  flex: 1 1 auto;
}

.price-card ul li {
  padding: 0.4rem 0;
  color: #475569;
}

.price-card ul li i {
  color: var(--umi-secondary);
  margin-right: 0.5rem;
}

.price-card .btn {
  margin-top: 0.5rem;
}

.price-card .btn-outline-secondary:hover,
.price-card .btn-outline-secondary:focus,
.price-card .btn-accent:hover,
.price-card .btn-accent:focus {
  color: #fff;
  background: linear-gradient(135deg, var(--umi-accent) 0%, #6366F1 100%);
  border-color: transparent;
}

.price-card .btn-outline-secondary:hover {
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.35);
}

.price-card .btn-accent:hover {
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.45);
}

.price-tabs .nav-link {
  color: var(--umi-primary);
  font-weight: 600;
  border-radius: 50rem;
  padding: 0.5rem 1.4rem;
}

.price-tabs .nav-link.active {
  background: var(--umi-primary);
  color: #fff;
}

/* ---------- Advantages ---------- */
.advantage-item {
  background: #fff;
  border: 1px solid var(--umi-border);
  border-radius: 18px;
  padding: 1.6rem;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--umi-shadow);
}

.advantage-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 1.1rem;
}

.icon-blue { background: linear-gradient(135deg, #1A365D, #38BDF8); }
.icon-cyan { background: linear-gradient(135deg, #38BDF8, #22d3ee); }
.icon-purple { background: linear-gradient(135deg, #7C3AED, #6366F1); }
.icon-indigo { background: linear-gradient(135deg, #6366F1, #38BDF8); }

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding: 0;
  margin: 0;
  list-style: none;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 3px;
  background: linear-gradient(180deg, var(--umi-secondary), var(--umi-accent));
  border-radius: 3px;
  opacity: 0.4;
}

.timeline-item {
  position: relative;
  padding-left: 70px;
  padding-bottom: 2.2rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 11px;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--umi-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--umi-accent);
  box-shadow: 0 0 0 5px rgba(124, 58, 237, 0.15);
}

.timeline-card {
  background: #fff;
  border: 1px solid var(--umi-border);
  border-radius: 16px;
  padding: 1.3rem 1.5rem;
}

.timeline-card h5,
.timeline-card h3 {
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--umi-primary);
}

.timeline-card h5 i,
.timeline-card h3 i {
  color: var(--umi-secondary);
  font-size: 0.9rem;
}

.timeline-card p {
  margin: 0;
  color: #64748b;
}

@media (min-width: 992px) {
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .timeline-item {
    width: 50%;
    padding-left: 0;
    padding-right: 3rem;
  }

  .timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-right: 0;
    padding-left: 3rem;
  }

  .timeline-item .timeline-dot {
    left: auto;
    right: -15px;
  }

  .timeline-item:nth-child(even) .timeline-dot {
    right: auto;
    left: -15px;
  }
}

/* ---------- Editions ---------- */
.edition-thumb {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 1.1rem;
}
.edition-card h3 {
  color: var(--umi-primary);
}
.edition-help {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(56, 189, 248, 0.08));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.edition-help .btn { margin-top: 0.5rem; }
.edition-hit-badge {
  display: inline-block;
  vertical-align: middle;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(135deg, var(--umi-accent), var(--umi-secondary));
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  margin-left: 0.35rem;
  white-space: nowrap;
}
.compare-wrap {
  background: #fff;
  border: 1px solid var(--umi-border);
  border-radius: 18px;
  padding: 0.5rem;
}
.compare-table { min-width: 780px; margin-bottom: 0; }
.compare-table thead th {
  background: var(--umi-primary);
  color: #fff;
  border: none;
  text-align: center;
  vertical-align: middle;
  padding: 0.9rem 0.6rem;
  font-size: 0.95rem;
  white-space: nowrap;
}
.compare-table thead th:first-child {
  text-align: left;
  border-radius: 12px 0 0 0;
}
.compare-table thead th:last-child { border-radius: 0 12px 0 0; }
.compare-table thead th .text-muted { color: rgba(255, 255, 255, 0.65) !important; }
.compare-table tbody td { text-align: center; padding: 0.65rem 0.6rem; font-size: 0.92rem; }
.compare-table tbody td:first-child { text-align: left; font-weight: 500; }
.compare-group td {
  background: var(--umi-bg-soft) !important;
  color: var(--umi-primary);
  font-weight: 800;
  text-align: left !important;
}
.compare-table tbody .edition-hit { background: rgba(124, 58, 237, 0.07); }
.edition-yes { color: #16a34a; font-size: 1rem; }
.edition-no { color: #cbd5e1; }

/* ---------- Honeypot (защита от ботов) ---------- */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ---------- Accordion / FAQ ---------- */
.accordion-item {
  border: 1px solid var(--umi-border);
  border-radius: 14px !important;
  margin-bottom: 0.9rem;
  overflow: hidden;
}

.accordion-button {
  font-weight: 600;
  color: var(--umi-primary);
  background: #fff;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: var(--umi-accent);
  background: rgba(124, 58, 237, 0.05);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
}

/* ---------- Portfolio ---------- */
.portfolio-filter .btn {
  border: 1px solid var(--umi-border);
  color: var(--umi-primary);
  background: #fff;
  margin: 0.2rem;
  border-radius: 50rem;
}

.portfolio-filter .btn.active {
  background: var(--umi-primary);
  border-color: var(--umi-primary);
  color: #fff;
}

.portfolio-item {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--umi-border);
  background: #fff;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.5s ease both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--umi-shadow-hover);
}

.portfolio-thumb {
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(135deg, var(--umi-primary), var(--umi-secondary));
  overflow: hidden;
  padding: 0;
}

.portfolio-thumb picture {
  display: block;
  width: 100%;
  height: 100%;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.45s ease;
}

.portfolio-item:hover .portfolio-thumb img {
  transform: scale(1.04);
}

.portfolio-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--umi-primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 50rem;
}

.portfolio-body {
  padding: 1.2rem;
}

/* ---------- Partners carousel (Swiper) ---------- */
.partners-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.partners-swiper-wrap {
  position: relative;
  --swiper-navigation-color: var(--umi-primary);
  --swiper-navigation-size: 28px;
  padding: 0.5rem 3rem;
}

.partners-swiper {
  padding: 0;
}

.partners-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo {
  height: 64px;
  width: auto;
  max-width: 100%;
  filter: grayscale(1);
  opacity: 0.65;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.partner-logo:hover {
  filter: none;
  opacity: 1;
  transform: translateY(-3px);
}

@media (max-width: 575.98px) {
  .partner-logo {
    height: 44px;
  }
  .partners-swiper-wrap,
  .reviews-swiper-wrap {
    padding-left: 2.2rem;
    padding-right: 2.2rem;
  }
}

/* ---------- Reviews carousel ---------- */
.review-card {
  background: #fff;
  border: 1px solid var(--umi-border);
  border-radius: 18px;
  padding: 2rem;
  margin: 0.5rem;
  box-shadow: var(--umi-shadow);
}

.review-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #475569;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.review-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
}

.review-stars {
  color: #f59e0b;
  letter-spacing: 2px;
}

.reviews-swiper-wrap {
  position: relative;
  --swiper-navigation-color: var(--umi-primary);
  --swiper-navigation-size: 28px;
  padding: 0.5rem 3rem 0;
}

.reviews-swiper {
  padding: 0;
}

.reviews-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.reviews-swiper .review-card {
  width: 100%;
}

/* ---------- Project gallery slider (case pages) ---------- */
.project-swiper-wrap {
  position: relative;
  --swiper-navigation-color: #fff;
  --swiper-navigation-size: 24px;
  --swiper-pagination-color: var(--umi-accent);
  padding: 0 3rem;
}

.project-swiper {
  border-radius: 12px;
  overflow: hidden;
}

.project-swiper .swiper-slide picture,
.project-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
}

.project-swiper-wrap .swiper-button-prev,
.project-swiper-wrap .swiper-button-next {
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border-radius: 50%;
  background: rgba(26, 54, 93, 0.55);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.project-swiper-wrap .swiper-button-prev {
  left: 60px;
}

.project-swiper-wrap .swiper-button-next {
  right: 60px;
}

.project-swiper-wrap > .swiper-pagination {
  position: static;
  margin-top: 1rem;
  text-align: center;
}

.project-swiper-wrap > .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
}

@media (max-width: 575.98px) {
  .project-swiper-wrap {
    padding-left: 2.2rem;
    padding-right: 2.2rem;
  }
  .project-swiper-wrap .swiper-button-prev,
  .project-swiper-wrap .swiper-button-next {
    width: 38px;
    height: 38px;
    margin-top: -19px;
  }
  .project-swiper-wrap .swiper-button-prev {
    left: 45px;
  }
  .project-swiper-wrap .swiper-button-next {
    right: 45px;
  }
}

/* ---------- Star rating form ---------- */
.star-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.15rem;
}

.star-rating input {
  display: none;
}

.star-rating label {
  font-size: 1.6rem;
  color: #cbd5e1;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
  color: #f59e0b;
  transform: scale(1.1);
}

/* ---------- CTA ---------- */
.cta-block {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--umi-primary) 0%, var(--umi-accent) 100%);
  padding: 3.5rem;
  color: #fff;
}

.cta-block::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  top: -120px;
  right: -80px;
}

.cta-block h2 {
  color: #fff;
}

.cta-block p {
  color: rgba(255, 255, 255, 0.85);
}

.cta-block .form-control,
.cta-block .form-select {
  border-radius: 10px;
  border: none;
  padding: 0.75rem 1rem;
}

.cta-block .form-control:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

/* ---------- Contact page ---------- */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--umi-border);
  border-radius: 16px;
  padding: 1.3rem;
  margin-bottom: 1rem;
}

.contact-info-item i {
  font-size: 1.3rem;
  color: var(--umi-accent);
  margin-top: 0.2rem;
  width: 26px;
  text-align: center;
}

.contact-info-item h6,
.contact-info-item h2 { margin-bottom: 0.2rem; }
.contact-info-item p { margin: 0; color: #64748b; }

.map-box {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--umi-border);
  min-height: 320px;
  background: var(--umi-bg-soft);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--umi-bg-soft) 0%, #fff 100%);
  padding-top: 4.5rem;
  padding-bottom: 3rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
}

/* ---------- Forms ---------- */
.form-control, .form-select {
  border-radius: 10px;
  border-color: var(--umi-border);
  padding: 0.7rem 1rem;
}

.form-control:focus, .form-select:focus {
  border-color: var(--umi-secondary);
  box-shadow: 0 0 0 0.25rem rgba(56, 189, 248, 0.15);
}

.form-label { font-weight: 600; color: var(--umi-primary); }

.was-validated .form-control:invalid:focus {
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.2);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--umi-primary);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 3.5rem;
  padding-bottom: 1.5rem;
}

.site-footer h6,
.site-footer h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.footer-brand {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.footer-logo {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: block;
}

.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-slogan {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  font-weight: 500;
  white-space: nowrap;
}

.footer-brand span { color: rgba(255, 255, 255, 0.6); }

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer ul li {
  padding: 0.25rem 0;
}

.site-footer ul li i {
  color: var(--umi-secondary);
  margin-right: 0.5rem;
  width: 18px;
  text-align: center;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--umi-secondary);
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ---------- Toasts ---------- */
.toast-container {
  z-index: 1080;
}

.umi-toast {
  border: none;
  border-radius: 14px;
  box-shadow: var(--umi-shadow);
}

.umi-toast .toast-header {
  background: var(--umi-primary);
  color: #fff;
  border-radius: 14px 14px 0 0;
}

.umi-toast.toast-success .toast-header { background: #198754; }
.umi-toast.toast-error .toast-header { background: #dc3545; }
.umi-toast.toast-success .toast-body { color: #166534; }
.umi-toast.toast-error .toast-body { color: #991b1b; }

/* ---------- Modal ---------- */
.modal-content {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--umi-shadow-hover);
}

.modal-header {
  background: var(--umi-primary);
  color: #fff;
}

.modal-header .btn-close {
  filter: invert(1);
}

.tech-badge {
  background: rgba(56, 189, 248, 0.12);
  color: var(--umi-primary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 50rem;
  margin-right: 0.4rem;
  margin-bottom: 0.4rem;
  display: inline-block;
}

/* ---------- Responsive ---------- */
/* ---------- Breadcrumbs ---------- */
.breadcrumb {
  --bs-breadcrumb-divider-color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 1.1rem;
}

.breadcrumb a {
  color: var(--umi-primary);
  font-weight: 500;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--umi-secondary);
}

.breadcrumb-item.active {
  color: #64748b;
}

/* ---------- Navbar dropdown ---------- */
.navbar .dropdown-menu {
  border: 1px solid var(--umi-border);
  border-radius: 14px;
  padding: 0.6rem;
  min-width: 270px;
  margin-top: 0.6rem;
  box-shadow: var(--umi-shadow-hover);
}

.navbar .dropdown-menu .dropdown-item {
  border-radius: 10px;
  padding: 0.55rem 0.9rem;
  font-weight: 500;
  color: var(--umi-primary);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.navbar .dropdown-menu .dropdown-item:hover {
  background: rgba(56, 189, 248, 0.12);
  color: var(--umi-primary);
}

.navbar .dropdown-menu .dropdown-item i {
  color: var(--umi-secondary);
  width: 20px;
  text-align: center;
  margin-right: 0.5rem;
}

.navbar .dropdown-menu .dropdown-item.active,
.navbar .dropdown-menu .dropdown-item:active {
  background: linear-gradient(135deg, var(--umi-accent) 0%, #6366F1 100%);
  color: #fff;
}

.navbar .dropdown-menu .dropdown-item.active i,
.navbar .dropdown-menu .dropdown-item:active i {
  color: #fff;
}

.navbar .dropdown-menu .dropdown-divider {
  color: var(--umi-border);
  margin: 0.4rem 0.4rem;
}

@media (max-width: 991.98px) {
  .navbar .dropdown-menu {
    border: none;
    box-shadow: none;
    padding-left: 1rem;
    padding-top: 0;
    min-width: 0;
  }
  .hero-butterfly-2 { width: 95px; height: 95px; }
}

@media (max-width: 767.98px) {
  .hero { padding-top: 3.5rem; padding-bottom: 4rem; }
  .hero-card { margin: 2rem 0 0; }
  .cta-block { padding: 2rem; }
  .navbar-nav .btn { margin-top: 0.5rem; }
}

/* ---------- Legal pages ---------- */
.legal-text {
  color: #475569;
  line-height: 1.8;
}

.legal-text h3,
.legal-text h2 {
  color: var(--umi-primary);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.legal-text ul li {
  padding: 0.25rem 0;
}

.legal-text a {
  color: var(--umi-secondary);
  font-weight: 600;
}

.legal-text a:hover {
  color: var(--umi-accent);
}

/* ---------- Footer legal links ---------- */
.footer-legal-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-legal-link:hover {
  color: var(--umi-secondary);
}

.footer-legal-sep {
  color: rgba(255, 255, 255, 0.35);
  margin: 0 0.6rem;
}

/* ---------- Form consent checkbox ---------- */
.form-consent .form-check-input:checked {
  background-color: var(--umi-accent);
  border-color: var(--umi-accent);
}

.form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(124, 58, 237, 0.2);
}

.form-consent .form-check-label a {
  color: var(--umi-secondary);
  font-weight: 600;
}

.form-consent .form-check-label a:hover {
  color: var(--umi-accent);
}

/* ---------- Certificates block ---------- */
.certificate-frame {
  position: relative;
  background: #ffffff;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--umi-border);
  box-shadow: 0 12px 36px rgba(26, 54, 93, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: block;
}

.certificate-frame:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(124, 58, 237, 0.16);
  border-color: rgba(124, 58, 237, 0.3);
}

.certificate-frame:has(.project-swiper-wrap):hover {
  transform: none;
  box-shadow: 0 12px 36px rgba(26, 54, 93, 0.08);
  border-color: var(--umi-border);
}

.certificate-img {
  border-radius: 10px;
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

.cert-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  border-radius: 50rem;
  background: var(--umi-bg-soft);
  border: 1px solid var(--umi-border);
  color: var(--umi-primary);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.cert-chip i {
  color: var(--umi-accent);
}

.gold-partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 50rem;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.16), rgba(245, 158, 11, 0.22));
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #b45309;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ---------- Call button ---------- */
.call-btn {
  position: fixed;
  right: 22px;
  bottom: 84px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #198754 0%, #20c997 100%);
  color: #ffffff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: var(--umi-shadow-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 1040;
}

.call-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.call-btn:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #157347 0%, #198754 100%);
}

.call-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(25, 135, 84, 0.6);
  animation: call-pulse 2s ease-out infinite;
  pointer-events: none;
}

@keyframes call-pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

@media (max-width: 575.98px) {
  .call-btn {
    right: 16px;
    bottom: 72px;
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .call-btn::after {
    animation: none;
  }
}

/* ---------- Scroll to top ---------- */
.scroll-top-btn {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--umi-accent) 0%, #6366F1 100%);
  color: #ffffff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--umi-shadow-hover);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 1050;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: linear-gradient(135deg, var(--umi-secondary) 0%, var(--umi-accent) 100%);
  color: #ffffff;
}

@media (max-width: 575.98px) {
  .scroll-top-btn {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}

/* ---------- Cookie consent ---------- */
.cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  margin: 0 auto;
  max-width: 760px;
  background: #ffffff;
  border: 1px solid var(--umi-border);
  border-radius: 14px;
  box-shadow: var(--umi-shadow-hover);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 1052;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.cookie-consent.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cookie-consent-text {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--umi-primary);
  margin: 0;
  flex: 1;
}

.cookie-consent-text i {
  color: var(--umi-accent);
  font-size: 1.15rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.cookie-consent-text a {
  color: var(--umi-secondary);
  font-weight: 600;
}

.cookie-consent-text a:hover {
  color: var(--umi-accent);
}

.cookie-consent .btn {
  flex-shrink: 0;
}

@media (max-width: 575.98px) {
  .cookie-consent {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 16px;
  }
  .cookie-consent .btn {
    width: 100%;
  }
}

/* ---------- Case photo protection ---------- */
.portfolio-thumb img,
.mockup-screen img,
.mockup-phone-screen img {
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

/* ---------- Device mockups (desktop + phone frames for screenshots) ----------
   Использование:
   <div class="mockup-duo">
     <div class="mockup-desktop">
       <div class="mockup-screen"><img src="..." alt="..."></div>
       <div class="mockup-stand" aria-hidden="true"></div>
     </div>
     <div class="mockup-phone">
       <div class="mockup-phone-screen"><img src="..." alt="..."><span class="mockup-island" aria-hidden="true"></span></div>
     </div>
   </div> */
.mockup-duo {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2.5rem;
}

.mockup-desktop {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 720px;
}

.mockup-screen {
  background: #0f172a;
  border-radius: 14px;
  padding: 12px 12px 26px;
  box-shadow: var(--umi-shadow-hover);
  position: relative;
}

.mockup-screen::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: #334155;
}

.mockup-screen img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  border-radius: 6px;
  background: #e2e8f0;
}

.mockup-stand::before {
  content: "";
  display: block;
  width: 64px;
  height: 26px;
  margin: 0 auto;
  background: linear-gradient(180deg, #334155, #1e293b);
}

.mockup-stand::after {
  content: "";
  display: block;
  width: 230px;
  max-width: 70%;
  height: 10px;
  margin: 0 auto;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #475569, #1e293b);
}

.mockup-phone {
  flex: 0 0 auto;
  width: 220px;
  background: #0f172a;
  border-radius: 38px;
  padding: 12px;
  box-shadow: var(--umi-shadow-hover);
}

.mockup-phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #e2e8f0;
}

.mockup-phone-screen img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 18.5;
  object-fit: cover;
  object-position: top center;
}

.mockup-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 20px;
  border-radius: 999px;
  background: #0f172a;
}

@media (max-width: 767.98px) {
  .mockup-duo {
    flex-direction: column;
    align-items: center;
  }
  .mockup-desktop {
    max-width: 100%;
  }
  .mockup-phone {
    width: 200px;
  }
}
/* Серверная подсветка полей формы (ответ прокси /webforms/tomassege/) */
.is-invalid-umi {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.12);
}

.form-check.is-invalid-umi .form-check-input {
  border-color: #dc3545;
}

.field-error-umi {
  display: block;
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}