/* GCCTVMS USA theme: matches the look of gcctvms.com.
   Loaded after each page's own styles, so these rules take priority.
   Change the brand colours in :root below to re-theme the whole site. */

:root {
  --purple: #6B0181;      /* main brand purple */
  --plum: #591A5D;        /* hover purple used on gcctvms.com */
  --primary: #512075;     /* button border / accent */
  --navy: #1B0044;        /* deep purple-navy */
  --navy-deep: #13002f;
  --blue: #163D98;        /* brand blue */
  --indigo: #121A73;
  --gold: #F7C504;        /* highlight accent */
  --violet: #9333ea;      /* outline buttons on dark backgrounds */
  --lilac: #d9a6ee;
  --text: #222222;
  --ink: #222222;
  --muted: #5f5a6b;
  --line: #e7e7e7;
  --head: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --grad: linear-gradient(156deg, var(--purple) 0%, var(--navy) 100%);
  --grad-brand: linear-gradient(90deg, var(--purple) 0%, var(--primary) 30%, var(--blue) 70%, var(--gold) 100%);
}

/* ---------- Typography ---------- */
body,
.btn,
input,
select,
textarea,
button {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

body { color: var(--text); }

h1, h2, h3, h6 {
  font-family: var(--head);
  font-weight: 700;
  letter-spacing: -.015em;
}

h1 { font-weight: 800; line-height: 1.1; }

/* ---------- Header: white bar with purple underline ---------- */
.site-header {
  background: #fff;
  border-bottom: 0;
}

.site-header.scrolled { box-shadow: 0 10px 30px -16px rgba(27, 0, 68, .35); }

/* 2px brand line under the header, exactly as on gcctvms.com */
.site-header::after {
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, #6B0181 0%, #512075 30%, #163D98 70%, #F7C504 100%);
  background-size: auto;
  animation: none;
  opacity: .85;
}

.brand img { height: 50px; width: auto; }

.nav a {
  color: var(--text);
  font-weight: 500;
  padding: 9px 16px;
  margin: 0 2px;
  border-radius: 999px;
  transition: color .2s, background-color .2s;
}

.nav a:hover { color: var(--plum); background: transparent; }

.nav a.active {
  color: var(--purple);
  background: #f1e4f7;
}

/* small dot under the active link instead of a bar */
.nav a::after {
  left: 50%;
  right: auto;
  bottom: -9px;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--purple);
  transform: scale(0);
}

.nav a.active::after { transform: scale(1); }
.nav a:not(.active):hover::after { transform: scale(0); }

.header-phone {
  color: var(--text);
  border-left-color: var(--line);
}

.header-phone:hover { color: var(--purple); }
.header-phone svg { stroke: var(--purple); }

.menu-toggle { color: var(--purple); }

/* Header call-to-action: rounded gradient pill */
.header-cta .btn-primary,
.nav .mobile-cta {
  border-radius: 999px;
  min-height: 48px;
  box-shadow: 0 10px 24px -10px rgba(81, 32, 117, .65);
}

/* ---------- Buttons ---------- */
.btn { border-radius: 4px; font-weight: 600; }

.btn-primary {
  background: var(--grad);
  border: 1px solid var(--primary);
  color: #fff;
}

.btn-primary:hover,
.dark .btn-primary:hover,
.hero-x .btn-primary:hover,
.quote-band .btn-primary:hover {
  background: linear-gradient(156deg, var(--plum) 0%, var(--blue) 100%);
  border-color: var(--blue);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--purple);
  border: 2px solid #fff;
}

.btn-light:hover {
  background: #f1e4f7;
  border-color: #f1e4f7;
  color: var(--purple);
}

.btn-outline {
  border-color: var(--purple);
  color: var(--purple);
}

.btn-outline:hover {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
}

.dark .btn-outline,
.hero-x .btn-outline,
.quote-band .btn-outline {
  border-color: var(--violet);
  color: #fff;
}

.dark .btn-outline:hover,
.hero-x .btn-outline:hover,
.quote-band .btn-outline:hover {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
}

/* ---------- Hero: black with the photo fading in on the right ---------- */
.hero-x { background-color: #000; }

.hero-x::before {
  background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .92) 40%, rgba(0, 0, 0, .55) 75%, rgba(0, 0, 0, .3) 100%);
}

.hero-x h1,
.hero-x h1 span { color: #fff; }

.hero-x .copy p { color: #e9e9e9; font-weight: 400; }

/* Inner-page banners get the same black treatment */
.page-hero { background-color: #000; }

.page-hero::before {
  background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .9) 50%, rgba(0, 0, 0, .5) 100%);
}

.page-hero p { color: #e9e9e9; font-weight: 400; }
.page-hero .eyebrow { color: #fff; }
.page-hero .eyebrow::before { background: var(--gold); }

.page-hero .btn-primary:hover {
  background: linear-gradient(156deg, var(--plum) 0%, var(--blue) 100%);
  color: #fff;
}

.page-hero .btn-outline { border-color: var(--violet); color: #fff; }
.page-hero .btn-outline:hover { background: var(--violet); border-color: var(--violet); color: #fff; }

/* ---------- Dark sections: purple-to-navy gradient ---------- */
.dark {
  background: linear-gradient(150deg, var(--purple) 30%, var(--navy) 100%);
  color: #e8dcf2;
}

.dark p { color: #ddd0ea; }

.quote-band::before {
  background: linear-gradient(110deg, rgba(107, 1, 129, .94) 0%, rgba(27, 0, 68, .92) 65%, rgba(22, 61, 152, .85) 100%);
}

/* ---------- Accents ---------- */
.eyebrow { color: var(--purple); font-weight: 600; letter-spacing: .02em; }

.center .eyebrow::after,
.eyebrow::before {
  background: linear-gradient(90deg, var(--purple), var(--blue));
}

.dark .eyebrow,
.hero-x .eyebrow,
.quote-band .eyebrow { color: #fff; }

.dark .eyebrow::before,
.hero-x .eyebrow::before,
.quote-band .eyebrow::before,
.dark .center .eyebrow::after { background: var(--gold); }

.reveal h2 { background-image: linear-gradient(90deg, var(--purple), var(--blue)); }
.dark .reveal h2 { background-image: linear-gradient(90deg, var(--gold), #ffdf5e); }

.dark a:not(.btn):not(.plus) { color: #f3e3ff; }
.dark a:not(.btn):not(.plus):hover { color: var(--gold); }

/* gcctvms.com has no scroll progress line at the top, so it is hidden here */
.progress { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); }

/* Bottom strip, as on gcctvms.com: content width, purple shimmer sliding slowly */
.footer-bar {
  height: 6px;
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(90deg, #1B0044, #6B0181, #b56fd6, #6B0181, #1B0044);
  background-size: 200% 100%;
  animation: footer-slide 8s linear infinite;
}

@keyframes footer-slide {
  from { background-position: 0 0; }
  to { background-position: 200% 0; }
}

@media (max-width: 1180px), (prefers-reduced-motion: reduce) {
  .footer-bar { animation: none; }
}

/* ---------- Scrollbar & selection ---------- */
html { scrollbar-color: var(--purple) #f1f1f1; }
::-webkit-scrollbar-track,
::-webkit-scrollbar-corner { background: #f1f1f1; }
::-webkit-scrollbar-thumb { border-color: #f1f1f1; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--plum); }

/* ---------- Mobile menu: white panel to match the header ---------- */
@media (max-width: 960px) {
  .brand img { height: 42px; }

  .nav.open {
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(27, 0, 68, .35);
  }

  .nav.open a {
    color: var(--text);
    border-radius: 0;
    margin: 0;
    padding: 14px 6px;
    border-bottom: 1px solid var(--line);
  }

  .nav.open a.active { background: transparent; color: var(--purple); }

  .nav.open .mobile-cta { color: #fff; border-bottom: 0; justify-content: center; }
}

/* ---------- Social media bar (right edge, styled like gcctvms.com; can be tucked away) ---------- */
.sbar {
  position: fixed;
  right: 14px;
  top: 50%;
  z-index: 55;
  transform: translateY(-50%);
}

.sbar-panel {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 6px 8px 10px;
  border-radius: 30px;
  background-color: rgba(58, 6, 96, .88);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 18px 40px rgba(27, 0, 68, .45), 0 0 0 1px rgba(107, 1, 129, .25), inset 0 1px 0 rgba(255, 255, 255, .18);
}

/* Purple-to-blue sheen behind the icons */
.sbar-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(165deg, rgba(150, 40, 190, .75) 0%, rgba(81, 32, 117, .55) 45%, rgba(18, 26, 115, .85) 100%);
}

/* Close control: the short line at the top */
.sbar-close {
  width: 40px;
  height: 18px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.sbar-handle {
  display: block;
  width: 20px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .85);
  transition: width .3s cubic-bezier(.34, 1.56, .64, 1), background .25s, box-shadow .25s;
}

.sbar-close:hover .sbar-handle,
.sbar-close:focus-visible .sbar-handle {
  width: 28px;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(247, 197, 4, .7);
}

.sbar-panel a {
  position: relative;
  isolation: isolate;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
}

.sbar-panel a svg { width: 18px; height: 18px; fill: currentColor; transition: transform .3s; }

/* Hover: the network's own colour, a small lift and a glow */
.sbar-panel a:hover,
.sbar-panel a:focus-visible {
  background: var(--c);
  border-color: transparent;
  transform: translateX(-6px) scale(1.12);
  box-shadow: 0 8px 22px -4px var(--c);
  outline: none;
}

.sbar-panel a:hover svg { transform: scale(1.08); }

/* Instagram gets its gradient on hover */
.sbar-panel a.s-instagram::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  opacity: 0;
  transition: opacity .3s;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.sbar-panel a.s-instagram:hover::before,
.sbar-panel a.s-instagram:focus-visible::before { opacity: 1; }

/* Name label that slides out to the left */
.sbar-panel a::after {
  content: attr(data-tip);
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  padding: 8px 12px;
  border-radius: 20px;
  background: var(--navy);
  color: #fff;
  font: 600 13px/1 var(--head);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(8px, -50%);
  transition: opacity .25s, transform .25s;
  box-shadow: 0 8px 20px rgba(27, 0, 68, .35);
}

.sbar-panel a:hover::after,
.sbar-panel a:focus-visible::after { opacity: 1; transform: translate(0, -50%); }

.sbar-close:focus-visible,
.sbar-tab:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 12px; }

/* Small tab shown when the bar is tucked away */
.sbar-tab {
  position: absolute;
  right: -14px;
  top: 50%;
  width: 44px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-right: 0;
  border-radius: 16px 0 0 16px;
  background: linear-gradient(165deg, #9628be 0%, #512075 45%, #121A73 100%);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 12px 28px -10px rgba(27, 0, 68, .6);
  transform: translate(110%, -50%);
  visibility: hidden;
}

.sbar-tab svg { width: 20px; height: 20px; }
.sbar-tab:hover svg { animation: sbar-wiggle .5s ease; }

/* Tucked-away state */
.sbar.min .sbar-panel {
  opacity: 0;
  transform: translateX(calc(100% + 30px)) scale(.9);
  pointer-events: none;
}

.sbar.min .sbar-panel a { opacity: 0; transform: translateX(16px) scale(.5); }
.sbar.min .sbar-tab { transform: translate(0, -50%); visibility: visible; }

/* Animations switch on only after the first paint, so the page never loads mid-slide */
.sbar.ready .sbar-panel {
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), opacity .35s ease;
}

/* Opening: icons pop in from the top down, with a little bounce */
.sbar.ready .sbar-panel a {
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), opacity .3s ease, background-color .3s, border-color .3s, box-shadow .3s;
  transition-delay: calc(var(--i) * 45ms);
}

.sbar.ready .sbar-panel a:hover,
.sbar.ready .sbar-panel a:focus-visible { transition-delay: 0s; }

/* Closing: icons leave from the bottom up, then the bar slides out */
.sbar.ready.min .sbar-panel { transition-delay: .14s; }
.sbar.ready.min .sbar-panel a { transition-delay: calc((6 - var(--i)) * 28ms); }

.sbar.ready .sbar-tab {
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .45s;
}

.sbar.ready.min .sbar-tab {
  transition: transform .45s cubic-bezier(.2, .8, .2, 1) .38s, visibility 0s;
}

@keyframes sbar-wiggle {
  0%, 100% { transform: rotate(0); }
  30% { transform: rotate(-14deg); }
  60% { transform: rotate(10deg); }
}

@media (max-width: 640px) {
  .sbar { right: 8px; }
  .sbar-panel { gap: 7px; padding: 4px 6px 8px; }
  .sbar-panel a { width: 34px; height: 34px; }
  .sbar-panel a svg { width: 15px; height: 15px; }
  .sbar-close { width: 34px; }
  .sbar-tab { right: -8px; width: 36px; height: 46px; }
}

/* No name labels or sideways lift on touch screens */
@media (hover: none) {
  .sbar-panel a::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .sbar .sbar-panel,
  .sbar .sbar-panel a,
  .sbar .sbar-tab { transition: none !important; }
}

/* ---------- "Select Your Country" flag bar (top of every page, as on gcctvms.com) ---------- */
.country-bar {
  position: relative;
  z-index: 61;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 64px;
  padding: 10px 16px;
  background: linear-gradient(124deg, var(--purple) 0%, var(--navy) 100%);
}

.country-label {
  color: #fff;
  font: 500 16px/1.2 var(--head);
}

.country-bar ul {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.country-bar li { display: flex; }

.country-bar a,
.country-bar .soon {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s;
}

.country-bar img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.country-bar a:hover,
.country-bar a:focus-visible,
.country-bar .soon:hover,
.country-bar .soon:focus-visible {
  transform: translateY(-3px) scale(1.12);
  box-shadow: 0 8px 18px -6px rgba(0, 0, 0, .55);
}

/* This site's own flag gets a ring */
.country-bar a.current { box-shadow: 0 0 0 2px var(--navy), 0 0 0 4px var(--gold); }
.country-bar a.current:hover { box-shadow: 0 0 0 2px var(--navy), 0 0 0 4px var(--gold), 0 8px 18px -6px rgba(0, 0, 0, .55); }

.country-bar .soon { cursor: default; opacity: .85; }

.country-bar a:focus-visible,
.country-bar .soon:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Country name shown under the flag on hover */
.country-bar [data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  padding: 4px 9px;
  border-radius: 6px;
  background: #fff;
  color: var(--navy);
  font: 500 12px/1.2 var(--head);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -4px);
  transition: opacity .2s, transform .2s;
  box-shadow: 0 8px 20px -8px rgba(27, 0, 68, .5);
}

.country-bar [data-tip]:hover::after,
.country-bar [data-tip]:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }

@media (hover: none) {
  .country-bar [data-tip]::after { display: none; }
}

@media (max-width: 640px) {
  .country-bar { min-height: 54px; gap: 12px; padding: 8px 12px; }
  .country-label { font-size: 14px; }
  .country-bar ul { gap: 11px; }
  .country-bar img { width: 26px; height: 26px; }
}

/* Keep the header pinned to the top while scrolling, as on gcctvms.com.
   "hidden" on html/body stops sticky headers working; "clip" hides sideways
   overflow the same way without that side effect. */
html,
body { overflow-x: clip; }

/* =====================================================================
   Content components for the US page content (shared by every page)
   ===================================================================== */
.us-narrow { max-width: 860px; }
.us-center { text-align: center; margin-left: auto; margin-right: auto; }
.us-head { margin-bottom: 36px; }
.us-head p { max-width: 760px; }
.us-center.us-head p { margin-left: auto; margin-right: auto; }
.us-prose p { font-size: 1.02rem; }
.us-prose > :last-child { margin-bottom: 0; }
.us-after { margin-top: 26px; }

/* Brand promise line in the homepage hero */
.us-tagline {
  display: inline-block;
  margin: 4px 0 30px;
  padding: 6px 0 6px 14px;
  border-left: 3px solid var(--gold);
  color: #fff;
  font: 600 1.1rem/1.4 var(--head);
}

/* Small contact line under a hero button */
.us-hero-note { margin-top: 18px !important; font-size: .95rem; }
.page-hero .us-hero-note a, .hero-x .us-hero-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Text link */
.us-link { font-weight: 600; color: var(--purple); border-bottom: 2px solid rgba(107, 1, 129, .25); transition: border-color .2s, color .2s; }
.us-link:hover { color: var(--plum); border-color: var(--purple); }
.dark .us-link { color: #fff; border-color: rgba(255, 255, 255, .45); }
.dark .us-link:hover { color: var(--gold); border-color: var(--gold); }

/* Check-mark list */
.us-list { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: 12px; }
.us-list li { position: relative; padding-left: 38px; color: var(--text); line-height: 1.65; }
.us-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat, var(--grad);
}
.us-list.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }
.us-list.x li::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center/11px no-repeat, linear-gradient(150deg, #5a4b6e, #2c2240);
}
.us-list strong { color: var(--navy); }
.dark .us-list li { color: #f0e6f8; }
.dark .us-list strong { color: #fff; }

/* Numbered steps */
.us-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
.us-steps li {
  position: relative;
  counter-increment: step;
  padding: 22px 24px 22px 84px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 34px -28px rgba(27, 0, 68, .5);
}
.us-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 22px;
  top: 20px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font: 700 1rem/1 var(--head);
}
.us-steps h3 { font-size: 1.12rem; margin: 0 0 .35em; }
.us-steps strong { display: block; color: var(--navy); font: 700 1.08rem/1.35 var(--head); margin-bottom: .25em; }
.us-steps p { margin: 0; }
.dark .us-steps li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
.dark .us-steps h3, .dark .us-steps strong { color: #fff; }
.dark .us-steps p { color: #ddd0ea; }

/* Cards */
.us-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.us-cards.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .us-cards.cols-2 { grid-template-columns: 1fr; } }
.us-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 40px -30px rgba(27, 0, 68, .45);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s;
}
.us-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, var(--purple), var(--blue));
}
.us-card:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -30px rgba(27, 0, 68, .55); }
.us-card h2, .us-card h3 { font-size: 1.2rem; margin-bottom: .5em; }
.us-card p { margin-bottom: 1em; }
.us-card .us-link { margin-top: auto; align-self: flex-start; }
.us-ic {
  width: 52px; height: 52px; margin-bottom: 18px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--grad);
  box-shadow: 0 12px 24px -12px rgba(107, 1, 129, .7);
}
.us-ic svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dark .us-card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
.dark .us-card h2, .dark .us-card h3 { color: #fff; }
.dark .us-card p { color: #ddd0ea; }

/* "Start with the problem" picker */
.us-problems { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.us-problems a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--purple);
  border-radius: 12px;
  color: var(--text);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.us-problems a:hover { transform: translateX(6px); box-shadow: 0 16px 34px -24px rgba(27, 0, 68, .55); border-left-color: var(--gold); color: var(--text); }
.us-problems q { font-style: italic; font-size: 1.02rem; }
.us-problems .svc {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #f1e4f7;
  color: var(--purple);
  font-weight: 600;
  font-size: .92rem;
  white-space: nowrap;
}
.us-problems a:hover .svc { background: var(--purple); color: #fff; }

/* Comparison table */
.us-table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 18px 40px -30px rgba(27, 0, 68, .45); background: #fff; }
.us-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: .97rem; }
.us-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.us-table th, .us-table td { padding: 17px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.us-table thead th { background: linear-gradient(150deg, var(--purple) 30%, var(--navy) 100%); color: #fff; font: 600 .92rem/1.3 var(--head); border-bottom: 0; }
.us-table tbody th { color: var(--purple); font: 600 1rem/1.4 var(--head); }
.us-table tbody tr:nth-child(even) { background: #faf6fc; }
.us-table tbody tr:last-child th, .us-table tbody tr:last-child td { border-bottom: 0; }
.us-table td.hl { color: var(--navy); font-weight: 600; }

/* Closing call-to-action panel */
.us-cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 52px 56px;
  border-radius: 22px;
  background: linear-gradient(150deg, var(--purple) 30%, var(--navy) 100%);
  color: #fff;
  box-shadow: 0 30px 60px -30px rgba(27, 0, 68, .7);
}
.us-cta::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 197, 4, .25), transparent 70%);
  pointer-events: none;
}
.us-cta > * { position: relative; z-index: 1; }
.us-cta h2 { color: #fff; }
.us-cta p { color: #eadff3; }
.us-cta .btns { flex-wrap: wrap; margin-top: 26px; }
.us-cta .us-link { color: #fff; border-color: rgba(255, 255, 255, .45); }
.us-contact { display: grid; gap: 14px; }
.us-contact a {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
  font-weight: 600;
  overflow-wrap: anywhere;
  transition: background .2s, transform .2s;
}
.us-contact a:hover { background: rgba(255, 255, 255, .16); transform: translateX(4px); color: #fff; }
.us-contact svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.us-contact small { display: block; font-weight: 400; font-size: .78rem; color: #d9c8ea; }
.us-contact.light a { background: #fff; border-color: var(--line); color: var(--text); box-shadow: 0 14px 30px -24px rgba(27, 0, 68, .5); }
.us-contact.light a:hover { background: #fbf7fd; color: var(--purple); }
.us-contact.light svg { stroke: var(--purple); }
.us-contact.light small { color: var(--muted); }

/* Emergency / important notice */
.us-notice {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 24px 28px;
  border-radius: 14px;
  background: #fff5f5;
  border: 1px solid #f3c9c9;
  border-left: 5px solid #d63637;
}
.us-notice svg { flex: none; width: 28px; height: 28px; fill: none; stroke: #d63637; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.us-notice h2 { font-size: 1.35rem; color: #9b1c1c; margin-bottom: .3em; }
.us-notice p { margin: 0; color: #5c2b2b; }

/* Contact form */
.us-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  padding: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 50px -34px rgba(27, 0, 68, .5);
}
.us-form .full { grid-column: 1 / -1; }
.us-form label { display: block; margin-bottom: 6px; color: var(--text); font: 600 .9rem/1.3 var(--head); }
.us-form label span { color: var(--muted); font-weight: 400; }
.us-form input,
.us-form select,
.us-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d9cfe2;
  border-radius: 10px;
  background: #fcfaff;
  color: var(--text);
  font: 400 1rem/1.4 var(--head);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.us-form textarea { min-height: 150px; resize: vertical; }
.us-form input:focus,
.us-form select:focus,
.us-form textarea:focus { outline: none; border-color: var(--purple); background: #fff; box-shadow: 0 0 0 4px rgba(107, 1, 129, .14); }
.us-form .consent { margin: 0; font-size: .88rem; color: var(--muted); }
.us-form .btn { justify-self: start; }
.us-form .note { margin: 0; font-size: .92rem; color: var(--muted); }
.us-form .note:empty { display: none; }
.us-form .note.sent { padding: 12px 16px; border-radius: 10px; background: #eefaf1; border: 1px solid #bfe6c9; color: #1e6b34; }

.us-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.us-split.even { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* FAQ groups */
.us-faq-group + .us-faq-group { margin-top: 48px; }
.us-faq-group h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.us-faq-group .faq { margin-top: 18px; }

@media (max-width: 960px) {
  .us-cta, .us-split, .us-split.even { grid-template-columns: 1fr; }
  .us-cta { padding: 40px 30px; gap: 28px; }
}

@media (max-width: 640px) {
  .us-list.cols-2 { grid-template-columns: 1fr; }
  .us-form { grid-template-columns: 1fr; padding: 24px 20px; }
  .us-problems a { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
  .us-problems .svc { justify-self: start; }
  .us-cta { padding: 34px 22px; border-radius: 18px; }
  .us-notice { flex-direction: column; padding: 22px; }
  .us-steps li { padding: 76px 20px 20px; }
  .us-steps li::before { left: 20px; top: 18px; }
}

/* Steps whose headings carry their own number ("1. Setup review"): the number becomes the badge */
.us-steps.numbered li::before { content: none; }
.us-steps.numbered .us-num {
  position: absolute;
  left: 22px;
  top: 20px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font: 700 1rem/1 var(--head);
}
@media (max-width: 640px) { .us-steps.numbered .us-num { left: 20px; top: 18px; } }
