.hetzner-dedicated-page,
.hetzner-dedicated-page .box-container {
  background: #f5f7fb;
  color: #1f2933;
  overflow-x: hidden;
}

.hetzner-dedicated-page a {
  text-decoration: none;
}

.hetzner-page {
  overflow: hidden;
}

.hetzner-hero {
  background: #0f1720;
  color: #fff;
  min-height: 680px;
  padding: 142px 0 44px;
  position: relative;
}

.hetzner-hero::before {
  background-image: url("../img/hetzner-dedicated-hero.png");
  background-position: center right;
  background-size: cover;
  content: "";
  inset: 0;
  opacity: 0.72;
  position: absolute;
}

.hetzner-hero::after {
  background: linear-gradient(90deg, rgba(15, 23, 32, 0.96) 0%, rgba(15, 23, 32, 0.88) 38%, rgba(15, 23, 32, 0.38) 76%, rgba(15, 23, 32, 0.08) 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.hetzner-hero .container {
  position: relative;
  z-index: 2;
}

.hetzner-kicker {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #ffd166;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  gap: 8px;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 18px;
  padding: 9px 14px;
  text-transform: uppercase;
}

.hetzner-title {
  color: #fff;
  font-size: 54px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.06;
  margin: 0 0 20px;
  max-width: 860px;
  overflow-wrap: anywhere;
}

.hetzner-lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
  line-height: 1.68;
  margin-bottom: 28px;
  max-width: 730px;
  overflow-wrap: anywhere;
}

.hetzner-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.hetzner-ghost-btn {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  gap: 9px;
  min-height: 46px;
  padding: 11px 18px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hetzner-ghost-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.36);
  color: #fff;
  transform: translateY(-2px);
}

.hetzner-hero-metrics {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 860px;
}

.hetzner-hero-metric {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  min-height: 96px;
  padding: 16px;
}

.hetzner-hero-metric strong {
  color: #fff;
  display: block;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 6px;
}

.hetzner-hero-metric span {
  color: rgba(255, 255, 255, 0.72);
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.hetzner-quick-catalog {
  background: #fff;
  padding: 36px 0 72px;
}

.hetzner-live-shell {
  margin-top: -96px;
  position: relative;
  z-index: 3;
}

.hetzner-status-grid {
  background: #fff;
  border: 1px solid #e4e9f2;
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(22, 35, 48, 0.12);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
}

.hetzner-status-item {
  background: #fff;
  min-height: 88px;
  padding: 17px 18px;
}

.hetzner-status-item span {
  color: #7c8793;
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.hetzner-status-item strong {
  color: #17212d;
  display: block;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.25;
}

.hetzner-status-item.is-live strong {
  color: #19a05f;
}

.hetzner-status-item.is-diff strong {
  color: #d50c2d;
}

.hetzner-status-item.is-diff strong.is-flashing {
  animation: hetznerPulse 0.7s ease;
}

.hetzner-live-alert {
  border-radius: 8px;
  font-weight: 800;
  margin-top: 18px;
  padding: 14px 16px;
}

.hetzner-live-alert.is-warning {
  background: #fff7df;
  color: #8a6200;
}

.hetzner-live-alert.is-danger {
  background: #ffe8ed;
  color: #b81939;
}

.hetzner-section {
  padding: 76px 0;
}

.hetzner-section.is-soft {
  background: #f5f7fb;
}

.hetzner-section.is-white {
  background: #fff;
}

.hetzner-section-head {
  margin-bottom: 26px;
  max-width: 820px;
}

.hetzner-section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hetzner-section-head h2 {
  color: #17212d;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.18;
  margin: 0 0 12px;
}

.hetzner-section-head p {
  color: #66727e;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

.hetzner-best-wrap {
  margin-top: 28px;
}

.hetzner-best-scroll {
  display: grid;
  gap: 14px;
  grid-auto-columns: minmax(245px, 1fr);
  grid-auto-flow: column;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scroll-snap-type: x mandatory;
}

.hetzner-best-card {
  background: #f8fafc;
  border: 1px solid #e4e9f2;
  border-left: 4px solid #d50c2d;
  border-radius: 8px;
  min-height: 174px;
  padding: 16px;
  scroll-snap-align: start;
}

.hetzner-best-card__top,
.hetzner-best-card__foot {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.hetzner-best-card__top span {
  background: #eef8f3;
  border-radius: 999px;
  color: #14824d;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 9px;
}

.hetzner-best-card__top strong {
  color: #d50c2d;
  font-size: 22px;
  font-weight: 900;
}

.hetzner-best-card h3 {
  color: #17212d;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.28;
  margin: 14px 0 8px;
}

.hetzner-best-card p {
  color: #66727e;
  font-size: 13px;
  line-height: 1.45;
  margin: 0 0 14px;
}

.hetzner-best-card__foot span {
  color: #66727e;
  font-size: 13px;
  font-weight: 800;
}

.hetzner-best-card__foot a {
  color: #d50c2d;
  font-size: 13px;
  font-weight: 900;
}

.hetzner-catalog-panel {
  background: #fff;
  border: 1px solid #e4e9f2;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(22, 35, 48, 0.08);
  margin-top: 28px;
  padding: 18px;
}

.hetzner-filters {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: 1.7fr repeat(6, minmax(120px, 1fr)) 1.1fr auto;
}

.hetzner-filter-field {
  display: grid;
  gap: 6px;
}

.hetzner-filter-field label {
  color: #66727e;
  font-size: 12px;
  font-weight: 900;
  margin: 0;
  text-transform: uppercase;
}

.hetzner-filter-field input,
.hetzner-filter-field select {
  background: #f8fafc;
  border: 1px solid #dce4ee;
  border-radius: 7px;
  color: #17212d;
  font-size: 14px;
  font-weight: 700;
  min-height: 42px;
  outline: none;
  padding: 8px 10px;
  width: 100%;
}

.hetzner-filter-field input:focus,
.hetzner-filter-field select:focus {
  border-color: #d50c2d;
  box-shadow: 0 0 0 3px rgba(213, 12, 45, 0.1);
}

.hetzner-filter-reset {
  align-items: center;
  background: #f0f4f8;
  border: 1px solid #dce4ee;
  border-radius: 7px;
  color: #344050;
  display: inline-flex;
  font-weight: 900;
  gap: 8px;
  justify-content: center;
  min-height: 42px;
  padding: 8px 13px;
}

.hetzner-catalog-note {
  align-items: center;
  color: #66727e;
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 700;
  gap: 10px;
  justify-content: space-between;
  margin-top: 14px;
}

.hetzner-refresh-btn {
  align-items: center;
  background: #17212d;
  border: 0;
  border-radius: 7px;
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  gap: 8px;
  min-height: 38px;
  padding: 8px 13px;
}

.hetzner-refresh-btn.is-loading i {
  animation: hetznerSpin 1s linear infinite;
}

.hetzner-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.hetzner-server-row {
  align-items: stretch;
  background: #fff;
  border: 1px solid #e4e9f2;
  border-left: 4px solid #d50c2d;
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) 260px;
  padding: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.hetzner-server-row:hover {
  border-color: rgba(213, 12, 45, 0.32);
  box-shadow: 0 16px 34px rgba(22, 35, 48, 0.08);
  transform: translateY(-1px);
}

.hetzner-server-title {
  align-items: flex-start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.hetzner-server-id {
  color: #8b97a5;
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.hetzner-server-title h3 {
  color: #17212d;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0;
}

.hetzner-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.hetzner-badges span {
  background: #f0f4f8;
  border-radius: 999px;
  color: #344050;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 9px;
}

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

.hetzner-spec {
  align-items: center;
  background: #f8fafc;
  border-radius: 7px;
  display: flex;
  gap: 10px;
  min-height: 62px;
  min-width: 0;
  padding: 10px;
}

.hetzner-spec i {
  align-items: center;
  background: #fff;
  border: 1px solid #e4e9f2;
  border-radius: 7px;
  color: #d50c2d;
  display: inline-flex;
  flex: 0 0 34px;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.hetzner-spec span {
  color: #7c8793;
  display: block;
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.hetzner-spec strong {
  color: #17212d;
  display: block;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.hetzner-next-reduce {
  color: #7c8793;
  font-size: 13px;
  font-weight: 700;
  margin: 12px 0 0;
}

.hetzner-next-reduce i {
  color: #ee5586;
  margin-right: 6px;
}

.hetzner-price-panel {
  background: #f8fafc;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px;
  text-align: center;
}

.hetzner-price-label,
.hetzner-source-price {
  color: #7c8793;
  display: block;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hetzner-price {
  color: #d50c2d;
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0 0 4px;
}

.hetzner-rub {
  color: #344050;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 14px;
}

.hetzner-source-price {
  font-size: 11px;
  line-height: 1.35;
  margin-bottom: 13px;
  text-transform: none;
}

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

.hetzner-row-actions .btn {
  font-size: 14px;
  font-weight: 900;
  min-height: 38px;
  padding: 8px 12px;
}

.hetzner-telegram-link {
  align-items: center;
  background: #eaf7ff;
  border-radius: 7px;
  color: #1685c7;
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  gap: 8px;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
}

.hetzner-empty,
.hetzner-loading {
  align-items: center;
  background: #f8fafc;
  border: 1px dashed #cfd8e4;
  border-radius: 8px;
  color: #66727e;
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 18px;
  min-height: 118px;
  padding: 20px;
  text-align: center;
}

.hetzner-show-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.hetzner-show-more {
  background: #17212d;
  border: 0;
  border-radius: 7px;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  min-height: 44px;
  padding: 10px 18px;
}

.hetzner-benefit-grid,
.hetzner-audience-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hetzner-benefit,
.hetzner-audience-card {
  background: #fff;
  border: 1px solid #e4e9f2;
  border-radius: 8px;
  padding: 18px;
}

.hetzner-benefit i,
.hetzner-audience-card i {
  align-items: center;
  background: #fff1d0;
  border-radius: 8px;
  color: #a77000;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  margin-bottom: 14px;
  width: 42px;
}

.hetzner-benefit h3,
.hetzner-audience-card h3 {
  color: #17212d;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.28;
  margin: 0 0 8px;
}

.hetzner-benefit p,
.hetzner-audience-card p {
  color: #66727e;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.hetzner-split {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-columns: 1fr 1fr;
}

.hetzner-rdp-panel,
.hetzner-practice-panel {
  background: #17212d;
  border-radius: 8px;
  color: #fff;
  padding: 30px;
}

.hetzner-rdp-panel h2,
.hetzner-practice-panel h2 {
  color: #fff;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.18;
  margin: 0 0 14px;
}

.hetzner-rdp-panel p,
.hetzner-practice-panel p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 18px;
}

.hetzner-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.hetzner-chip-list span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  padding: 7px 10px;
}

.hetzner-flow {
  display: grid;
  gap: 12px;
}

.hetzner-flow-step {
  align-items: flex-start;
  background: #f8fafc;
  border: 1px solid #e4e9f2;
  border-radius: 8px;
  display: flex;
  gap: 14px;
  padding: 16px;
}

.hetzner-flow-step span {
  align-items: center;
  background: #d50c2d;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 34px;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.hetzner-flow-step h3 {
  color: #17212d;
  font-size: 16px;
  font-weight: 900;
  margin: 0 0 5px;
}

.hetzner-flow-step p {
  color: #66727e;
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.hetzner-addons {
  background: #fff;
  border: 1px solid #e4e9f2;
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 22px;
}

.hetzner-addons h2 {
  color: #17212d;
  font-size: 25px;
  font-weight: 900;
  margin: 0 0 8px;
}

.hetzner-addons p {
  color: #66727e;
  line-height: 1.65;
  margin: 0;
}

.hetzner-addons-btn {
  align-self: center;
  display: inline-flex;
  justify-content: center;
  line-height: 1.2;
  min-width: 196px;
  padding-left: 18px;
  padding-right: 18px;
  text-align: center;
  white-space: normal;
}

.hetzner-faq {
  margin: 26px auto 0;
  max-width: 920px;
}

.hetzner-faq .faq-card {
  background: #fff;
  border: 1px solid #e4e9f2;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}

.hetzner-faq .btn-link {
  align-items: center;
  color: #17212d;
  display: flex;
  font-size: 16px;
  font-weight: 900;
  justify-content: space-between;
  letter-spacing: 0;
  padding: 16px 18px;
  text-align: left;
  text-decoration: none;
  text-transform: none !important;
  width: 100%;
}

.hetzner-faq .btn-link span {
  text-transform: none !important;
}

.hetzner-faq .card-body {
  color: #66727e;
  font-size: 15px;
  line-height: 1.7;
  padding: 0 18px 18px;
}

.hetzner-final {
  background: #17212d;
  color: #fff;
  padding: 58px 0;
}

.hetzner-final-inner {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.hetzner-final h2 {
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.18;
  margin: 0 0 10px;
}

.hetzner-final p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  margin: 0;
}

.hetzner-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.hetzner-source-box {
  background: #f8fafc;
  border-top: 1px solid #e4e9f2;
  color: #66727e;
  font-size: 13px;
  line-height: 1.65;
  padding: 18px 0;
}

.hetzner-source-box p {
  margin: 0;
}

.hetzner-source-box a {
  color: #d50c2d;
  font-weight: 800;
}

@keyframes hetznerPulse {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes hetznerSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1199px) {
  .hetzner-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hetzner-filter-field:first-child {
    grid-column: span 3;
  }

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

@media (max-width: 991px) {
  .hetzner-hero {
    min-height: 0;
    padding: 128px 0 118px;
  }

  .hetzner-hero::after {
    background: rgba(15, 23, 32, 0.82);
  }

  .hetzner-title {
    font-size: 40px;
  }

  .hetzner-hero-metrics,
  .hetzner-status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hetzner-live-shell {
    margin-top: -72px;
  }

  .hetzner-server-row {
    grid-template-columns: 1fr;
  }

  .hetzner-price-panel {
    text-align: left;
  }

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

  .hetzner-split,
  .hetzner-final-inner,
  .hetzner-addons {
    grid-template-columns: 1fr;
  }

  .hetzner-final-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .hetzner-dedicated-page,
  .hetzner-page,
  .hetzner-dedicated-page main,
  .hetzner-hero {
    max-width: 100%;
    overflow-x: hidden;
  }

  .hetzner-dedicated-page .container {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
    padding-left: 12px;
    padding-right: 12px;
    width: 100%;
  }

  .hetzner-hero {
    overflow: hidden;
    padding: 116px 0 104px;
  }

  .hetzner-hero .container,
  .hetzner-hero .row,
  .hetzner-hero [class*="col-"] {
    min-width: 0;
  }

  .hetzner-hero .row {
    margin-left: 0;
    margin-right: 0;
  }

  .hetzner-hero [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .hetzner-kicker,
  .hetzner-title,
  .hetzner-lead,
  .hetzner-actions,
  .hetzner-hero-metrics {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }

  .hetzner-kicker {
    align-items: flex-start;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .hetzner-title {
    font-size: 29px;
    line-height: 1.12;
  }

  .hetzner-lead {
    font-size: 15px;
    line-height: 1.62;
  }

  .hetzner-actions .btn,
  .hetzner-ghost-btn,
  .hetzner-final-actions .btn {
    justify-content: center;
    width: 100%;
  }

  .hetzner-hero-metrics,
  .hetzner-status-grid,
  .hetzner-filters,
  .hetzner-benefit-grid,
  .hetzner-audience-grid,
  .hetzner-spec-grid {
    grid-template-columns: 1fr;
  }

  .hetzner-filter-field:first-child {
    grid-column: auto;
  }

  .hetzner-section {
    padding: 54px 0;
  }

  .hetzner-section-head h2,
  .hetzner-rdp-panel h2,
  .hetzner-practice-panel h2,
  .hetzner-final h2 {
    font-size: 27px;
  }

  .hetzner-server-title {
    display: grid;
  }

  .hetzner-badges {
    justify-content: flex-start;
  }

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

  .hetzner-price {
    font-size: 34px;
  }
}
