:root {
  --zen-red: #e30613;
  --zen-red-dark: #b80510;
  --zen-red-soft: rgba(227, 6, 19, 0.12);
  --zen-spot: rgba(227, 6, 19, 0.28);
  --zen-black: #0b0b0d;
  --zen-ink: #121216;
  --zen-charcoal: #1a1a1f;
  --zen-muted: #6b6b76;
  --zen-line: #e8e8ec;
  --zen-white: #ffffff;
  --zen-off: #f6f6f8;
  --zen-success: #1f9d55;
  --zen-warning: #d97706;
  --zen-danger: #e30613;
  --font-display: "Outfit", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
  --container: 1240px;
  --header-h: 96px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--zen-ink);
  background: var(--zen-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.container {
  width: min(100% - 3.5rem, var(--container));
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--zen-red); color: #fff; }
.btn-primary:hover { background: var(--zen-red-dark); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.45);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-outline {
  background: transparent;
  color: var(--zen-ink);
  border-color: #d5d5dc;
}
.btn-outline:hover { border-color: var(--zen-red); color: var(--zen-red); }
.btn-sm { padding: 0.55rem 0.95rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
}
.site-header.is-solid {
  position: sticky;
  top: 0;
  background: rgba(11,11,13,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}
.site-header .logo img { height: 52px; }
.sidebar .logo img { height: 44px; }
.site-footer .logo img { height: 52px; }

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: clamp(1.1rem, 2vw, 2rem);
  min-width: 0;
}
.nav > a,
.nav-item__trigger {
  color: rgba(255,255,255,.88);
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  padding: 0.45rem 0;
  letter-spacing: 0.01em;
}
.nav > a:hover,
.nav-item__trigger:hover,
.nav-item--services.is-open .nav-item__trigger {
  color: #fff;
}
.nav-item__trigger svg {
  opacity: .55;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-item--services.is-open .nav-item__trigger svg,
.nav-item--services:hover .nav-item__trigger svg {
  opacity: 1;
  transform: rotate(180deg);
}

.nav-item--services {
  position: static;
  display: flex;
  align-items: center;
  height: 100%;
  /* Extend hit area down into the mega so the menu doesn't close on the gap. */
  padding-bottom: 2rem;
  margin-bottom: -2rem;
}
.nav-mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 60;
  padding: 0;
  background: rgba(12,12,16,.97);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 24px 48px rgba(0,0,0,.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
/* Invisible bridge so the cursor can travel from trigger to panel. */
.nav-mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -28px;
  height: 28px;
}
.nav-item--services.is-open .nav-mega,
.nav-item--services:focus-within .nav-mega,
body.services-mega-open .nav-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-mega__inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: .75rem;
  padding: 1.15rem 0 1.25rem;
}
.nav-mega__inner > a {
  flex: 1 1 0;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  transition: background .2s ease, border-color .2s ease, transform .2s ease, color .2s ease;
  white-space: normal;
  font-weight: 600;
  font-size: .95rem;
}
.nav-mega__inner > a:hover {
  color: #fff;
  background: rgba(227,6,19,.12);
  border-color: rgba(227,6,19,.35);
  transform: translateY(-2px);
}
.nav-mega__label {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.01em;
}
.nav-mega__hint {
  font-size: .78rem;
  font-weight: 500;
  color: rgba(255,255,255,.48);
  line-height: 1.35;
}
.nav-mega__inner > a:hover .nav-mega__hint {
  color: rgba(255,255,255,.7);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: grid;
  place-items: center;
  color: #fff;
  background: transparent;
  cursor: pointer;
}
.cart-btn {
  position: relative;
  min-width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex-shrink: 0;
  transition: border-color .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.cart-btn__icon {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
}
.cart-btn--labeled {
  padding: 0.35rem 0.85rem 0.35rem 0.7rem;
  height: auto;
  min-height: 42px;
}
.cart-btn__text {
  display: grid;
  line-height: 1.15;
  text-align: left;
}
.cart-btn__title {
  font-size: 0.82rem;
  font-weight: 700;
}
.cart-btn__count {
  font-size: 0.66rem;
  font-weight: 600;
  opacity: 0.65;
}
.cart-btn--header {
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  background: rgba(255,255,255,.04);
}
.cart-btn--header:hover,
.cart-btn--header.has-items {
  border-color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.1);
}
.cart-btn--header.has-items {
  border-color: rgba(227,6,19,.55);
  background: rgba(227,6,19,.16);
  box-shadow: 0 0 0 3px rgba(227,6,19,.12);
}
.cart-btn--topbar {
  border: 1px solid var(--zen-line);
  color: var(--zen-ink, #111);
  background: #fff;
  box-shadow: 0 4px 14px rgba(15,15,19,.04);
}
.cart-btn--topbar:hover,
.cart-btn--topbar.has-items {
  border-color: rgba(227,6,19,.4);
  color: var(--zen-red);
}
.cart-btn--topbar.has-items {
  background: rgba(227,6,19,.06);
}
.cart-btn__badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--zen-red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 0 0 2px #0b0b0d;
}
.cart-btn--topbar .cart-btn__badge {
  box-shadow: 0 0 0 2px #fff;
}
.cart-btn--labeled .cart-btn__badge {
  top: -4px;
  right: -2px;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.topbar-user {
  font-weight: 700;
  white-space: nowrap;
}
.btn-client {
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.btn-client:hover { border-color: #fff; }
.btn-client.is-logged-in {
  border-color: rgba(227,6,19,.55);
  background: rgba(227,6,19,.12);
  padding: 0.4rem 0.95rem 0.4rem 0.4rem;
  gap: 0.65rem;
}
.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--zen-red);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.user-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
  min-width: 0;
}
.user-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.user-name {
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}
.btn-logout {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,.88);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.04);
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.btn-logout:hover {
  color: #fff;
  border-color: rgba(227,6,19,.55);
  background: rgba(227,6,19,.16);
}
.site-header .btn-primary {
  padding: 0.75rem 1.35rem;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  position: relative;
  z-index: 1;
}
.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
}
.nav-backdrop[hidden] { display: none !important; }
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 210;
  width: min(92vw, 380px);
  height: 100dvh;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(520px 280px at 100% 0%, rgba(227,6,19,.16), transparent 55%),
    #0e0e12;
  border-left: 1px solid rgba(255,255,255,.08);
  box-shadow: -18px 0 40px rgba(0,0,0,.4);
  transform: translateX(105%);
  transition: transform .25s ease;
  overflow: hidden;
}
.nav-drawer.open {
  transform: none;
}
.nav-drawer:not(.open) {
  pointer-events: none;
}
.nav-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
  background: rgba(14,14,18,.92);
  backdrop-filter: blur(10px);
}
.nav-drawer__logo img {
  height: 44px;
  width: auto;
  display: block;
}
.nav-drawer__close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  background: rgba(255,255,255,.05);
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.nav-drawer__close:hover {
  border-color: rgba(255,255,255,.45);
  background: rgba(255,255,255,.1);
}
.nav-drawer__body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.15rem 1.2rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}
.nav-drawer__kicker {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
  margin-bottom: .7rem;
}
.nav-drawer__tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
}
.nav-drawer__tile {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: .9rem .85rem;
  border-radius: 14px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.08);
  color: #fff;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.nav-drawer__tile:hover,
.nav-drawer__tile:active {
  background: rgba(227,6,19,.14);
  border-color: rgba(227,6,19,.4);
  transform: translateY(-1px);
}
.nav-drawer__tile-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: -.01em;
  line-height: 1.2;
}
.nav-drawer__tile-hint {
  font-size: .75rem;
  font-weight: 500;
  color: rgba(255,255,255,.45);
  line-height: 1.3;
}
.nav-drawer__all-services {
  display: inline-flex;
  margin-top: .7rem;
  font-size: .88rem;
  font-weight: 700;
  color: rgba(255,255,255,.72);
}
.nav-drawer__all-services:hover { color: #fff; }
.nav-drawer__list {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding-top: .15rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.nav-drawer__list a {
  color: rgba(255,255,255,.88);
  font-size: 1.02rem;
  font-weight: 600;
  padding: .78rem .1rem;
  border-radius: 10px;
}
.nav-drawer__list a:hover {
  color: #fff;
  background: rgba(255,255,255,.04);
  padding-left: .55rem;
  padding-right: .55rem;
}
.nav-drawer__actions {
  display: grid;
  gap: 0.65rem;
  flex-shrink: 0;
  padding: 1rem 1.2rem calc(1.2rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(10,10,14,.9);
}
.nav-drawer__actions .btn { width: 100%; }
.nav-drawer__actions .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,.28);
}
.nav-drawer__actions .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,.2);
}
.nav-drawer__actions .cart-btn--header {
  width: 100%;
  justify-content: flex-start;
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  min-height: 48px;
}
.nav-drawer__actions .cart-btn__text { display: grid; }
body.nav-open { overflow: hidden; }
body.nav-open .site-header { z-index: 50; }
body.nav-open [data-sidebar-backdrop] { z-index: 90; }
.scroll-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 60;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--zen-red);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(227, 6, 19, 0.35);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}
.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.scroll-top:hover { background: var(--zen-red-dark); }
.scroll-top[hidden] { display: none !important; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--zen-black);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8,8,10,.88) 0%, rgba(8,8,10,.55) 48%, rgba(8,8,10,.35) 100%),
    linear-gradient(180deg, rgba(227,6,19,.18) 0%, transparent 45%),
    url("../images/hero-datacenter.jpg") center/cover no-repeat;
  transform: scale(1.02);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(227,6,19,.22), transparent 55%);
}
@keyframes heroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: calc(var(--header-h) + 3.5rem) 0 8rem;
  max-width: 720px;
}
.eyebrow {
  color: var(--zen-red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  display: inline-block;
  animation: fadeUp .7s ease both;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.35rem);
  font-weight: 700;
  margin-bottom: 1.1rem;
  letter-spacing: -0.025em;
  animation: fadeUp .8s .1s ease both;
}
.hero h1 .accent { color: var(--zen-red); }
.hero-lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,.82);
  max-width: 560px;
  margin-bottom: 1.4rem;
  animation: fadeUp .8s .2s ease both;
}
.hero-domain-search {
  display: flex;
  gap: 0.55rem;
  align-items: stretch;
  max-width: 560px;
  margin-bottom: 0.65rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
  animation: fadeUp .8s .28s ease both;
}
.hero-domain-search__field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  min-width: 0;
  padding: 0 0.25rem 0 1rem;
}
.hero-domain-search__prefix {
  color: rgba(255,255,255,.4);
  font-weight: 600;
  font-size: 0.92rem;
  flex-shrink: 0;
}
.hero-domain-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 0.35rem;
  outline: none;
}
.hero-domain-search input::placeholder {
  color: rgba(255,255,255,.35);
  font-weight: 500;
}
.hero-domain-search .btn {
  flex-shrink: 0;
  padding-inline: 1.35rem;
}
.hero-domain-hint {
  margin: 0 0 1.25rem;
  color: rgba(255,255,255,.45);
  font-size: 0.85rem;
  animation: fadeUp .8s .32s ease both;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: fadeUp .8s .36s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* Service cards overlapping hero */
.services-overlap {
  position: relative;
  z-index: 3;
  margin-top: -5.5rem;
  margin-bottom: 1rem;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.service-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.5rem 1.35rem 1.25rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 230px;
  transition: transform .25s ease, box-shadow .25s ease;
  border: 1px solid rgba(0,0,0,.04);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,.16);
}
.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  display: grid;
  place-items: center;
}
.service-icon svg { width: 48px; height: 48px; }
.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}
.service-card p {
  color: var(--zen-muted);
  font-size: 0.92rem;
  margin: 0 0 1rem;
  flex: 1;
}
.card-arrow {
  align-self: flex-end;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--zen-off);
  display: grid;
  place-items: center;
  color: var(--zen-muted);
  transition: background .2s, color .2s;
}
.service-card:hover .card-arrow {
  background: var(--zen-red);
  color: #fff;
}

/* Trust bar */
.trust-bar {
  padding: 2.75rem 0 3.25rem;
  background: #fff;
  border-bottom: 1px solid var(--zen-line);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}
.trust-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.trust-item svg {
  width: 28px;
  height: 28px;
  color: var(--zen-red);
  flex-shrink: 0;
  margin-top: 2px;
}
.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}
.trust-item span {
  color: var(--zen-muted);
  font-size: 0.85rem;
}

/* Partner section */
.partner {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.partner-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,8,10,.28) 0%, rgba(8,8,10,.72) 52%, rgba(8,8,10,.92) 100%),
    linear-gradient(180deg, rgba(227,6,19,.12) 0%, transparent 42%),
    url("../images/about-services.jpg") center/cover no-repeat;
}
.partner-content {
  position: relative;
  z-index: 2;
  margin-left: auto;
  max-width: 520px;
  padding: 5rem 0;
  animation: fadeUp .8s ease both;
}
.partner-content p {
  color: rgba(255,255,255,.8);
  margin-bottom: 1.5rem;
}

/* Page hero (inner) */
.page-hero {
  background:
    linear-gradient(135deg, rgba(11,11,13,.92), rgba(11,11,13,.75)),
    url("../images/hero-datacenter.jpg") center/cover;
  color: #fff;
  padding: calc(var(--header-h) + 3rem) 0 3.5rem;
}
.page-hero--compact { padding-bottom: 2.25rem; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.page-hero p { color: rgba(255,255,255,.78); max-width: 640px; }

/* Knowledge / Questions */
.kb-page { max-width: 920px; }
.kb-search {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  align-items: stretch;
}
.kb-search > .form-control {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
}
.kb-search__cat {
  flex: 0 0 200px;
  width: 200px;
  min-width: 140px;
  margin: 0;
}
.kb-search__cat .form-control {
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.kb-search .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}
.kb-results {
  position: relative;
  min-height: 4rem;
  transition: opacity .15s ease;
}
.kb-results.is-loading {
  opacity: .45;
  pointer-events: none;
}
.kb-results.is-loading::after {
  content: "";
  position: absolute;
  inset: 0.5rem auto auto 50%;
  width: 22px;
  height: 22px;
  margin-left: -11px;
  border: 2px solid rgba(227, 6, 19, .25);
  border-top-color: var(--zen-red);
  border-radius: 50%;
  animation: kb-spin .7s linear infinite;
}
@keyframes kb-spin {
  to { transform: rotate(360deg); }
}
.kb-list { display: grid; gap: 0.85rem; }
.kb-card {
  display: block;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--zen-line);
  border-radius: 14px;
  background: #fff;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.kb-card:hover {
  border-color: rgba(227,6,19,.35);
  box-shadow: 0 10px 28px rgba(0,0,0,.06);
  transform: translateY(-1px);
}
.kb-card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}
.kb-card p {
  margin: 0 0 0.75rem;
  color: var(--zen-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}
.kb-card__meta,
.kb-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,.7);
}
.kb-card__meta { color: var(--zen-muted); }
.kb-tag {
  display: inline-flex;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(227,6,19,.1);
  color: var(--zen-red);
  font-weight: 700;
  font-size: 0.75rem;
}
.kb-article { max-width: 820px; display: grid; gap: 1.25rem; }
.kb-block {
  border: 1px solid var(--zen-line);
  border-radius: 16px;
  padding: 1.35rem 1.4rem;
  background: #fff;
}
.kb-block h2 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}
.kb-block--problem {
  background: linear-gradient(180deg, #fff7f7, #fff);
  border-color: rgba(227,6,19,.18);
}
.kb-block--solution {
  background: linear-gradient(180deg, #f4fff7, #fff);
  border-color: rgba(34,197,94,.22);
}
.kb-prose {
  color: #2a2a33;
  line-height: 1.65;
  font-size: 1rem;
  display: grid;
  gap: 0.85rem;
}
.kb-prose__p {
  margin: 0;
  white-space: pre-wrap;
}
.kb-code {
  border: 1px solid #d8dde6;
  border-radius: 12px;
  background: #0f172a;
  color: #e2e8f0;
  overflow: hidden;
}
.kb-code__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0.7rem;
  background: rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.kb-code__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(226,232,240,.7);
}
.kb-code__copy {
  appearance: none;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: #f8fafc;
  border-radius: 8px;
  padding: 0.28rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.kb-code__copy:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.28);
}
.kb-code__copy.is-copied {
  background: #16a34a;
  border-color: #16a34a;
}
.kb-code__pre {
  margin: 0;
  padding: 0.95rem 1rem 1.05rem;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86rem;
  line-height: 1.55;
  white-space: pre;
}
.kb-code__pre code {
  font: inherit;
  color: inherit;
  background: none;
  padding: 0;
}
.kb-thanks {
  margin-top: 0.5rem;
  padding: 1.35rem;
  border-radius: 16px;
  background: var(--zen-off);
  border: 1px solid var(--zen-line);
  text-align: center;
}
.kb-thanks p { margin: 0 0 0.85rem; }
.kb-thanks__btn.is-liked {
  background: #16a34a;
  border-color: #16a34a;
}
.kb-thanks__status {
  margin-top: 0.75rem !important;
  color: var(--zen-muted);
  font-size: 0.9rem;
}
@media (max-width: 640px) {
  .kb-search {
    flex-wrap: wrap;
  }
  .kb-search > .form-control {
    flex: 1 1 100%;
    width: 100%;
  }
  .kb-search__cat {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }
}

.section { padding: 4rem 0; }
.section-muted { background: var(--zen-off); }
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.5rem;
}
.section-lead {
  color: var(--zen-muted);
  max-width: 560px;
  margin-bottom: 2rem;
}

/* Pricing / catalog cards */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.price-card {
  background: #fff;
  border: 1px solid var(--zen-line);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, transform .2s;
}
.price-card:hover {
  border-color: var(--zen-red);
  transform: translateY(-3px);
}
.price-card .price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0.75rem 0;
}
.price-card .price small {
  font-size: 0.85rem;
  color: var(--zen-muted);
  font-weight: 600;
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  color: var(--zen-muted);
  font-size: 0.92rem;
  flex: 1;
}
.price-card li {
  padding: 0.35rem 0 0.35rem 1.2rem;
  position: relative;
}
.price-card li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--zen-red);
  position: absolute;
  left: 0;
  top: 0.75rem;
}

/* FAQ */
.faq-list details {
  background: #fff;
  border: 1px solid var(--zen-line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  margin-bottom: 0.75rem;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-display);
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details[open] summary { color: var(--zen-red); margin-bottom: 0.6rem; }
.faq-list details p { margin: 0; color: var(--zen-muted); }

/* Forms */
.form-card {
  background: #fff;
  border: 1px solid var(--zen-line);
  border-radius: var(--radius);
  padding: 1.75rem;
  max-width: 640px;
}
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
}
.form-control {
  width: 100%;
  border: 1px solid #d8d8e0;
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.form-control:disabled,
.form-control[readonly] {
  background: #f1f1f4;
  color: #6b6b76;
  cursor: not-allowed;
}
.form-control:focus {
  outline: none;
  border-color: var(--zen-red);
  box-shadow: 0 0 0 3px var(--zen-red-soft);
}

/* Affordance: Border Trace (forms) */
.trace-field {
  position: relative;
  display: block;
  width: 100%;
}
.trace-field .form-control {
  position: relative;
  z-index: 1;
}
.trace-field .form-control:focus {
  border-color: rgba(227, 6, 19, 0.35);
  box-shadow: none;
}
.trace-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}
.trace-svg rect {
  fill: none;
  stroke: var(--zen-red);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: var(--trace-len, 600);
  stroke-dashoffset: var(--trace-len, 600);
  transition: stroke-dashoffset 0.55s ease;
}
.trace-field:focus-within .trace-svg rect,
.trace-field.is-traced .trace-svg rect {
  stroke-dashoffset: 0;
}
.content.admin .trace-svg rect,
.auth-card.dark .trace-svg rect {
  stroke: #ff4d57;
}
textarea.form-control { min-height: 130px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.domain-search {
  display: flex;
  gap: 0.75rem;
  background: #fff;
  border-radius: 999px;
  padding: 0.4rem;
  border: 1px solid var(--zen-line);
  box-shadow: var(--shadow);
  max-width: 640px;
}
.domain-search input {
  flex: 1;
  border: 0;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  outline: none;
  font-size: 1rem;
}
.alert {
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 0.92rem;
}
.alert-success { background: #e8f8ef; color: #146c43; }
.alert-error { background: #fde8ea; color: #9f0712; }
.alert-info { background: #eef2ff; color: #3730a3; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}
.badge-success { background: #dcfce7; color: #166534; }
.badge-warning { background: #ffedd5; color: #9a3412; }
.badge-danger { background: #fee2e2; color: #991b1b; }
.badge-muted { background: #f1f1f4; color: #52525b; }

/* Contact info */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.info-panel {
  background: var(--zen-ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem;
}
.info-panel a { color: #fff; }
.info-panel .big {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--zen-red);
  margin: 0.3rem 0 1rem;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(255,255,255,.08);
  margin-bottom: 1rem;
}
.status-pill.open::before,
.status-pill.closed::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.status-pill.open::before { background: #22c55e; }
.status-pill.closed::before { background: #ef4444; }

/* Support page */
.support-page { display: flex; flex-direction: column; gap: 1.5rem; }
.support-status-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  border-radius: 20px;
  padding: 1.6rem 1.75rem;
  border: 1px solid var(--zen-line);
  background: #fff;
}
.support-status-card.is-open {
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(34, 197, 94, 0.12), transparent 50%),
    #fff;
  border-color: rgba(34, 197, 94, 0.28);
}
.support-status-card.is-closed {
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(239, 68, 68, 0.1), transparent 50%),
    #fff;
  border-color: rgba(239, 68, 68, 0.22);
}
.support-status-card .status-pill {
  background: rgba(0, 0, 0, 0.04);
  color: var(--zen-ink);
}
.support-status-card h2 {
  margin: 0.35rem 0 0.5rem;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
}
.support-status-card__time {
  color: var(--zen-muted);
  margin: 0 0 1.1rem;
  line-height: 1.45;
}
.support-status-card__hint {
  margin: 0.85rem 0 0;
  color: var(--zen-muted);
  font-size: 0.92rem;
}
.support-status-card__hours {
  padding: 1.1rem 1.2rem;
  border-radius: 14px;
  background: var(--zen-off);
  border: 1px solid var(--zen-line);
}
.support-status-card__hours h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}
.support-status-card__infra {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--zen-muted);
}
.support-channels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.support-channel {
  background: #fff;
  border: 1px solid var(--zen-line);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.support-channel__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--zen-red);
}
.support-channel h3 { margin: 0; font-size: 1.1rem; }
.support-channel p {
  margin: 0 0 0.75rem;
  color: var(--zen-muted);
  font-size: 0.92rem;
  flex: 1;
}
@media (max-width: 960px) {
  .support-status-card,
  .support-channels { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .support-status-card,
  .support-channels { grid-template-columns: 1fr; }
}

/* Speedtest */
.speedtest-wrap {
  background: var(--zen-ink);
  color: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow);
}
.speedtest-wrap--embed {
  padding: 0;
  overflow: hidden;
  background: #0b0b0d;
}
.speedtest-iframe {
  display: block;
  width: 100%;
  height: 650px;
  border: 0;
  background: #0b0b0d;
}
@media (max-width: 640px) {
  .speedtest-iframe { height: 720px; }
}
.speed-meters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}
.meter {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 1.25rem;
  text-align: center;
}
.meter .value {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--zen-red);
}
.meter .label {
  color: rgba(255,255,255,.65);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.progress-bar {
  height: 6px;
  background: rgba(255,255,255,.08);
  border-radius: 999px;
  overflow: hidden;
  margin: 1rem 0;
}
.progress-bar > span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--zen-red), #ff5a63);
  transition: width .3s linear;
}

/* Footer */
.site-footer {
  position: relative;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(227, 6, 19, 0.18), transparent 50%),
    radial-gradient(60% 80% at 0% 100%, rgba(255, 255, 255, 0.04), transparent 45%),
    linear-gradient(180deg, #121216 0%, #0b0b0d 100%);
  color: rgba(255, 255, 255, 0.72);
  padding: 4rem 0 1.5rem;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(227, 6, 19, 0.55), transparent);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(240px, 1.15fr) minmax(0, 1.6fr);
  gap: 2.5rem 3rem;
  margin-bottom: 2.25rem;
}
.footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
}
.footer-logo img { height: 52px; width: auto; }
.footer-tagline {
  margin: 0 0 1.1rem;
  max-width: 34ch;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
}
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}
.footer-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.footer-phone {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.footer-phone:hover { color: #ff6b75; }
.footer-mail {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
}
.footer-mail:hover { color: #fff; }
.footer-actions-mobile { display: none; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.site-footer h4,
.footer-col > summary {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  font-family: var(--font-display);
  list-style: none;
}
.footer-col > summary::-webkit-details-marker { display: none; }
.footer-col > summary::marker { content: ""; }
@media (min-width: 641px) {
  .footer-col > summary {
    pointer-events: none;
    cursor: default;
  }
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.footer-col a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
  transition: color 0.15s ease, padding-left 0.15s ease;
}
.footer-col a:hover {
  color: #fff;
  padding-left: 0.2rem;
}
.footer-hours-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
}
.footer-hours-status.is-open {
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.1);
}
.footer-hours-status.is-closed {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.1);
}
.footer-hours-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18);
  flex-shrink: 0;
}
.footer-hours-status.is-open .footer-hours-dot {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}
.hours-schedule {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.hours-schedule li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: baseline;
  margin: 0 !important;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hours-schedule li:last-child { border-bottom: 0; }
.hours-schedule__days {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
  line-height: 1.35;
}
.hours-schedule__time {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  text-align: right;
}
.hours-schedule--compact li {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
.support-status-card__hours .hours-schedule li {
  border-bottom: 1px solid var(--zen-line);
  padding: 0.55rem 0;
}
.support-status-card__hours .hours-schedule__days {
  color: var(--zen-muted);
}
.support-status-card__hours .hours-schedule__time {
  color: var(--zen-ink);
}
.footer-cta {
  display: inline-flex;
  margin-top: 1.1rem;
  font-weight: 700;
  color: #fff;
  border-bottom: 1px solid rgba(227, 6, 19, 0.7);
  padding-bottom: 0.1rem;
}
.footer-cta:hover { color: #ff6b75; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer-bottom__legal {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.footer-bottom__legal a {
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom__legal a:hover {
  color: #fff;
}

/* Auth */
.auth-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(227,6,19,.18), transparent 40%),
    linear-gradient(160deg, #0b0b0d, #17171c 60%, #0b0b0d);
}
.auth-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.auth-grid {
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(600px) rotateX(55deg);
  animation: auth-grid-drift 22s linear infinite;
  opacity: .55;
}
.auth-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: .7;
  animation: auth-orb-float 12s ease-in-out infinite;
}
.auth-orb--a {
  width: 340px;
  height: 340px;
  left: -80px;
  top: 10%;
  background: rgba(227, 6, 19, 0.45);
}
.auth-orb--b {
  width: 280px;
  height: 280px;
  right: -60px;
  bottom: 8%;
  background: rgba(80, 90, 255, 0.28);
  animation-delay: -4s;
}
.auth-orb--c {
  width: 180px;
  height: 180px;
  left: 45%;
  top: -40px;
  background: rgba(255, 255, 255, 0.12);
  animation-delay: -7s;
}
@keyframes auth-orb-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(18px, -22px, 0) scale(1.08); }
}
@keyframes auth-grid-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 48px, 48px 0; }
}
.auth-card {
  width: min(100%, 440px);
  background: #fff;
  border-radius: 18px;
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}
.auth-card--glow {
  animation: auth-card-in .55s ease both;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.08),
    0 24px 60px rgba(0,0,0,.35),
    0 0 80px rgba(227, 6, 19, 0.12);
}
.auth-card--glow::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 19px;
  padding: 1px;
  background: linear-gradient(120deg, rgba(227,6,19,.75), rgba(255,255,255,.25), rgba(227,6,19,.35), rgba(255,255,255,.15));
  background-size: 300% 300%;
  animation: auth-border-flow 6s linear infinite;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
@keyframes auth-border-flow {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
@keyframes auth-card-in {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.auth-card.dark {
  background: #15151a;
  color: #fff;
  border: 1px solid rgba(255,255,255,.06);
}
.auth-card.dark .form-control {
  background: #0f0f13;
  border-color: #2a2a33;
  color: #fff;
}
.auth-card h1 {
  font-size: 1.6rem;
  margin-bottom: 0.3rem;
}
.auth-card .muted { color: var(--zen-muted); margin-bottom: 1.4rem; }
.auth-card.dark .muted { color: rgba(255,255,255,.55); }
.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  border: 1px solid #d5d5dc;
  background: #fff;
  color: #1f1f24;
  font-weight: 700;
  font-size: 0.95rem;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.btn-google:hover {
  border-color: #b8b8c2;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  transform: translateY(-1px);
}
.auth-steps {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.35rem;
}
.auth-steps__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--zen-muted);
}
.auth-steps__item.is-active { color: var(--zen-ink); }
.auth-card.dark .auth-steps__item.is-active { color: #fff; }
.auth-steps__item.is-done { color: var(--zen-red); }
.auth-steps__num {
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--zen-off);
  color: inherit;
}
.auth-card.dark .auth-steps__num { background: rgba(255,255,255,.08); }
.auth-steps__item.is-active .auth-steps__num,
.auth-steps__item.is-done .auth-steps__num {
  background: var(--zen-red);
  color: #fff;
}
.auth-steps__line {
  flex: 1;
  height: 2px;
  background: var(--zen-line);
  border-radius: 99px;
}
.auth-card.dark .auth-steps__line { background: rgba(255,255,255,.12); }
.auth-steps__line.is-done { background: rgba(227, 6, 19, 0.55); }
.auth-step-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 1.15rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: var(--zen-off);
  border: 1px solid var(--zen-line);
}
.auth-card.dark .auth-step-summary {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.1);
}
.auth-step-summary strong {
  display: block;
  font-size: 0.95rem;
}
.auth-step-summary span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.85rem;
  color: var(--zen-muted);
}
.auth-card.dark .auth-step-summary span { color: rgba(255,255,255,.55); }
.auth-step-summary a {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--zen-red);
  white-space: nowrap;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.15rem 0;
  color: var(--zen-muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--zen-line);
}
.confirm-modal--light .confirm-modal__dialog {
  background: #fff;
  color: var(--zen-ink);
  border-color: var(--zen-line);
}
.confirm-modal--light .confirm-modal__message {
  color: var(--zen-muted);
}
.confirm-modal--form .confirm-modal__dialog {
  width: min(560px, 100%);
  max-height: min(90vh, 720px);
  overflow-y: auto;
}
.confirm-modal--form .confirm-modal__message {
  margin-bottom: 1rem;
}
.confirm-modal--form .form-group { margin-bottom: 0.85rem; }
.confirm-modal--form .confirm-modal__actions {
  margin-top: 0.5rem;
}

/* Dashboards shared */
.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 268px 1fr;
}
.sidebar {
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.sidebar.admin {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(227,6,19,.08), transparent 28%),
    #0e0e12;
  color: rgba(255,255,255,.78);
  border-right: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
}
.sidebar.client {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(700px 240px at 0% 0%, rgba(227,6,19,.06), transparent 60%),
    #fff;
  border-right: 1px solid var(--zen-line);
  color: var(--zen-ink);
}
.sidebar.client .sidebar__brand {
  border-bottom-color: var(--zen-line);
}
.sidebar__pill--client {
  background: rgba(227,6,19,.1);
  color: var(--zen-red);
}
.sidebar__user {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0.85rem 0.75rem 0.25rem;
  padding: 0.75rem;
  border-radius: 14px;
  background: var(--zen-off);
  border: 1px solid var(--zen-line);
  flex-shrink: 0;
}
.sidebar__user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #e30613, #7f1d1d);
  color: #fff;
  font-weight: 800;
  flex-shrink: 0;
}
.sidebar__user-meta {
  min-width: 0;
  display: grid;
  gap: 0.1rem;
}
.sidebar__user-meta strong {
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar__user-meta small {
  font-size: 0.75rem;
  color: var(--zen-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar.client .sidebar__label {
  color: rgba(18,18,22,.38);
}
.sidebar.client a {
  border: 1px solid transparent;
  color: rgba(18,18,22,.78);
}
.sidebar.client a.active {
  box-shadow: inset 3px 0 0 var(--zen-red);
  font-weight: 700;
}
.sidebar.client .sidebar__icon { color: var(--zen-muted); }
.sidebar.client a.active .sidebar__icon,
.sidebar.client a:hover .sidebar__icon { color: var(--zen-red); opacity: 1; }
.sidebar__footer--client {
  background: #fff;
  border-top-color: var(--zen-line);
}
.sidebar__logout--client {
  background: rgba(227,6,19,.08) !important;
  border: 1px solid rgba(227,6,19,.22) !important;
  color: var(--zen-red) !important;
  justify-content: center;
}
.sidebar__logout--client:hover {
  background: rgba(227,6,19,.14) !important;
  color: var(--zen-red-dark) !important;
}
.topbar--client {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
}
.topbar-userchip--light {
  background: var(--zen-off);
  border-color: var(--zen-line);
}
.topbar-userchip--light .topbar-userchip__meta small {
  color: var(--zen-muted);
}
.topbar-userchip--light .topbar-userchip__meta strong {
  color: var(--zen-ink);
}
.sidebar .brand,
.sidebar__brand {
  padding: 1.1rem 1rem 0.85rem;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}
.sidebar__pill {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.45rem;
  border-radius: 6px;
  background: rgba(227,6,19,.18);
  color: #ff7a82;
}
.sidebar__nav {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 0.75rem 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}
.sidebar__nav::-webkit-scrollbar {
  width: 6px;
}
.sidebar__nav::-webkit-scrollbar-track {
  background: transparent;
  margin: 0.35rem 0;
}
.sidebar__nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}
.sidebar__nav::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.32);
}
.sidebar__nav::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}
.sidebar.client .sidebar__nav {
  scrollbar-color: rgba(18, 18, 22, 0.22) transparent;
}
.sidebar.client .sidebar__nav::-webkit-scrollbar-thumb {
  background: rgba(18, 18, 22, 0.16);
}
.sidebar.client .sidebar__nav::-webkit-scrollbar-thumb:hover {
  background: rgba(18, 18, 22, 0.3);
}
.sidebar__label {
  margin: 0.85rem 0.55rem 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.32);
}
.sidebar__label:first-child { margin-top: 0.25rem; }
.sidebar a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
}
.sidebar.admin a {
  padding: 0.62rem 0.7rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,.72);
  border: 1px solid transparent;
}
.sidebar.admin a:hover,
.sidebar.admin a.active {
  background: rgba(227,6,19,.14);
  color: #fff;
  border-color: rgba(227,6,19,.18);
}
.sidebar.admin a.active {
  box-shadow: inset 3px 0 0 var(--zen-red);
}
.sidebar__icon {
  width: 1.25rem;
  height: 1.25rem;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  opacity: 0.8;
}
.sidebar__icon svg {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
}
.sidebar.admin a.active .sidebar__icon,
.sidebar.admin a:hover .sidebar__icon { opacity: 1; }
.sidebar__link-main {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}
.sidebar__footer {
  flex-shrink: 0;
  padding: 0.75rem;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.22);
  display: grid;
  gap: 0.35rem;
}
.sidebar__site {
  color: rgba(255,255,255,.55) !important;
}
.sidebar__logout {
  background: rgba(227,6,19,.12) !important;
  border-color: rgba(227,6,19,.28) !important;
  color: #fff !important;
  font-weight: 700 !important;
}
.sidebar__logout:hover {
  background: rgba(227,6,19,.22) !important;
}
.sidebar.client a:hover,
.sidebar.client a.active {
  background: rgba(227,6,19,.08);
  color: var(--zen-red);
  border-color: rgba(227,6,19,.14);
}
.sidebar .spacer { flex: 1; }
.main-panel { display: flex; flex-direction: column; min-width: 0; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--zen-line);
  background: #fff;
}
.topbar.admin {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(17,17,22,.92);
  backdrop-filter: blur(12px);
  border-color: rgba(255,255,255,.06);
  color: #fff;
  gap: 0.85rem;
}
.topbar__right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.topbar-clock {
  display: grid;
  justify-items: end;
  line-height: 1.15;
  padding: 0.35rem 0.65rem;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  min-width: 5.5rem;
}
.topbar-clock__time {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.topbar-clock__date {
  font-size: 0.68rem;
  color: rgba(255,255,255,.45);
  font-weight: 600;
  text-transform: capitalize;
}
.topbar-userchip {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.25rem 0.55rem 0.25rem 0.25rem;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
.topbar-userchip__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #e30613, #7f1d1d);
  font-weight: 800;
  font-size: 0.85rem;
}
.topbar-userchip__meta {
  display: grid;
  line-height: 1.15;
  padding-right: 0.25rem;
}
.topbar-userchip__meta strong {
  font-size: 0.82rem;
}
.topbar-userchip__meta small {
  font-size: 0.68rem;
  color: rgba(255,255,255,.45);
}
.search-box {
  flex: 1;
  max-width: 420px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--zen-off);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  color: var(--zen-muted);
}
.topbar.admin .search-box {
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.55);
  max-width: none;
}
.search-box input {
  border: 0;
  background: transparent;
  outline: none;
  width: 100%;
  color: inherit;
}
.content { padding: 1.5rem; }
.content.admin { background: #0d0d11; color: #fff; min-height: calc(100vh - 70px); }
.content.client { background: var(--zen-off); min-height: calc(100vh - 70px); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.stat-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--zen-line);
}
.content.admin .stat-card {
  background: linear-gradient(180deg, #1a1a21, #15151a);
  border-color: rgba(255,255,255,.07);
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
}
.content.admin a.stat-card {
  color: inherit;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.content.admin a.stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(227,6,19,.35);
  box-shadow: 0 16px 36px rgba(0,0,0,.28);
}
.content.admin .stat-card.is-alert {
  border-color: rgba(227,6,19,.4);
}
.content.admin .stat-card .value--money {
  font-size: 1.35rem;
}
.stat-card .label {
  color: var(--zen-muted);
  font-size: 0.85rem;
  font-weight: 600;
}
.content.admin .stat-card .label { color: rgba(255,255,255,.55); }
.stat-card .value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  margin-top: 0.25rem;
}
.stat-card .delta {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--zen-success);
  margin-top: 0.25rem;
}

.panel {
  background: #fff;
  border: 1px solid var(--zen-line);
  border-radius: 14px;
  padding: 1.2rem;
  margin-bottom: 1rem;
}
.content.admin .panel {
  background: #17171c;
  border-color: rgba(255,255,255,.06);
}
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.panel h3 {
  font-size: 1.05rem;
  margin: 0;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1rem;
}
.table-wrap { overflow-x: auto; }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
table.data th,
table.data td {
  text-align: left;
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--zen-line);
}
.content.admin table.data th,
.content.admin table.data td {
  border-color: rgba(255,255,255,.06);
}
table.data th {
  color: var(--zen-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.content.admin table.data th { color: rgba(255,255,255,.45); }

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.65rem;
  height: 160px;
  padding-top: 1rem;
}
.chart-bars .bar {
  flex: 1;
  background: linear-gradient(180deg, var(--zen-red), #7a0310);
  border-radius: 8px 8px 4px 4px;
  min-height: 8px;
  position: relative;
}
.chart-bars .bar span {
  position: absolute;
  bottom: -1.4rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  color: var(--zen-muted);
  white-space: nowrap;
}
.content.admin .chart-bars .bar span { color: rgba(255,255,255,.45); }

.donut-legend { list-style: none; padding: 0; margin: 1rem 0 0; }
.donut-legend li {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  font-size: 0.88rem;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.45rem;
}

.help-banner {
  background: linear-gradient(135deg, #1a1a1f, #2a0a0d);
  color: #fff;
  border-radius: 14px;
  padding: 1.4rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.help-banner h3 { margin: 0 0 0.3rem; color: #fff; }
.help-banner p { margin: 0; color: rgba(255,255,255,.7); }

.mobile-nav-btn {
  display: none;
  background: none;
  border: 0;
  font-size: 1.4rem;
  cursor: pointer;
  color: inherit;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-cols {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "services company"
      "hours hours";
  }
  .footer-col--services { grid-area: services; }
  .footer-col--company { grid-area: company; }
  .footer-col--hours { grid-area: hours; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .header-cta,
  .btn-client:not(.is-logged-in),
  .btn-logout,
  .nav--desktop { display: none; }
  .nav-toggle { display: inline-flex; }
  .user-name { max-width: 90px; }
  .header-inner { gap: 0.65rem; }
  .site-header { z-index: 50; }
  .site-header.is-solid { position: sticky; }
  .header-actions { gap: 0.45rem; }
  .cart-btn--labeled .cart-btn__text { display: none; }
  .cart-btn--labeled {
    width: 42px;
    padding: 0;
    justify-content: center;
  }
  .header-actions .cart-btn--header { order: -1; }
  .app-shell { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(88vw, 300px);
    z-index: 100;
    transform: translateX(-105%);
    transition: transform .25s ease;
  }
  .sidebar.admin,
  .sidebar.client {
    position: fixed;
    height: 100vh;
    height: 100dvh;
  }
  .sidebar.open { transform: none; }
  .mobile-nav-btn { display: inline-grid; }
  .topbar-clock__date { display: none; }
  .topbar__right { gap: 0.45rem; }
  .topbar--client .search-box { display: none; }
  .topbar-userchip--light .topbar-userchip__meta { display: none; }
  .nav-drawer__actions {
    display: grid;
    gap: 0.65rem;
  }
  .nav-drawer__actions .cart-btn {
    width: 100%;
    justify-content: flex-start;
    border-radius: 12px;
    padding: 0.7rem 0.9rem;
    min-height: 48px;
  }
  .nav-drawer__actions .cart-btn .cart-btn__text { display: grid; }
  .nav-drawer__logout {
    background: rgba(227,6,19,.12) !important;
    border-color: rgba(227,6,19,.35) !important;
  }
  .grid-2, .contact-grid, .form-row, .speed-meters { grid-template-columns: 1fr; }
  .services-overlap { margin-top: -2rem; }
  .partner-content { margin: 0; }
  .domains-benefits { grid-template-columns: 1fr 1fr; }
  .domains-pricing-grid { grid-template-columns: 1fr; }
  .tld-strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem; }
  .tld-item { padding: 0.9rem 0.65rem; }
  .tld-note { max-width: none; }
  .support-channels { grid-template-columns: 1fr 1fr; }
  .page-hero { padding-top: calc(var(--header-h) + 2rem); }
  .container { width: min(100% - 1.75rem, var(--container)); }
  .topbar { gap: 0.65rem; padding: 0.85rem 1rem; }
  .topbar .search-box { min-width: 0; }
  .content.client { padding: 1rem; }
}

@media (max-width: 640px) {
  .service-grid,
  .trust-grid,
  .catalog-grid,
  .stats-grid,
  .support-channels,
  .domains-benefits { grid-template-columns: 1fr; }
  .hero-content { padding-bottom: 5rem; }
  .hero-domain-search {
    flex-direction: column;
    border-radius: 18px;
    padding: 0.7rem;
    gap: 0.55rem;
  }
  .hero-domain-search__field { padding-left: 0.65rem; }
  .hero-domain-search .btn { width: 100%; border-radius: 12px; }
  .domain-search { flex-direction: column; border-radius: 16px; }
  .domain-search .btn { border-radius: 12px; }
  .domains-hero {
    padding: calc(var(--header-h) + 2.4rem) 0 2.75rem;
  }
  .domains-hero h1 {
    max-width: none;
    font-size: clamp(1.85rem, 8vw, 2.4rem);
  }
  .domains-hero-lead {
    font-size: .98rem;
  }
  .domain-search-hero {
    flex-direction: column;
    border-radius: 18px;
    padding: 0.75rem;
    gap: 0.65rem;
  }
  .domain-search-hero .btn { width: 100%; border-radius: 12px; }
  .domain-result { flex-direction: column; align-items: flex-start; }
  .tld-strip { padding: 1rem 0; }
  .tld-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }
  .tld-item {
    padding: 0.85rem 0.55rem;
    align-items: flex-start;
    text-align: left;
  }
  .tld-ext { font-size: 1.05rem; }
  .tld-price { font-size: 0.98rem; }
  .tld-note {
    max-width: none;
    font-size: 0.72rem;
  }
  .domains-why-copy .section-title {
    font-size: clamp(1.45rem, 6vw, 1.9rem);
  }
  .domains-why-copy .section-lead {
    font-size: .95rem;
  }
  .domains-pricing-grid { grid-template-columns: 1fr; }
  .domain-plan { padding: 1.25rem 1.15rem; }
  .domain-plan h3 { font-size: 1.65rem; }
  .domain-plan-price { font-size: 1.55rem; }
  .domains-transfer {
    padding: 2.75rem 0;
  }
  .domains-transfer-inner { flex-direction: column; align-items: flex-start; }
  .domains-transfer-actions { width: 100%; }
  .domains-transfer-actions .btn { flex: 1 1 auto; justify-content: center; }
  .btn-client.is-logged-in .user-meta { display: none; }
  .btn-client.is-logged-in { padding: 0.35rem; }
  .header-actions .cart-btn--topbar .cart-btn__text { display: none; }
  .scroll-top { right: 0.85rem; bottom: 0.85rem; width: 44px; height: 44px; }
  table.data { min-width: 560px; }
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .panel { border-radius: 14px; }
  .content.client .panel-header {
    flex-wrap: wrap;
    gap: 0.65rem;
  }

  .site-footer {
    padding: 2.5rem 0 1.25rem;
  }
  .footer-top {
    gap: 1.35rem;
    margin-bottom: 1.35rem;
  }
  .footer-logo {
    margin-bottom: .75rem;
  }
  .footer-logo img { height: 44px; }
  .footer-tagline {
    font-size: .92rem;
    max-width: none;
    margin-bottom: .85rem;
  }
  .footer-badges {
    gap: .35rem;
    margin-bottom: 0;
  }
  .footer-badge {
    font-size: .68rem;
    padding: .28rem .55rem;
  }
  .footer-contact--desktop { display: none; }
  .footer-actions-mobile {
    display: grid;
    grid-template-columns: 1fr;
    gap: .55rem;
  }
  .footer-action {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    padding: .95rem 1rem;
    border-radius: 14px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    color: #fff;
  }
  .footer-action--phone {
    background: rgba(227,6,19,.14);
    border-color: rgba(227,6,19,.35);
  }
  .footer-action__label {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.5);
  }
  .footer-action strong {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 750;
    letter-spacing: -.02em;
    word-break: break-word;
  }
  .footer-action--mail strong { font-size: .98rem; }

  .footer-cols {
    grid-template-columns: 1fr;
    grid-template-areas: none;
    gap: .65rem;
  }
  .footer-col--services,
  .footer-col--company,
  .footer-col--hours {
    grid-area: auto;
  }
  .footer-col--services,
  .footer-col--company {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    padding: 0;
    overflow: hidden;
  }
  .footer-col > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: .95rem 1rem;
    cursor: pointer;
    user-select: none;
  }
  .footer-col > summary::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(255,255,255,.45);
    border-bottom: 2px solid rgba(255,255,255,.45);
    transform: rotate(45deg);
    transition: transform .2s ease;
    margin-top: -.25rem;
  }
  .footer-col[open] > summary::after {
    transform: rotate(-135deg);
    margin-top: .2rem;
  }
  .footer-col > summary + ul {
    padding: 0 1rem 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .15rem .75rem;
  }
  .footer-col li { margin: 0; }
  .footer-col a {
    display: block;
    padding: .45rem 0;
    font-size: .92rem;
  }
  .footer-col a:hover { padding-left: 0; }

  .footer-col--hours {
    margin-top: .35rem;
    padding: 1.05rem 1rem 1.1rem;
    border-radius: 16px;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.1);
  }
  .footer-col--hours h4 { margin-bottom: .75rem; }
  .footer-hours-status {
    width: 100%;
    justify-content: flex-start;
    margin-bottom: .75rem;
  }
  .footer-cta {
    display: inline-flex;
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
    padding: .75rem 1rem;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    border-bottom-width: 1px;
    background: rgba(255,255,255,.04);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
    padding-top: 1rem;
    font-size: .78rem;
  }
}

/* ========== Domains page ========== */
.domains-hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  padding: calc(var(--header-h) + 4rem) 0 4.5rem;
  background: var(--zen-black);
}
.domains-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(227,6,19,.28), transparent 50%),
    radial-gradient(ellipse at 85% 70%, rgba(227,6,19,.12), transparent 45%),
    linear-gradient(160deg, rgba(8,8,10,.88), rgba(8,8,10,.72)),
    url("../images/hero-datacenter.jpg") center/cover no-repeat;
}
.domains-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.domains-hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.9rem;
  max-width: 18ch;
}
.domains-hero-lead {
  color: rgba(255,255,255,.78);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 0 2rem;
}
.domain-search-hero {
  display: flex;
  gap: 0.65rem;
  align-items: stretch;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  padding: 0.4rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.domain-search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0 0.35rem 0 1.1rem;
  min-width: 0;
}
.domain-search-prefix {
  color: rgba(255,255,255,.4);
  font-weight: 600;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.domain-search-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.85rem 0.4rem;
  outline: none;
}
.domain-search-field input::placeholder { color: rgba(255,255,255,.35); font-weight: 500; }
.domain-search-hero .btn { flex-shrink: 0; padding-inline: 1.6rem; }
.domain-search-hint {
  margin: 0.85rem 0 0;
  color: rgba(255,255,255,.45);
  font-size: 0.85rem;
}
.domain-result {
  margin-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(12px);
}
.domain-result.is-available {
  border-color: rgba(34,197,94,.35);
  background: linear-gradient(135deg, rgba(34,197,94,.12), rgba(255,255,255,.04));
}
.domain-result.is-taken {
  border-color: rgba(227,6,19,.35);
  background: linear-gradient(135deg, rgba(227,6,19,.12), rgba(255,255,255,.04));
}
.domain-result-status {
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: var(--zen-red);
}
.domain-result.is-available .domain-result-status { color: #4ade80; }
.domain-result-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.domain-result-main p {
  margin: 0;
  color: rgba(255,255,255,.65);
  font-size: 0.92rem;
}
.domain-result-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
  flex-shrink: 0;
}
.domain-result-price {
  color: rgba(255,255,255,.7);
  font-size: 0.9rem;
}
.domain-result-price strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.25rem;
}
.tld-strip {
  background: #fff;
  border-bottom: 1px solid var(--zen-line);
  padding: 1.35rem 0;
}
.tld-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  text-align: center;
}
.tld-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-width: 0;
  padding: 0.85rem 0.6rem;
  border-radius: 14px;
  background: var(--zen-off);
  border: 1px solid transparent;
}
.tld-ext {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--zen-red);
  line-height: 1.1;
}
.tld-price {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--zen-ink);
  white-space: nowrap;
  line-height: 1.2;
}
.tld-note {
  display: block;
  color: var(--zen-muted);
  font-size: 0.78rem;
  line-height: 1.35;
  max-width: 14ch;
}
.domains-why { display: grid; gap: 2rem; }
.domains-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.benefit { padding: 0.25rem 0; }
.benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--zen-red-soft);
  color: var(--zen-red);
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
}
.benefit-icon svg { width: 22px; height: 22px; }
.benefit h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.benefit p { margin: 0; color: var(--zen-muted); font-size: 0.92rem; }
.domains-pricing-head { margin-bottom: 2rem; }
.domains-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.domain-plan {
  background: #fff;
  border: 1px solid var(--zen-line);
  border-radius: 18px;
  padding: 1.6rem 1.45rem;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.domain-plan:hover {
  transform: translateY(-4px);
  border-color: rgba(227,6,19,.35);
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
}
.domain-plan.is-featured {
  border-color: var(--zen-red);
  box-shadow: 0 20px 50px rgba(227,6,19,.12);
}
.domain-plan-badge {
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--zen-red);
  margin-bottom: 0.65rem;
}
.domain-plan h3 { font-size: 2rem; margin-bottom: 0.35rem; }
.domain-plan-top p {
  color: var(--zen-muted);
  margin: 0 0 1rem;
  font-size: 0.92rem;
}
.domain-plan-price {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.domain-plan-price small {
  font-size: 0.85rem;
  color: var(--zen-muted);
  font-weight: 600;
}
.domain-plan-note {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--zen-muted);
  font-weight: 600;
}
.domain-plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  flex: 1;
}
.domain-plan li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.15rem;
  color: var(--zen-muted);
  font-size: 0.92rem;
}
.domain-plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--zen-red);
}
.domains-transfer {
  background:
    linear-gradient(120deg, rgba(11,11,13,.94), rgba(11,11,13,.78)),
    url("../images/about-services.jpg") center/cover;
  color: #fff;
  padding: 4rem 0;
}
.domains-transfer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.domains-transfer h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.5rem;
}
.domains-transfer p {
  margin: 0;
  color: rgba(255,255,255,.72);
  max-width: 480px;
}
.domains-transfer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex-shrink: 0;
}
@media (max-width: 1100px) {
  .domains-benefits { grid-template-columns: 1fr 1fr; }
  .tld-strip-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .tld-strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .domains-benefits { grid-template-columns: 1fr; }
  .domains-pricing-grid { grid-template-columns: 1fr; }
}

/* ========== Domain wizard / cart ========== */
.wizard-progress {
  margin: 0 0 1.5rem;
}
.wizard-progress__bar {
  height: 4px;
  border-radius: 999px;
  background: var(--zen-line);
  margin: 0 0 1rem;
  overflow: hidden;
}
.wizard-progress__bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--zen-red), #ff4d57);
  border-radius: inherit;
  transition: width .35s ease;
}
.wizard-progress__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}
.wizard-progress__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  color: var(--zen-muted);
  font-size: 0.8rem;
  font-weight: 600;
}
.wizard-progress__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--zen-line);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--zen-ink);
}
.wizard-progress__step.is-active {
  color: var(--zen-ink);
}
.wizard-progress__step.is-active .wizard-progress__num {
  background: var(--zen-red);
  border-color: var(--zen-red);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.12);
}
.wizard-progress__step.is-done .wizard-progress__num {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}
.wizard-progress__step.is-done {
  color: #166534;
}
.wizard-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  gap: 1.25rem;
  align-items: start;
}
.wizard-shell__aside { position: sticky; top: 1rem; }
.wizard-title {
  font-size: 1.45rem;
  margin: 0 0 0.4rem;
}
.wizard-lead {
  margin: 0 0 1.35rem;
  color: var(--zen-muted);
  font-size: 0.98rem;
  max-width: 48ch;
}
.wizard-domain-chip {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  background: #f8f8fb;
  border: 1px solid var(--zen-line);
}
.wizard-domain-chip__badge {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--zen-red);
  background: rgba(227, 6, 19, 0.1);
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
}
.wizard-domain-chip strong {
  display: block;
  font-size: 1.05rem;
}
.wizard-domain-chip span {
  display: block;
  color: var(--zen-muted);
  font-size: 0.86rem;
  margin-top: 0.15rem;
}
.year-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}
.year-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 0.85rem;
  border: 1px solid var(--zen-line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.year-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.year-card:hover {
  border-color: rgba(227, 6, 19, 0.35);
}
.year-card.is-selected {
  border-color: var(--zen-red);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.12);
  background: linear-gradient(180deg, #fff7f7, #fff);
}
.year-card__years {
  font-weight: 800;
  font-size: 1.05rem;
}
.year-card__price {
  font-weight: 700;
  color: var(--zen-ink);
}
.year-card__hint {
  font-size: 0.75rem;
  color: var(--zen-muted);
}
.wizard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.5rem;
}
.wizard-form__section {
  margin-bottom: 1.35rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--zen-line);
}
.wizard-form__section:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}
.wizard-form__heading {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 800;
}
.wizard-form__heading span {
  font-weight: 500;
  color: var(--zen-muted);
}
.wizard-mini-line {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--zen-line);
  font-size: 0.92rem;
}
.wizard-mini-line:last-of-type { border-bottom: 0; }
.wizard-mini-line strong { display: block; }
.wizard-mini-line span {
  display: block;
  color: var(--zen-muted);
  font-size: 0.8rem;
  margin-top: 0.15rem;
}
.wizard-coupon {
  margin: 1rem 0;
  padding: 0.85rem 0;
  border-top: 1px solid var(--zen-line);
  border-bottom: 1px solid var(--zen-line);
}
.wizard-coupon h4 {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
}
.wizard-coupon__form {
  display: flex;
  gap: 0.5rem;
}
.wizard-coupon__applied {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.wizard-warn {
  color: #b45309;
  margin: 0 0 1rem;
}
.wizard-done {
  max-width: 560px;
  text-align: center;
  padding: 2rem 1.5rem;
}
.wizard-done__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 1.1rem;
}
.wizard-done__icon.is-success {
  background: #ecfdf5;
  color: #16a34a;
}
.wizard-done__icon.is-pending {
  background: #fff7ed;
  color: #c2410c;
}
.wizard-done .wizard-lead {
  margin-left: auto;
  margin-right: auto;
}
.wizard-done__order {
  margin: 0 0 0.75rem;
  color: var(--zen-muted);
}
.wizard-done .wizard-actions {
  justify-content: center;
  margin-top: 1.35rem;
}
.pay-option {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border: 1px solid var(--zen-line);
  border-radius: 14px;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.pay-option:hover { border-color: rgba(227, 6, 19, 0.35); }
.pay-option:has(input:checked),
.pay-option.is-free {
  border-color: var(--zen-red);
  background: var(--zen-red-soft);
}
.pay-option.is-free {
  border-color: rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.08);
  cursor: default;
}
.pay-option strong { display: block; margin-bottom: 0.2rem; }
.pay-option small { color: var(--zen-muted); font-size: 0.85rem; }
.pay-option input { margin-top: 0.25rem; }
.pay-card-title {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.pay-card-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.pay-card-icons svg {
  display: block;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}
@media (max-width: 900px) {
  .wizard-shell {
    grid-template-columns: 1fr;
  }
  .wizard-shell__aside { position: static; }
}
@media (max-width: 640px) {
  .wizard-progress__label { font-size: 0.72rem; }
  .wizard-progress__num { width: 24px; height: 24px; font-size: 0.72rem; }
}

/* ========== Why ZEN ========== */
.why-zen {
  background: #fff;
  border-top: 1px solid var(--zen-line);
}
.why-zen-head { margin-bottom: 2.5rem; max-width: 560px; }
.why-zen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.why-zen-item {
  padding-top: 0.25rem;
  border-top: 2px solid var(--zen-red);
}
.why-zen-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--zen-red);
  margin: 1rem 0 0.75rem;
}
.why-zen-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.why-zen-item p {
  margin: 0;
  color: var(--zen-muted);
  font-size: 0.95rem;
  max-width: 32ch;
}
@media (max-width: 860px) {
  .why-zen-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}

/* SCP confirm delete modal */
body.confirm-modal-open { overflow: hidden; }
.confirm-modal[hidden] { display: none !important; }
.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.confirm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(2px);
}
.confirm-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  background: #16161c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1.35rem 1.4rem 1.25rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  color: #fff;
}
.confirm-modal__title {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  font-weight: 800;
}
.confirm-modal__message {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.45;
}
.confirm-modal__actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.confirm-modal__ok {
  background: #dc2626 !important;
  border-color: #dc2626 !important;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 120;
  max-width: 920px;
  margin: 0 auto;
  background: #111116;
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  box-shadow: 0 22px 50px rgba(0,0,0,.35);
  padding: 1rem 1.15rem;
}
.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.cookie-banner__copy {
  flex: 1 1 280px;
  min-width: 0;
}
.cookie-banner__copy strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 0.25rem;
}
.cookie-banner__copy p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255,255,255,.72);
}
.cookie-banner__copy a {
  color: #ff7a82;
  font-weight: 700;
  text-decoration: underline;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex-shrink: 0;
}
.cookie-banner__btn {
  white-space: nowrap;
}
.cookie-banner .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,.28);
}
.cookie-fab {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 110;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(18,18,22,.12);
  background: #fff;
  color: var(--zen-ink);
  box-shadow: 0 10px 28px rgba(15,15,19,.14);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.cookie-fab:hover {
  border-color: rgba(227,6,19,.35);
  color: var(--zen-red);
}
body.cookie-banner-open .scroll-top {
  bottom: 7.5rem;
}
@media (max-width: 640px) {
  .cookie-banner {
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.65rem;
    padding: 0.9rem;
  }
  .cookie-banner__actions {
    width: 100%;
  }
  .cookie-banner__btn {
    flex: 1 1 auto;
    justify-content: center;
  }
  .cookie-fab {
    left: 0.75rem;
    bottom: 0.75rem;
  }
}

/* Account cart */
.cart-page { max-width: 1100px; }
.cart-page__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.35rem;
}
.cart-page__eyebrow {
  margin: 0 0 0.3rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--zen-muted);
}
.cart-page__head h1 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
}
.cart-page__lead {
  margin: 0.35rem 0 0;
  color: var(--zen-muted);
  font-size: 0.95rem;
}
.cart-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.cart-steps li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: var(--zen-off);
  border: 1px solid var(--zen-line);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--zen-muted);
}
.cart-steps li span {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--zen-line);
  font-size: 0.68rem;
}
.cart-steps li.is-active,
.cart-steps li.is-done {
  color: var(--zen-ink);
  border-color: rgba(227,6,19,.25);
  background: rgba(227,6,19,.06);
}
.cart-steps li.is-active span,
.cart-steps li.is-done span {
  background: var(--zen-red);
  border-color: var(--zen-red);
  color: #fff;
}
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
  gap: 1.1rem;
  align-items: start;
}
.cart-items {
  display: grid;
  gap: 0.85rem;
}
.cart-empty {
  text-align: center;
  padding: 2.75rem 1.5rem;
  max-width: 560px;
  margin: 0 auto;
}
.cart-empty-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 0.85rem;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: var(--zen-red);
  background: rgba(227,6,19,.08);
  border: 1px solid rgba(227,6,19,.14);
}
.cart-empty h2 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
}
.cart-empty p {
  margin: 0 0 1.25rem;
  color: var(--zen-muted);
}
.cart-empty__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.cart-line {
  padding: 1rem 1.1rem;
  margin: 0;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.cart-line.is-editing,
.cart-line:hover {
  border-color: rgba(227,6,19,.22);
  box-shadow: 0 10px 28px rgba(15,15,19,.05);
}
.cart-line__body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: start;
}
.cart-line__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--zen-off);
  border: 1px solid var(--zen-line);
  color: var(--zen-red);
  flex-shrink: 0;
}
.cart-line__icon svg {
  width: 20px;
  height: 20px;
}
.cart-line__main { min-width: 0; }
.cart-line__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin-bottom: 0.25rem;
}
.cart-line-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}
.cart-line__remove:hover {
  border-color: rgba(227,6,19,.45);
  color: var(--zen-red);
}
.cart-line-edit {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--zen-line);
}
.cart-line-edit__form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.65rem;
}
.cart-line-edit__field {
  margin: 0;
  min-width: min(100%, 220px);
  flex: 1 1 200px;
}
.cart-line-badge {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--zen-red);
  background: rgba(227, 6, 19, 0.08);
  border: 1px solid rgba(227, 6, 19, 0.18);
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
}
.cart-line-title {
  display: block;
  font-size: 1.05rem;
  word-break: break-word;
}
.cart-line-meta {
  color: var(--zen-muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.45;
}
.cart-line__side {
  text-align: right;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
}
.cart-line-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.cart-add-more {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  padding: 0.25rem 0.15rem;
}
.cart-add-more a {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--zen-red);
}
.cart-summary {
  position: sticky;
  top: 5.5rem;
  padding: 1.25rem 1.2rem;
}
.cart-summary h3 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  font-size: 0.95rem;
}
.cart-summary-row.is-muted { color: var(--zen-muted); }
.cart-summary-row.is-discount { color: #16a34a; font-weight: 700; }
.cart-summary-row.is-total {
  margin-top: 0.55rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--zen-line);
  font-size: 1.15rem;
}
.cart-summary-row.is-total strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.cart-summary-status {
  margin: 1rem 0;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.4;
  font-weight: 600;
}
.cart-summary-status.is-pending {
  background: rgba(217, 119, 6, 0.08);
  border: 1px solid rgba(217, 119, 6, 0.22);
  color: #b45309;
}
.cart-summary-status.is-ready {
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.22);
  color: #15803d;
}
.cart-summary__secondary { margin-top: 0.5rem; }
.cart-summary-trust {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0.9rem 0 0;
  border-top: 1px solid var(--zen-line);
  display: grid;
  gap: 0.4rem;
}
.cart-summary-trust li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.82rem;
  color: var(--zen-muted);
  font-weight: 600;
}
.cart-summary-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--zen-red);
}
.btn-block { display: block; width: 100%; text-align: center; }
@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}
@media (max-width: 640px) {
  .cart-page__head { align-items: start; }
  .cart-steps { width: 100%; }
  .cart-steps li { flex: 1 1 auto; justify-content: center; }
  .cart-line { padding: 0.95rem; }
  .cart-line__body {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .cart-line__side {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding-top: 0.75rem;
    border-top: 1px solid var(--zen-line);
  }
  .cart-line-actions { justify-content: flex-end; }
  .cart-empty__actions .btn { flex: 1 1 auto; }
}

/* SCP clients */
.clients-page__header { margin-bottom: 1rem; }
.clients-page__sub {
  color: rgba(255,255,255,.5);
  margin: .35rem 0 0;
  font-size: .92rem;
}
.clients-search-panel { margin-bottom: 1rem; }
.clients-search-label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: .5rem;
}
.clients-search-box {
  position: relative;
  display: flex;
  align-items: center;
}
.clients-search-icon {
  position: absolute;
  left: .9rem;
  color: rgba(255,255,255,.4);
  pointer-events: none;
}
.clients-search-box input {
  width: 100%;
  background: #0f0f13;
  border: 1px solid #2a2a33;
  color: #fff;
  border-radius: 12px;
  padding: .85rem 2.5rem .85rem 2.4rem;
  font: inherit;
  font-size: 1rem;
}
.clients-search-box input:focus {
  outline: none;
  border-color: rgba(227, 6, 19, .55);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, .15);
}
.clients-search-spinner {
  position: absolute;
  right: .9rem;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255,255,255,.2);
  border-top-color: #e30613;
  border-radius: 50%;
  animation: clients-spin .7s linear infinite;
}
@keyframes clients-spin { to { transform: rotate(360deg); } }
.clients-search-hint {
  margin: .55rem 0 0;
  font-size: .85rem;
  color: rgba(255,255,255,.4);
}
.clients-live { margin-bottom: 1rem; }
.clients-live__head {
  margin-bottom: .85rem;
  color: rgba(255,255,255,.65);
  font-size: .95rem;
}
.clients-live__empty {
  color: rgba(255,255,255,.55);
  margin: 0;
}
.clients-list-panel { padding: 1rem; }
.clients-empty { margin: 0; color: rgba(255,255,255,.5); }
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: .85rem;
}
.client-card {
  background: #121218;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: border-color .15s ease, transform .15s ease;
}
.client-card:hover {
  border-color: rgba(227, 6, 19, .35);
}
.client-card--hit {
  border-color: rgba(227, 6, 19, .22);
}
.client-card__top {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.client-card__avatar {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(227,6,19,.85), #7f0a12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
}
.client-card__meta { flex: 1; min-width: 0; }
.client-card__name {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  display: block;
}
.client-card__name:hover { color: #ff6b75; }
.client-card__email,
.client-card__company {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.client-card__company { color: rgba(255,255,255,.38); }
.client-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .7rem;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
}
.client-card__actions {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  margin-top: auto;
}
.client-card__matches {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.match-chip {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  max-width: 100%;
  font-size: .78rem;
  padding: .28rem .5rem;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.85);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.match-chip em {
  font-style: normal;
  font-weight: 700;
  opacity: .7;
  margin-right: .1rem;
}
.match-chip.is-domain { background: rgba(56,189,248,.12); border-color: rgba(56,189,248,.28); }
.match-chip.is-service { background: rgba(167,139,250,.12); border-color: rgba(167,139,250,.28); }
.match-chip.is-name { background: rgba(74,222,128,.1); border-color: rgba(74,222,128,.25); }
.match-chip.is-email { background: rgba(251,191,36,.1); border-color: rgba(251,191,36,.25); }
.match-chip.is-phone { background: rgba(244,114,182,.1); border-color: rgba(244,114,182,.25); }
.match-chip.is-company { background: rgba(148,163,184,.12); border-color: rgba(148,163,184,.25); }
.match-chip.is-afm,
.match-chip.is-epp { background: rgba(227,6,19,.1); border-color: rgba(227,6,19,.28); }

/* Account services by category */
.services-page__header { margin-bottom: 1.25rem; }
.services-section { margin-bottom: 2rem; }
.services-section__title {
  font-size: 1.15rem;
  margin: 0 0 .85rem;
  font-weight: 700;
}
.services-add-cta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.35rem;
  padding: 1.1rem 1.25rem;
  border-radius: 14px;
  border: 1px dashed rgba(227, 6, 19, 0.35);
  background: linear-gradient(180deg, rgba(227, 6, 19, 0.04), #fff);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.services-add-cta:hover {
  border-color: var(--zen-red);
  background: linear-gradient(180deg, rgba(227, 6, 19, 0.08), #fff);
}
.services-add-cta strong {
  font-size: 1.02rem;
  color: var(--zen-red);
}
.services-add-cta span {
  font-size: 0.9rem;
  color: var(--zen-muted);
}
.service-group { margin-bottom: 1rem; }
.service-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .85rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid var(--zen-line);
}
.service-group__name {
  margin: 0;
  font-size: 1.05rem;
}
.service-group__count {
  min-width: 1.6rem;
  height: 1.6rem;
  padding: 0 .45rem;
  border-radius: 999px;
  background: rgba(227, 6, 19, .1);
  color: var(--zen-red);
  font-size: .8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.service-group[data-category="dedicated-solutions"] .service-group__name { color: #0f172a; }
.service-group[data-category="software-development"] .service-group__name { color: #1e3a5f; }
.service-group[data-category="hosting"] .service-group__name { color: #14532d; }
.service-group[data-category="email-security"] .service-group__name { color: #7c2d12; }
.service-group[data-category="domains"] .service-group__name { color: #4a044e; }

/* Client account dashboard */
.dash-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding: 0.95rem 1.15rem;
  border-radius: 14px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(227, 6, 19, 0.12), transparent 55%),
    linear-gradient(180deg, #fff, #f7f7f8);
  border: 1px solid var(--zen-line);
}
.dash-hero__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--zen-muted);
}
.dash-hero__title {
  margin: 0.1rem 0 0.2rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 800;
  line-height: 1.1;
}
.dash-hero__sub {
  margin: 0;
  color: var(--zen-muted);
  font-size: 0.9rem;
}
.dash-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}
.dash-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.1rem 1.15rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--zen-line);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.dash-stat:hover {
  border-color: rgba(227, 6, 19, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 15, 20, 0.05);
}
.dash-stat--warn {
  border-color: rgba(217, 119, 6, 0.35);
  background: linear-gradient(180deg, #fffbeb, #fff);
}
.dash-stat--danger {
  border-color: rgba(220, 38, 38, 0.35);
  background: linear-gradient(180deg, #fef2f2, #fff);
}
.dash-stat--ok {
  border-color: rgba(22, 163, 74, 0.28);
  background: linear-gradient(180deg, #f0fdf4, #fff);
}
.dash-stat__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--zen-muted);
}
.dash-stat__value {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.1;
}
.dash-stat__value--sm { font-size: 1.35rem; }
.dash-stat__value--ok {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: #15803d;
  line-height: 1.25;
}
.dash-stat__check {
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
}
.dash-stat__hint {
  font-size: 0.8rem;
  color: var(--zen-muted);
}
.dash-stat__hint--warn {
  color: #b45309;
  font-weight: 600;
}
.dash-stat__hint--danger {
  color: #b91c1c;
  font-weight: 700;
}
.dash-alert {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.15rem;
  padding: 0.95rem 1.15rem;
  border-radius: 14px;
  background: #fffbeb;
  border: 1px solid #fcd34d;
}
.dash-alert--orange {
  background: #fff7ed;
  border-color: #fdba74;
}
.dash-alert--red {
  background: #fef2f2;
  border-color: #fca5a5;
}
.dash-alert__title {
  display: block;
  margin-bottom: 0.55rem;
}
.dash-alert__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.dash-alert__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.75rem;
  font-size: 0.92rem;
}
.dash-alert__row a {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}
.dash-alert__row a:hover { color: var(--zen-red); }
.dash-alert__date {
  color: var(--zen-muted);
  font-size: 0.84rem;
}
.dash-expiry {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  line-height: 1.2;
}
.dash-expiry--yellow {
  color: #854d0e;
  background: #fef08a;
}
.dash-expiry--orange {
  color: #9a3412;
  background: #fed7aa;
}
.dash-expiry--red {
  color: #991b1b;
  background: #fecaca;
}
.domain-expiry-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
}
.domain-row--yellow td {
  background: rgba(254, 243, 199, 0.45);
}
.domain-row--orange td {
  background: rgba(255, 237, 213, 0.55);
}
.domain-row--red td {
  background: rgba(254, 226, 226, 0.6);
}
.domain-row--yellow td:first-child,
.domain-row--orange td:first-child,
.domain-row--red td:first-child {
  box-shadow: inset 3px 0 0 currentColor;
}
.domain-row--yellow td:first-child { color: #a16207; }
.domain-row--orange td:first-child { color: #c2410c; }
.domain-row--red td:first-child { color: #b91c1c; }
.domain-row--yellow td:first-child a,
.domain-row--orange td:first-child a,
.domain-row--red td:first-child a {
  color: inherit;
}
.domain-expiry-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0 0 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  border: 1px solid transparent;
}
.domain-expiry-banner p {
  margin: 0.25rem 0 0;
  font-size: 0.92rem;
  line-height: 1.4;
}
.domain-expiry-banner--yellow {
  background: #fffbeb;
  border-color: #fcd34d;
  color: #854d0e;
}
.domain-expiry-banner--orange {
  background: #fff7ed;
  border-color: #fdba74;
  color: #9a3412;
}
.domain-expiry-banner--red {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #991b1b;
}

/* Account security */
.security-stack {
  display: grid;
  gap: 1rem;
  max-width: 720px;
}
.security-card {
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--zen-line);
}
.security-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
}
.security-card--ok {
  border-color: rgba(22, 163, 74, 0.28);
  background: linear-gradient(180deg, #f0fdf4, #fff);
}
.security-card--codes {
  border-color: rgba(217, 119, 6, 0.4);
  background: linear-gradient(180deg, #fffbeb, #fff);
}
.security-card--soon {
  opacity: 0.85;
  background: var(--zen-off);
}
.security-2fa-status {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 0.35rem 0 0.85rem;
}
.security-2fa-status__dot {
  width: 0.85rem;
  height: 0.85rem;
  margin-top: 0.3rem;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.15);
  flex-shrink: 0;
}
.security-2fa-status strong {
  display: block;
  color: #15803d;
  font-size: 1.02rem;
}
.security-2fa-status p {
  margin: 0.2rem 0 0;
  color: var(--zen-muted);
  font-size: 0.92rem;
}
.security-details {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--zen-line);
}
.security-details summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--zen-ink);
}
.security-details summary:hover { color: var(--zen-red); }
.recovery-codes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}
.recovery-codes code {
  display: block;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(18, 18, 22, 0.08);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-align: center;
}
@media (max-width: 520px) {
  .recovery-codes { grid-template-columns: 1fr; }
}

/* OTP digit boxes */
.otp-field { margin-bottom: 1rem; }
.otp-field__label {
  display: block;
  margin-bottom: 0.55rem;
  font-weight: 600;
  font-size: 0.92rem;
}
.otp-boxes {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.otp-boxes__digit {
  width: 2.75rem;
  height: 3.15rem;
  border: 1.5px solid var(--zen-line);
  border-radius: 12px;
  background: #fff;
  text-align: center;
  font-size: 1.35rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--zen-ink);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  caret-color: var(--zen-red);
}
.otp-boxes__digit:focus {
  border-color: var(--zen-red);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.12);
}
.auth-card .otp-boxes__digit,
.form-card .otp-boxes__digit {
  background: #fff;
}

/* 2FA enable modal */
.security-2fa-modal__dialog {
  max-width: 440px;
  text-align: center;
  padding: 1.75rem 1.5rem 1.35rem;
}
.security-2fa-modal__icon {
  width: 3.4rem;
  height: 3.4rem;
  margin: 0 auto 1rem;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--zen-red);
  background:
    radial-gradient(circle at 30% 20%, rgba(227, 6, 19, 0.18), transparent 60%),
    #fff5f5;
  border: 1px solid rgba(227, 6, 19, 0.18);
}
.security-2fa-modal .confirm-modal__title {
  font-size: 1.25rem;
  margin-bottom: 0.55rem;
}
.security-2fa-modal .confirm-modal__message {
  text-align: center;
  margin: 0 auto 1rem;
  max-width: 36ch;
}
.security-2fa-modal__points {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  text-align: left;
}
.security-2fa-modal__points li {
  position: relative;
  padding: 0.55rem 0.75rem 0.55rem 2rem;
  border-radius: 10px;
  background: var(--zen-off);
  border: 1px solid var(--zen-line);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--zen-ink);
}
.security-2fa-modal__points li::before {
  content: "ÃÂ¢ÃÂÃÂ";
  position: absolute;
  left: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  color: #16a34a;
  font-weight: 800;
}
.security-2fa-modal .confirm-modal__actions {
  justify-content: center;
}

.catalog-tab-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.25rem;
  height: 1.25rem;
  margin-left: 0.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.55);
  vertical-align: middle;
}
.content.admin .domain-tabs__btn.is-active .catalog-tab-count {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.dash-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
.dash-panel { margin-bottom: 0; }
.dash-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dash-list__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--zen-line);
}
.dash-list__item:last-child { border-bottom: 0; padding-bottom: 0; }
.dash-list__item:first-child { padding-top: 0; }
.dash-list > li:has(.dash-list__item--link) {
  border-bottom: 1px solid var(--zen-line);
}
.dash-list > li:has(.dash-list__item--link):last-child {
  border-bottom: 0;
}
.dash-list__item--link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0.75rem 0.35rem;
  margin: 0 -0.35rem;
  border-radius: 10px;
  border-bottom: 0;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background 0.15s ease;
}
.dash-list__item--link:hover {
  background: rgba(18, 18, 22, 0.04);
}
.dash-list__item--link:hover .dash-list__link {
  color: var(--zen-red);
}
.dash-list__meta {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.84rem;
  color: var(--zen-muted);
}
.dash-list__right {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}
.dash-list__amount {
  font-weight: 700;
  font-size: 0.92rem;
}
.dash-list__link {
  color: var(--zen-muted);
  text-decoration: none;
  font-weight: 700;
  pointer-events: none;
}
.dash-list__link:hover { color: var(--zen-red); }
.dash-empty {
  color: var(--zen-muted);
  padding: 0.25rem 0;
}
.dash-empty p { margin: 0 0 0.75rem; }
.dash-quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1rem 0 1.25rem;
}
.dash-quick__card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--zen-line);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease;
}
.dash-quick__card:hover { border-color: rgba(227, 6, 19, 0.35); }
.dash-quick__card strong { font-size: 0.98rem; }
.dash-quick__card span {
  font-size: 0.85rem;
  color: var(--zen-muted);
}
@media (max-width: 960px) {
  .dash-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-grid,
  .dash-quick { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .dash-stats { grid-template-columns: 1fr; }
  .dash-hero__actions { width: 100%; }
  .dash-hero__actions .btn { flex: 1; text-align: center; }
}

/* Account domain manage tabs */
.domain-manage__header { margin-bottom: 1rem; }
.domain-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
  padding: 0.35rem;
  background: #fff;
  border: 1px solid var(--zen-line);
  border-radius: 14px;
}
.domain-tabs__btn {
  border: 0;
  background: transparent;
  color: var(--zen-muted);
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.65rem 0.95rem;
  border-radius: 10px;
  cursor: pointer;
}
.domain-tabs__btn:hover { color: var(--zen-ink); background: rgba(0,0,0,.04); }
.domain-tabs__btn.is-active {
  color: #fff;
  background: var(--zen-red);
}
.domain-tab { display: none; }
.domain-tab.is-active { display: block; }
.domain-tab__title {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}
.domain-tab__lead {
  color: var(--zen-muted);
  margin: 0 0 1.1rem;
  line-height: 1.45;
}
.domain-tab__note {
  color: var(--zen-muted);
  font-size: 0.88rem;
  margin: 0 0 1rem;
}
.domain-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1.25rem;
  margin: 0;
}
.domain-meta dt {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--zen-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.domain-meta dd {
  margin: 0.2rem 0 0;
  font-weight: 700;
}
.domain-meta code {
  font-size: 0.92rem;
  font-weight: 600;
  background: rgba(0,0,0,.04);
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
}
.domain-tip {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
  border: 1px solid #bfdbfe;
}
.domain-tip__icon {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.domain-tip strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #1e3a8a;
}
.domain-tip p {
  margin: 0;
  color: #1e40af;
  font-size: 0.92rem;
  line-height: 1.45;
}
.domain-renew-form { max-width: 420px; }
.domain-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}
.service-order__features {
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}
.service-order__features li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--zen-ink);
  font-size: 0.95rem;
}
.service-order__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--zen-red);
}
.service-order__extras {
  display: grid;
  gap: 0.65rem;
}
.service-order__extra {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--zen-line);
  border-radius: 12px;
  cursor: pointer;
}
.service-order__extra:has(input:checked) {
  border-color: var(--zen-red);
  background: var(--zen-red-soft);
}
.service-order__extra strong { display: block; }
.service-order__extra small {
  display: block;
  color: var(--zen-muted);
  margin-top: 0.15rem;
  font-size: 0.82rem;
}
.service-order__extra em {
  margin-left: auto;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}
.service-order__domain-modes { margin-bottom: 0.25rem; }
.service-order__domain-hint {
  margin: 0.45rem 0 0;
  color: var(--zen-muted);
  font-size: 0.85rem;
}
.service-order__cycles { margin-bottom: 0.5rem; }
.domain-renew-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(227, 6, 19, 0.2);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff7f7, #fff);
}
.domain-renew-cta p {
  margin: 0.25rem 0 0;
  color: var(--zen-muted);
  font-size: 0.92rem;
}
.renew-cart__options {
  display: grid;
  gap: 1rem;
  padding: 1.1rem 0 0.25rem;
  border-top: 1px solid var(--zen-line);
  margin-top: 0.25rem;
}
.renew-cart__hint {
  margin: 0.45rem 0 0;
  color: var(--zen-muted);
  font-size: 0.85rem;
}
.renew-cart__tip { margin-top: 1.15rem; }
@media (min-width: 720px) {
  .renew-cart__options {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}
@media (max-width: 700px) {
  .domain-meta { grid-template-columns: 1fr; }
  .domain-tabs { overflow-x: auto; flex-wrap: nowrap; }
  .domain-tabs__btn { white-space: nowrap; }
}

/* SCP domain tabs (dark admin shell) */
.content.admin .domain-tabs {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.1);
}
.content.admin .domain-tabs__btn {
  color: rgba(255,255,255,.55);
}
.content.admin .domain-tabs__btn:hover {
  color: #fff;
  background: rgba(255,255,255,.06);
}
.content.admin .domain-tabs__btn.is-active {
  color: #fff;
  background: var(--zen-red);
}
.content.admin .domain-tab__lead,
.content.admin .domain-tab__note {
  color: rgba(255,255,255,.55);
}
.content.admin .domain-meta--admin dt {
  color: rgba(255,255,255,.45);
}
.content.admin .domain-meta--admin dd {
  color: #fff;
}
.content.admin .domain-meta--admin code {
  background: rgba(255,255,255,.06);
  color: #fff;
}

.clients-marquee {
  padding: 3.25rem 0 2.5rem;
  background:
    radial-gradient(900px 280px at 10% 0%, rgba(227,6,19,.06), transparent 60%),
    linear-gradient(180deg, #fafafa 0%, #fff 55%, #f6f6f8 100%);
  border-block: 1px solid var(--zen-line);
  overflow: hidden;
}
.clients-marquee__intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.clients-marquee__title {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  margin: 0;
}
.clients-marquee__link {
  font-weight: 700;
  color: var(--zen-ink);
  white-space: nowrap;
}
.clients-marquee__link:hover { color: var(--zen-red); }
.clients-crawl {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.clients-crawl__track {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: max-content;
  padding: .35rem 0 1rem;
  animation: zen-clients-crawl 140s linear infinite;
}
.clients-crawl:hover .clients-crawl__track {
  animation-play-state: paused;
}
.clients-crawl__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  height: 76px;
  padding: 0 1.4rem;
  background: #fff;
  border: 1px solid rgba(18,18,22,.06);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(11,11,13,.04);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.clients-crawl__item:hover {
  transform: translateY(-3px);
  border-color: rgba(227,6,19,.28);
  box-shadow: 0 16px 36px rgba(11,11,13,.08);
}
.clients-crawl__item img {
  max-height: 40px;
  width: auto;
  max-width: 148px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05);
  opacity: .82;
  transition: filter .25s ease, opacity .25s ease;
}
.clients-crawl__item:hover img {
  filter: none;
  opacity: 1;
}
.clients-crawl__word {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: .08em;
  font-size: .92rem;
  color: var(--zen-ink);
}
@keyframes zen-clients-crawl {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .clients-crawl__track,
  .works-strip__track {
    animation: none !important;
  }
}

.works-hero {
  position: relative;
  min-height: min(52vh, 420px);
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 2.5rem) 0 3.25rem;
  color: #fff;
  overflow: hidden;
  background: var(--zen-black);
}
.works-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,8,10,.55) 0%, rgba(8,8,10,.72) 42%, rgba(8,8,10,.94) 100%),
    linear-gradient(105deg, rgba(8,8,10,.88) 0%, rgba(8,8,10,.45) 55%, rgba(8,8,10,.28) 100%),
    linear-gradient(180deg, rgba(227,6,19,.22) 0%, transparent 48%),
    url("../images/hero-datacenter.jpg") center 28%/cover no-repeat;
  transform: scale(1.03);
  animation: worksHeroZoom 22s ease-in-out infinite alternate;
}
.works-hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 78% 18%, rgba(227,6,19,.28), transparent 58%),
    radial-gradient(ellipse 50% 40% at 12% 88%, rgba(0,0,0,.35), transparent 60%);
  pointer-events: none;
}
.works-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.45), transparent 72%);
  opacity: .4;
  pointer-events: none;
}
@keyframes worksHeroZoom {
  from { transform: scale(1.03); }
  to { transform: scale(1.08); }
}
.works-hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.works-hero__brand {
  width: min(180px, 42vw);
  height: auto;
  margin-bottom: 1.35rem;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.35));
}
.works-hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  letter-spacing: -.03em;
  margin: 0 0 .55rem;
  line-height: 1.05;
}
.works-hero p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 1.05rem;
  max-width: 36ch;
}

.works-logos {
  background: var(--zen-off);
}
.works-logo-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.works-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid rgba(18,18,22,.06);
  border-radius: 16px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  transition-delay: var(--delay, 0ms);
}
.works-logo:hover {
  transform: translateY(-3px);
  border-color: rgba(227,6,19,.25);
  box-shadow: 0 16px 36px rgba(11,11,13,.07);
}
.works-logo img {
  max-height: 48px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .85;
  transition: filter .25s ease, opacity .25s ease;
}
.works-logo:hover img {
  filter: none;
  opacity: 1;
}
@media (max-width: 980px) {
  .works-logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .works-logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.works-strip {
  overflow: hidden;
  background: #101014;
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: .85rem 0;
}
.works-strip__track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  align-items: center;
  animation: zen-clients-crawl 160s linear infinite;
  opacity: .55;
}
.works-strip__item {
  display: inline-flex;
  align-items: center;
  height: 36px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .12em;
  font-size: .78rem;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
}
.works-strip__item img {
  max-height: 28px;
  width: auto;
  max-width: 120px;
  filter: brightness(0) invert(1);
  opacity: .75;
}

.works-gallery {
  background:
    radial-gradient(800px 300px at 50% 0%, rgba(227,6,19,.05), transparent 60%),
    var(--zen-off);
}
.works-gallery__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.works-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.works-filters__btn {
  appearance: none;
  border: 1px solid #d8d8e0;
  background: #fff;
  color: var(--zen-muted);
  border-radius: 999px;
  padding: .45rem .9rem;
  font-size: .85rem;
  font-weight: 650;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.works-filters__btn:hover {
  border-color: var(--zen-red);
  color: var(--zen-red);
}
.works-filters__btn.is-active {
  background: var(--zen-ink);
  border-color: var(--zen-ink);
  color: #fff;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.works-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.35rem 1.35rem 1.2rem;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(18,18,22,.06);
  box-shadow: 0 14px 40px rgba(11,11,13,.04);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  transition-delay: var(--delay, 0ms);
}
.works-card:hover {
  transform: translateY(-4px);
  border-color: rgba(227,6,19,.22);
  box-shadow: 0 22px 50px rgba(11,11,13,.08);
}
.works-card.is-hidden { display: none; }
.works-card__logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 64px;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--zen-line);
}
.works-card__logo img {
  max-height: 44px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(1);
  transition: filter .25s ease;
}
.works-card:hover .works-card__logo img { filter: none; }
.works-card__monogram {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #16161c, #2a2a33);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: .04em;
}
.works-card__sector {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--zen-red);
  margin-bottom: .35rem;
}
.works-card h3 {
  font-size: 1.15rem;
  margin: 0 0 .4rem;
}
.works-card p {
  margin: 0;
  color: var(--zen-muted);
  font-size: .94rem;
}
.works-card__link {
  display: inline-flex;
  margin-top: .9rem;
  font-weight: 700;
  color: var(--zen-ink);
}
.works-card__link:hover { color: var(--zen-red); }

.works-cta {
  background:
    radial-gradient(700px 280px at 80% 0%, rgba(227,6,19,.28), transparent 55%),
    #0b0b0d;
  color: #fff;
  padding: 3.5rem 0;
}
.works-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.works-cta h2 {
  margin: 0 0 .45rem;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  max-width: 16ch;
}
.works-cta p {
  margin: 0;
  color: rgba(255,255,255,.65);
  max-width: 42ch;
}

@media (max-width: 980px) {
  .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .works-grid { grid-template-columns: 1fr; }
  .clients-marquee__intro { align-items: start; }
  .works-hero { min-height: auto; padding-bottom: 2.75rem; }
}

/* Legal */
.legal-index__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.legal-index__card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--zen-line);
  border-radius: 16px;
  background: #fff;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.legal-index__card:hover {
  border-color: rgba(227, 6, 19, 0.35);
  box-shadow: 0 12px 28px rgba(15, 15, 19, 0.06);
  transform: translateY(-2px);
}
.legal-index__card h2 {
  margin: 0;
  font-size: 1.2rem;
}
.legal-index__card span {
  margin-top: auto;
  font-weight: 700;
  color: var(--zen-red);
  font-size: 0.92rem;
}
.legal-layout {
  display: grid;
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.legal-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.legal-nav a {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  color: var(--zen-muted);
  font-size: 0.92rem;
  font-weight: 600;
}
.legal-nav a:hover,
.legal-nav a.is-active {
  color: var(--zen-ink);
  background: rgba(227, 6, 19, 0.06);
}
.legal-prose {
  line-height: 1.7;
  color: var(--zen-ink);
}
.legal-prose h2 {
  margin: 1.75rem 0 0.65rem;
  font-size: 1.15rem;
}
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose p { margin: 0 0 0.9rem; color: var(--zen-muted); }
.legal-prose ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--zen-muted);
}
.legal-prose li { margin-bottom: 0.4rem; }
.legal-prose a { color: var(--zen-red); font-weight: 600; }
.legal-prose strong { color: var(--zen-ink); }
@media (max-width: 860px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-index__grid { grid-template-columns: 1fr; }
}

/* Affordance: Cursor Highlight (red spotlight) */
.zen-spot {
  position: relative;
}
.zen-spot__glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.zen-spot__glow::before {
  content: "";
  position: absolute;
  top: var(--spot-y, 50%);
  left: var(--spot-x, 50%);
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, var(--zen-spot), transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.zen-spot:hover .zen-spot__glow::before,
.zen-spot:focus-within .zen-spot__glow::before {
  opacity: 1;
}
.zen-spot > *:not(.zen-spot__glow) {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .zen-spot__glow::before {
    transition: none;
    opacity: 0 !important;
  }
  .trace-svg rect {
    transition: none;
  }
  .trace-field:focus-within .trace-svg rect {
    stroke-dashoffset: 0;
  }
}

/* SCP nav / topbar inbox badge */
.nav-with-badge {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.nav-badge,
.topbar-inbox__badge,
.ticket-inbox__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--zen-red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}
.topbar-inbox {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 30% 20%, rgba(227,6,19,.18), transparent 55%),
    rgba(255, 255, 255, 0.03);
  flex-shrink: 0;
  transition: transform .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.topbar-inbox__icon {
  display: grid;
  place-items: center;
}
.topbar-inbox:hover,
.topbar-inbox.has-new {
  color: #fff;
  border-color: rgba(227, 6, 19, 0.55);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.12);
}
.topbar-inbox.has-new {
  animation: scp-inbox-pulse 2.2s ease-in-out infinite;
}
@keyframes scp-inbox-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(227, 6, 19, 0.0); }
  50% { box-shadow: 0 0 0 5px rgba(227, 6, 19, 0.14); }
}
.topbar-inbox__badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 1.15rem;
  height: 1.15rem;
  font-size: 0.62rem;
  border: 2px solid #111116;
}

/* SCP dashboard */
.scp-dash__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
  flex-wrap: wrap;
}
.scp-dash__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
}
.scp-dash__head h1 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
}
.scp-dash__lead {
  margin: 0.35rem 0 0;
  color: rgba(255,255,255,.5);
  font-size: 0.92rem;
}
.scp-dash__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.scp-dash__stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.scp-dash__charts { margin-bottom: 1.25rem; }
@media (max-width: 1100px) {
  .scp-dash__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topbar-userchip__meta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .topbar-inbox.has-new { animation: none; }
}

/* Ticket mail-client inbox (SCP) */
.content.admin:has(.ticket-inbox) {
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 70px);
}
.content.admin:has(.ticket-inbox) > .alert {
  margin: 1rem 1rem 0;
}
.ticket-inbox {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  flex: 1;
  min-height: calc(100vh - 70px);
  background: #0d0d11;
  color: #fff;
}
.ticket-inbox__list {
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: #111116;
  min-height: 0;
}
.ticket-inbox__list-head {
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 0.75rem;
}
.ticket-inbox__title-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.ticket-inbox__title-row h1 {
  margin: 0;
  font-size: 1.2rem;
}
.ticket-inbox__sync { margin-left: auto; }
.ticket-inbox__search {
  position: relative;
}
.ticket-inbox__search-icon {
  position: absolute;
  left: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.45;
  font-size: 0.9rem;
}
.ticket-inbox__search input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0f0f13;
  color: #fff;
  border-radius: 8px;
  padding: 0.55rem 0.75rem 0.55rem 1.9rem;
  font-size: 0.88rem;
}
.ticket-inbox__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.ticket-inbox__tabs a {
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.05);
}
.ticket-inbox__tabs a.is-active,
.ticket-inbox__tabs a:hover {
  color: #fff;
  background: rgba(227, 6, 19, 0.22);
}
.ticket-inbox__items {
  overflow: auto;
  flex: 1;
  min-height: 0;
}
.ticket-inbox__empty {
  padding: 2rem 1rem;
  text-align: center;
  opacity: 0.5;
  font-size: 0.92rem;
}
.ticket-row {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 0.55rem;
  align-items: start;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 3px solid transparent;
  color: inherit;
  transition: background 0.15s ease;
}
.ticket-row:hover { background: rgba(255, 255, 255, 0.03); }
.ticket-row.is-active {
  background: rgba(227, 6, 19, 0.1);
  border-left-color: var(--zen-red);
}
.ticket-row.is-unread .ticket-row__subject,
.ticket-row.is-unread .ticket-row__top strong {
  font-weight: 800;
  color: #fff;
}
.ticket-row__star {
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  font-size: 0.95rem;
  padding: 0;
  line-height: 1;
}
.ticket-row__star.is-on { color: #f59e0b; }
.ticket-row__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 800;
  background: linear-gradient(140deg, #e30613, #7f1d1d);
  color: #fff;
  flex-shrink: 0;
}
.ticket-row__main {
  min-width: 0;
  display: grid;
  gap: 0.15rem;
}
.ticket-row__top {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.88rem;
}
.ticket-row__top time {
  opacity: 0.45;
  font-size: 0.75rem;
  white-space: nowrap;
}
.ticket-row__subject {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  gap: 0.4rem;
  align-items: center;
  min-width: 0;
}
.ticket-row__subject {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ticket-row__tag {
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--zen-red);
  background: rgba(227, 6, 19, 0.15);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  flex-shrink: 0;
}
.ticket-row__preview {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.42);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ticket-inbox__detail {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: #0d0d11;
}
.ticket-inbox__placeholder {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
  opacity: 0.55;
}
.ticket-inbox__placeholder p {
  margin: 0.5rem 0 0;
  max-width: 36ch;
  font-size: 0.92rem;
}
.ticket-detail__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}
.ticket-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.45rem;
}
.ticket-detail__number {
  font-family: ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
}
.ticket-detail__head h2 {
  margin: 0;
  font-size: 1.25rem;
}
.ticket-detail__head p {
  margin: 0.35rem 0 0;
  opacity: 0.6;
  font-size: 0.9rem;
}
.ticket-detail__actions {
  display: flex;
  gap: 0.45rem;
  align-items: start;
  flex-wrap: wrap;
}
.ticket-detail__thread {
  flex: 1;
  overflow: auto;
  padding: 1rem 1.25rem;
  display: grid;
  gap: 0.75rem;
  align-content: start;
}
.ticket-msg {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #141419;
  border-radius: 12px;
  padding: 0.9rem 1rem;
}
.ticket-msg.is-staff {
  border-color: rgba(227, 6, 19, 0.28);
  background: rgba(227, 6, 19, 0.08);
}
.ticket-msg__head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
  font-size: 0.88rem;
}
.ticket-msg__head time { opacity: 0.45; font-size: 0.78rem; }
.ticket-msg__body {
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
}
.ticket-detail__compose {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 1.25rem 1.25rem;
  display: grid;
  gap: 0.75rem;
  background: #111116;
}
.ticket-detail__compose-bar {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 960px) {
  .ticket-inbox {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .ticket-inbox__list {
    max-height: 42vh;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .ticket-inbox__detail { min-height: 50vh; }
}
