/* Home additions and specialist service pages (computer, mobile, gaming) */

.specialty-bar {
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(7, 17, 38, 0.9), rgba(4, 9, 18, 0.62));
}

.specialty-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.specialty-head p {
  color: #7fcbff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.specialty-head span {
  color: var(--muted-2);
  font-size: 0.72rem;
}

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

.specialty-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(13, 31, 62, 0.82), rgba(5, 12, 25, 0.94));
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.specialty-card:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 204, 255, 0.4);
  background: linear-gradient(150deg, rgba(17, 40, 78, 0.9), rgba(6, 15, 31, 0.96));
}

.specialty-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border: 1px solid rgba(99, 204, 255, 0.24);
  border-radius: 13px;
  background: rgba(47, 124, 255, 0.12);
  color: var(--blue-2);
}

.specialty-icon svg {
  width: 24px;
  height: 24px;
}

.specialty-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  line-height: 1.55;
}

.specialty-copy strong {
  color: #e8f2ff;
  font-size: 0.94rem;
  font-weight: 700;
}

.specialty-copy small {
  color: var(--muted-2);
  font-size: 0.71rem;
}

.specialty-arrow {
  width: 17px;
  height: 17px;
  flex: none;
  color: #6fa8e8;
  transform: rotate(180deg);
  transition: transform 0.2s ease, color 0.2s ease;
}

.specialty-card:hover .specialty-arrow {
  color: #a8dbff;
  transform: rotate(180deg) translateX(2px);
}

.hero.hero-home {
  margin-top: 0;
  min-height: clamp(560px, 80vh, 760px);
  padding-top: 76px;
}

.hero-home .hero-media img {
  object-position: 56% center;
}

.section-internet {
  background:
    linear-gradient(rgba(99, 204, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 204, 255, 0.028) 1px, transparent 1px),
    radial-gradient(760px 400px at 82% 18%, rgba(47, 124, 255, 0.1), transparent 70%);
  background-size: 46px 46px, 46px 46px, auto;
}

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

.internet-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 15px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(12, 28, 56, 0.8), rgba(5, 12, 25, 0.94));
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.internet-card:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 174, 255, 0.36);
}

.internet-num {
  position: absolute;
  top: 10px;
  left: 18px;
  color: rgba(99, 204, 255, 0.09);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.internet-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(99, 204, 255, 0.22);
  border-radius: 14px;
  background: rgba(47, 124, 255, 0.12);
  color: var(--blue-2);
}

.internet-icon svg {
  width: 24px;
  height: 24px;
}

.internet-card h3 {
  margin-bottom: 5px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.65;
}

.internet-card p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.9;
}

.specialty-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  color: var(--muted-2);
  font-size: 0.78rem;
}

.specialty-note svg {
  width: 16px;
  height: 16px;
  color: var(--blue-2);
}

.address-block {
  margin-top: 22px;
}

.address-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(126, 170, 255, 0.2);
  border-radius: 16px;
  background: rgba(5, 13, 28, 0.55);
  color: #d9e7fb;
  font-size: 0.88rem;
  line-height: 2;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.address-link:hover {
  border-color: rgba(99, 204, 255, 0.42);
  background: rgba(13, 30, 58, 0.62);
}

.address-link svg {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 5px;
  color: var(--blue-2);
}

.address-link small {
  display: block;
  margin-bottom: 2px;
  color: var(--muted-2);
  font-size: 0.68rem;
  font-weight: 500;
}

.map-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.map-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 10px;
  border: 1px solid rgba(126, 170, 255, 0.2);
  border-radius: 12px;
  background: rgba(7, 16, 34, 0.6);
  color: #cfe2fb;
  font-size: 0.76rem;
  font-weight: 600;
  text-align: center;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.map-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(99, 204, 255, 0.44);
  background: rgba(16, 36, 68, 0.72);
}

.map-btn svg {
  width: 19px;
  height: 19px;
  flex: none;
  color: var(--blue-2);
}

.map-btn.is-primary {
  border-color: transparent;
  background: linear-gradient(135deg, #3b8bff, #1c62ff);
  color: #fff;
  box-shadow: 0 10px 26px rgba(47, 124, 255, 0.26);
}

.map-btn.is-primary svg {
  color: #fff;
}

.contact-links-single {
  grid-template-columns: 1fr;
}

/* Specialist pages */

.subhero {
  position: relative;
  padding: clamp(38px, 5.4vw, 66px) 0 clamp(52px, 7vw, 88px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(99, 204, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 204, 255, 0.03) 1px, transparent 1px),
    radial-gradient(720px 420px at 12% 6%, rgba(47, 124, 255, 0.16), transparent 68%);
  background-size: 48px 48px, 48px 48px, auto;
}

.subhero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 204, 255, 0.36), transparent);
}

.subhero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: center;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
  color: var(--muted-2);
  font-size: 0.73rem;
}

.breadcrumb a:hover {
  color: #e8f3ff;
}

.breadcrumb [aria-current="page"] {
  color: #a9c6ea;
}

.subhero h1 {
  margin-bottom: 15px;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.38;
  text-wrap: balance;
}

.subhero-copy {
  max-width: 54ch;
  margin-bottom: 24px;
  color: #c2d0e6;
  font-size: clamp(0.95rem, 1.25vw, 1.05rem);
  line-height: 2;
  text-wrap: pretty;
}

.subhero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.subhero-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(99, 204, 255, 0.26);
  border-radius: 24px;
  background: #061021;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  aspect-ratio: 3 / 2;
}

.subhero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.94;
}

.subhero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(4, 9, 18, 0.76), transparent 52%),
    linear-gradient(to left, rgba(4, 9, 18, 0.28), transparent 46%);
  pointer-events: none;
}

.subhero-media::after {
  content: "";
  position: absolute;
  inset: 9px;
  z-index: 2;
  border: 1px dashed rgba(99, 204, 255, 0.2);
  border-radius: 18px;
  pointer-events: none;
}

.tech-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid rgba(99, 204, 255, 0.32);
  border-radius: 999px;
  background: rgba(4, 10, 22, 0.82);
  color: #cbe7ff;
  font-size: 0.7rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.tech-badge svg {
  width: 15px;
  height: 15px;
  color: var(--blue-2);
}

.media-caption {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a9c6ea;
  font-size: 0.72rem;
  line-height: 1.7;
}

.media-caption svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--blue-2);
}

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

.service-grid .service-card {
  min-height: 210px;
}

.service-grid .service-card p {
  font-size: 0.85rem;
}

.section-tech {
  background:
    linear-gradient(rgba(99, 204, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 204, 255, 0.026) 1px, transparent 1px);
  background-size: 46px 46px;
}

.check-list {
  display: grid;
  gap: 9px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #c4d2e8;
  font-size: 0.88rem;
  line-height: 1.9;
}

.check-list svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 4px;
  color: var(--success);
}

.check-list.is-warning svg {
  color: #ffd39a;
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
  align-items: stretch;
}

.panel-box {
  padding: clamp(24px, 3.4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(11, 25, 50, 0.82), rgba(5, 12, 25, 0.94));
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.22);
}

.panel-box h2 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 800;
  line-height: 1.5;
}

.panel-box > p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.95;
}

.panel-box .check-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
}

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

.process-step {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(11, 25, 50, 0.76), rgba(5, 12, 25, 0.94));
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border: 1px solid rgba(99, 204, 255, 0.28);
  border-radius: 11px;
  background: rgba(47, 124, 255, 0.13);
  color: #9ad8ff;
  font-size: 0.9rem;
  font-weight: 800;
}

.process-step h3 {
  margin-bottom: 6px;
  font-size: 1rem;
  font-weight: 700;
}

.process-step p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.9;
}

.tech-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 22px;
  padding: 17px 19px;
  border: 1px solid rgba(99, 204, 255, 0.2);
  border-radius: 16px;
  background: rgba(9, 21, 42, 0.66);
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.95;
}

.tech-note svg {
  width: 19px;
  height: 19px;
  flex: none;
  margin-top: 4px;
  color: var(--blue-2);
}

.tech-note strong {
  color: #dcecff;
}

.page-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(25px, 4vw, 40px);
  border: 1px solid rgba(99, 204, 255, 0.24);
  border-radius: 28px;
  background:
    radial-gradient(420px 240px at 100% 0%, rgba(47, 124, 255, 0.26), transparent 70%),
    linear-gradient(160deg, #0a1c3a, #060d1d 78%);
  box-shadow: var(--shadow);
}

.page-cta h2 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 800;
  line-height: 1.55;
}

.page-cta p {
  max-width: 52ch;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.95;
}

.page-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.page-cta-spaced {
  margin-top: 28px;
}

.gaming-tabs {
  display: inline-flex;
  gap: 5px;
  margin-bottom: 26px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(5, 13, 28, 0.82);
}

.gaming-tabs + .tab-hint {
  margin-top: -16px;
  margin-bottom: 22px;
}

.gaming-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: #a9bad3;
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.gaming-tab svg {
  width: 19px;
  height: 19px;
}

.gaming-tab:hover {
  background: rgba(47, 124, 255, 0.1);
  color: #e8f3ff;
}

.gaming-tab[aria-selected="true"] {
  border-color: transparent;
  background: linear-gradient(135deg, #3b8bff, #1c62ff);
  color: #fff;
  box-shadow: 0 10px 26px rgba(47, 124, 255, 0.3);
}

.game-panel[hidden] {
  display: none;
}

.game-panel {
  animation: fadeUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.game-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: start;
}

.game-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: #061021;
  aspect-ratio: 3 / 2;
}

.game-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 9, 18, 0.55), transparent 45%);
  pointer-events: none;
}

.game-panel h2 {
  margin-bottom: 9px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.45;
}

.game-panel-copy {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 2;
}

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

.game-list {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 19, 38, 0.62);
}

.game-list h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 700;
}

.game-list h3 svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--blue-2);
}

.game-list li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(126, 170, 255, 0.13);
  color: #b9c9df;
  font-size: 0.81rem;
  line-height: 1.85;
}

.game-list li:last-child {
  border-bottom: 0;
}

.game-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  margin-top: 9px;
  border-radius: 50%;
  background: #63ccff;
}

.buy-callout {
  margin-top: 14px;
  padding: 20px;
  border: 1px solid rgba(99, 204, 255, 0.3);
  border-radius: 18px;
  background:
    radial-gradient(300px 160px at 100% 0%, rgba(47, 124, 255, 0.3), transparent 70%),
    #081529;
}

.buy-callout strong {
  display: block;
  margin-bottom: 4px;
  color: #f2f8ff;
  font-size: 1.06rem;
  font-weight: 800;
}

.buy-callout p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.9;
}

.buy-callout .btn {
  min-height: 44px;
  font-size: 0.86rem;
}

.game-legal {
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 0.73rem;
  line-height: 1.85;
}

.game-suggest {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}

.game-suggest small {
  margin-inline-end: 4px;
  color: var(--muted-2);
  font-size: 0.72rem;
}

.game-suggest span {
  padding: 4px 10px;
  border: 1px solid rgba(99, 204, 255, 0.22);
  border-radius: 999px;
  background: rgba(6, 15, 32, 0.5);
  color: #b9d5ff;
  font-size: 0.72rem;
}

.tab-hint {
  margin-top: 12px;
  color: var(--muted-2);
  font-size: 0.75rem;
}

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

.comparison-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 19, 38, 0.62);
}

.comparison-card h3 {
  margin-bottom: 5px;
  font-size: 0.98rem;
}

.comparison-card p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.9;
}

.comparison-card .tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 9px;
  border: 1px solid rgba(99, 204, 255, 0.24);
  border-radius: 999px;
  color: #9ad8ff;
  font-size: 0.66rem;
}

@media (max-width: 1024px) {
  .subhero-grid {
    grid-template-columns: 1fr;
  }

  .subhero-media {
    max-width: 760px;
  }

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

  .game-panel-grid {
    grid-template-columns: 1fr;
  }

  .game-media {
    max-width: 720px;
  }

  .split-panel {
    grid-template-columns: 1fr;
  }

  .page-cta {
    grid-template-columns: 1fr;
  }

  .page-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .hero.hero-home {
    min-height: 660px;
    padding-top: 54px;
  }

  .specialty-grid {
    grid-template-columns: 1fr;
  }

  .specialty-head span {
    display: none;
  }

  .internet-grid {
    grid-template-columns: 1fr;
  }

  .process-grid,
  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .panel-box .check-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .specialty-bar {
    padding: 14px 0 16px;
  }

  .specialty-grid {
    display: flex;
    gap: 10px;
    margin-inline: -14px;
    padding: 2px 14px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 14px;
    scrollbar-width: none;
  }

  .specialty-grid::-webkit-scrollbar {
    display: none;
  }

  .specialty-card {
    flex: 0 0 min(84%, 320px);
    scroll-snap-align: start;
  }

  .hero.hero-home {
    min-height: 620px;
    padding-top: 40px;
  }

  .hero.hero-home .hero-media img {
    object-position: 62% center;
  }

  .map-actions {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-grid .service-card {
    min-height: 0;
  }

  .subhero {
    padding-top: 30px;
  }

  .subhero-media {
    border-radius: 20px;
  }

  .subhero-actions .btn {
    flex: 1;
    min-width: 140px;
  }

  .game-columns {
    grid-template-columns: 1fr;
  }

  .gaming-tabs {
    display: flex;
    width: 100%;
  }

  .gaming-tab {
    flex: 1;
    justify-content: center;
    padding: 0 10px;
    font-size: 0.82rem;
  }

  .gaming-tab svg {
    display: none;
  }

  .page-cta {
    border-radius: 24px;
  }

  .page-cta-actions .btn {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .brand-text small {
    display: none;
  }
}

/* ---------- service card action ---------- */
.service-action {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  margin-top: 12px;
  padding: 0;
  border: 0;
  border-bottom: 1px dashed rgba(99, 204, 255, 0.4);
  background: transparent;
  color: #9fd8ff;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.service-action:hover {
  border-color: var(--blue-2);
  color: #fff;
}

/* ---------- dialogs ---------- */
.site-dialog {
  width: min(580px, calc(100vw - 24px));
  max-width: 100%;
  max-height: calc(100dvh - 28px);
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: var(--text);
}

.site-dialog::backdrop {
  background: rgba(2, 6, 14, 0.8);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  animation: backdropIn 0.24s ease;
}

.site-dialog[open] {
  animation: dialogIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-dialog-inner {
  position: relative;
  max-height: calc(100dvh - 28px);
  padding: clamp(22px, 4vw, 34px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(99, 174, 255, 0.28);
  border-radius: 24px;
  background:
    radial-gradient(520px 300px at 100% 0%, rgba(47, 124, 255, 0.22), transparent 68%),
    linear-gradient(170deg, #08152c, #050b19 82%);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.62);
  scrollbar-width: thin;
}

.site-dialog-inner > .eyebrow {
  margin-bottom: 8px;
}

.site-dialog-inner > h2 {
  margin-bottom: 6px;
  padding-inline-end: 46px;
  font-size: clamp(1.35rem, 3.4vw, 1.75rem);
  font-weight: 800;
  line-height: 1.55;
}

.dialog-lead {
  max-width: 48ch;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.95;
}

.dialog-block {
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid rgba(126, 170, 255, 0.16);
  border-radius: 18px;
  background: rgba(5, 13, 28, 0.5);
}

.dialog-block > h3 {
  margin-bottom: 10px;
  color: #e3eeff;
  font-size: 0.95rem;
  font-weight: 700;
}

.dialog-hint {
  margin-bottom: 13px;
  color: var(--muted-2);
  font-size: 0.79rem;
  line-height: 1.9;
}

.dialog-handle {
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 0.76rem;
  line-height: 1.9;
}

.dialog-handle bdi {
  color: #9fd8ff;
}

.dialog-wide {
  width: 100%;
  margin-top: 4px;
}

.dialog-wide svg {
  width: 18px;
  height: 18px;
}

/* ---------- phone call buttons ---------- */
.call-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 12px;
  border: 1px solid rgba(88, 226, 166, 0.26);
  border-radius: 12px;
  background: rgba(88, 226, 166, 0.07);
  color: #c9ffe8;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.call-btn:hover {
  border-color: rgba(88, 226, 166, 0.54);
  background: rgba(88, 226, 166, 0.14);
  transform: translateY(-1px);
}

.call-btn svg {
  width: 17px;
  height: 17px;
  flex: none;
}

/* ---------- channels ---------- */
.channel-list {
  display: grid;
  gap: 8px;
}

.channel-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 13px;
  border: 1px solid rgba(126, 170, 255, 0.18);
  border-radius: 14px;
  background: rgba(6, 15, 32, 0.62);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.channel-btn:hover {
  border-color: rgba(99, 204, 255, 0.42);
  background: rgba(14, 32, 62, 0.72);
}

.channel-badge {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 11px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
}

.channel-badge.brand-rubika { background: linear-gradient(145deg, #8b5cf6, #5b21b6); }
.channel-badge.brand-bale { background: linear-gradient(145deg, #22c55e, #047857); }
.channel-badge.brand-eitaa { background: linear-gradient(145deg, #fb923c, #c2410c); }
.channel-badge.brand-telegram { background: linear-gradient(145deg, #38bdf8, #0369a1); }
.channel-badge.brand-soroush { background: linear-gradient(145deg, #2dd4bf, #0f766e); }
.channel-badge.brand-instagram {
  background: linear-gradient(45deg, #f59e0b, #ec4899 52%, #8b5cf6);
  font-size: 0.68rem;
}

.channel-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.channel-copy strong {
  color: #e6f0ff;
  font-size: 0.9rem;
  font-weight: 700;
}

.channel-copy small {
  overflow: hidden;
  color: var(--muted-2);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.channel-arrow {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--muted-2);
  transition: translate 0.18s ease, color 0.18s ease;
}

.channel-btn:hover .channel-arrow {
  translate: -3px 0;
  color: var(--blue-2);
}

/* ---------- messengers ---------- */
.messenger-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.messenger-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(126, 170, 255, 0.18);
  border-radius: 14px;
  background: rgba(6, 15, 32, 0.62);
  color: #e6f0ff;
  font-size: 0.88rem;
  font-weight: 700;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.messenger-btn:hover {
  border-color: rgba(99, 204, 255, 0.42);
  background: rgba(14, 32, 62, 0.72);
  transform: translateY(-1px);
}

.messenger-btn .channel-badge {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  font-size: 0.82rem;
}

.messenger-btn .channel-badge.brand-instagram {
  font-size: 0.6rem;
}

/* ---------- ticket forms ---------- */
.ticket-flow {
  margin-top: 4px;
}

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

.dialog-form[hidden] {
  display: none;
}

.dialog-form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dialog-form label {
  color: #dbe8fb;
  font-size: 0.8rem;
  font-weight: 600;
}

.dialog-form label small {
  color: var(--muted-2);
  font-size: 0.72rem;
  font-weight: 400;
}

.dialog-form select,
.dialog-form textarea,
.dialog-form input[type="tel"] {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid rgba(126, 170, 255, 0.22);
  border-radius: 12px;
  background-color: #071022;
  color: #fff;
  font-size: 0.88rem;
  line-height: 1.7;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.dialog-form select {
  padding-left: 34px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239db0cd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 11px center;
  background-size: 15px;
  cursor: pointer;
}

.dialog-form textarea {
  min-height: 84px;
  resize: vertical;
}

.dialog-form select:focus,
.dialog-form textarea:focus,
.dialog-form input[type="tel"]:focus {
  border-color: rgba(99, 204, 255, 0.62);
  box-shadow: 0 0 0 4px rgba(47, 124, 255, 0.12);
  outline: none;
}

.dialog-form input::placeholder,
.dialog-form textarea::placeholder {
  color: #607395;
}

.dialog-submit {
  width: 100%;
}

.ticket-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(88, 226, 166, 0.26);
  border-radius: 16px;
  background: rgba(7, 28, 22, 0.48);
}

.ticket-success[hidden] {
  display: none;
}

.ticket-success h3 {
  font-size: 1.08rem;
  font-weight: 800;
}

.ticket-success h3:focus {
  outline: none;
}

.ticket-success p {
  max-width: 42ch;
  color: #b6c9c2;
  font-size: 0.84rem;
  line-height: 1.9;
}

.ticket-success .call-list {
  width: 100%;
  margin-top: 4px;
}

.ticket-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

@keyframes backdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 640px) {
  .site-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
  }

  .site-dialog-inner {
    max-height: calc(100dvh - 16px);
    padding: 20px 16px 22px;
    border-radius: 20px;
  }

  .site-dialog-inner > h2 {
    font-size: 1.3rem;
    padding-inline-end: 40px;
  }

  .dialog-block {
    padding: 13px;
  }

  .call-list {
    grid-template-columns: 1fr;
  }

  .messenger-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-dialog[open],
  .site-dialog::backdrop {
    animation: none;
  }
}
