.page-hosting main {
  padding-top: 0;
}

/* Hero */
.ht-hero {
  padding: 2.5rem 0 3rem;
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.ht-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.ht-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.ht-hero-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  max-width: 36rem;
}

.ht-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.ht-guarantee {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.ht-guarantee strong {
  color: var(--success);
}

.ht-price-teaser {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.ht-price-teaser p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.ht-price-teaser .ht-from {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.ht-price-teaser .ht-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.ht-price-teaser .ht-amount small {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Panel switch (Plesk / cPanel) */
.ht-panel-switch {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.ht-panel-switch a {
  padding: 0.65rem 1.5rem;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 100px;
  border: 2px solid var(--border);
  background: var(--bg-white);
  color: var(--text-muted);
  transition: all 0.2s;
}

.ht-panel-switch a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.ht-panel-switch a.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* Plans section on hosting page */
.ht-plans {
  padding: 3rem 0 5rem;
}

.ht-plans .plans-grid {
  margin-top: 0.5rem;
}

.plan-powered {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.plan-powered img {
  height: 22px;
  width: auto;
  opacity: 0.85;
}

/* Hosting features strip */
.ht-features {
  padding: 4rem 0;
  background: var(--bg-white);
  border-block: 1px solid var(--border);
}

.ht-features .section-head--center {
  text-align: center;
  margin-bottom: 2.5rem;
}

.ht-features .section-head--center h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
}

.ht-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 1.25rem;
}

.ht-features-grid--centered {
  align-items: stretch;
}

.ht-feature {
  height: 100%;
}

.ht-feature__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 0.5rem 0.75rem;
}

.ht-feature__icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ht-feature__icon img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.ht-feature__title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.ht-feature__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 22rem;
}

/* Legacy class aliases */
.ht-feat {
  text-align: center;
  padding: 1.5rem 1rem;
}

.ht-feat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: var(--primary-soft);
  border-radius: 14px;
}

.ht-feat h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.ht-feat p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Compare teaser */
.ht-compare-note {
  text-align: center;
  margin-top: 2rem;
  padding: 1.25rem;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.ht-compare-note a {
  color: var(--primary);
  font-weight: 700;
}

/* Plan comparison table */
.ht-compare {
  padding: 4rem 0;
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
}

.ht-compare .section-head--center {
  text-align: center;
  margin-bottom: 2rem;
}

.ht-compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 calc(-1 * clamp(0px, (100vw - 100%) / 2, 1rem));
  padding: 0 0 0.75rem;
  scrollbar-width: thin;
}

.ht-compare-scroll::-webkit-scrollbar {
  height: 6px;
}

.ht-compare-scroll::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 999px;
}

.ht-compare-mobile-hint {
  display: none;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.ht-compare-mobile-intro {
  display: none;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 0 0.35rem;
}

.ht-compare-root {
  width: 100%;
}

.ht-compare-inner {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  min-width: 52rem;
}

.ht-compare-head {
  display: grid;
  grid-template-columns: minmax(10rem, 1.1fr) repeat(3, minmax(8.5rem, 1fr));
  gap: 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-white);
}

.ht-compare-col {
  padding: 1.25rem 0.85rem;
  border-left: 1px solid var(--border);
  min-width: 0;
}

.ht-compare-col--label {
  border-left: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
}

.ht-compare-col--plan {
  text-align: center;
}

.ht-compare-choose {
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
}

.ht-compare-chat {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.ht-compare-chat a {
  color: var(--primary);
  font-weight: 600;
}

.ht-compare-plan-name {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.ht-compare-price {
  margin-bottom: 0.85rem;
}

.ht-compare-amount {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.ht-compare-period {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.ht-compare-cta {
  width: 100%;
  max-width: 11rem;
}

.ht-compare-groups {
  border-top: 1px solid var(--border);
}

.ht-compare-group {
  border-bottom: 1px solid var(--border);
}

.ht-compare-group:last-child {
  border-bottom: none;
}

.ht-compare-group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  background: var(--bg-white);
  transition: background 0.2s;
  width: 100%;
}

.ht-compare-group-label {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.ht-compare-toggle {
  flex-shrink: 0;
  margin-left: auto;
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--text);
  font-size: 0.95rem;
}

.ht-compare-toggle .ht-compare-icon-open,
.ht-compare-toggle .ht-compare-icon-close {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.ht-compare-toggle .ht-compare-icon-close {
  display: none;
}

.ht-compare-group[open] .ht-compare-toggle .ht-compare-icon-open {
  display: none;
}

.ht-compare-group[open] .ht-compare-toggle .ht-compare-icon-close {
  display: inline-flex;
}

.ht-compare-group-title::-webkit-details-marker {
  display: none;
}

.ht-compare-group-title:hover {
  background: var(--primary-soft);
}

.ht-compare-group[open] .ht-compare-group-title {
  background: var(--primary-soft);
  color: var(--primary);
}

.ht-compare-group[open] .ht-compare-toggle {
  color: var(--primary);
}

.ht-compare-group-body {
  border-top: 1px solid var(--border);
}

.ht-compare-row {
  display: grid;
  grid-template-columns: minmax(10rem, 1.1fr) repeat(3, minmax(8.5rem, 1fr));
  min-width: 0;
}

.ht-compare-row:nth-child(even) {
  background: rgba(244, 247, 252, 0.65);
}

.ht-compare-cell {
  padding: 0.85rem 1rem;
  border-left: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.88rem;
  min-height: 3rem;
}

.ht-compare-cell--label {
  justify-content: flex-start;
  text-align: left;
  font-weight: 600;
  color: var(--text);
  border-left: none;
}

.ht-compare-yes {
  display: inline-flex;
  color: var(--primary);
}

.ht-compare-text {
  color: var(--text-muted);
  line-height: 1.4;
}

.ht-compare .ht-compare-note {
  margin: 0;
  padding: 1.15rem 1.25rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-radius: 0;
}

.ht-compare .ht-compare-note a {
  color: var(--primary);
  font-weight: 700;
}

@media (max-width: 900px) {
  .ht-compare-mobile-intro,
  .ht-compare-mobile-hint {
    display: block;
  }

  .ht-compare-inner {
    min-width: 34rem;
  }

  .ht-compare-head {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ht-compare-col--label {
    display: none;
  }

  .ht-compare-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ht-compare-cell--label {
    grid-column: 1 / -1;
    justify-content: flex-start;
    text-align: left;
    background: var(--bg-soft);
    border-left: none;
    border-bottom: 1px solid var(--border);
    min-height: auto;
    padding: 0.65rem 0.85rem;
    font-size: 0.8rem;
  }

  .ht-compare-plan-name {
    font-size: 0.95rem;
  }

  .ht-compare-amount {
    font-size: 1.35rem;
  }

  .ht-compare-cta {
    max-width: none;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    font-size: 0.78rem;
  }

  .ht-compare-col {
    padding: 1rem 0.5rem;
  }

  .ht-compare-cell {
    padding: 0.7rem 0.45rem;
    font-size: 0.8rem;
    min-height: 2.75rem;
  }
}

@media (max-width: 520px) {
  .ht-compare {
    padding: 3rem 0;
  }

  .ht-compare-scroll {
    margin: 0 -4vw;
    padding: 0 4vw 0.75rem;
  }

  .ht-compare-inner {
    min-width: 22rem;
  }

  .ht-compare-head,
  .ht-compare-row {
    grid-template-columns: repeat(3, minmax(6.5rem, 1fr));
  }
}

/* FAQ on hosting page */
.ht-faq {
  padding: 4rem 0;
}

.footer .logo-img {
  filter: brightness(0) invert(1);
}

@media (max-width: 1024px) {
  .ht-hero-inner {
    grid-template-columns: 1fr;
  }

  .ht-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .ht-features-grid {
    grid-template-columns: 1fr;
  }
}

/* VPS page */
.page-vps .ht-hero-lead--sub {
  margin-top: -0.75rem;
  margin-bottom: 1.25rem;
}

.page-vps .plans-grid--vps {
  grid-template-columns: repeat(4, 1fr);
}

.plan-card--vps .plan-desc {
  display: none;
}

.vps-specs {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0 0 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.vps-specs li {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.vps-specs strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin-right: 0.35rem;
}

.plan-card--vps .plan-price {
  margin-top: 0;
}

.ht-addons {
  padding: 4rem 0;
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
}

.ht-addons .section-head--center p {
  max-width: 40rem;
  margin: 0.5rem auto 0;
  color: var(--text-muted);
}

.ht-addons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.ht-addon-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.ht-addon-card:hover {
  border-color: rgba(5, 153, 128, 0.3);
  box-shadow: var(--shadow);
}

.ht-addon-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.ht-addon-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.ht-addon-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 0;
}

.ht-feature__icon--fa {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.ht-features--vps {
  background: var(--bg-white);
}

@media (max-width: 1100px) {
  .page-vps .plans-grid--vps {
    grid-template-columns: repeat(2, 1fr);
  }

  .ht-addons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ht-hero {
    padding: 1.5rem 0 2.5rem;
  }

  .ht-hero-actions {
    flex-direction: column;
  }

  .ht-hero-actions .btn {
    width: 100%;
  }

  .ht-plans .plans-grid,
  .page-vps .plans-grid--vps {
    grid-template-columns: 1fr;
  }

  .ht-addons-grid {
    grid-template-columns: 1fr;
  }

  .ht-panel-switch {
    flex-wrap: wrap;
    justify-content: center;
  }
}
