/*!
 * Global Hosting: dedicated-web.php page styles + the datacentre components shared with colocation.php
 * (hero art floats, trust strip, infrastructure band). Loaded via $page['head'] on dedicated-web.php
 * and colocation.php only. Builds on gh-core.css + site.css tokens. Selectors: gh-dc-*.
 */

/* ==========================================================================
   Hero (shared): room for the overlapping trust card; art hidden below 1080
   ========================================================================== */
.gh-dc-hero { padding-bottom: 150px; }
.gh-dc-hero .gh-page-hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.gh-dc-hero .gh-page-hero__bullets { gap: 12px 24px; }
@media (max-width: 1080px) {
  .gh-dc-hero .gh-page-hero__inner { grid-template-columns: 1fr; }
  .gh-dc-hero .gh-page-hero__aside { display: none; }
}
@media (max-width: 960px) { .gh-dc-hero { padding-bottom: 120px; } }
@media (max-width: 640px) {
  .gh-dc-hero { padding-bottom: 104px; }
  .gh-dc-hero .gh-page-hero__bullets { flex-direction: column; gap: 12px; }
}

/* dedicated hero illustration */
.gh-dc-art { position: relative; width: 100%; max-width: 540px; margin-left: auto; aspect-ratio: 560 / 520; }
.gh-dc-art__bg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; font-family: var(--gh-font); }

.gh-dc-float { z-index: 2; }
.gh-dc-float--spec { top: 3%; left: 0; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 16px; }
.gh-dc-float__label { color: var(--gh-muted); font-weight: 600; }
.gh-dc-float__value { display: inline-flex; align-items: center; gap: 8px; color: var(--gh-ink); font-size: 1.125rem; font-weight: 800; letter-spacing: -.02em; }
.gh-dc-float__dot { width: 9px; height: 9px; border-radius: 50%; background: #22C58B; box-shadow: 0 0 0 4px rgba(34, 197, 139, .18); }
.gh-dc-float__meta { color: var(--gh-muted); font-size: .75rem; font-weight: 600; }
.gh-dc-float--traffic {
  top: 44%; right: -3%;
  background: #151C40; color: var(--gh-on-dark-muted);
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.gh-dc-float--traffic strong { color: #fff; }
.gh-dc-float--traffic .gh-float__icon { background: rgba(74, 222, 155, .14); color: var(--gh-success-on-dark); }
.gh-dc-float--ready { bottom: 7%; left: 0; }
.gh-dc-float--ready .gh-float__icon { background: var(--gh-red-50); color: var(--gh-red); }
.gh-dc-float--panel { bottom: 2%; right: 9%; gap: 8px; padding: 9px 14px; border-radius: 999px; font-weight: 700; color: var(--gh-ink); }
.gh-dc-float--panel .gh-icon { color: var(--gh-red); }
@media (prefers-reduced-motion: no-preference) {
  .gh-dc-float--traffic { animation-delay: -2s; }
  .gh-dc-float--ready { animation-delay: -4s; }
  .gh-dc-float--panel { animation-delay: -1s; animation-duration: 6s; }
}

/* ==========================================================================
   Trust strip (shared): white card overlapping the hero
   ========================================================================== */
.gh-dc-trust {
  position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: -84px 0 clamp(56px, 7vw, 88px); padding: 8px; list-style: none;
  background: #fff; border: 1px solid var(--gh-line); border-radius: 22px;
  box-shadow: 0 2px 6px rgba(14, 19, 48, .04), 0 40px 80px -34px rgba(14, 19, 48, .35);
}
.gh-dc-trust__item { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 20px; }
.gh-dc-trust__item + .gh-dc-trust__item { border-left: 1px solid var(--gh-line); }
.gh-dc-trust__icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 46px; height: 46px; border-radius: 13px; background: var(--gh-red-50); color: var(--gh-red); }
.gh-dc-trust__item strong { display: block; color: var(--gh-ink); font-size: .9375rem; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.gh-dc-trust__item small { display: block; margin-top: 3px; color: var(--gh-muted); font-size: .8125rem; font-weight: 500; line-height: 1.4; }
.gh-dc-trust__item a { color: var(--gh-ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--gh-line-strong); text-underline-offset: 3px; }
.gh-dc-trust__item a:hover { color: var(--gh-red); text-decoration-color: currentColor; }
@media (max-width: 1100px) {
  .gh-dc-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gh-dc-trust__item:nth-child(3) { border-left: 0; }
  .gh-dc-trust__item:nth-child(n+3) { border-top: 1px solid var(--gh-line); }
}
@media (max-width: 560px) {
  .gh-dc-trust { grid-template-columns: 1fr; margin-top: -64px; padding: 4px 6px; border-radius: 20px; }
  .gh-dc-trust__item { padding: 16px 14px; }
  .gh-dc-trust__item + .gh-dc-trust__item { border-left: 0; border-top: 1px solid var(--gh-line); }
  .gh-dc-trust__icon { width: 42px; height: 42px; }
}

/* ==========================================================================
   Server cards (dedicated-web.php)
   ========================================================================== */
.gh-dc-servers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; align-items: stretch; }
.gh-dc-servers > li { display: flex; min-width: 0; }
.gh-dc-servers > li > * { flex: 1 1 auto; }

.gh-dc-server {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--gh-line); border-radius: 22px;
  box-shadow: 0 2px 6px rgba(14, 19, 48, .04), 0 24px 50px -30px rgba(14, 19, 48, .3);
  transition: transform .25s var(--gh-ease), box-shadow .25s var(--gh-ease);
}
.gh-dc-server:hover { transform: translateY(-4px); box-shadow: 0 2px 6px rgba(14, 19, 48, .05), 0 34px 60px -30px rgba(14, 19, 48, .38); }
.gh-dc-server__visual {
  position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center;
  padding: 52px 26px 30px; overflow: hidden;
  background: radial-gradient(80% 120% at 85% -20%, rgba(124, 140, 255, .32), transparent 60%),
              radial-gradient(70% 110% at 0% 120%, rgba(187, 52, 55, .3), transparent 60%), var(--gh-navy-900);
}
.gh-dc-server__visual::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 30%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 90% 90% at 50% 30%, #000 30%, transparent 80%);
}
.gh-dc-server__front { display: block; width: 100%; max-width: 300px; height: auto; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .45)); }
.gh-dc-server__dc {
  position: absolute; top: 16px; left: 18px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 9px;
  border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14);
  color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .04em;
}
.gh-dc-server__dc .gh-icon { color: var(--gh-red-soft); }

.gh-dc-server__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 26px 28px 28px; }
.gh-dc-server__name { margin: 0 0 18px; color: var(--gh-ink); font-size: 1.75rem; font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.gh-dc-server__brand { display: block; margin-bottom: 6px; color: var(--gh-red); font-size: var(--gh-fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.gh-dc-specs { width: 100%; margin: 0 0 24px; border-collapse: collapse; font-size: var(--gh-fs-sm); line-height: 1.4; }
.gh-dc-specs th, .gh-dc-specs td { padding: 11px 0; border-top: 1px dashed var(--gh-line-strong); vertical-align: top; }
.gh-dc-specs tr:first-child > * { border-top: 0; padding-top: 4px; }
.gh-dc-specs th { width: 46%; padding-right: 12px; color: var(--gh-muted); font-weight: 600; text-align: left; white-space: nowrap; }
.gh-dc-specs th .gh-icon { margin: -2px 9px 0 0; color: var(--gh-red); }
.gh-dc-specs td { color: var(--gh-ink); font-weight: 700; text-align: right; }
.gh-dc-specs td small { display: block; margin-top: 2px; color: var(--gh-muted); font-size: .8125rem; font-weight: 600; }

.gh-dc-server__price { margin: auto 0 20px; padding-top: 18px; border-top: 1px solid var(--gh-line); }
.gh-dc-server__price .gh-price__amount { font-size: 2.375rem; }
.gh-dc-server__sub { margin: 6px 0 0; color: var(--gh-muted); font-size: var(--gh-fs-xs); font-weight: 600; line-height: 1.45; }

/* custom configuration card (navy) */
.gh-dc-custom {
  display: flex; flex-direction: column; padding: 34px 30px 30px; border-radius: 22px; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(10, 15, 42, .6);
}
.gh-dc-custom__icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin-bottom: 24px; border-radius: 15px; background: rgba(187, 52, 55, .2); color: var(--gh-red-soft); }
.gh-dc-custom__title { margin: 0 0 12px; color: #fff; font-size: 1.625rem; font-weight: 800; line-height: 1.15; letter-spacing: -.025em; }
.gh-dc-custom__text { margin: 0 0 22px; color: var(--gh-on-dark-muted); font-size: .9375rem; line-height: 1.65; }
.gh-dc-custom .gh-checklist { margin-bottom: 28px; }
.gh-dc-custom__art { display: block; width: 100%; max-width: 260px; height: auto; margin: auto auto 28px; opacity: .9; }
.gh-dc-custom__actions { display: grid; gap: 14px; margin-top: auto; }
.gh-dc-custom__tel { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: var(--gh-on-dark-muted); font-size: var(--gh-fs-sm); font-weight: 600; text-decoration: none; }
.gh-dc-custom__tel strong { color: #fff; font-weight: 800; }
.gh-dc-custom__tel .gh-icon { color: var(--gh-red-soft); }
.gh-dc-custom__tel:hover strong { color: var(--gh-red-soft); }
.gh-dc-custom__tel:focus-visible { outline: 3px solid var(--gh-focus); outline-offset: 2px; border-radius: 6px; }

@media (max-width: 1140px) {
  .gh-dc-servers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gh-dc-servers > li:last-child { grid-column: 1 / -1; }
  .gh-dc-custom { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 300px); grid-template-areas: "icon title actions" "icon text actions" "icon list actions"; column-gap: 26px; align-items: start; }
  .gh-dc-custom__icon { grid-area: icon; margin: 0; }
  .gh-dc-custom__title { grid-area: title; }
  .gh-dc-custom__text { grid-area: text; }
  .gh-dc-custom .gh-checklist { grid-area: list; margin: 0; }
  .gh-dc-custom__actions { grid-area: actions; align-self: center; margin: 0; }
  .gh-dc-custom__art { display: none; }
}
@media (max-width: 820px) {
  .gh-dc-custom { display: flex; }
  .gh-dc-custom__icon { margin-bottom: 22px; }
  .gh-dc-custom .gh-checklist { margin-bottom: 26px; }
}
@media (max-width: 720px) {
  .gh-dc-servers { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; gap: 18px; }
  .gh-dc-servers > li:last-child { grid-column: auto; }
}
@media (max-width: 420px) {
  .gh-dc-server__visual { padding: 48px 18px 24px; }
  .gh-dc-server__body { padding: 22px 20px 22px; }
  .gh-dc-specs th { width: auto; }
  .gh-dc-custom { padding: 28px 20px 24px; }
}

.gh-dc-note {
  display: flex; align-items: flex-start; justify-content: center; gap: 10px; max-width: 860px; margin: 32px auto 0;
  color: var(--gh-muted); font-size: var(--gh-fs-sm); line-height: 1.6; text-align: left;
}
.gh-dc-note .gh-icon { flex: none; margin-top: 2px; color: var(--gh-ink); }
.gh-dc-note strong { color: var(--gh-ink); }

/* ==========================================================================
   Why a dedicated server (head left, features right)
   ========================================================================== */
.gh-dc-why__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.gh-dc-why__head { position: sticky; top: calc(var(--gh-header-h) + 32px); }
.gh-dc-why__head .gh-section-head { margin-bottom: 30px; }
.gh-dc-why__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.gh-dc-why .gh-features--plain { gap: 40px 44px; }
.gh-dc-why .gh-features--plain .gh-feature { padding-top: 26px; border-top: 1px solid var(--gh-line); }
.gh-dc-why .gh-feature__icon { width: 46px; height: 46px; margin-bottom: 16px; }
@media (max-width: 960px) {
  .gh-dc-why__grid { grid-template-columns: 1fr; }
  .gh-dc-why__head { position: static; }
}
@media (max-width: 640px) {
  .gh-dc-why .gh-features--plain { gap: 0; }
  .gh-dc-why .gh-features--plain .gh-feature {
    display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 20px 0;
  }
  .gh-dc-why .gh-feature__icon { grid-row: 1; width: 42px; height: 42px; margin: 0; border-radius: 12px; }
  .gh-dc-why .gh-feature__title { grid-row: 1; grid-column: 2; margin: 0; font-size: var(--gh-fs-md); }
  .gh-dc-why .gh-feature__text { grid-column: 1 / -1; margin-top: 10px; }
  .gh-dc-why__actions .gh-btn { flex: 1 1 100%; }
}

/* ==========================================================================
   Infrastructure band (shared, navy)
   ========================================================================== */
.gh-dc-infra { overflow: hidden; }
.gh-dc-infra__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.gh-dc-infra__head .gh-section-head { margin-bottom: 30px; }
.gh-dc-infra__place {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: var(--gh-on-dark-muted); font-size: var(--gh-fs-sm); line-height: 1.4;
}
.gh-dc-infra__place strong { display: block; color: #fff; font-size: var(--gh-fs-md); font-weight: 800; letter-spacing: -.01em; }
.gh-dc-infra__pin { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--gh-red); color: #fff; box-shadow: var(--gh-shadow-red); }
.gh-dc-infra__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--gh-red-soft); font-size: var(--gh-fs-sm); font-weight: 700; text-decoration: none; }
.gh-dc-infra__more:hover { color: #fff; }
.gh-dc-infra__more .gh-icon { transition: transform var(--gh-dur); }
.gh-dc-infra__more:hover .gh-icon { transform: translateX(3px); }
.gh-dc-infra__more:focus-visible { outline: 3px solid var(--gh-focus); outline-offset: 3px; border-radius: 4px; }

.gh-dc-infra__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: ghdc; }
.gh-dc-infra__item {
  position: relative; padding: 28px 26px 26px; border-radius: var(--gh-radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .025)); border: 1px solid rgba(255, 255, 255, .1);
}
.gh-dc-infra__item::after {
  counter-increment: ghdc; content: "0" counter(ghdc); content: "0" counter(ghdc) / ""; position: absolute; top: 24px; right: 24px;
  color: rgba(255, 255, 255, .22); font-size: var(--gh-fs-xs); font-weight: 800; letter-spacing: .1em;
}
.gh-dc-infra__icon { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; margin-bottom: 20px; border-radius: 14px; background: rgba(187, 52, 55, .2); color: var(--gh-red-soft); }
.gh-dc-infra__title { margin: 0 0 8px; color: #fff; font-size: var(--gh-fs-lg); font-weight: 800; line-height: 1.3; letter-spacing: -.012em; }
.gh-dc-infra__text { margin: 0; color: var(--gh-on-dark-muted); font-size: .9375rem; line-height: 1.65; }
@media (max-width: 1000px) { .gh-dc-infra__grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .gh-dc-infra__list { grid-template-columns: 1fr; gap: 12px; }
  .gh-dc-infra__item { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 20px 18px; }
  .gh-dc-infra__item::after { top: 18px; right: 18px; }
  .gh-dc-infra__icon { grid-row: 1; width: 44px; height: 44px; margin: 0; border-radius: 12px; }
  .gh-dc-infra__title { grid-row: 1; grid-column: 2; margin: 0; padding-right: 28px; font-size: var(--gh-fs-md); }
  .gh-dc-infra__text { grid-column: 1 / -1; margin-top: 10px; }
}

/* ==========================================================================
   Dedicated vs VPS
   ========================================================================== */
.gh-dc-vs__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1040px; margin: 0 auto; }
.gh-dc-vs__card {
  display: flex; flex-direction: column; padding: 34px 32px 30px; border-radius: 22px;
  border: 1px solid var(--gh-line); box-shadow: var(--gh-shadow-sm);
}
.gh-dc-vs__card:not(.gh-dc-vs__card--dark) { background: #fff; }
.gh-dc-vs__card--dark { border-color: transparent; box-shadow: 0 30px 60px -30px rgba(10, 15, 42, .6); }
.gh-dc-vs__tag { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin: 0 0 20px; padding: 6px 12px; border-radius: 999px; background: var(--gh-bg-alt); color: var(--gh-muted); font-size: var(--gh-fs-xs); font-weight: 700; }
.gh-dc-vs__tag .gh-icon { color: var(--gh-red); }
.gh-dc-vs__card--dark .gh-dc-vs__tag { background: rgba(255, 255, 255, .08); color: #E4E7F5; }
.gh-dc-vs__card--dark .gh-dc-vs__tag .gh-icon { color: var(--gh-red-soft); }
.gh-dc-vs__title { margin: 0 0 10px; color: var(--gh-ink); font-size: 1.625rem; font-weight: 800; letter-spacing: -.025em; }
.gh-dc-vs__card--dark .gh-dc-vs__title { color: #fff; }
.gh-dc-vs__text { margin: 0 0 22px; color: var(--gh-muted); font-size: .9375rem; line-height: 1.65; }
.gh-dc-vs__card--dark .gh-dc-vs__text { color: var(--gh-on-dark-muted); }
.gh-dc-vs__card .gh-checklist { margin-bottom: 28px; }
.gh-dc-vs__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 18px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--gh-line); }
.gh-dc-vs__card--dark .gh-dc-vs__foot { border-top-color: rgba(255, 255, 255, .12); }
.gh-dc-vs__price { margin: 0; color: var(--gh-muted); font-size: var(--gh-fs-sm); font-weight: 600; }
.gh-dc-vs__price strong { color: var(--gh-ink); font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.gh-dc-vs__card--dark .gh-dc-vs__price { color: var(--gh-on-dark-muted); }
.gh-dc-vs__card--dark .gh-dc-vs__price strong { color: #fff; }
.gh-dc-vs__more { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 32px 0 0; color: var(--gh-muted); font-size: .9375rem; text-align: center; }
.gh-dc-vs__more .gh-icon { flex: none; color: var(--gh-red); }
.gh-dc-vs__more a { color: var(--gh-ink); font-weight: 800; }
.gh-dc-vs__more a:hover { color: var(--gh-red); }
@media (max-width: 820px) { .gh-dc-vs__grid { grid-template-columns: 1fr; max-width: 560px; } }
@media (max-width: 640px) {
  .gh-dc-vs__card { padding: 28px 22px 24px; }
  .gh-dc-vs__foot .gh-btn { flex: 1 1 100%; }
  .gh-dc-vs__more { align-items: flex-start; text-align: left; }
}

/* FAQ contact card on the alt band */
.gh-section--alt .gh-dc-faq-contact { background: #fff; }

@media (prefers-reduced-motion: reduce) {
  .gh-dc-server, .gh-dc-infra__more .gh-icon { transition: none; }
  .gh-dc-server:hover { transform: none; }
}
