:root {
  --ink: #172033;
  --muted: #667085;
  --line: #d9e0ea;
  --page: #f5f7fb;
  --panel: #ffffff;
  --brand: #0b6f78;
  --brand-dark: #064e58;
  --mint: #dff7ef;
  --amber: #fff2d8;
  --rose: #ffe4e8;
  --blue: #e5f0ff;
  --shadow: 0 16px 38px rgba(30, 41, 59, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

button:disabled,
input:disabled {
  cursor: not-allowed;
  opacity: 0.56;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: 0.94;
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(1.45rem, 2vw, 2.15rem);
  line-height: 1.12;
  margin-bottom: 10px;
}

h3 {
  margin-bottom: 8px;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 54px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  align-items: center;
  background: var(--brand);
  border-radius: 8px;
  color: white;
  display: inline-grid;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.main-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  min-width: 0;
}

.main-nav a,
.nav-service-tab > button {
  background: transparent;
  border-radius: 8px;
  color: #344054;
  font-weight: 800;
  min-width: 82px;
  padding: 9px 12px;
  text-align: center;
}

.main-nav a:hover,
.main-nav a.active,
.nav-service-tab:hover > button,
.nav-service-tab:focus-within > button {
  background: #edf3f5;
  color: var(--brand-dark);
}

.nav-service-tab {
  position: relative;
}

.service-tab-menu {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: none;
  left: 50%;
  min-width: 236px;
  padding: 8px;
  position: absolute;
  top: calc(100% + 8px);
  transform: translateX(-50%);
  z-index: 40;
}

.nav-service-tab:hover .service-tab-menu,
.nav-service-tab:focus-within .service-tab-menu {
  display: grid;
  gap: 6px;
}

.service-tab-menu a {
  min-width: 0;
  text-align: left;
  width: 100%;
}

.primary-action,
.secondary-action,
.ghost-action {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
}

.primary-action {
  background: var(--brand);
  color: white;
  font-weight: 800;
}

.primary-action:hover {
  background: var(--brand-dark);
}

.secondary-action {
  background: #edf1f6;
  color: var(--ink);
  font-weight: 800;
}

.ghost-action {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
}

.page {
  display: none;
}

.page.active {
  display: block;
}

.holiday-banner {
  align-items: center;
  background:
    radial-gradient(circle at 8% 20%, rgba(243, 196, 107, 0.45), transparent 28%),
    linear-gradient(135deg, #063f48, #0f766e);
  color: white;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 14px clamp(18px, 5vw, 64px);
}

.holiday-banner.hide {
  display: none;
}

.holiday-banner span,
.holiday-banner strong,
.holiday-banner p {
  display: block;
}

.holiday-banner span {
  color: #f3c46b;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.holiday-banner strong {
  font-size: clamp(1.05rem, 2vw, 1.45rem);
}

.holiday-banner p {
  color: rgba(255, 255, 255, 0.84);
  margin: 3px 0 0;
}

.holiday-banner .primary-action {
  background: #f3c46b;
  color: #102027;
  flex: 0 0 auto;
}

.hero {
  align-items: center;
  background:
    linear-gradient(110deg, rgba(6, 78, 88, 0.93), rgba(15, 40, 55, 0.54)),
    url("assets/fixgpt-animated-banner.svg");
  background-position: center;
  background-size: cover;
  color: white;
  display: grid;
  gap: clamp(14px, 2vw, 24px);
  grid-template-columns: minmax(0, 1fr);
  min-height: clamp(440px, calc(100vh - 230px), 560px);
  padding: clamp(18px, 3vw, 34px) clamp(18px, 5vw, 64px);
}

.home-help-strip {
  align-items: center;
  background:
    radial-gradient(circle at 10% 12%, rgba(19, 185, 165, 0.24), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(243, 196, 107, 0.34), transparent 30%),
    linear-gradient(135deg, #ffffff, #eaf8ff 52%, #edf8f2);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.74fr);
  padding: 14px clamp(18px, 5vw, 64px);
}

.home-help-strip h2 {
  color: var(--brand-dark);
  font-size: clamp(1.24rem, 2.2vw, 1.9rem);
  margin: 0 0 5px;
}

.home-help-strip p {
  color: var(--muted);
  font-size: 0.94rem;
  margin: 0;
}

.home-help-search {
  background: white;
  border: 1px solid rgba(6, 78, 88, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 9px;
}

.hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.62;
  max-width: 820px;
}

.hero h1 {
  font-size: clamp(2.8rem, 5.8vw, 5.6rem);
  margin-bottom: 12px;
}

.hero-copy {
  margin: 0 auto;
  max-width: 1040px;
  text-align: center;
  width: 100%;
}

.hero-copy .eyebrow {
  margin-top: 4px;
}

.hero-copy p {
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
}

.hero .secondary-action {
  background: rgba(255, 255, 255, 0.16);
  color: white;
}

.policy-safe-notice {
  align-items: center;
  background: #fff8e8;
  border-bottom: 1px solid #f3c46b;
  border-top: 1px solid #f3c46b;
  display: grid;
  gap: 8px 18px;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 14px clamp(18px, 5vw, 64px);
}

.policy-safe-notice strong {
  color: var(--brand-dark);
  white-space: nowrap;
}

.policy-safe-notice p {
  color: #6b4a04;
  line-height: 1.5;
  margin: 0;
}

.why-fixgpt-section {
  align-items: center;
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  margin: 0 auto;
  max-width: 1180px;
  padding: 48px clamp(18px, 4vw, 36px);
}

.why-copy,
.ai-explainer-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 28px);
}

.why-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.why-points {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.why-points article {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.why-points strong,
.why-points p {
  display: block;
}

.why-points strong {
  color: var(--brand-dark);
  margin-bottom: 5px;
}

.why-points p {
  margin: 0;
}

.ai-explainer-card {
  background:
    radial-gradient(circle at 12% 18%, rgba(143, 216, 255, 0.45), transparent 28%),
    radial-gradient(circle at 88% 0%, rgba(243, 196, 107, 0.46), transparent 30%),
    linear-gradient(145deg, #ffffff, #edf8f2);
}

.ai-explainer-screen {
  background:
    radial-gradient(circle at 20% 16%, rgba(143, 216, 255, 0.22), transparent 28%),
    linear-gradient(145deg, #102027, #064e58 58%, #0b6f78);
  border: 10px solid #172033;
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(23, 32, 51, 0.2);
  color: white;
  min-height: 360px;
  overflow: hidden;
  position: relative;
}

.video-stage {
  height: 300px;
  position: relative;
}

.character {
  animation: characterFloat 3.5s ease-in-out infinite;
  align-items: center;
  display: grid;
  gap: 8px;
  justify-items: center;
  position: absolute;
  text-align: center;
  z-index: 3;
}

.character span {
  background:
    radial-gradient(circle at 50% 28%, #ffe2bd 0 22%, transparent 23%),
    linear-gradient(180deg, #13b9a5 0 48%, #f3c46b 49% 100%);
  border: 3px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px 24px 10px 10px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
  display: block;
  height: 76px;
  width: 58px;
}

.character strong {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 0.76rem;
  padding: 4px 8px;
}

.customer-character {
  bottom: 34px;
  left: 18px;
}

.david-character {
  animation-delay: 0.35s;
  bottom: 108px;
  left: 50%;
  transform: translateX(-50%);
}

.david-character span {
  background:
    radial-gradient(circle at 50% 28%, #e5f7ff 0 22%, transparent 23%),
    linear-gradient(180deg, #8fd8ff 0 48%, #14b8a6 49% 100%);
}

.expert-character {
  animation-delay: 0.7s;
  bottom: 34px;
  right: 18px;
}

.expert-character span {
  background:
    radial-gradient(circle at 50% 28%, #ffe2bd 0 22%, transparent 23%),
    linear-gradient(180deg, #f3c46b 0 48%, #0ea5a3 49% 100%);
}

.chat-card {
  animation: serviceCardShow 12s infinite;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
  color: var(--ink);
  left: 50%;
  opacity: 0;
  padding: 11px 13px;
  position: absolute;
  top: 18px;
  transform: translateX(-50%) translateY(18px);
  width: min(86%, 300px);
  z-index: 4;
}

.chat-card small,
.chat-card b {
  display: block;
}

.chat-card small {
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 1000;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.chat-card b {
  font-size: 0.88rem;
  line-height: 1.25;
}

.card-two {
  animation-delay: 3s;
}

.card-three {
  animation-delay: 6s;
}

.card-four {
  animation-delay: 9s;
}

.service-orbit {
  animation: orbitPulse 5s linear infinite;
  border: 1px dashed rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  height: 160px;
  left: 50%;
  position: absolute;
  top: 102px;
  transform: translateX(-50%);
  width: 160px;
  z-index: 1;
}

.service-orbit span {
  align-items: center;
  background: rgba(255, 255, 255, 0.93);
  border-radius: 999px;
  color: var(--brand-dark);
  display: grid;
  font-size: 0.7rem;
  font-weight: 1000;
  height: 38px;
  justify-content: center;
  position: absolute;
  width: 38px;
}

.service-orbit span:nth-child(1) {
  left: 61px;
  top: -18px;
}

.service-orbit span:nth-child(2) {
  right: -18px;
  top: 61px;
}

.service-orbit span:nth-child(3) {
  bottom: -18px;
  left: 61px;
}

.service-orbit span:nth-child(4) {
  left: -18px;
  top: 61px;
}

.explainer-caption {
  background: rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  gap: 4px;
  padding: 14px 16px;
}

.explainer-caption strong,
.explainer-caption span {
  display: block;
}

.explainer-caption strong {
  color: #f3c46b;
}

.explainer-caption span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.88rem;
  line-height: 1.42;
}

.movie-timeline {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 16px;
}

.movie-timeline span {
  animation: pulseBar 1.8s infinite;
  background: #0b6f78;
  border-radius: 999px;
  display: block;
  height: 8px;
}

.movie-timeline span:nth-child(2) {
  animation-delay: 0.25s;
  background: #13b9a5;
}

.movie-timeline span:nth-child(3) {
  animation-delay: 0.5s;
  background: #f3c46b;
}

.movie-timeline span:nth-child(4) {
  animation-delay: 0.75s;
  background: #8fd8ff;
}

@keyframes serviceCardShow {
  0%,
  9% {
    opacity: 0;
    transform: translateX(-50%) translateY(18px) scale(0.98);
  }
  13%,
  24% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
  30%,
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-16px) scale(0.98);
  }
}

@keyframes characterFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}

@keyframes orbitPulse {
  0% {
    rotate: 0deg;
  }
  100% {
    rotate: 360deg;
  }
}

.eyebrow {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #b8fff0;
}

.hero-visual {
  display: grid;
  gap: 10px;
  margin: 0 auto;
  max-width: 1040px;
  width: 100%;
  z-index: 4;
}

.hero-metrics {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-metrics div {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--ink);
  padding: 12px;
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  color: var(--brand-dark);
  font-size: 1.32rem;
  line-height: 1;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  margin-top: 5px;
}

.support-window,
.signal-panel,
.panel,
.service-card,
.plan-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.support-window {
  color: var(--ink);
  overflow: hidden;
}

.home-search-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--ink);
  padding: clamp(18px, 3vw, 28px);
  text-align: center;
}

.home-search-card .eyebrow {
  color: var(--brand);
}

.home-search-card h2 {
  color: var(--ink);
  font-size: clamp(1.7rem, 3.4vw, 3rem);
  line-height: 1.08;
  margin: 0 auto 8px;
  max-width: 820px;
}

.home-search-card p {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 auto 14px;
  max-width: 720px;
}

.home-issue-search {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr auto;
  margin: 0 auto;
  max-width: 840px;
  padding: 10px;
}

.home-issue-search input {
  background: white;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 1.08rem;
  min-height: 54px;
  padding: 0 18px;
}

.home-issue-search input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
  outline: none;
}

.window-bar {
  align-items: center;
  background:
    radial-gradient(circle at 20% 0%, rgba(143, 216, 255, 0.28), transparent 34%),
    linear-gradient(135deg, #0f172a, #064e58 58%, #0b6f78);
  color: white;
  display: flex;
  gap: 7px;
  padding: 14px;
}

.window-bar span {
  background: #fa6969;
  border-radius: 50%;
  height: 10px;
  width: 10px;
}

.window-bar span:nth-child(2) {
  background: #f6c65b;
}

.window-bar span:nth-child(3) {
  background: #5bd27d;
  margin-right: 8px;
}

.agent-avatar {
  align-items: center;
  background: linear-gradient(135deg, #14b8a6, #8fd8ff);
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.28);
  color: #052f35;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 1000;
  height: 34px;
  justify-content: center;
  margin-left: 4px;
  width: 34px;
}

.home-chat-popup {
  bottom: 24px;
  display: none;
  position: fixed;
  right: 24px;
  width: min(680px, calc(100vw - 32px));
  z-index: 90;
}

.home-chat-popup.show {
  display: block;
}

.home-popup-window {
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.28);
  border-color: rgba(20, 184, 166, 0.35);
}

.home-chat-close {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: white;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  margin-left: auto;
  min-height: 30px;
  padding: 0 10px;
}

.home-chat-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.message-row {
  border-bottom: 1px solid var(--line);
  line-height: 1.45;
  margin: 14px;
  padding: 12px;
}

.message-row.ai {
  background: var(--blue);
}

.message-row.client {
  background: var(--amber);
}

.message-row.agent {
  background: var(--mint);
}

.home-chat-log {
  background:
    radial-gradient(circle at 8% 0%, rgba(20, 184, 166, 0.12), transparent 28%),
    linear-gradient(180deg, #f8fafc, #eef7f7);
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 540px;
  min-height: 420px;
  overflow: auto;
  padding: 12px;
}

.home-chat-bubble {
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.48;
  max-width: 84%;
  padding: 9px 11px;
}

.home-chat-bubble.ai {
  align-self: flex-start;
  background: white;
  border: 1px solid rgba(20, 184, 166, 0.16);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  color: var(--ink);
}

.home-chat-bubble.ai::before {
  content: "David";
  color: var(--brand);
  display: block;
  font-size: 0.72rem;
  font-weight: 1000;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.home-chat-bubble.client {
  align-self: flex-end;
  background: linear-gradient(135deg, #fff7e8, #fff0cf);
  border: 1px solid rgba(243, 196, 107, 0.38);
  color: var(--ink);
}

.home-chat-bubble.nudge {
  border-color: rgba(243, 196, 107, 0.42);
}

.home-chat-action {
  align-self: flex-start;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(30, 41, 59, 0.09);
  padding: 10px;
}

.home-chat-action .primary-action {
  min-height: 38px;
}

.home-chat-compose {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr auto;
  padding: 10px;
}

.home-chat-compose .primary-action {
  min-height: 40px;
}

.chat-tools {
  align-items: center;
  background: #f8fafc;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 10px;
}

.chat-tool-button {
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--brand-dark);
  cursor: pointer;
  display: inline-grid;
  font-size: 0;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  min-height: 38px;
  padding: 0;
  position: relative;
  width: 40px;
}

.chat-tool-button:hover {
  background: #eef8ff;
  border-color: #cbe7fb;
}

.chat-tool-button::before {
  content: "?";
  font-size: 1rem;
  line-height: 1;
}

.chat-tool-button[data-chat-tool="upload"]::before {
  content: "↑";
}

.chat-tool-button[data-chat-tool="record"]::before {
  content: "●";
  color: #dc2626;
}

.chat-tool-button[data-chat-tool="screen"]::before {
  content: "▣";
}

.chat-tool-button[data-chat-tool="voice"]::before {
  content: "☎";
}

.chat-tool-button[data-chat-tool="video"]::before {
  content: "▶";
}

.chat-tool-button:hover::after,
.chat-tool-button:focus-visible::after {
  background: #111827;
  border-radius: 8px;
  bottom: calc(100% + 8px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.22);
  color: white;
  content: attr(title);
  font-size: 0.76rem;
  font-weight: 800;
  left: 50%;
  line-height: 1.2;
  padding: 7px 9px;
  pointer-events: none;
  position: absolute;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 120;
}

.chat-tool-button:hover::before,
.chat-tool-button:focus-visible::before {
  transform: scale(1.08);
}

.chat-tool-button.recording {
  background: #fff2d8;
  border-color: rgba(243, 196, 107, 0.8);
  color: #7a4a00;
}

.chat-tool-button.recording::before {
  content: "■";
}

.chat-media-panel {
  background: #eef8ff;
  border-top: 1px solid #cbe7fb;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.chat-media-panel[hidden] {
  display: none;
}

.chat-media-header {
  display: grid;
  gap: 3px;
}

.chat-media-header strong {
  color: var(--brand-dark);
}

.chat-media-header span {
  color: var(--muted);
  font-size: 0.86rem;
}

.chat-media-panel video {
  background: #101828;
  border-radius: 8px;
  max-height: 260px;
  object-fit: cover;
  width: 100%;
}

.voice-call-visual {
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 8px;
  padding: 12px;
}

.voice-call-visual span {
  animation: pulseBar 1s infinite;
  background: var(--brand);
  border-radius: 999px;
  display: block;
  height: 26px;
  width: 8px;
}

.voice-call-visual span:nth-child(2) {
  animation-delay: 0.18s;
  height: 40px;
}

.voice-call-visual span:nth-child(3) {
  animation-delay: 0.36s;
  height: 32px;
}

.voice-call-visual strong {
  color: var(--brand-dark);
  margin-left: 6px;
}

.recording-visual {
  align-items: center;
  background: white;
  border: 1px solid rgba(243, 196, 107, 0.72);
  border-radius: 8px;
  display: flex;
  gap: 8px;
  padding: 12px;
}

.recording-visual span {
  animation: pulseBar 0.8s infinite;
  background: #ef4444;
  border-radius: 999px;
  display: block;
  height: 18px;
  width: 8px;
}

.recording-visual span:nth-child(2) {
  animation-delay: 0.12s;
  height: 38px;
}

.recording-visual span:nth-child(3) {
  animation-delay: 0.24s;
  height: 28px;
}

.recording-visual span:nth-child(4) {
  animation-delay: 0.36s;
  height: 34px;
}

.recording-visual strong {
  color: #7a1c1c;
  margin-left: 6px;
}

.recording-transcript {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
  margin: 0;
  padding: 9px 10px;
}

.chat-attachment {
  display: grid;
  gap: 7px;
}

.chat-attachment strong,
.chat-attachment span,
.chat-attachment a {
  display: block;
}

.chat-attachment span {
  color: var(--muted);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.chat-attachment a {
  color: var(--brand-dark);
  font-weight: 900;
}

.chat-file-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  max-height: 180px;
  object-fit: cover;
  width: 100%;
}

.chat-audio-player {
  height: 34px;
  width: min(100%, 220px);
}

.chat-attachment.audio-message {
  gap: 4px;
  max-width: min(280px, 74%);
  padding: 7px 9px;
}

.chat-attachment.audio-message strong {
  font-size: 0.82rem;
}

.chat-attachment.audio-message span,
.chat-attachment.audio-message a,
.audio-transcript {
  font-size: 0.74rem;
}

.audio-transcript {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(6, 78, 88, 0.1);
  border-radius: 8px;
  color: var(--muted);
  line-height: 1.35;
  margin: 0;
  padding: 7px 8px;
}

.signal-panel {
  align-items: center;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
}

.signal-panel span {
  color: var(--muted);
}

.content-band,
.narrow-page,
.registration-layout,
.text-page,
.contact-layout,
.workspace,
.dashboard-layout,
.admin-grid,
.login-grid {
  margin: 0 auto;
  max-width: 1180px;
  padding: 48px clamp(18px, 4vw, 36px);
}

.page-banner {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1fr);
  margin: 0 auto;
  max-width: 1180px;
  padding: 34px clamp(18px, 4vw, 36px) 0;
}

.page-banner img {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: block;
  width: 100%;
}

.page-banner > div {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 28px);
}

.page-banner p:last-child {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.registration-layout {
  align-items: end;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
}

.registration-layout > div,
.registration-layout form {
  grid-column: 1;
}

.become-expert-intro {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 30px);
}

.expert-benefit-grid {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}

.expert-benefit-grid article {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.expert-benefit-grid strong,
.expert-benefit-grid p {
  display: block;
}

.expert-benefit-grid strong {
  color: var(--brand-dark);
  margin-bottom: 6px;
}

.expert-benefit-grid p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.expert-form-panel[hidden] {
  display: none;
}

.expert-form-panel h3 {
  color: var(--brand-dark);
}

.registration-photo {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: block;
  grid-column: 2;
  grid-row: 1 / span 2;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  width: 100%;
}

.form-note {
  color: var(--muted);
  line-height: 1.55;
  margin: -2px 0 6px;
}

.selected-plan-notice {
  background: #eaf7f4;
  border: 1px solid #b7ded7;
  border-radius: 8px;
  color: var(--brand-dark);
  display: none;
  margin-bottom: 14px;
  padding: 12px;
}

.selected-plan-notice:not(:empty) {
  display: block;
}

.selected-plan-notice strong,
.selected-plan-notice span {
  display: block;
}

.selected-plan-notice span {
  color: #344054;
  margin-top: 4px;
}

.muted-band {
  background: #eef3f7;
  max-width: none;
}

.graphic-service-map {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(223, 247, 239, 0.84)),
    radial-gradient(circle at 90% 12%, rgba(243, 196, 107, 0.42), transparent 28%);
  max-width: none;
}

.graphic-map-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
}

.graphic-map-grid article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: 210px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.graphic-map-grid article::after {
  background: linear-gradient(135deg, rgba(11, 111, 120, 0.12), rgba(243, 196, 107, 0.24));
  border-radius: 999px;
  content: "";
  height: 112px;
  position: absolute;
  right: -38px;
  top: -38px;
  width: 112px;
}

.graphic-map-grid span {
  align-items: center;
  background: var(--brand);
  border-radius: 8px;
  color: white;
  display: inline-grid;
  font-weight: 900;
  height: 46px;
  justify-content: center;
  margin-bottom: 18px;
  width: 52px;
}

.graphic-map-grid strong {
  color: var(--ink);
  display: block;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.graphic-map-grid p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.product-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-card img {
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
  width: 100%;
}

.product-card > div {
  padding: 18px;
}

.product-card p {
  color: var(--muted);
  line-height: 1.55;
}

.product-card strong {
  color: var(--brand-dark);
  display: block;
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.product-thumb {
  border-radius: 8px;
  height: 58px;
  object-fit: cover;
  width: 86px;
}

.product-checkout {
  margin-top: 24px;
}

.product-checkout-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  padding: clamp(18px, 3vw, 28px);
}

.product-checkout-summary {
  display: grid;
  gap: 14px;
}

.product-checkout-summary img {
  border-radius: 8px;
  display: block;
  object-fit: cover;
  width: 100%;
}

.product-checkout-summary p {
  color: var(--muted);
  line-height: 1.55;
}

.product-checkout-summary strong {
  color: var(--brand-dark);
  display: block;
  font-size: 1.8rem;
}

.service-expired-banner {
  align-items: center;
  background: #fff2d8;
  border: 1px solid #f3c46b;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
}

.service-expired-banner span {
  color: #664500;
}

.self-help-hero,
.self-help-results {
  margin: 0 auto;
  max-width: 1180px;
}

.self-help-hero {
  align-items: stretch;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr);
  padding: 36px clamp(18px, 4vw, 36px);
}

.self-help-has-results .self-help-hero {
  gap: 14px;
  grid-template-columns: minmax(520px, 1.35fr) minmax(280px, 0.65fr);
  padding-top: 18px;
}

.self-help-hero > div:first-child,
.self-help-side-panel,
.self-help-bottom-banner {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 28px);
}

.self-help-hero p,
.self-help-answer p,
.self-help-answer li {
  color: var(--muted);
  line-height: 1.65;
}

.self-help-hero h2 {
  color: var(--brand-dark);
  font-size: clamp(1.6rem, 2.8vw, 2.45rem);
  line-height: 1.14;
  margin-bottom: 10px;
}

.self-help-hero > div:first-child > p:not(.eyebrow) {
  font-size: 0.98rem;
  max-width: 860px;
}

.self-help-search {
  background:
    radial-gradient(circle at 10% 0%, rgba(20, 184, 166, 0.14), transparent 28%),
    linear-gradient(135deg, #f8fafc, #eef7f7);
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.09);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 20px;
  max-width: none;
  padding: 12px;
}

.self-help-search input {
  background: white;
  border: 1px solid rgba(6, 78, 88, 0.12);
  border-radius: 8px;
  font-size: 1.08rem;
  min-height: 68px;
  padding: 0 18px;
}

.self-help-search input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
  outline: none;
}

.self-help-search .primary-action {
  min-height: 68px;
  min-width: 132px;
}

.self-help-has-results .self-help-hero > div:first-child,
.self-help-has-results .self-help-side-panel {
  padding: 16px;
}

.self-help-has-results .self-help-hero h2 {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  margin-bottom: 6px;
}

.self-help-has-results .self-help-hero > div:first-child > p:not(.eyebrow) {
  font-size: 0.9rem;
  line-height: 1.45;
}

.self-help-has-results .self-help-search {
  margin-top: 12px;
  padding: 8px;
}

.self-help-has-results .self-help-search input,
.self-help-has-results .self-help-search .primary-action {
  min-height: 46px;
}

.self-help-work-panel {
  display: none;
  gap: 18px;
}

.self-help-has-results .self-help-work-panel {
  display: grid;
  gap: 18px;
}

.self-help-work-panel .self-help-results {
  margin: 0;
  max-width: none;
  width: 100%;
}

.self-help-inline-results,
.self-help-inline-results .self-help-results {
  margin: 0;
  max-width: none;
}

.self-help-bottom-banner {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-column: 1 / -1;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
}

.self-help-bottom-banner p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.self-help-bottom-banner h3 {
  color: var(--brand-dark);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.self-help-animation {
  align-items: center;
  background:
    radial-gradient(circle at 18% 22%, rgba(143, 216, 255, 0.74), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(243, 196, 107, 0.65), transparent 25%),
    linear-gradient(135deg, #e5f0ff, #dff7ef 54%, #fff5df);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 18px;
  min-height: 245px;
  overflow: hidden;
  padding: 24px;
  position: relative;
  place-items: center;
}

.animated-device {
  background: #172033;
  border-radius: 26px;
  box-shadow: 0 22px 34px rgba(23, 32, 51, 0.22);
  height: 210px;
  padding: 24px;
  position: relative;
  z-index: 1;
  width: 235px;
}

.animated-device span {
  color: white;
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 26px;
}

.animated-device i,
.animated-device b,
.animated-device em {
  background: #dff7ef;
  border-radius: 999px;
  display: block;
  height: 18px;
  margin-bottom: 18px;
  width: 76%;
}

.animated-device b {
  background: #8fd8ff;
  width: 58%;
}

.animated-device em {
  background: #f3c46b;
  width: 68%;
}

.animated-device::after {
  animation: scanHelp 2.4s infinite;
  background: rgba(255, 255, 255, 0.28);
  content: "";
  height: 4px;
  left: 28px;
  position: absolute;
  right: 28px;
  top: 96px;
}

@keyframes scanHelp {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(94px);
  }
  100% {
    transform: translateY(0);
  }
}

.ai-video-stack {
  display: grid;
  gap: 10px;
  max-width: 150px;
  position: relative;
  z-index: 1;
}

.ai-video-stack article {
  animation: floatVideo 3.2s ease-in-out infinite;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(6, 78, 88, 0.12);
  border-radius: 8px;
  box-shadow: 0 16px 28px rgba(23, 32, 51, 0.14);
  min-height: 70px;
  overflow: hidden;
  padding: 10px;
}

.ai-video-stack article:nth-child(2) {
  animation-delay: 0.3s;
}

.ai-video-stack article:nth-child(3) {
  animation-delay: 0.6s;
}

.ai-video-stack span {
  animation: videoSweep 2.3s infinite;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent),
    linear-gradient(135deg, #13b9a5, #1f78ff);
  border-radius: 8px;
  display: block;
  height: 34px;
  margin-bottom: 7px;
}

.ai-video-stack strong {
  color: var(--brand-dark);
  font-size: 0.82rem;
}

@keyframes floatVideo {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes videoSweep {
  0% {
    background-position: -80px 0, center;
  }
  100% {
    background-position: 140px 0, center;
  }
}

.self-help-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.self-help-chips button {
  background: #eef8ff;
  border: 1px solid #cbe7fb;
  border-radius: 999px;
  color: var(--brand-dark);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 8px 12px;
}

.self-help-chips button:hover {
  background: #dff7ef;
  border-color: #99dfcf;
}

.self-help-answer {
  align-items: start;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  height: 100%;
  margin-top: 20px;
}

.self-help-has-results .self-help-answer {
  margin-top: 12px;
}

.self-help-has-results .self-help-inline-results .self-help-answer {
  padding: 14px;
}

.self-help-fix-main h3 {
  color: var(--brand-dark);
}

.self-help-has-results .self-help-fix-main h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.self-help-has-results .self-help-fix-main p {
  font-size: 0.9rem;
  line-height: 1.45;
}

.self-help-has-results .self-help-fix-main ol {
  display: grid;
  gap: 7px;
  margin-bottom: 0;
  padding-left: 20px;
}

.self-help-has-results .self-help-fix-main li {
  font-size: 0.88rem;
  line-height: 1.38;
}

.self-help-side-panel {
  background:
    radial-gradient(circle at 90% 0%, rgba(243, 196, 107, 0.32), transparent 32%),
    linear-gradient(145deg, #ffffff, #f4fbf8);
  display: block;
  overflow: hidden;
  position: sticky;
  top: 102px;
}

.self-help-side-panel:empty,
.self-help-bottom-banner:empty {
  display: none;
}

.self-help-inline-results .self-help-answer {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
  padding: 18px;
}

.mini-gif-card {
  background:
    radial-gradient(circle at 26% 24%, rgba(143, 216, 255, 0.36), transparent 26%),
    linear-gradient(145deg, #101828, #064e58);
  border-radius: 8px;
  min-height: 210px;
  overflow: hidden;
  padding: 20px;
  position: relative;
}

.mini-gif-card span {
  animation: pulseBar 1.8s infinite;
  background: #dff7ef;
  border-radius: 999px;
  display: block;
  height: 16px;
  margin-bottom: 16px;
  width: 78%;
}

.mini-gif-card span:nth-child(2) {
  animation-delay: 0.22s;
  background: #8fd8ff;
  width: 58%;
}

.mini-gif-card span:nth-child(3) {
  animation-delay: 0.44s;
  background: #f3c46b;
  width: 68%;
}

.mini-gif-card strong {
  bottom: 20px;
  color: white;
  left: 20px;
  position: absolute;
  right: 20px;
}

.self-help-video-row {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  margin: 16px 0;
}

.self-help-video-row div {
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(6, 78, 88, 0.12);
  border-radius: 8px;
  display: grid;
  gap: 2px 10px;
  grid-template-columns: 42px minmax(0, 1fr);
  overflow: hidden;
  padding: 10px 12px;
}

.self-help-video-row span {
  animation: videoSweep 2.2s infinite;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.82), transparent),
    linear-gradient(135deg, #064e58, #13b9a5 55%, #f3c46b);
  border-radius: 6px;
  display: block;
  grid-row: span 2;
  height: 42px;
  margin: 0;
}

.self-help-video-row strong,
.self-help-video-row small {
  display: block;
}

.self-help-video-row strong {
  color: var(--brand-dark);
}

.self-help-video-row small {
  color: var(--muted);
  line-height: 1.35;
}

.self-help-payment-box {
  background: #ffffff;
  border: 1px solid rgba(243, 196, 107, 0.78);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 16px;
}

.self-help-pay-card h3 {
  color: var(--brand-dark);
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.self-help-has-results .self-help-pay-card h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.self-help-pay-card > p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.self-help-has-results .self-help-pay-card > p,
.self-help-has-results .self-help-pay-note {
  font-size: 0.88rem;
  line-height: 1.42;
}

.self-help-price-row {
  align-items: center;
  background: #0f3f46;
  border-radius: 8px;
  color: white;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 18px 0 12px;
  padding: 16px;
}

.self-help-has-results .self-help-price-row {
  margin: 10px 0;
  padding: 12px;
}

.self-help-price-row span,
.self-help-price-row strong {
  display: block;
}

.self-help-price-row span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.self-help-price-row strong {
  color: #f3c46b;
  font-size: 2.45rem;
  line-height: 1;
}

.self-help-has-results .self-help-price-row strong {
  font-size: 1.85rem;
}

.self-help-ready-list {
  display: grid;
  gap: 9px;
  margin: 12px 0;
}

.self-help-has-results .self-help-ready-list {
  gap: 6px;
  margin: 8px 0;
}

.self-help-ready-list div {
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 3px;
  padding: 11px 12px;
}

.self-help-has-results .self-help-ready-list div {
  padding: 8px 10px;
}

.self-help-ready-list strong,
.self-help-ready-list span {
  display: block;
}

.self-help-ready-list strong {
  color: var(--brand-dark);
}

.self-help-ready-list span {
  color: var(--muted);
  font-size: 0.88rem;
}

.self-help-pay-note {
  background: #fff8e8;
  border: 1px solid rgba(243, 196, 107, 0.72);
  border-radius: 8px;
  color: #6b4a04 !important;
  line-height: 1.45;
  margin: 12px 0;
  padding: 12px;
}

.self-help-pay-card .primary-action {
  width: 100%;
}

.self-help-payment-box span,
.self-help-payment-box strong,
.self-help-payment-box p {
  display: block;
}

.self-help-payment-box span {
  color: #7a5400;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.self-help-payment-box strong {
  color: var(--brand-dark);
  font-size: 1.8rem;
  grid-row: span 2;
}

.self-help-payment-box p {
  color: #6b4a04;
  line-height: 1.45;
  margin: 0;
}

.self-help-payment-box .primary-action {
  grid-column: 1 / -1;
  justify-self: start;
}

@keyframes pulseBar {
  0%,
  100% {
    opacity: 0.58;
    transform: scaleX(0.75);
    transform-origin: left;
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

.muted-band > * {
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
}

.visual-band {
  padding-top: 28px;
}

.picture-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.picture-grid article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.picture-grid img {
  background: #eef3f7;
  display: block;
  width: 100%;
}

.picture-grid h3,
.picture-grid p {
  padding-left: 18px;
  padding-right: 18px;
}

.picture-grid h3 {
  margin-top: 16px;
}

.picture-grid p {
  color: var(--muted);
  line-height: 1.55;
  padding-bottom: 18px;
}

.service-detail-hero,
.service-detail-body {
  margin: 0 auto;
  max-width: 1180px;
  padding: 48px clamp(18px, 4vw, 36px);
}

.service-detail-hero {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1fr);
}

.service-detail-hero img,
.service-picture-band img {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: block;
  width: 100%;
}

.service-detail-hero > div,
.service-picture-band > div,
.service-explain-grid article,
.service-flow-diagram,
.service-coverage-graphics,
.service-tools-strip {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 28px);
}

.service-detail-hero p,
.service-picture-band p,
.service-explain-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.service-explain-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-explain-grid ul {
  color: #344054;
  line-height: 1.75;
  margin: 12px 0 0;
  padding-left: 20px;
}

.service-flow-diagram {
  margin-top: 18px;
}

.service-coverage-graphics,
.service-tools-strip {
  margin-top: 18px;
}

.coverage-card-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.coverage-card-grid article {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 220px;
  padding: 18px;
}

.coverage-card-grid h4 {
  color: var(--ink);
  font-size: 1rem;
  margin: 12px 0 8px;
}

.coverage-card-grid p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.coverage-icon {
  align-items: center;
  background: var(--brand);
  border-radius: 8px;
  color: white;
  display: inline-grid;
  font-weight: 900;
  height: 48px;
  justify-content: center;
  width: 56px;
}

.tool-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tool-chip-grid button {
  background: #eef3f7;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #344054;
  font-weight: 800;
  min-height: 40px;
  padding: 9px 12px;
}

.tool-chip-grid button:hover,
.tool-chip-grid button.active {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}

.common-request-detail-wrap {
  margin-top: 18px;
}

.common-request-detail {
  align-items: start;
  background:
    linear-gradient(135deg, rgba(223, 247, 239, 0.92), rgba(229, 240, 255, 0.94)),
    radial-gradient(circle at 88% 18%, rgba(243, 196, 107, 0.55), transparent 28%);
  border: 1px solid #cfe0e7;
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 18px;
}

.detail-graphic-badge {
  align-items: center;
  background: #172033;
  border-radius: 8px;
  color: #ffffff;
  display: grid;
  font-size: 1.4rem;
  font-weight: 900;
  height: 72px;
  justify-content: center;
  width: 72px;
}

.common-request-detail p {
  color: #344054;
  line-height: 1.6;
}

.detail-point-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.detail-point-grid span {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(11, 111, 120, 0.18);
  border-radius: 8px;
  color: #172033;
  font-weight: 800;
  padding: 12px;
}

.flow-steps {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 18px;
}

.flow-steps span {
  background: #eef3f7;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #344054;
  font-weight: 900;
  min-height: 92px;
  padding: 14px;
  position: relative;
}

.flow-steps span:not(:last-child)::after {
  color: var(--brand);
  content: ">";
  font-size: 1.4rem;
  font-weight: 900;
  position: absolute;
  right: -13px;
  top: 34px;
}

.service-picture-band {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  margin-top: 18px;
}

.section-title {
  margin-bottom: 20px;
}

.section-title.compact {
  margin-bottom: 12px;
}

.merchant-safe-note,
.discount-note {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.discount-note {
  background: #fff8e8;
  border: 1px solid rgba(243, 196, 107, 0.55);
  border-radius: 8px;
  color: #76510e;
  font-weight: 800;
  margin: 8px 0 12px;
  padding: 8px 10px;
}

.old-price {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  margin-left: 6px;
  text-decoration: line-through;
}

.service-grid,
.plan-grid,
.login-grid,
.admin-grid {
  display: grid;
  gap: 16px;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.plan-grid,
.login-grid,
.admin-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.staff-login-card {
  grid-column: span 2;
}

.service-card,
.plan-card,
.panel {
  padding: 20px;
}

.service-card {
  overflow: hidden;
  position: relative;
}

.service-card::after {
  background:
    linear-gradient(135deg, rgba(11, 111, 120, 0.12), rgba(243, 196, 107, 0.16)),
    radial-gradient(circle at 30% 35%, rgba(255, 255, 255, 0.9) 0 18%, transparent 19%);
  border-radius: 999px;
  content: "";
  height: 112px;
  position: absolute;
  right: -36px;
  top: -38px;
  width: 112px;
}

.service-icon {
  align-items: center;
  border-radius: 8px;
  display: grid;
  font-size: 1.3rem;
  font-weight: 900;
  height: 44px;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  width: 44px;
}

.service-card h3,
.service-card p,
.service-card button {
  position: relative;
  z-index: 1;
}

.service-card:nth-child(1) .service-icon {
  background: var(--blue);
}

.service-card:nth-child(2) .service-icon {
  background: var(--mint);
}

.service-card:nth-child(3) .service-icon {
  background: var(--amber);
}

.service-card:nth-child(4) .service-icon {
  background: var(--rose);
}

.service-card p,
.plan-card p,
.lead,
.login-card p,
.record-detail p {
  color: var(--muted);
  line-height: 1.6;
}

.services-page-hero,
.services-overview-section,
.services-flow-section {
  margin: 0 auto;
  max-width: 1180px;
  padding: 18px clamp(18px, 4vw, 36px);
}

.services-page-hero {
  align-items: center;
  display: block;
}

.services-page-hero > div,
.services-page-hero img,
.services-flow-section {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.services-page-hero > div {
  padding: clamp(16px, 2.2vw, 24px);
}

.services-page-hero img {
  display: block;
  object-fit: cover;
  padding: 18px;
  width: 100%;
}

.services-page-hero p,
.services-page-card p,
.services-flow-section p {
  color: var(--muted);
  line-height: 1.5;
}

.services-page-hero h2 {
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  margin-bottom: 8px;
}

.services-page-hero p {
  margin-bottom: 0;
}

.services-page-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.services-page-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
  padding: 16px;
}

.services-page-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.services-page-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.services-card-points,
.services-card-tools,
.services-card-actions,
.services-flow-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.services-card-points span,
.services-card-tools small {
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 8px;
}

.services-card-points span {
  background: #eef8ff;
  color: var(--brand-dark);
}

.services-card-tools small {
  background: #f8fafc;
  border: 1px solid var(--line);
  color: var(--muted);
}

.services-card-actions {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 4px;
}

.services-card-actions .secondary-action {
  display: none;
}

.services-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.services-flow-grid article {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.services-flow-grid span {
  color: var(--brand);
  display: block;
  font-weight: 900;
  margin-bottom: 8px;
}

.learning-hero,
.learning-library-section {
  margin: 0 auto;
  max-width: 1180px;
  padding: 18px clamp(18px, 4vw, 36px);
}

.learning-hero {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  padding-top: 28px;
}

.learning-intro-card,
.learning-player-card,
.learning-video-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.learning-intro-card,
.learning-player-card {
  padding: clamp(18px, 3vw, 28px);
}

.learning-intro-card {
  display: grid;
  gap: 12px;
}

.learning-intro-card p,
.learning-player-copy p,
.learning-player-copy li,
.learning-video-card p {
  color: var(--muted);
  line-height: 1.55;
}

.learning-intro-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.55rem);
}

.learning-search {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 8px;
}

.learning-search input,
.learning-search button {
  min-height: 52px;
}

.learning-player-card {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 0.86fr);
}

.learning-player-screen {
  background: #0f2530;
  border: 1px solid #244856;
  border-radius: 8px;
  color: white;
  min-height: 360px;
  overflow: hidden;
  position: relative;
}

.learning-video-toolbar {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  gap: 8px;
  padding: 12px;
}

.learning-video-toolbar span {
  background: #f3b14f;
  border-radius: 999px;
  display: block;
  height: 10px;
  width: 10px;
}

.learning-video-toolbar span:nth-child(2) {
  background: #5fd18a;
}

.learning-video-toolbar span:nth-child(3) {
  background: #65a7ff;
}

.learning-video-toolbar strong {
  margin-left: auto;
}

.learning-animation {
  display: grid;
  grid-template-columns: 0.34fr 1fr;
  min-height: 310px;
  padding: 18px;
  position: relative;
}

.learning-guide-person {
  align-self: end;
  display: grid;
  gap: 8px;
  justify-items: center;
  z-index: 2;
}

.learning-guide-person span {
  background:
    linear-gradient(#f2c7a9 0 32%, transparent 32%),
    linear-gradient(135deg, #38bdf8, #0b6f78);
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px 22px 8px 8px;
  display: block;
  height: 110px;
  width: 72px;
}

.learning-guide-person b {
  color: #d7f9ff;
}

.learning-device-board {
  align-self: center;
  background: #f8fafc;
  border: 8px solid #22394a;
  border-radius: 8px;
  color: var(--ink);
  display: grid;
  gap: 10px;
  min-height: 230px;
  padding: 18px;
  position: relative;
}

.learning-screen-card {
  animation: learningCardPulse 6s ease-in-out infinite;
  background: white;
  border: 1px solid #dce7ef;
  border-left: 5px solid var(--brand);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(15, 37, 48, 0.13);
  font-size: 0.86rem;
  font-weight: 800;
  padding: 10px 12px;
}

.learning-screen-card.card-b {
  animation-delay: 1.2s;
  border-left-color: #f3b14f;
  margin-left: 20px;
}

.learning-screen-card.card-c {
  animation-delay: 2.4s;
  border-left-color: #5b8def;
  margin-left: 40px;
}

.learning-progress-bar {
  background: #e7edf4;
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}

.learning-progress-bar span {
  animation: learningProgress 6s linear infinite;
  background: linear-gradient(90deg, #0b6f78, #5fd18a, #f3b14f);
  display: block;
  height: 100%;
  width: 45%;
}

.learning-floating-tools {
  bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  left: 18px;
  position: absolute;
  right: 18px;
}

.learning-floating-tools span {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #e9fbff;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 7px 10px;
}

.learning-player-copy h3 {
  font-size: 1.35rem;
}

.learning-player-copy ol {
  margin: 12px 0 0;
  padding-left: 22px;
}

.learning-player-copy li {
  margin-bottom: 8px;
}

.learning-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.learning-filter-row button {
  background: white;
  border: 1px solid var(--line);
  color: #344054;
  font-weight: 900;
  padding: 9px 12px;
}

.learning-filter-row button.active,
.learning-filter-row button:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}

.learning-video-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.learning-video-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  overflow: hidden;
}

.learning-video-card.active {
  border-color: var(--brand);
  box-shadow: 0 18px 40px rgba(11, 111, 120, 0.18);
}

.learning-video-thumb {
  align-items: start;
  background:
    linear-gradient(135deg, rgba(11, 111, 120, 0.96), rgba(15, 37, 48, 0.92)),
    linear-gradient(45deg, #e5f0ff, #fff2d8);
  color: white;
  display: grid;
  min-height: 170px;
  padding: 14px;
  position: relative;
  text-align: left;
}

.learning-video-thumb strong,
.learning-video-thumb small {
  position: relative;
  z-index: 1;
}

.learning-video-thumb small {
  align-self: end;
  color: #d7f9ff;
  font-weight: 900;
}

.play-button {
  align-self: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  display: grid;
  height: 46px;
  justify-self: center;
  place-items: center;
  width: 46px;
}

.play-button::before {
  border-bottom: 9px solid transparent;
  border-left: 14px solid white;
  border-top: 9px solid transparent;
  content: "";
  margin-left: 4px;
}

.learning-video-body {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.learning-video-body > span {
  color: var(--brand-dark);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.learning-video-body h3 {
  font-size: 1rem;
  margin-bottom: 0;
}

.learning-video-body p {
  font-size: 0.86rem;
  margin-bottom: 0;
}

.learning-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.learning-tags small {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #667085;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 7px;
}

@keyframes learningCardPulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes learningProgress {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(230%);
  }
}

.price {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  margin: 10px 0;
}

.workspace,
.dashboard-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: 360px minmax(0, 1fr);
}

.support-chat-only {
  grid-template-columns: 1fr;
  max-width: 1200px;
  padding-bottom: 16px;
  padding-top: 16px;
  width: 100%;
}

.crm-overview {
  display: block;
  margin: 0;
  max-width: none;
  padding: 0;
}

.crm-tabs-shell {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  gap: 0 18px;
  grid-template-columns: 238px minmax(0, 1fr);
  margin: 18px auto 0;
  max-width: 1180px;
}

.backpanel-top-tickets {
  margin: 18px auto 0;
  max-width: 1180px;
  padding: 0 clamp(18px, 4vw, 36px);
}

.backpanel-ticket-board {
  background: white;
  border: 1px solid var(--line);
  display: grid;
  gap: 10px;
  padding: 12px;
}

.backpanel-ticket-heading,
.empty-ticket-board {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.backpanel-ticket-heading h2,
.empty-ticket-board h2 {
  color: var(--brand-dark);
  font-size: 1.2rem;
  margin: 0;
}

.top-ticket-sheet {
  max-height: 260px;
}

.top-ticket-sheet table {
  min-width: 1120px;
}

.crm-tabs-header {
  align-items: center;
  background: transparent;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 16px;
  grid-column: 1 / -1;
  justify-content: space-between;
  padding: 18px 20px;
}

.crm-tabs-header:has(.crm-search) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px) auto auto;
}

.crm-tabs-header h2 {
  margin-bottom: 0;
}

.crm-search {
  min-height: 40px;
}

.table-filter-bar {
  align-items: end;
  background: #f8fafc;
  border: 1px solid var(--line);
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-bottom: 10px;
  padding: 10px;
}

.table-filter-bar label {
  font-size: 0.78rem;
  gap: 5px;
}

.table-filter-bar input,
.table-filter-bar select {
  min-height: 36px;
  padding: 7px 9px;
}

.crm-tabs {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 4px;
  padding: 10px;
  align-self: start;
}

.crm-tabs button {
  background: white;
  border-radius: 8px;
  border: 1px solid transparent;
  color: #475467;
  font-weight: 900;
  justify-content: flex-start;
  min-height: 48px;
  padding: 12px 16px;
  text-align: left;
  width: 100%;
}

.crm-tabs button.active {
  background: #eef3f7;
  border-color: #c9dce4;
  box-shadow: inset 4px 0 0 var(--brand);
  color: var(--brand-dark);
}

.crm-tab-panel {
  display: none;
  grid-column: 2;
  padding: 0;
  min-width: 0;
}

.crm-tab-panel.active {
  display: block;
}

.crm-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  min-height: 132px;
  padding: 18px;
}

.crm-card span,
.crm-detail-header span {
  color: var(--muted);
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.crm-card strong {
  color: var(--ink);
  display: block;
  font-size: 1.42rem;
  line-height: 1.1;
}

.crm-card p {
  color: var(--muted);
  line-height: 1.5;
  margin: 8px 0 0;
}

.crm-sheet {
  background: white;
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  grid-column: 1 / -1;
  overflow: auto;
}

.report-note {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  margin: 0;
  padding: 0 12px 10px;
}

.monthly-report-sheet {
  margin-top: 14px;
}

.report-title-bar {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.report-title-bar .secondary-action {
  min-height: 34px;
  padding: 6px 10px;
}

.ticket-priority-top {
  border: 1px solid var(--line);
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
  padding: 12px;
}

.ticket-priority-top strong,
.ticket-priority-top span,
.ticket-priority-top small {
  display: block;
}

.ticket-priority-top strong {
  font-size: 0.8rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ticket-priority-top span {
  color: var(--ink);
  font-weight: 900;
}

.ticket-priority-top small {
  color: var(--muted);
}

.priority-pill {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 5px 9px;
}

.ticket-update-controls {
  display: grid;
  gap: 6px;
  grid-template-columns: minmax(96px, 1fr) minmax(92px, 1fr);
  min-width: 210px;
}

.ticket-action-select {
  font-size: 0.8rem;
  min-height: 34px;
  padding: 5px 7px;
}

.ticket-priority-top.priority-urgent,
.priority-pill.priority-urgent {
  background: #ffe4e6;
  border-color: #fda4af;
  color: #9f1239;
}

.ticket-priority-top.priority-high,
.priority-pill.priority-high {
  background: #fff1d6;
  border-color: #f3c46b;
  color: #7a4b00;
}

.ticket-priority-top.priority-normal,
.priority-pill.priority-normal,
.ticket-priority-top.priority-low,
.priority-pill.priority-low {
  background: #eaf2ff;
  border-color: #b9d2ff;
  color: #1d4ed8;
}

tr.priority-urgent td {
  background: #fff1f2;
}

tr.priority-high td {
  background: #fff8e8;
}

tr.priority-normal td,
tr.priority-low td {
  background: #f5f9ff;
}

.customer-profile-strip {
  background: linear-gradient(135deg, #064e58, #0b6f78);
  color: white;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 14px;
  overflow: hidden;
}

.customer-profile-strip div {
  background: rgba(255, 255, 255, 0.08);
  padding: 16px;
}

.customer-profile-strip span,
.customer-profile-strip strong {
  display: block;
}

.customer-profile-strip span {
  color: #b8fff0;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.customer-profile-strip strong {
  font-size: 1.12rem;
  line-height: 1.2;
}

.empty-profile {
  background: #344054;
}

.customer-profile-panel {
  align-items: center;
  background: linear-gradient(135deg, #064e58, #0b6f78);
  color: white;
  display: grid;
  gap: 18px;
  grid-template-columns: auto minmax(180px, 0.8fr) minmax(0, 1.6fr);
  padding: clamp(18px, 3vw, 28px);
}

.customer-overview-banner {
  margin: 34px auto 0;
  max-width: 1180px;
}

.customer-overview-banner + .crm-tabs-shell {
  margin-top: 16px;
}

.customer-avatar-large {
  align-items: center;
  background: white;
  border-radius: 50%;
  color: var(--brand-dark);
  display: grid;
  font-size: 1.25rem;
  font-weight: 1000;
  height: 76px;
  justify-content: center;
  width: 76px;
}

.customer-profile-main h2,
.customer-profile-main p {
  margin-bottom: 0;
}

.customer-profile-main .eyebrow {
  color: #b8fff0;
}

.customer-profile-main p {
  color: #d9fff7;
  line-height: 1.5;
}

.customer-profile-details {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.customer-profile-details div {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 12px;
}

.customer-profile-details span,
.customer-profile-details strong {
  display: block;
}

.customer-profile-details span {
  color: #b8fff0;
  font-size: 0.72rem;
  font-weight: 900;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.customer-profile-details strong {
  font-size: 0.96rem;
  overflow-wrap: anywhere;
}

.sheet-title {
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 900;
  padding: 12px 14px;
}

.crm-sheet table {
  border-collapse: collapse;
  min-width: 860px;
  width: 100%;
}

.compact-sheet table {
  min-width: 720px;
}

.crm-sheet th,
.crm-sheet td {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}

.crm-sheet th {
  background: #eef3f7;
  color: #344054;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.crm-sheet td {
  color: #263244;
  font-size: 0.9rem;
}

.crm-sheet tr:hover td {
  background: #f8fbff;
}

.crm-sheet th:last-child,
.crm-sheet td:last-child {
  border-right: 0;
}

.crm-sheet tr:last-child td {
  border-bottom: 0;
}

.sheet-status {
  background: var(--mint);
  border: 1px solid #a9ded0;
  border-radius: 999px;
  color: #075849;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 5px 8px;
}

.pdf-toolbar {
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  display: grid;
  gap: 14px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  margin-bottom: 14px;
  padding: 14px;
}

.pdf-toolbar h3,
.pdf-toolbar p {
  margin: 0;
}

.pdf-toolbar p {
  color: var(--muted);
  line-height: 1.5;
  margin-top: 4px;
}

.pdf-icon {
  align-items: end;
  background: #fff;
  border: 2px solid #d92d20;
  color: #d92d20;
  display: grid;
  font-size: 0.78rem;
  font-weight: 1000;
  height: 58px;
  justify-content: center;
  padding-bottom: 7px;
  position: relative;
  width: 46px;
}

.pdf-icon::before {
  border-left: 13px solid transparent;
  border-top: 13px solid #ffd7d3;
  content: "";
  position: absolute;
  right: -2px;
  top: -2px;
}

.appointment-sheet {
  margin-top: 14px;
}

.direct-chat-panel {
  background: white;
  border: 1px solid var(--line);
}

.floating-chat-popup {
  bottom: 86px;
  display: none;
  max-width: calc(100vw - 28px);
  position: fixed;
  right: 22px;
  width: 560px;
  z-index: 46;
}

.floating-chat-popup.active {
  display: block;
}

.floating-chat-popup .direct-chat-panel {
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
  overflow: hidden;
}

.floating-chat-popup .direct-chat-log {
  max-height: 470px;
  min-height: 360px;
}

.floating-chat-popup .direct-chat-header {
  padding: 13px 14px;
}

.floating-chat-popup .direct-chat-header h3 {
  font-size: 1rem;
}

.floating-chat-popup .direct-message {
  max-width: 92%;
}

.direct-chat-header {
  align-items: center;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 16px;
}

.direct-chat-header h3 {
  margin-bottom: 0;
}

.direct-chat-header-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.direct-chat-close {
  min-height: 34px;
  padding: 6px 10px;
}

.direct-chat-log {
  background:
    radial-gradient(circle at 8% 0%, rgba(20, 184, 166, 0.09), transparent 28%),
    linear-gradient(180deg, #f8fafc, #eef7f7);
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 460px;
  min-height: 380px;
  overflow: auto;
  padding: 16px;
}

.direct-message {
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.45;
  max-width: min(680px, 86%);
  padding: 12px 14px;
}

.direct-message strong {
  display: block;
  font-size: 0.76rem;
  margin-bottom: 5px;
}

.direct-message p {
  margin: 0;
}

.direct-message.customer {
  align-self: flex-end;
  background: #fff2d8;
}

.direct-message.agent {
  align-self: flex-start;
  background: #dff7ef;
}

.direct-message.ai {
  align-self: flex-start;
  background: #eaf2ff;
}

.direct-chat-compose {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 14px;
}

.wide-crm-card,
.crm-chart-card {
  grid-column: 1 / -1;
}

.bar-chart {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.bar-row {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 120px minmax(0, 1fr) 34px;
}

.bar-row span {
  margin: 0;
  text-transform: none;
}

.bar-row div {
  background: #e8eef6;
  border-radius: 999px;
  height: 12px;
  overflow: hidden;
}

.bar-row i {
  background: linear-gradient(90deg, var(--brand), #f3c46b);
  border-radius: inherit;
  display: block;
  height: 100%;
}

.bar-row b {
  font-size: 0.9rem;
  text-align: right;
}

.crm-detail-header {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.crm-detail-header h3 {
  margin: 0;
}

.crm-section-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.crm-info-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.customer-chatbot-fab {
  align-items: center;
  background: var(--brand);
  border-radius: 999px;
  bottom: 22px;
  box-shadow: 0 16px 34px rgba(6, 78, 88, 0.32);
  color: white;
  display: inline-flex;
  font-weight: 900;
  gap: 8px;
  min-height: 48px;
  padding: 12px 18px;
  position: fixed;
  right: 22px;
  z-index: 45;
}

.admin-chatbot-fab {
  right: 22px;
}

.agent-chatbot-fab {
  right: 22px;
}

.crm-sheet input,
.crm-sheet select {
  min-width: 130px;
}

.customer-chatbot-fab span {
  background: white;
  border-radius: 50%;
  display: inline-block;
  height: 15px;
  position: relative;
  width: 18px;
}

.customer-chatbot-fab span::after {
  border-left: 5px solid transparent;
  border-top: 6px solid white;
  bottom: -4px;
  content: "";
  position: absolute;
  right: 2px;
}

.chat-shell {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: auto minmax(220px, 1fr) auto auto auto auto;
  height: clamp(620px, calc(100vh - 116px), 820px);
  height: clamp(620px, calc(100dvh - 116px), 820px);
  min-height: 0;
  overflow: hidden;
}

.chat-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 18px 20px;
}

.status-pill,
.tag {
  background: var(--amber);
  border: 1px solid #edd294;
  border-radius: 999px;
  color: #7a4b00;
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 800;
  padding: 6px 10px;
}

.status-pill.paid,
.tag.approved {
  background: var(--mint);
  border-color: #a9ded0;
  color: #075849;
}

.tag.pending {
  background: var(--amber);
}

.chat-log {
  background:
    radial-gradient(circle at 8% 0%, rgba(20, 184, 166, 0.09), transparent 28%),
    linear-gradient(180deg, #f8fafc, #eef7f7);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  overflow: auto;
  padding: 18px;
}

.bubble {
  border-radius: 8px;
  font-size: 0.92rem;
  line-height: 1.48;
  max-width: 78%;
  padding: 12px 14px;
}

.bubble.ai {
  align-self: flex-start;
  background: #eaf2ff;
}

.bubble.customer {
  align-self: flex-end;
  background: #fff2d8;
}

.bubble.agent {
  align-self: flex-start;
  background: #dff7ef;
}

.chat-compose {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr auto;
  padding: 14px;
}

.chat-payment-plugin {
  background: #f8fafc;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  padding: 12px 14px;
}

.chat-payment-plugin strong,
.chat-payment-plugin span {
  display: block;
}

.chat-payment-plugin span,
.chat-plan-history {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 3px 0 0;
}

.chat-initial-payment {
  align-items: center;
  background: #fff8e8;
  border: 1px solid #f3c46b;
  border-radius: 8px;
  display: grid;
  gap: 6px 12px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 10px;
}

.chat-initial-payment strong {
  color: var(--brand-dark);
  font-size: 1.35rem;
}

.chat-initial-payment span {
  color: #7a5400;
  font-size: 0.78rem;
  font-weight: 900;
  grid-column: 1 / -1;
  margin: 0;
}

.chat-initial-payment p {
  color: #6b4a04;
  line-height: 1.4;
  margin: 0;
}

.chat-initial-payment .primary-action {
  min-height: 36px;
  padding: 8px 12px;
}

.chat-plan-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chat-plan-buttons .secondary-action {
  min-height: 36px;
  padding: 8px 10px;
}

.crm-status-select {
  min-width: 142px;
}

.search-result-sheet {
  margin-bottom: 14px;
}

input,
select,
textarea {
  background: #fff;
  border: 1px solid #cfd7e3;
  border-radius: 8px;
  color: var(--ink);
  min-height: 42px;
  padding: 10px 12px;
  width: 100%;
}

textarea {
  min-height: 104px;
  resize: vertical;
}

label {
  color: #344054;
  display: grid;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 7px;
}

.form-stack,
.form-grid {
  display: grid;
  gap: 14px;
}

.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wide {
  grid-column: 1 / -1;
}

.checkbox-line {
  align-items: start;
  display: grid;
  font-weight: 700;
  gap: 10px;
  grid-template-columns: auto 1fr;
}

.checkbox-line input {
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
  width: 18px;
}

.record-list {
  display: grid;
  gap: 10px;
}

.record-item {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.record-item strong,
.record-item span {
  display: block;
}

.record-item span {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

.record-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.record-detail {
  background: transparent;
  border: 0;
  border-radius: 0;
  min-height: 360px;
  padding: 0;
}

.detail-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.detail-tile {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.detail-tile span {
  color: var(--muted);
  display: block;
  font-size: 0.82rem;
  margin-bottom: 4px;
}

.appointment-form {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 18px;
}

.staff-logout {
  margin: 0 0 14px;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.feature-list span {
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
}

.text-page {
  font-size: 1.05rem;
  line-height: 1.75;
}

.about-page {
  display: grid;
  gap: 26px;
}

.about-hero,
.about-section {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 34px);
}

.about-hero p,
.about-section p {
  color: var(--muted);
}

.about-service-grid,
.experience-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.about-card,
.experience-card {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.about-card h3,
.experience-card strong {
  color: var(--ink);
}

.experience-card strong {
  display: block;
  font-size: 1.04rem;
  margin-bottom: 8px;
}

.process-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.process-list span {
  background: #eef3f7;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #344054;
  font-weight: 800;
  padding: 12px 14px;
}

.legal-page {
  display: grid;
  gap: 22px;
}

.legal-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.legal-grid article {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.legal-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  background:
    linear-gradient(135deg, #101828, #12333c),
    radial-gradient(circle at 90% 10%, rgba(243, 196, 107, 0.18), transparent 34%);
  color: white;
  margin-top: 24px;
  padding: 22px clamp(16px, 3vw, 28px) 18px;
}

.footer-inner {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(220px, 1.1fr) minmax(140px, 0.65fr) minmax(160px, 0.75fr) minmax(250px, 0.9fr);
  margin: 0 auto;
  max-width: 1180px;
}

.footer-brand {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-brand .brand-mark {
  height: 34px;
  width: 34px;
}

.site-footer strong {
  font-size: 0.95rem;
}

.footer-brand small,
.footer-contact span {
  color: #cbd5e1;
  display: block;
  font-size: 0.8rem;
}

.footer-contact {
  display: grid;
  gap: 4px;
  margin-top: 8px;
}

.site-footer p {
  color: #cbd5e1;
  font-size: 0.84rem;
  line-height: 1.45;
  margin: 6px 0 10px;
}

.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #d8e2ef;
  font-size: 0.78rem;
  margin: 14px auto 0;
  max-width: 1180px;
  padding-top: 10px;
}

.footer-links,
.accepted-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.footer-links.stacked {
  display: grid;
  gap: 5px;
  margin-top: 8px;
}

.footer-links a {
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 6px 8px;
}

.footer-links a {
  background: rgba(255, 255, 255, 0.08);
  color: #e5eefb;
}

.footer-links a:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.footer-payment-block strong {
  display: block;
  margin-bottom: 8px;
}

.payment-card {
  background: linear-gradient(135deg, #ffffff, #dfe7f2);
  border: 1px solid #d8e2ef;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  display: block;
  height: 42px;
  overflow: hidden;
  position: relative;
  width: 74px;
}

.payment-card::before,
.payment-card::after {
  content: "";
  position: absolute;
}

.payment-card::before {
  background: rgba(255, 255, 255, 0.55);
  height: 7px;
  left: 9px;
  right: 9px;
  top: 9px;
}

.payment-card::after {
  background: rgba(16, 24, 40, 0.2);
  border-radius: 999px;
  bottom: 9px;
  height: 5px;
  left: 9px;
  width: 30px;
}

.payment-card i,
.payment-card b,
.payment-card em {
  display: block;
  position: absolute;
}

.payment-card em {
  color: #111827;
  font-size: 0.55rem;
  font-style: normal;
  font-weight: 900;
  left: 9px;
  line-height: 1;
  max-width: 56px;
  overflow: hidden;
  text-transform: uppercase;
  top: 24px;
  white-space: nowrap;
  z-index: 2;
}

.payment-card.visa {
  background: linear-gradient(135deg, #1a4fb8, #f4f7ff);
}

.payment-card.visa em,
.payment-card.amex em {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
}

.payment-card.visa i {
  background: #f3c46b;
  bottom: 9px;
  height: 8px;
  right: 9px;
  transform: skewX(-18deg);
  width: 26px;
}

.payment-card.mastercard {
  background: linear-gradient(135deg, #ffffff, #f4efe8);
}

.payment-card.mastercard i,
.payment-card.mastercard b {
  border-radius: 50%;
  bottom: 8px;
  height: 18px;
  width: 18px;
}

.payment-card.mastercard i {
  background: #e63d2e;
  right: 23px;
}

.payment-card.mastercard b {
  background: #f2a900;
  right: 10px;
}

.payment-card.amex {
  background: linear-gradient(135deg, #208bd7, #0c4f88);
}

.payment-card.amex i {
  background: rgba(255, 255, 255, 0.85);
  bottom: 8px;
  height: 10px;
  right: 9px;
  width: 32px;
}

.payment-card.discover {
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 48%, #f58220 49%, #f8ba63 100%);
}

.payment-card.discover i {
  background: #172033;
  bottom: 10px;
  height: 6px;
  right: 9px;
  width: 32px;
}

.payment-card.bank {
  background: linear-gradient(135deg, #dff7ef, #ffffff);
}

.payment-card.bank i {
  border-bottom: 15px solid #0b6f78;
  border-left: 22px solid transparent;
  border-right: 22px solid transparent;
  height: 0;
  left: 15px;
  top: 13px;
  width: 0;
}

.payment-card.wallet {
  background: linear-gradient(135deg, #fff2d8, #ffffff);
}

.payment-card.wallet i {
  background: #8a5a00;
  border-radius: 8px;
  bottom: 8px;
  height: 18px;
  right: 9px;
  width: 34px;
}

.contact-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: 0.8fr 1fr;
}

.toast {
  background: #111827;
  border-radius: 8px;
  bottom: 20px;
  color: white;
  left: 50%;
  max-width: min(520px, calc(100vw - 32px));
  opacity: 0;
  padding: 12px 16px;
  position: fixed;
  transform: translate(-50%, 16px);
  transition: 0.24s ease;
  z-index: 50;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.backoffice-agent-fab {
  align-items: center;
  background: linear-gradient(135deg, #0f172a, #0b6f78);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  bottom: 94px;
  box-shadow: var(--shadow);
  color: white;
  display: inline-flex;
  font-weight: 900;
  gap: 10px;
  min-height: 50px;
  padding: 10px 16px 10px 10px;
  position: fixed;
  right: 22px;
  z-index: 58;
}

.backoffice-agent-fab span {
  align-items: center;
  background: #f3c46b;
  border-radius: 50%;
  color: #1f2937;
  display: inline-flex;
  font-size: 0.78rem;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.backoffice-agent-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  bottom: 154px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: auto minmax(220px, 1fr) auto;
  max-height: min(620px, calc(100vh - 180px));
  overflow: hidden;
  position: fixed;
  right: 22px;
  width: min(460px, calc(100vw - 32px));
  z-index: 59;
}

.backoffice-agent-fab.hide,
.backoffice-agent-panel.hide {
  display: none;
}

.backoffice-agent-header {
  align-items: center;
  background:
    radial-gradient(circle at 18% 0%, rgba(243, 196, 107, 0.25), transparent 34%),
    linear-gradient(135deg, #0f172a, #064e58);
  color: white;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
}

.backoffice-agent-header .eyebrow {
  color: #b8fff0;
  margin-bottom: 4px;
}

.backoffice-agent-header h3 {
  font-size: 1.08rem;
  margin: 0;
}

.backoffice-agent-log {
  background:
    radial-gradient(circle at 8% 0%, rgba(20, 184, 166, 0.08), transparent 28%),
    linear-gradient(180deg, #f8fafc, #eef7f7);
  display: flex;
  flex-direction: column;
  gap: 9px;
  overflow: auto;
  padding: 14px;
}

.backoffice-agent-message {
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.45;
  max-width: 88%;
  padding: 10px 12px;
}

.backoffice-agent-message.agent {
  align-self: flex-start;
  background: #eaf2ff;
}

.backoffice-agent-message.user {
  align-self: flex-end;
  background: #fff2d8;
}

.backoffice-agent-compose {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 9px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 12px;
}

.cookie-banner {
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  bottom: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) auto;
  left: 18px;
  max-width: 720px;
  padding: 16px;
  position: fixed;
  right: 18px;
  z-index: 60;
}

.cookie-banner.hide {
  display: none;
}

.cookie-banner p {
  color: var(--muted);
  line-height: 1.5;
  margin: 4px 0 0;
}

.modal-backdrop {
  align-items: center;
  background: rgba(17, 24, 39, 0.68);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 18px;
  position: fixed;
  z-index: 80;
}

.modal-backdrop.active {
  display: flex;
}

.modal-panel {
  background: white;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  max-height: calc(100vh - 36px);
  max-width: 920px;
  overflow: auto;
  padding: 22px;
  width: 100%;
}

.modal-header {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
}

.document-preview {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.payment-panel {
  max-width: 760px;
}

.payment-page-layout {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  margin: 0 auto;
  max-width: 1180px;
  padding: 48px clamp(18px, 4vw, 36px);
}

.payment-page-intro,
.payment-page-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 28px);
}

.payment-page-intro p {
  color: var(--muted);
  line-height: 1.65;
}

.merchant-disclosure {
  background: #eef8ff;
  border: 1px solid #cbe7fb;
  border-radius: 8px;
  margin-top: 14px;
  padding: 14px;
}

.merchant-disclosure strong,
.merchant-disclosure span {
  display: block;
}

.merchant-disclosure strong {
  color: var(--brand-dark);
  margin-bottom: 4px;
}

.merchant-disclosure span {
  color: var(--muted);
  line-height: 1.5;
}

.product-back-office-shell {
  padding: 0 clamp(18px, 4vw, 36px) 48px;
}

.payment-summary {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 16px;
  padding: 16px;
}

.payment-total {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 12px;
}

.payment-total span,
.payment-total strong,
.payment-lines span,
.payment-lines strong {
  display: block;
}

.payment-total span,
.payment-lines span {
  color: var(--muted);
  font-size: 0.86rem;
}

.payment-total strong {
  font-size: 1.6rem;
}

.payment-lines {
  display: grid;
  gap: 8px;
}

.payment-lines p {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0;
}

.payment-form {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.invoice-document {
  background: white;
  border: 1px solid #cfd7e3;
  border-radius: 8px;
  color: var(--ink);
  padding: 22px;
}

.invoice-top {
  align-items: start;
  border-bottom: 2px solid var(--brand);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
}

.invoice-top strong,
.invoice-top span {
  display: block;
}

.invoice-top span {
  color: var(--muted);
}

.terms-list {
  color: #344054;
  line-height: 1.55;
  padding-left: 22px;
}

.terms-list li {
  margin-bottom: 8px;
}

.signature-box {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
  padding-top: 16px;
}

.signature-box div {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.signature-box span,
.signature-box strong {
  display: block;
}

.signature-box span {
  color: var(--muted);
  font-size: 0.82rem;
}

.signature-form {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding-top: 16px;
}

.empty-state {
  border: 1px dashed #b8c1d0;
  border-radius: 8px;
  color: var(--muted);
  padding: 24px;
  text-align: center;
}

@media (max-width: 1040px) {
  .site-header {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero,
  .home-help-strip,
  .why-fixgpt-section,
  .workspace,
  .dashboard-layout,
  .contact-layout,
  .page-banner,
  .registration-layout,
  .self-help-hero,
  .self-help-answer,
  .payment-page-layout,
  .product-checkout-panel,
  .service-detail-hero,
  .service-picture-band,
  .services-page-hero,
  .learning-hero,
  .learning-player-card,
  .services-page-grid,
  .services-flow-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    position: static;
  }

  .home-issue-search {
    grid-template-columns: 1fr;
  }

  .home-chat-popup {
    bottom: 14px;
    left: 14px;
    right: 14px;
    width: auto;
  }

  .home-chat-log {
    max-height: 320px;
  }

  .registration-layout > div,
  .registration-layout form,
  .registration-photo {
    grid-column: auto;
    grid-row: auto;
  }

  .registration-photo {
    min-height: 320px;
  }

  .service-grid,
  .plan-grid,
  .login-grid,
  .admin-grid,
  .picture-grid,
  .coverage-card-grid,
    .graphic-map-grid,
    .product-grid,
    .learning-video-grid,
    .services-page-grid,
    .crm-overview,
    .footer-inner {
      grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .staff-login-card {
    grid-column: auto;
  }

  .footer-payment-block {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .main-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .service-grid,
  .plan-grid,
  .login-grid,
  .admin-grid,
  .form-grid,
  .detail-grid,
  .about-service-grid,
  .service-explain-grid,
  .coverage-card-grid,
  .experience-grid,
  .process-list,
  .signature-box,
  .picture-grid,
  .graphic-map-grid,
  .product-grid,
  .services-page-grid,
  .services-flow-grid,
  .learning-video-grid,
  .learning-player-card,
  .legal-grid,
  .crm-overview,
  .crm-section-grid,
  .customer-profile-strip,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .direct-chat-compose,
  .pdf-toolbar,
  .self-help-search,
  .home-help-search,
  .learning-search,
  .learning-video-card,
  .learning-animation,
  .self-help-video-row,
  .service-window-points,
  .self-help-payment-box {
    grid-template-columns: 1fr;
  }

  .self-help-search input,
  .self-help-search .primary-action {
    min-height: 56px;
  }

  .self-help-payment-box strong {
    grid-row: auto;
  }

  .self-help-animation {
    align-items: stretch;
    flex-direction: column;
  }

  .animated-device,
  .ai-video-stack {
    width: 100%;
  }

  .ai-video-stack {
    max-width: none;
  }

  .customer-profile-panel,
  .customer-profile-details,
  .flow-steps,
  .learning-hero,
  .crm-tabs-header,
  .crm-tabs-shell,
  .common-request-detail,
  .detail-point-grid,
  .self-help-bottom-banner,
  .self-help-answer {
    grid-template-columns: 1fr;
  }

  .self-help-side-panel {
    position: static;
  }

  .crm-tab-panel,
  .crm-tabs-header {
    grid-column: auto;
  }

  .flow-steps span:not(:last-child)::after {
    content: "";
  }

  .floating-chat-popup {
    bottom: 82px;
    left: 14px;
    right: 14px;
    width: auto;
  }

  .bar-row {
    grid-template-columns: 1fr;
  }

  .service-tab-menu {
    left: 0;
    transform: none;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .holiday-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .payment-total,
  .payment-lines p {
    align-items: flex-start;
    flex-direction: column;
  }

  .chat-compose {
    grid-template-columns: 1fr;
  }

  .chat-initial-payment {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .home-chat-compose {
    grid-template-columns: 1fr;
  }

  .bubble {
    max-width: 100%;
  }

  .signal-panel,
  .chat-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  body {
    overflow-x: hidden;
  }

  .site-header {
    gap: 10px;
    min-height: auto;
    padding: 10px 12px;
  }

  .brand {
    width: 100%;
  }

  .brand-mark {
    height: 36px;
    width: 36px;
  }

  .brand small {
    font-size: 0.7rem;
  }

  .main-nav {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .main-nav a {
    font-size: 0.78rem;
    min-height: 38px;
    min-width: 0;
    padding: 8px 6px;
  }

  .site-header > .primary-action {
    min-height: 40px;
    width: 100%;
  }

  .home-help-strip,
  .hero,
  .content-band,
  .narrow-page,
  .registration-layout,
  .text-page,
  .contact-layout,
  .backpanel-top-tickets,
  .workspace,
  .dashboard-layout,
  .services-page-hero,
  .services-overview-section,
  .services-flow-section,
  .learning-hero,
  .learning-library-section,
  .self-help-hero,
  .payment-page-layout,
  .product-back-office-shell {
    padding-left: 12px;
    padding-right: 12px;
  }

  .home-help-strip {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .home-help-strip h2,
  .hero h1,
  .section-title h2,
  .why-copy h2,
  .services-page-hero h2,
  .learning-intro-card h2,
  .self-help-hero h2 {
    overflow-wrap: anywhere;
  }

  .hero {
    gap: 18px;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 18vw, 4rem);
  }

  .hero-actions,
  .services-card-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions button,
  .services-card-actions button {
    width: 100%;
  }

  .home-chat-log {
    max-height: 260px;
    min-height: 220px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .service-card,
  .plan-card,
  .panel,
  .why-copy,
  .ai-explainer-card,
  .services-page-card,
  .learning-intro-card,
  .learning-player-card,
  .learning-video-body,
  .self-help-hero > div:first-child,
  .self-help-side-panel,
  .self-help-bottom-banner {
    padding: 16px;
  }

  .ai-explainer-screen {
    min-height: 330px;
  }

  .video-stage {
    height: 270px;
  }

  .character span {
    height: 62px;
    width: 48px;
  }

  .service-orbit {
    height: 132px;
    top: 104px;
    width: 132px;
  }

  .service-orbit span:nth-child(1) {
    left: 47px;
  }

  .service-orbit span:nth-child(2) {
    top: 47px;
  }

  .service-orbit span:nth-child(3) {
    left: 47px;
  }

  .service-orbit span:nth-child(4) {
    top: 47px;
  }

  .chat-shell {
    height: calc(100vh - 132px);
    height: calc(100dvh - 132px);
    min-height: 520px;
  }

  .chat-log {
    min-height: 0;
    padding: 12px;
  }

  .bubble,
  .home-chat-bubble {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .chat-payment-plugin {
    padding: 10px;
  }

  .backoffice-agent-fab {
    bottom: 84px;
    right: 12px;
  }

  .backoffice-agent-panel {
    bottom: 144px;
    left: 12px;
    max-height: calc(100vh - 164px);
    right: 12px;
    width: auto;
  }

  .chat-plan-buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .chat-plan-buttons button {
    width: 100%;
  }

  .self-help-price-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .self-help-price-row strong {
    font-size: 2rem;
  }

  .self-help-bottom-banner .mini-gif-card {
    min-height: 150px;
  }

  .services-flow-grid article,
  .graphic-map-grid article,
  .coverage-card-grid article {
    min-width: 0;
  }

  .crm-tabs-shell {
    margin-left: 12px;
    margin-right: 12px;
  }

  .crm-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .crm-tabs button {
    width: 100%;
  }

  .crm-sheet {
    -webkit-overflow-scrolling: touch;
  }

  .crm-sheet table,
  .compact-sheet table {
    min-width: 620px;
  }

  .customer-profile-details {
    grid-template-columns: 1fr;
  }

  .accepted-payments {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .payment-card {
    min-height: 48px;
  }

  .modal-backdrop {
    align-items: stretch;
    padding: 10px;
  }

  .modal-panel {
    max-height: calc(100vh - 20px);
    padding: 14px;
  }

  .invoice-top,
  .modal-header {
    flex-direction: column;
  }

  .floating-chat-popup {
    bottom: 70px;
    left: 10px;
    right: 10px;
  }
}
