/*==================================================================
  CONTACT PAGE — "patch panel" (component/contactPage/ContactHub.js)
  Same palette as the rest of the site: soft green (PES) leads,
  coral (PELS) as a second accent, on the charcoal background.
==================================================================*/

.ct-hub {
  position: relative;
  padding: 90px 0 40px;
  overflow: hidden;
  isolation: isolate;
  --tone: var(--green);
  --tone-rgb: 76, 195, 138;
}

.ct-hub[data-line="red"] {
  --tone: var(--red);
  --tone-rgb: 229, 99, 106;
}

.ct-hub__bg {
  position: absolute;
  inset: 0 0 auto 0;
  height: 760px;
  z-index: -1;
  -webkit-mask-image: linear-gradient(180deg, #000 10%, transparent 95%);
  mask-image: linear-gradient(180deg, #000 10%, transparent 95%);
}

.ct-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 6px 14px 6px 10px;
  border: 1px solid rgba(var(--tone-rgb), 0.3);
  border-radius: 999px;
  background: rgba(var(--tone-rgb), 0.08);
  color: var(--tone) !important;
  font-size: 13px !important;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.5s var(--ease-soft), border-color 0.5s var(--ease-soft), background 0.5s var(--ease-soft);
}

/* ---------- intro ---------- */
.ct-intro {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.ct-intro h2 {
  margin: 0 0 16px;
  color: var(--text);
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.12;
}

.ct-intro > p:last-child {
  margin: 0 auto;
  max-width: 600px;
  color: var(--text-2);
}

/* ---------- 1. lines (radio cards wired to a bus bar) ---------- */
.ct-lines {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 64px;
  padding: 0 0 34px;
  border: 0;
  min-width: 0;
}

.ct-line {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 22px 24px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)), var(--surface);
  cursor: pointer;
  transition: transform 0.45s var(--ease-soft), border-color 0.45s var(--ease-soft), box-shadow 0.45s var(--ease-soft),
    background 0.45s var(--ease-soft);
  --c: var(--green);
  --c-rgb: 76, 195, 138;
  --glow-rgb: 76, 195, 138;
}

.ct-line--red {
  --c: var(--red);
  --c-rgb: 229, 99, 106;
  --glow-rgb: 229, 99, 106;
}

.ct-line:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--c-rgb), 0.35);
}

.ct-line.is-on {
  transform: translateY(-6px);
  border-color: rgba(var(--c-rgb), 0.6);
  background: linear-gradient(160deg, rgba(var(--c-rgb), 0.16), rgba(var(--c-rgb), 0.03) 70%), var(--surface);
  box-shadow: 0 22px 46px -26px rgba(var(--c-rgb), 0.75), inset 0 0 0 1px rgba(var(--c-rgb), 0.15);
}

/* the real radio stays in the accessibility tree, the card is its visual */
.ct-line__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ct-line:has(.ct-line__input:focus-visible) {
  outline: 2px solid var(--green-3);
  outline-offset: 4px;
}

.ct-line__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.ct-line__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(var(--c-rgb), 0.12);
  color: var(--c);
  font-size: 19px;
  transition: transform 0.5s var(--ease-soft), background 0.5s var(--ease-soft);
}

.ct-line.is-on .ct-line__icon {
  background: var(--c);
  color: #0b0f0e;
  transform: rotate(-6deg) scale(1.05);
}

/* little toggle switch: off = left/grey, on = right/lit */
.ct-line__switch {
  position: relative;
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-2);
  transition: background 0.4s var(--ease-soft), border-color 0.4s var(--ease-soft);
}

.ct-line__switch span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--text-3);
  transition: transform 0.45s var(--ease-soft), background 0.45s var(--ease-soft), box-shadow 0.45s var(--ease-soft);
}

.ct-line.is-on .ct-line__switch {
  background: rgba(var(--c-rgb), 0.22);
  border-color: rgba(var(--c-rgb), 0.55);
}

.ct-line.is-on .ct-line__switch span {
  transform: translateX(18px);
  background: var(--c);
  box-shadow: 0 0 10px 2px rgba(var(--c-rgb), 0.6);
}

.ct-line__title {
  color: var(--text) !important;
  font-family: var(--headingFont);
  font-size: 20px !important;
  font-weight: 600;
  line-height: 1.25;
}

.ct-line__hint {
  color: var(--text-3) !important;
  font-size: 14px !important;
  line-height: 1.5;
}

/* wire from each card down to the bus bar */
.ct-line__wire {
  position: absolute;
  left: 50%;
  top: 100%;
  width: 2px;
  height: 36px;
  margin-left: -1px;
  background: var(--line-2);
  overflow: hidden;
}

.ct-line__wire::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
  background: linear-gradient(180deg, transparent, var(--c));
  opacity: 0;
}

.ct-line.is-on .ct-line__wire { background: rgba(var(--c-rgb), 0.45); }

.ct-line.is-on .ct-line__wire::after {
  opacity: 1;
  animation: ct-drop 1.2s linear infinite;
}

@keyframes ct-drop {
  to { transform: translateY(50px); }
}

.ct-bus {
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--line-2);
  overflow: hidden;
}

.ct-bus span {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(var(--tone-rgb), 0.9), transparent);
  background-size: 40% 100%;
  background-repeat: no-repeat;
  animation: ct-bus 3.2s linear infinite;
}

@keyframes ct-bus {
  from { background-position: -40% 0; }
  to { background-position: 140% 0; }
}

/* ---------- 2. form panel + side ---------- */
.ct-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.ct-panel {
  position: relative;
  padding: 36px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(var(--tone-rgb), 0.06), transparent 40%), var(--surface);
  box-shadow: var(--shadow);
  transition: background 0.6s var(--ease-soft);
}

/* current running along the top edge, in the colour of the selected line */
.ct-panel__current {
  position: absolute;
  left: 28px;
  right: 28px;
  top: -1px;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
}

.ct-panel__current::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--tone), transparent);
  background-size: 35% 100%;
  background-repeat: no-repeat;
  animation: ct-bus 2.8s linear infinite;
}

.ct-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.ct-panel__head h3 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 30px;
}

.ct-panel__head p {
  margin: 0;
  color: var(--text-3);
  font-size: 15px !important;
}

.ct-tone--green { color: var(--green); }
.ct-tone--red { color: var(--red); }

/* signal meter: 3 bars, one per valid required field */
.ct-signal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
}

.ct-signal__bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
}

.ct-signal__bars span {
  width: 5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.14);
  transition: background 0.4s var(--ease-soft), box-shadow 0.4s var(--ease-soft);
}

.ct-signal__bars span:nth-child(1) { height: 6px; }
.ct-signal__bars span:nth-child(2) { height: 11px; }
.ct-signal__bars span:nth-child(3) { height: 16px; }

.ct-signal__bars span.is-on {
  background: var(--green);
  box-shadow: 0 0 8px rgba(76, 195, 138, 0.7);
}

.ct-signal__text {
  color: var(--text-2) !important;
  font-size: 13px !important;
  font-weight: 500;
  white-space: nowrap;
}

/* error summary */
.ct-summary {
  margin: 0 0 22px;
  padding: 16px 20px;
  border: 1px solid rgba(229, 99, 106, 0.45);
  border-radius: var(--radius-sm);
  background: rgba(229, 99, 106, 0.08);
}

.ct-summary:focus { outline: 2px solid rgba(229, 99, 106, 0.7); outline-offset: 3px; }

.ct-summary p {
  margin: 0 0 6px;
  color: #f3a6aa;
  font-weight: 600;
}

.ct-summary ul { margin: 0; padding-left: 20px; }
.ct-summary li { color: #f3a6aa; }
.ct-summary a { color: #f7c2c5; text-decoration: underline; text-underline-offset: 3px; }

/* fields */
.ct-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.ct-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ct-field--wide { grid-column: 1 / -1; }

.ct-field label {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.ct-panel .ct-field input,
.ct-panel .ct-field textarea {
  width: 100%;
  margin: 0 !important;
  padding: 14px 16px !important;
  border: 1px solid var(--line-2) !important;
  border-radius: 14px !important;
  background: rgba(0, 0, 0, 0.22) !important;
  color: var(--text) !important;
  font-size: 16px !important;
  line-height: 1.5;
  transition: border-color 0.3s var(--ease-soft), box-shadow 0.3s var(--ease-soft), background 0.3s var(--ease-soft);
}

.ct-panel .ct-field textarea { resize: vertical; min-height: 170px; }

.ct-panel .ct-field input::placeholder,
.ct-panel .ct-field textarea::placeholder { color: var(--text-3); opacity: 1; }

.ct-panel .ct-field input:focus,
.ct-panel .ct-field textarea:focus {
  outline: none;
  border-color: rgba(var(--tone-rgb), 0.7) !important;
  background: rgba(0, 0, 0, 0.3) !important;
  box-shadow: 0 0 0 4px rgba(var(--tone-rgb), 0.14);
}

.ct-panel .ct-field.is-ok input,
.ct-panel .ct-field.is-ok textarea { border-color: rgba(76, 195, 138, 0.45) !important; }

.ct-panel .ct-field.has-error input,
.ct-panel .ct-field.has-error textarea { border-color: rgba(229, 99, 106, 0.75) !important; }

.ct-error {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #f3a6aa !important;
  font-size: 14px !important;
}

.ct-error::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--red);
}

/* message charge bar */
.ct-charge {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-3);
  font-size: 13px;
}

.ct-charge > span:last-child { font-size: 13px !important; color: var(--text-3) !important; }

.ct-charge__cell {
  position: relative;
  width: 72px;
  height: 12px;
  flex: none;
  padding: 2px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
}

.ct-charge__cell::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 3px;
  width: 3px;
  height: 4px;
  border-radius: 0 2px 2px 0;
  background: var(--line-2);
}

.ct-charge__cell span {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red), #e9b35e 50%, var(--green));
  transform-origin: left center;
  transition: transform 0.4s var(--ease-soft);
}

/* actions */
.ct-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 22px;
  margin-top: 26px;
}

.ct-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 210px;
  border: 0;
  cursor: pointer;
}

.ct-send:disabled { cursor: progress; opacity: 0.85; }
.ct-send i { transition: transform 0.4s var(--ease-soft); }
.ct-send:hover i { transform: translate(3px, -3px); }

.ct-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(6, 32, 20, 0.3);
  border-top-color: var(--green-ink);
  border-radius: 50%;
  animation: ct-spin 0.7s linear infinite;
}

@keyframes ct-spin { to { transform: rotate(360deg); } }

.ct-actions__note {
  flex: 1 1 220px;
  margin: 0;
  color: var(--text-3) !important;
  font-size: 13px !important;
  line-height: 1.5;
}

/* sent state */
.ct-sent {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(76, 195, 138, 0.4);
  border-radius: var(--radius-sm);
  background: rgba(76, 195, 138, 0.08);
  animation: ct-in 0.6s var(--ease-soft) both;
}

@keyframes ct-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.ct-sent__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
  color: var(--green-ink);
  box-shadow: 0 0 0 6px rgba(76, 195, 138, 0.15);
}

.ct-sent p { margin: 0 0 4px; color: var(--text-2); font-size: 15px !important; }
.ct-sent .ct-sent__title { color: var(--text); font-weight: 600; }

.ct-sent__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 12px;
}

.ct-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--green-2);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  min-height: 44px;
}

/* copy button */
.ct-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.3s var(--ease-soft), color 0.3s var(--ease-soft), background 0.3s var(--ease-soft);
}

.ct-copy span:not(.visually-hidden) { font-size: 13px !important; color: inherit !important; }
.ct-copy:hover { border-color: rgba(76, 195, 138, 0.5); color: var(--text); }
.ct-copy.is-done { border-color: rgba(76, 195, 138, 0.6); background: rgba(76, 195, 138, 0.12); color: var(--green-2); }
.ct-copy:focus-visible { outline: 2px solid var(--green-3); outline-offset: 2px; }

/* ---------- side: direct lines ---------- */
.ct-side { display: grid; gap: 22px; }

.ct-direct {
  position: relative;
  padding: 30px 26px 26px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
}

.ct-direct__orbit {
  position: absolute;
  top: -34px;
  right: -34px;
  width: 150px;
  opacity: 0.9;
}

.ct-direct__core {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(76, 195, 138, 0.14);
  color: var(--green-2);
  font-size: 17px;
}

.ct-direct h3 {
  margin: 0 0 20px;
  color: var(--text);
  font-size: 26px;
}

.ct-cards {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ct-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 14px 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.35s var(--ease-soft), transform 0.35s var(--ease-soft);
  --c: var(--green);
  --c-rgb: 76, 195, 138;
  --glow-rgb: 76, 195, 138;
}

.ct-card--red { --c: var(--red); --c-rgb: 229, 99, 106; --glow-rgb: 229, 99, 106; }
.ct-card:hover { border-color: rgba(var(--c-rgb), 0.35); transform: translateX(4px); }

.ct-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  background: rgba(var(--c-rgb), 0.12);
  color: var(--c);
}

.ct-card__body { display: flex; flex-direction: column; min-width: 0; flex: 1; }

.ct-card__label {
  color: var(--text-3) !important;
  font-size: 12px !important;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ct-card__body a {
  color: var(--text) !important;
  font-weight: 500;
  overflow-wrap: anywhere;
  transition: color 0.3s var(--ease-soft);
}

.ct-card__body a:hover { color: var(--c) !important; }
.ct-card__meta { color: var(--text-3) !important; font-size: 13px !important; }
.ct-card__text { color: var(--text-2) !important; font-size: 14px !important; line-height: 1.5; }

.ct-socials {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed var(--line-2);
}

.ct-socials > span { color: var(--text-3) !important; font-size: 14px !important; }
.ct-socials ul { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }

.ct-socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--text-2);
  transition: transform 0.35s var(--ease-soft), background 0.35s var(--ease-soft), color 0.35s var(--ease-soft),
    border-color 0.35s var(--ease-soft);
}

.ct-socials a:hover {
  transform: translateY(-3px);
  border-color: transparent;
  background: var(--green);
  color: var(--green-ink);
}

.ct-socials li:nth-child(2) a:hover { background: var(--red); color: #fff; }

/* ---------- side: Tunis clock ---------- */
.ct-clock {
  position: relative;
  padding: 22px 26px 0;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: radial-gradient(120% 90% at 100% 0%, rgba(229, 99, 106, 0.1), transparent 60%), var(--surface);
  overflow: hidden;
}

.ct-clock__head {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-3);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ct-clock__head span:last-child { font-size: 13px !important; color: var(--text-3) !important; }

.ct-clock__time {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 10px 0 2px;
  color: var(--text);
  font-family: var(--headingFont);
  font-size: 54px !important;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.ct-clock__time span { font-size: inherit !important; color: inherit !important; }
.ct-clock__time i { font-style: normal; color: var(--green); animation: ct-blink 1s steps(1) infinite; }

.ct-clock__time small {
  margin-left: 6px;
  color: var(--red);
  font-family: var(--paraFont);
  font-size: 18px;
  font-weight: 500;
}

@keyframes ct-blink { 50% { opacity: 0.25; } }

.ct-clock__note { margin: 0; color: var(--text-3) !important; font-size: 14px !important; }
.ct-clock__wave { margin: 6px -26px 0; width: calc(100% + 52px); opacity: 0.8; }

/* LEDs */
.ct-led {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
}

.ct-led--green { background: var(--green); animation: pp-ping 2.2s var(--ease-soft) infinite; }
.ct-led--red { background: var(--red); box-shadow: 0 0 8px rgba(229, 99, 106, 0.8); }

/* ---------- 3. map ---------- */
.ct-divider { margin: 70px 0 30px; opacity: 0.7; }

.ct-map__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 26px;
}

.ct-map__head h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(28px, 3.4vw, 40px);
}

.ct-map__open { display: inline-flex; align-items: center; gap: 10px; }

.ct-map__frame {
  position: relative;
  height: 460px;
  padding: 10px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
}

.ct-map__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 18px;
  filter: grayscale(0.4) invert(0.9) hue-rotate(180deg) contrast(0.95);
}

/* corner brackets like on a measuring screen */
.ct-map__corner {
  position: absolute;
  z-index: 2;
  width: 26px;
  height: 26px;
  border: 2px solid var(--green);
  pointer-events: none;
}

.ct-map__corner.is-tl { top: 18px; left: 18px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.ct-map__corner.is-tr { top: 18px; right: 18px; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; border-color: var(--red); }
.ct-map__corner.is-bl { bottom: 18px; left: 18px; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; border-color: var(--red); }
.ct-map__corner.is-br { bottom: 18px; right: 18px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }

/* slow scan line passing over the map */
.ct-map__scan {
  position: absolute;
  z-index: 1;
  left: 10px;
  right: 10px;
  top: 10px;
  height: 90px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(76, 195, 138, 0.1) 70%, rgba(76, 195, 138, 0.35) 100%);
  border-radius: 18px 18px 0 0;
  animation: ct-scan 7s var(--ease-soft) infinite;
}

@keyframes ct-scan {
  0% { transform: translateY(-100px); opacity: 0; }
  10% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(460px); opacity: 0; }
}

.ct-map__coords {
  position: absolute;
  z-index: 2;
  left: 28px;
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(11, 15, 14, 0.85);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--text-2) !important;
  font-size: 13px !important;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

/* ---------- responsive ---------- */
@media (max-width: 1199.98px) {
  .ct-lines { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 0; }
  .ct-line__wire,
  .ct-bus { display: none; }
  .ct-grid { grid-template-columns: minmax(0, 1fr); }
  .ct-side { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; }
}

@media (max-width: 767.98px) {
  .ct-hub { padding-top: 60px; }
  .ct-intro { margin-bottom: 32px; }
  .ct-lines { gap: 12px; margin-bottom: 40px; }
  .ct-line { padding: 16px; }
  .ct-line__icon { width: 40px; height: 40px; font-size: 16px; }
  .ct-line__title { font-size: 17px !important; }
  .ct-line__hint { font-size: 13px !important; }
  .ct-panel { padding: 24px 18px; }
  .ct-panel__head { flex-direction: column; gap: 14px; }
  .ct-fields { grid-template-columns: minmax(0, 1fr); }
  .ct-send { width: 100%; }
  .ct-side { grid-template-columns: minmax(0, 1fr); }
  .ct-direct__orbit { width: 120px; top: -28px; right: -28px; }
  .ct-clock__time { font-size: 46px !important; }
  .ct-map__frame { height: 360px; }
  .ct-map__open { width: 100%; justify-content: center; }
}

@media (max-width: 420px) {
  .ct-lines { grid-template-columns: minmax(0, 1fr); }
  .ct-line { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; }
  .ct-line__top { margin: 0; order: 0; }
  .ct-line__top .ct-line__switch { display: none; }
  .ct-line__title { flex: 1; }
  .ct-line__hint { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .ct-line__wire::after,
  .ct-bus span,
  .ct-panel__current::before,
  .ct-map__scan,
  .ct-clock__time i,
  .ct-led--green,
  .ct-spinner { animation: none !important; }
  .ct-map__scan { display: none; }
  .ct-line,
  .ct-card,
  .ct-sent { transition: none; animation: none; }
}

/* footer without its call-to-action band (contact page): no space reserved for the band */
.pp-footer--plain.tf__footer { margin-top: 60px !important; }
.pp-footer--plain .tf__footer_overlay { margin-top: 0; padding-top: 80px !important; }

/* soft dark halo behind the intro so circuit traces never cross the heading */
.ct-intro { position: relative; isolation: isolate; }

.ct-intro::before {
  content: "";
  position: absolute;
  inset: -40px -80px;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(11, 15, 14, 0.92), rgba(11, 15, 14, 0.6) 60%, transparent);
  pointer-events: none;
}
