:root {
  --accent: #ea580c;
  --accent-dark: #c2410c;
  --accent-soft: #fff7ed;
  --accent-mid: #fb923c;
  --sidebar: #7c2d12;
  --ink: #0f172a;
  --muted: #64748b;
  --line: rgba(255, 255, 255, 0.45);
  --bg: rgba(255, 255, 255, 0.72);
  --bg-soft: rgba(255, 247, 237, 0.65);
  --shadow: 0 24px 60px rgba(234, 88, 12, 0.12);
  --radius: 16px;
  --font: "Plus Jakarta Sans", sans-serif;
  --glass-bg: rgba(255, 255, 255, 0.42);
  --glass-bg-strong: rgba(255, 255, 255, 0.62);
  --glass-border: rgba(255, 255, 255, 0.72);
  --glass-border-soft: rgba(255, 255, 255, 0.45);
  --glass-blur: blur(22px) saturate(185%);
  --glass-shadow: 0 8px 32px rgba(234, 88, 12, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  --glass-shadow-hover: 0 16px 40px rgba(234, 88, 12, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: linear-gradient(165deg, #fffaf5 0%, #fff7ed 42%, #ffedd5 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  animation: liquid-drift 20s ease-in-out infinite;
}

body::before {
  width: 440px;
  height: 440px;
  top: -140px;
  left: -100px;
  background: rgba(251, 146, 60, 0.32);
}

body::after {
  width: 400px;
  height: 400px;
  right: -80px;
  bottom: -120px;
  background: rgba(253, 186, 116, 0.38);
  animation-delay: -10s;
}

.header,
main,
.footer,
.login-page,
.app-page {
  position: relative;
  z-index: 1;
}

@keyframes liquid-drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(2.5%, -2.5%) scale(1.06);
  }
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border-soft);
  box-shadow: var(--glass-shadow);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(124, 45, 18, 0.04);
}

.header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 72px;
  gap: 0.75rem 1rem;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  justify-self: end;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.75rem 1.25rem 1.15rem;
  border-top: 1px solid var(--glass-border-soft);
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav__link {
  font-weight: 700;
  color: var(--ink);
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-soft);
}

.mobile-nav__link:hover {
  color: var(--accent);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  justify-self: center;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.header__nav::-webkit-scrollbar {
  display: none;
}

.header__link {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--muted);
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.header__link:hover {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.header__link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.22rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.lang-switch__btn img {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
}

.lang-switch__btn:hover {
  color: var(--accent);
}

.lang-switch__btn.is-active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 14px rgba(234, 88, 12, 0.25);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  justify-self: start;
  min-width: max-content;
}

.logo__mark {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  border-radius: 14px;
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
}

.logo__mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 48%);
  pointer-events: none;
}

.logo__mark--sm {
  width: 32px;
  height: 32px;
  font-size: 1.05rem;
  border-radius: 10px;
}

.logo__mark--light {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 8px 24px rgba(0, 0, 0, 0.12);
}

.logo__mark--on-dark {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.logo__img {
  display: block;
  height: 36px;
  width: auto;
  max-width: none;
  flex-shrink: 0;
}

.logo__mark {
  width: 36px;
  height: 36px;
  color: var(--accent);
  display: grid;
  place-items: center;
}

.logo__mark svg {
  width: 100%;
  height: 100%;
}

.logo__text strong,
.logo--footer strong {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.btn__icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.28);
}

.btn--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.btn--outline:hover {
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.btn--ghost {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: var(--accent);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(251, 146, 60, 0.4);
  transform: translateY(-1px);
}

.btn--danger {
  background: transparent;
  color: #b91c1c;
  border: 1.5px solid rgba(185, 28, 28, 0.35);
}

.btn--danger:hover {
  background: #fef2f2;
  transform: translateY(-1px);
}

.btn--white {
  background: #fff;
  color: var(--accent-dark);
  box-shadow: 0 10px 24px rgba(255, 255, 255, 0.15);
}

.btn--white:hover {
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.btn--login {
  background: var(--accent-soft);
  color: var(--accent);
  border: 1.5px solid rgba(234, 88, 12, 0.35);
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.1);
  min-width: 7.25rem;
}

.btn--login:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.28);
}

.btn--sm {
  padding: 0.7rem 1.25rem;
  font-size: 0.92rem;
}

.btn--lg {
  padding: 0.95rem 1.7rem;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  padding: 2.5rem 0 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 45% at 12% 18%, rgba(251, 146, 60, 0.2), transparent 58%),
    radial-gradient(ellipse 48% 42% at 88% 24%, rgba(253, 186, 116, 0.24), transparent 52%),
    radial-gradient(ellipse 70% 38% at 50% 100%, rgba(234, 88, 12, 0.1), transparent 62%),
    linear-gradient(180deg, rgba(255, 250, 245, 0.85) 0%, rgba(255, 247, 237, 0.92) 55%, rgba(255, 237, 213, 0.88) 100%);
}

.hero__content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(0, 560px) 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 340px;
  padding-bottom: 2rem;
}

.hero__content--split {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  min-height: 420px;
  padding: 2rem 0 2.5rem;
}

.hero__copy {
  text-align: center;
  z-index: 2;
  animation: rise 0.8s ease both;
}

.hero__content--split .hero__copy {
  text-align: left;
  max-width: 36rem;
}

.hero__content--split .hero__subtitle,
.hero__content--split .hero__desc {
  margin-left: 0;
  margin-right: 0;
  max-width: 34rem;
}

.hero__content--split .hero__actions {
  justify-content: flex-start;
}

.hero__visual {
  position: relative;
  min-height: 380px;
  animation: rise 0.9s ease 0.12s both;
}

.hero__visual-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
  opacity: 0.55;
}

.hero__visual-glow--orange {
  width: 220px;
  height: 220px;
  top: 8%;
  right: 6%;
  background: rgba(251, 146, 60, 0.45);
}

.hero__visual-glow--amber {
  width: 180px;
  height: 180px;
  bottom: 10%;
  left: 4%;
  background: rgba(253, 186, 116, 0.42);
}

.hero__visual-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow-hover);
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.hero__visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__visual-card--main {
  top: 0;
  right: 0;
  width: min(78%, 340px);
  height: 260px;
  border-radius: 28px 28px 12px 28px;
  z-index: 1;
}

.hero__visual-card--secondary {
  bottom: 24px;
  left: 0;
  width: min(52%, 220px);
  height: 190px;
  border-radius: 22px;
  z-index: 3;
  animation: float 7s ease-in-out infinite;
}

.hero__visual-panel {
  position: absolute;
  right: 8%;
  bottom: 72px;
  z-index: 4;
  display: grid;
  gap: 0.45rem;
  justify-items: center;
  width: 132px;
  padding: 0.85rem 0.75rem;
  border-radius: 18px;
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  animation: float 6s ease-in-out infinite 0.5s;
}

.hero__visual-panel img {
  width: 72px;
  height: auto;
}

.hero__visual-panel span {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--accent);
  text-align: center;
  line-height: 1.25;
}

.hero__copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.hero__copy h1 span {
  color: var(--accent);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: var(--glass-shadow);
}

.hero__subtitle {
  margin: 0 auto 0.75rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero__desc {
  margin: 0 auto 1.4rem;
  max-width: 32rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero__copy p {
  margin: 0 auto 1.6rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero__illustration {
  position: absolute;
  right: -10px;
  top: 0;
  width: min(240px, 100%);
  border-radius: 18px;
  opacity: 0.92;
  animation: rise 1s ease 0.15s both;
}

.hero__side {
  position: relative;
  height: 280px;
  pointer-events: none;
}

.hero__blob {
  position: absolute;
  width: 220px;
  height: 220px;
  background: linear-gradient(145deg, #fdba74, #fb923c 60%, #c2410c);
  border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%;
  opacity: 0.85;
  filter: blur(0.5px);
  animation: float 7s ease-in-out infinite;
}

.hero__blob--left {
  left: -10px;
  top: 40px;
}

.hero__portrait {
  position: absolute;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(234, 88, 12, 0.18);
  border: 4px solid #fff;
  animation: float 6s ease-in-out infinite;
}

.hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__portrait--left {
  left: 28px;
  top: 56px;
  animation-delay: 0.4s;
}

.hero__portrait--right {
  right: 20px;
  top: 70px;
  width: 150px;
  height: 150px;
  animation-delay: 0.8s;
}

.hero__doodle {
  position: absolute;
  right: 30px;
  top: 8px;
  width: 140px;
  color: var(--accent);
  opacity: 0.85;
  animation: rise 1s ease 0.2s both;
}

/* Mockup */
.mockup-wrap {
  position: relative;
  z-index: 3;
  padding-bottom: 0;
  animation: rise 1s ease 0.25s both;
}

.mockup-preview {
  width: 100%;
  display: block;
  border-radius: 18px 18px 0 0;
  box-shadow: var(--shadow);
  border: 1px solid rgba(234, 88, 12, 0.12);
  border-bottom: 0;
}

.hero-dashboard {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 18px 18px 0 0;
  overflow: hidden;
  box-shadow: var(--glass-shadow-hover);
  border: 1px solid var(--glass-border);
  border-bottom: 0;
  min-height: 420px;
}

.hero-dashboard__sidebar {
  background: linear-gradient(180deg, #9a3412 0%, var(--sidebar) 100%);
  color: #fff;
  padding: 1.25rem 0.9rem;
}

.hero-dashboard__sidebar .mockup__nav-item {
  pointer-events: none;
}

.hero-dashboard__main {
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hero-dashboard__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  padding: 0 1rem 1rem;
}

.hero-dashboard__stat {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-soft);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  box-shadow: var(--glass-shadow);
}

.hero-dashboard__stat span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.hero-dashboard__stat strong {
  display: block;
  font-size: 1.65rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero-dashboard__stat--accent strong {
  color: var(--accent);
}

.hero-dashboard__stat small {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.hero-dashboard__stat small.is-up {
  color: #15803d;
}

.hero-dashboard__panels {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0.85rem;
  padding: 0 1rem 1rem;
  flex: 1;
}

.hero-dashboard__panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-soft);
  border-radius: 16px;
  padding: 1rem 1.1rem 1.1rem;
  box-shadow: var(--glass-shadow);
}

.hero-dashboard__panel h3 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.hero-dashboard__panel > p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.hero-dashboard__chart {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 0.65rem;
  height: 150px;
  margin: 0.5rem 0 1rem;
  padding: 0 0.25rem;
}

.hero-dashboard__bar {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: 0.35rem;
}

.hero-dashboard__bar::before {
  content: "";
  width: 100%;
  max-width: 52px;
  height: var(--h);
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, #fdba74 0%, #f97316 100%);
  box-shadow: 0 8px 18px rgba(234, 88, 12, 0.18);
}

.hero-dashboard__bar--accent::before {
  background: linear-gradient(180deg, #fb923c 0%, var(--accent) 100%);
}

.hero-dashboard__bar span {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
  line-height: 1.2;
}

.hero-dashboard__bar em {
  position: absolute;
  top: calc(100% - var(--h) - 1.4rem);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-dark);
}

.hero-dashboard__globe {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 2px solid #fdba74;
}

.hero-dashboard__globe::before,
.hero-dashboard__globe::after {
  content: "";
  position: absolute;
  inset: 18% 8%;
  border: 1.5px solid rgba(234, 88, 12, 0.28);
  border-radius: 50%;
}

.hero-dashboard__globe::after {
  inset: 8% 28%;
}

.hero-dashboard__dot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.15);
}

.hero-dashboard__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
}

.hero-dashboard__tags span {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
}

.hero-dashboard__tags span:nth-child(2) {
  background: #dcfce7;
  color: #15803d;
}

.hero-dashboard__tags span:nth-child(3) {
  background: #ffedd5;
  color: #b45309;
}

.hero-dashboard__tags span:nth-child(4) {
  background: #ffedd5;
  color: #c2410c;
}

.hero-dashboard__feed {
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.hero-dashboard__feed li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: var(--bg-soft);
}

.hero-dashboard__feed-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dot);
}

.hero-dashboard__feed strong {
  display: block;
  font-size: 0.82rem;
}

.hero-dashboard__feed p {
  margin: 0.1rem 0 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.hero-dashboard__feed em {
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

.hero-dashboard__feed em.is-done {
  background: #dcfce7;
  color: #15803d;
}

.hero-dashboard__feed em.is-busy {
  background: #ffedd5;
  color: #b45309;
}

.hero-dashboard__feed em.is-new {
  background: var(--accent-soft);
  color: var(--accent);
}

.mockup {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: #fff;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(234, 88, 12, 0.12);
  border-bottom: 0;
  min-height: 380px;
  max-height: 420px;
}

.mockup__sidebar {
  background: linear-gradient(180deg, #9a3412 0%, var(--sidebar) 100%);
  color: #fff;
  padding: 1.25rem 0.9rem;
}

.mockup__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  padding: 0 0.4rem;
}

.mockup__brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: transparent;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}

.mockup__brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.mockup__nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mockup__nav-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.75rem;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  font-weight: 600;
}

.mockup__nav-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.mockup__nav-item.is-active {
  background: linear-gradient(90deg, var(--accent-dark), var(--accent-mid));
  color: #fff;
}

.mockup__main {
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mockup__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.1rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.mockup__new {
  border: 0;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  padding: 0.45rem 0.9rem;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
}

.mockup__actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.mockup__icon-btn {
  position: relative;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.mockup__icon-btn svg {
  width: 18px;
  height: 18px;
}

.mockup__badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 3px;
}

.mockup__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fdba74, #ea580c);
}

.kanban {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 0.85rem;
  padding: 1rem;
  overflow: hidden;
}

.kanban__col {
  min-width: 0;
}

.kanban__head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0.65rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kanban__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dot);
  flex-shrink: 0;
}

.deal {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.75rem;
  margin-bottom: 0.55rem;
  box-shadow: 0 4px 12px rgba(124, 45, 18, 0.04);
}

.deal__tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg-soft);
  border-radius: 6px;
  padding: 0.15rem 0.4rem;
  margin-bottom: 0.55rem;
}

.deal__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.deal__avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
}

.deal__row strong {
  font-size: 0.82rem;
  font-weight: 800;
}

.kanban__list {
  display: grid;
  gap: 0.65rem;
  min-height: 80px;
}

.deal--ticket {
  cursor: default;
}

.deal__meta {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.deal__status-select {
  width: 100%;
  margin-top: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
  font: inherit;
  font-size: 0.78rem;
  background: #fff;
}

.app-empty--pad {
  padding: 1rem 1.2rem 0;
}

.app-modal__form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  resize: vertical;
  min-height: 96px;
}

.app-modal__form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.12);
}

/* Sections shared */
.trust,
.benefits,
.integrations,
.features,
.testimonial,
.cta {
  padding: 4.5rem 0;
}

.trust {
  text-align: center;
  background: #fff;
}

.trust__label,
.section-label {
  color: var(--accent);
  margin: 0 0 0.75rem;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.trust__stats-desc {
  margin: 1rem auto 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.trust__subtitle {
  margin: 2.25rem 0 1rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.trust__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  max-width: 52rem;
  margin: 0 auto;
}

.trust__pills span {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
}

.trust__text {
  margin: 1rem auto 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-lead {
  text-align: center;
  margin: 0.85rem auto 2.25rem;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.trust h2,
.benefits h2,
.integrations h2,
.features h2,
.testimonial h2,
.cta h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.benefits h2,
.features h2,
.testimonial h2 {
  text-align: center;
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.benefit {
  padding: 1.35rem;
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.benefit:hover {
  transform: translateY(-4px);
  border-color: rgba(251, 146, 60, 0.45);
  box-shadow: var(--glass-shadow-hover);
}

.benefits__cta {
  margin-top: 2.5rem;
  padding: 1.75rem;
  border-radius: 18px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  text-align: center;
}

.benefits__cta p {
  margin: 0 0 1rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
}

.benefits__cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.benefit__icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 1rem;
}

.benefit__icon svg,
.benefit__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.benefit h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.benefit p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.link {
  color: var(--accent);
  font-weight: 700;
}

.link:hover {
  text-decoration: underline;
}

.integrations {
  background: var(--bg-soft);
  text-align: center;
  overflow: hidden;
}

.integrations p {
  margin: 0.85rem auto 2rem;
  max-width: 36rem;
  color: var(--muted);
}

.integrations__marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.integrations__track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.integrations__track span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 0.85rem 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.features__layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  margin-top: 2.25rem;
  align-items: start;
}

.features__tabs {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.features__tab {
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.features__tab:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.features__tab.is-active {
  background: var(--accent);
  color: #fff;
}

.features__panel {
  background: var(--bg-soft);
  border-radius: 16px;
  padding: 2rem;
  min-height: 240px;
  animation: fade 0.35s ease;
}

.features__panel h3 {
  margin: 0 0 0.85rem;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.features__panel p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.testimonial {
  background: linear-gradient(180deg, #fff, var(--accent-soft));
}

.testimonial__inner {
  text-align: center;
  max-width: 720px;
}

.testimonial h2 {
  margin-bottom: 0;
  text-align: center;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.testimonials__grid blockquote footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.testimonials__grid blockquote footer strong {
  color: var(--ink);
}

.cta-banner {
  padding: 3.5rem 0;
  background:
    radial-gradient(ellipse 70% 80% at 20% 20%, rgba(251, 146, 60, 0.35), transparent 55%),
    linear-gradient(135deg, #9a3412 0%, var(--sidebar) 55%, #431407 100%);
  color: #fff;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-banner h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  letter-spacing: -0.025em;
  font-weight: 800;
  max-width: 28rem;
}

.cta-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  max-width: 34rem;
  font-size: 1.02rem;
}

.faq {
  padding: 4.5rem 0;
  background: #fff;
}

.faq h2 {
  text-align: center;
  margin: 0;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  letter-spacing: -0.025em;
  font-weight: 800;
}

.faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.faq__item {
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq__item[open] {
  background: var(--glass-bg-strong);
  border-color: rgba(251, 146, 60, 0.4);
  box-shadow: var(--glass-shadow-hover);
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 800;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 800;
  flex-shrink: 0;
}

.faq__item[open] summary::after {
  content: "−";
}

.faq__item p {
  margin: 0;
  padding: 0 1.15rem 1.1rem;
  color: var(--muted);
  line-height: 1.6;
}

.testimonials__grid blockquote {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.35rem;
  text-align: left;
  margin: 0;
  box-shadow: var(--glass-shadow);
}

.testimonials__grid blockquote p {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

.cta {
  background: #fff;
}

.cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.cta__copy p {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.cta__info {
  margin-top: 1.75rem;
  display: grid;
  gap: 1rem;
}

.cta__info p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.cta__info strong {
  color: var(--ink);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.cta__form {
  display: grid;
  gap: 0.9rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: var(--glass-shadow);
}

.cta__form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}

.cta__form input,
.cta__form textarea {
  border: 1px solid var(--glass-border-soft);
  border-radius: 10px;
  padding: 0.8rem 0.95rem;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  outline: none;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cta__form input:focus,
.cta__form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}

.form-success {
  margin: 0;
  color: #15803d;
  font-weight: 700;
  text-align: center;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
  background: var(--bg-soft);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 2rem;
}

.footer__desc {
  margin: 0.85rem 0 0;
  color: var(--muted);
  max-width: 22rem;
}

.footer__tagline {
  margin: 0.75rem 0 0.35rem;
  color: var(--ink);
  font-weight: 800;
  font-size: 0.95rem;
}

.footer__address {
  margin-top: 0.35rem;
  line-height: 1.55;
}

.footer__copy {
  margin-top: 0.75rem !important;
}

.footer h4 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.footer__nav {
  display: grid;
  gap: 0.45rem;
}

.footer__nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}

.footer__nav a:hover {
  color: var(--accent);
}

.footer p {
  margin: 0 0 0.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.logo--footer {
  color: var(--ink);
}

.logo--footer .logo__mark {
  width: 28px;
  height: 28px;
}

/* Services */
.services {
  padding: 4.5rem 0;
  background: var(--bg-soft);
}

.services h2 {
  text-align: center;
  margin: 0;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  letter-spacing: -0.025em;
  font-weight: 800;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--glass-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(251, 146, 60, 0.45);
  box-shadow: var(--glass-shadow-hover);
}

.service-card .link {
  margin-top: auto;
}

.service-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.services__custom {
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff, var(--accent-soft));
  border: 1px solid rgba(234, 88, 12, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.services__custom p {
  margin: 0;
  font-weight: 700;
  color: var(--ink);
  max-width: 36rem;
}

.services__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.25rem;
  text-align: center;
}

.services__stats strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.services__stats span {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1280px) {
  .header__link {
    font-size: 0.8rem;
    padding: 0.48rem 0.65rem;
  }

  .header__cta {
    font-size: 0.78rem;
    padding: 0.55rem 0.85rem;
  }
}

@media (max-width: 1100px) {
  .header__nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header__cta {
    display: none;
  }
}

@media (max-width: 960px) {
  .hero__content,
  .hero__content--split {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 1.5rem;
  }

  .hero__content--split .hero__copy {
    text-align: center;
    max-width: none;
  }

  .hero__content--split .hero__subtitle,
  .hero__content--split .hero__desc {
    margin-inline: auto;
  }

  .hero__content--split .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    min-height: 300px;
    max-width: 420px;
    margin: 0 auto;
  }

  .hero__visual-card--main {
    width: 72%;
    height: 220px;
  }

  .hero__visual-card--secondary {
    width: 48%;
    height: 160px;
  }

  .hero__side {
    display: none;
  }

  .mockup {
    grid-template-columns: 1fr;
    max-height: none;
  }

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

  .hero-dashboard__sidebar {
    display: none;
  }

  .hero-dashboard__stats {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .mockup__sidebar {
    display: none;
  }

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

  .benefits__grid,
  .features__layout,
  .cta__grid,
  .services__grid,
  .testimonials__grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .services__stats {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .features__tabs {
    flex-direction: row;
    overflow-x: auto;
    gap: 0.4rem;
    padding-bottom: 0.25rem;
  }

  .features__tab {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .lang-switch__btn span {
    display: none;
  }

  .lang-switch__btn {
    padding: 0.42rem;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(1120px, calc(100% - 1.5rem));
  }

  .header__inner {
    min-height: 64px;
  }

  .btn--sm {
    padding: 0.6rem 0.95rem;
    font-size: 0.82rem;
  }

  .kanban {
    grid-template-columns: 1fr;
  }

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

  .trust,
  .benefits,
  .integrations,
  .features,
  .testimonial,
  .cta,
  .services,
  .faq,
  .cta-banner {
    padding: 3.25rem 0;
  }

  .cta-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

/* Login page */
.login-page {
  min-height: 100vh;
  background: var(--bg);
}

.login-shell {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 100vh;
}

.login-brand {
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(251, 146, 60, 0.35), transparent 60%),
    linear-gradient(160deg, #9a3412 0%, var(--sidebar) 55%, #431407 100%);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 3rem;
}

.login-brand__content {
  max-width: 420px;
  animation: rise 0.7s ease both;
}

.logo--light,
.logo--light strong {
  color: #fff;
}

.logo--light .logo__img--light {
  filter: brightness(0) invert(1);
}

.login-brand h1 {
  margin: 2rem 0 0.85rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.login-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.6;
}

.login-main {
  display: grid;
  place-items: center;
  padding: 2rem 1.5rem;
  background:
    radial-gradient(ellipse 50% 40% at 80% 10%, rgba(251, 146, 60, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(255, 250, 245, 0.9), rgba(255, 247, 237, 0.95));
}

.login-card {
  width: min(420px, 100%);
  padding: 2rem;
  border-radius: 20px;
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow-hover);
  animation: rise 0.7s ease 0.1s both;
}

.login-back {
  display: inline-block;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

.login-back:hover {
  color: var(--accent);
}

.login-card h2 {
  margin: 0 0 0.45rem;
  font-size: 1.75rem;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.login-card__subtitle {
  margin: 0 0 1.75rem;
  color: var(--muted);
}

.login-form {
  display: grid;
  gap: 1rem;
}

.login-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.login-form input[type="email"],
.login-form input[type="password"],
.login-form input[type="text"] {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.85rem 0.95rem;
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}

.password-field {
  position: relative;
  display: grid;
}

.password-field input {
  padding-right: 5.2rem;
}

.password-toggle {
  position: absolute;
  right: 0.55rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0.35rem 0.45rem;
}

.login-form__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.checkbox {
  display: inline-flex !important;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600 !important;
  color: var(--muted);
  grid-template-columns: none !important;
}

.checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.login-link {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
}

.login-link:hover {
  text-decoration: underline;
}

.login-error {
  margin: 0;
  color: #b91c1c;
  font-weight: 700;
  text-align: center;
  font-size: 0.92rem;
}

.login-notice {
  color: #92400e;
}

.login-help {
  margin: 1.5rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.label-optional {
  font-weight: 600;
  color: var(--muted);
  font-size: 0.82rem;
}

.btn.is-loading {
  opacity: 0.75;
  pointer-events: none;
}

@media (max-width: 900px) {
  .login-shell {
    grid-template-columns: 1fr;
  }

  .login-brand {
    min-height: auto;
    padding: 2rem 1.5rem 1.5rem;
  }

  .login-brand h1 {
    margin-top: 1.25rem;
    font-size: 1.65rem;
  }

  .login-brand p {
    font-size: 0.98rem;
  }

  .login-main {
    padding: 1.5rem 1.25rem 2.5rem;
    align-items: start;
  }
}

/* Client dashboard */
.app-page {
  background: var(--bg-soft);
  min-height: 100vh;
}

.app {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
}

.app-sidebar {
  background: linear-gradient(180deg, #9a3412 0%, var(--sidebar) 100%);
  color: #fff;
  padding: 1.25rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.app-page.role-admin .app-nav-item.app-only-client,
.app-page.role-agent .app-nav-item.app-only-client,
.app-page.role-agent .app-nav-item.app-only-admin,
.app-page.role-client .app-nav-item.app-only-admin,
.app-page.role-agent .app-nav-item.app-nav-item--admin,
.app-page.role-client .app-nav-item.app-nav-item--admin {
  display: none !important;
}

.app-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  padding: 0.35rem 0.4rem 0.75rem;
}

.app-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.app-nav-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.8rem;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  font-weight: 600;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  width: 100%;
}

.app-nav-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.app-nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.app-nav-item.is-active {
  background: linear-gradient(90deg, var(--accent), #fdba74);
  color: #fff;
}

.app-nav-group {
  display: grid;
  gap: 0.35rem;
}

.app-nav-group + .app-nav-group {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.app-nav-group__label {
  margin: 0 0 0.15rem;
  padding: 0 0.55rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.app-nav-item--muted {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}

.app-sidebar__footer {
  display: grid;
  gap: 0.65rem;
  padding-top: 0.5rem;
}

.app-sidebar__footer .btn--outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.app-sidebar__footer .btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.app-main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-width: 0;
}

.app-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0;
  flex-wrap: wrap;
  padding: 1.25rem 1.5rem 1rem;
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(248, 246, 252, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(234, 88, 12, 0.08);
}

.app-content {
  flex: 1;
  padding: 0 1.5rem 2rem;
  min-width: 0;
}

.app-view {
  display: none;
  animation: app-view-in 0.25s ease;
}

.app-view.is-active {
  display: block;
}

.app-view + .app-view {
  margin-top: 0;
}

.app-view--workspace.is-active {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 7.5rem);
}

@keyframes app-view-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.app-topbar__intro {
  min-width: 0;
}

.app-topbar__desc {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  max-width: 42rem;
}

.app-topbar__eyebrow {
  margin: 0 0 0.25rem;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.app-topbar h1 {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  letter-spacing: -0.03em;
}

.app-topbar__right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.app-user-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.app-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.app-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.15rem;
  box-shadow: 0 8px 24px rgba(124, 45, 18, 0.04);
}

.app-stat__label {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.app-stat strong {
  display: block;
  font-size: 1.75rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.app-stat__meta {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.app-stat__meta--up {
  color: #15803d;
}

.app-grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.app-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: 0 8px 24px rgba(124, 45, 18, 0.04);
}

.app-card--flush {
  padding: 0;
  overflow: hidden;
}

.app-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.app-card__head--pad {
  padding: 1.1rem 1.2rem 0;
  margin-bottom: 0.5rem;
}

.app-card__head h2 {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.app-badge {
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

.app-activity {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.app-activity li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.app-activity strong {
  display: block;
  font-size: 0.95rem;
}

.app-activity p {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.app-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dot);
  margin-top: 0.4rem;
  flex-shrink: 0;
}

.app-checklist {
  display: grid;
  gap: 0.7rem;
}

.app-checklist label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  color: var(--ink);
}

.app-checklist input {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}

.app-card__note {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.app-kanban {
  padding: 0 1.2rem 1.2rem;
  flex: 1;
  min-height: 0;
  align-items: stretch;
}

.app-card--workspace {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.app-card--compact {
  padding: 1rem 1.1rem;
}

.app-card__head--tight {
  margin-bottom: 0.65rem;
}

.app-agent-dashboard {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.app-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  background: #f1f5f9;
  color: #64748b;
  flex-shrink: 0;
}

.app-status-pill.is-online {
  background: #dcfce7;
  color: #15803d;
}

.app-status-pill.is-busy {
  background: #fef3c7;
  color: #b45309;
}

.app-status-pill.is-offline {
  background: #f1f5f9;
  color: #64748b;
}

.app-voice-history--scroll {
  max-height: 280px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.app-view .app-card + .app-card,
.app-view .app-stats + .app-grid-2,
.app-view .app-agent-dashboard + .app-stats {
  margin-top: 1rem;
}

.app-view .app-card--flush + .app-card {
  margin-top: 0;
}

.kanban__col {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.app-view--workspace .kanban__list {
  flex: 1;
  min-height: 120px;
  max-height: calc(100vh - 16rem);
  overflow-y: auto;
  padding-right: 0.15rem;
}

.app-view--workspace .kanban__list::-webkit-scrollbar {
  width: 6px;
}

.app-view--workspace .kanban__list::-webkit-scrollbar-thumb {
  background: rgba(234, 88, 12, 0.25);
  border-radius: 999px;
}

.app-team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.app-person {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.app-person__body {
  flex: 1;
  min-width: 0;
}

.app-person__actions {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex-shrink: 0;
}

.app-voice-unavailable {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  text-align: center;
  max-width: 7.5rem;
  line-height: 1.35;
}

.app-voice-hint--alert {
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
}

.app-only-agent[hidden],
.app-only-client[hidden],
.app-only-admin[hidden] {
  display: none !important;
}

.app-person__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--ink);
  flex-shrink: 0;
}

.app-person h3 {
  margin: 0 0 0.15rem;
  font-size: 1rem;
}

.app-person p {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.app-status {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--muted);
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.app-status.is-online {
  color: #15803d;
  background: #dcfce7;
}

.app-status.is-busy {
  color: #b45309;
  background: #ffedd5;
}

.app-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  height: 160px;
  padding: 0.5rem 0 0;
}

.app-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  height: 100%;
  justify-content: flex-end;
}

.app-bar span {
  display: block;
  width: 100%;
  height: var(--h);
  border-radius: 10px 10px 6px 6px;
  background: linear-gradient(180deg, #fb923c, var(--accent));
}

.app-bar small {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.75rem;
}

.app-channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.app-channels li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0.85rem;
  background: var(--bg-soft);
  border-radius: 10px;
  font-weight: 700;
}

.app-channels span {
  color: var(--muted);
}

.app-channels strong {
  color: var(--accent);
}

.app-nav-badge {
  margin-left: auto;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.app-card__subtitle {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.app-empty {
  margin: 0;
  padding: 1.5rem 0.5rem;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
}

.app-table-wrap {
  overflow-x: auto;
}

.app-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.app-table th,
.app-table td {
  padding: 0.85rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.app-table th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.app-table tbody tr:last-child td {
  border-bottom: none;
}

.app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.app-stats--compact {
  margin-bottom: 1rem;
}

.app-stats--compact .app-stat strong {
  font-size: 1.5rem;
}

.app-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}

.app-status-pill.is-active {
  background: #dcfce7;
  color: #15803d;
}

.app-status-pill.is-pending {
  background: #fef3c7;
  color: #92400e;
}

.app-message-preview {
  display: block;
  max-width: 260px;
  color: var(--muted);
  font-size: 0.88rem;
}

.app-message-body {
  margin: 0 0 1rem;
  white-space: pre-wrap;
  line-height: 1.6;
  color: #2f2640;
}

#view-contatos #contact-detail {
  margin-bottom: 1rem;
}

.app-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.app-modal[hidden] {
  display: none;
}

.app-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 12, 48, 0.55);
}

.app-modal__dialog {
  position: relative;
  width: min(100%, 460px);
  max-height: calc(100vh - 2rem);
  background: #fff;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 24px 60px rgba(124, 45, 18, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.app-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.app-modal__head h2 {
  margin: 0;
  font-size: 1.15rem;
}

.app-modal__close {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.app-modal__form {
  display: grid;
  gap: 0.85rem;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  padding-right: 0.25rem;
  scrollbar-gutter: stable;
}

.app-modal__form::-webkit-scrollbar {
  width: 8px;
}

.app-modal__form::-webkit-scrollbar-thumb {
  background: rgba(234, 88, 12, 0.35);
  border-radius: 999px;
}

.app-modal__form::-webkit-scrollbar-track {
  background: transparent;
}

.app-modal__form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #2f2640;
}

.app-modal__form input,
.app-modal__form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  font: inherit;
}

.app-modal__form input:focus,
.app-modal__form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.12);
}

.app-modal__lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.app-modal__error {
  margin: 0;
  color: #b91c1c;
  font-size: 0.88rem;
  font-weight: 700;
}

.app-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.app-modal__dialog--wide {
  width: min(100%, 520px);
}

.app-modal__fieldset {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin: 0;
}

.app-modal__fieldset .app-checklist {
  max-height: 140px;
  overflow-y: auto;
  padding-right: 0.15rem;
}

.app-modal__fieldset legend {
  padding: 0 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.app-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.app-status-actions--topbar {
  margin-right: 0.25rem;
}

.app-status-btn {
  border: 1.5px solid rgba(234, 88, 12, 0.25);
  background: #fff;
  color: #4c3d67;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.app-status-btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.app-status-btn[data-status="online"].is-active {
  background: #15803d;
  border-color: #15803d;
}

.app-status-btn[data-status="busy"].is-active {
  background: #d97706;
  border-color: #d97706;
}

.app-status-btn[data-status="offline"].is-active {
  background: #6b7280;
  border-color: #6b7280;
}

.app-agent-clients {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.app-agent-client {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #faf9fd;
}

.app-agent-client strong {
  display: block;
}

.app-agent-client span {
  color: var(--muted);
  font-size: 0.88rem;
}

.app-toast {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  background: var(--sidebar);
  color: #fff;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: var(--shadow);
  z-index: 100;
  animation: rise 0.35s ease;
}

@media (max-width: 960px) {
  .app {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    position: sticky;
    top: 0;
    z-index: 40;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem;
    height: auto;
    max-height: none;
  }

  .app-nav-group {
    display: contents;
  }

  .app-nav-group__label {
    display: none;
  }

  .app-nav-group + .app-nav-group {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .app-sidebar__brand {
    padding: 0;
  }

  .app-sidebar__nav {
    flex-direction: row;
    overflow-x: auto;
    flex: 1 1 100%;
    gap: 0.35rem;
  }

  .app-nav-item {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .app-sidebar__footer {
    flex: 1 1 auto;
    grid-template-columns: 1fr auto;
    align-items: center;
    width: 100%;
  }

  .app-stats,
  .app-grid-2,
  .app-team-grid {
    grid-template-columns: 1fr;
  }

  .app-kanban {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .app-kanban {
    grid-template-columns: 1fr;
  }

  .app-main {
    padding: 0;
  }

  .app-content {
    padding: 0 1rem 1.5rem;
  }

  .app-topbar {
    padding: 1rem;
  }

  .app-agent-dashboard {
    grid-template-columns: 1fr;
  }

  .app-view--workspace .kanban__list {
    max-height: 320px;
  }
}

.voice-modal[hidden] {
  display: none !important;
}

.voice-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.voice-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 10, 30, 0.55);
  backdrop-filter: blur(4px);
}

.voice-modal__card {
  position: relative;
  width: min(100%, 380px);
  background: #fff;
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 24px 60px rgba(42, 18, 88, 0.25);
  text-align: center;
}

.voice-modal__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.voice-modal__card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.voice-modal__subtitle {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.voice-modal__subtitle[hidden] {
  display: none;
}

.voice-modal__live {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 0 0 1rem;
}

.voice-modal__timer {
  font-variant-numeric: tabular-nums;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--primary);
  min-width: 4.75rem;
  line-height: 1;
}

.voice-modal__mute {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  border: 1px solid rgba(99, 102, 241, 0.28);
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.08);
  color: var(--primary);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.voice-modal__mute:hover {
  background: rgba(99, 102, 241, 0.16);
  transform: translateY(-1px);
}

.voice-modal__mute.is-muted {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.35);
  color: #dc2626;
}

.voice-modal__mute.is-muted:hover {
  background: rgba(239, 68, 68, 0.16);
}

.voice-modal__mute-icon {
  width: 1.15rem;
  height: 1.15rem;
}

.voice-modal__mute-icon--off {
  display: none;
}

.voice-modal__mute.is-muted .voice-modal__mute-icon--on {
  display: none;
}

.voice-modal__mute.is-muted .voice-modal__mute-icon--off {
  display: block;
}

.voice-modal__pulse {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.15);
  position: relative;
}

.voice-modal__pulse::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: var(--primary);
  animation: voice-pulse 1.4s ease-in-out infinite;
}

@keyframes voice-pulse {
  0%, 100% { transform: scale(0.92); opacity: 0.75; }
  50% { transform: scale(1); opacity: 1; }
}

.voice-modal__actions {
  display: flex;
  gap: 0.65rem;
  justify-content: center;
  flex-wrap: wrap;
}

.voice-modal__actions .btn--danger {
  background: #ef4444;
  border-color: #ef4444;
  color: #fff;
}

.voice-modal__quality {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  margin: 0.2rem 0 0.4rem;
}

.voice-modal__quality-bars {
  display: flex;
  gap: 0.28rem;
  align-items: flex-end;
  height: 1.1rem;
}

.voice-modal__quality-bars span {
  display: block;
  width: 0.42rem;
  border-radius: 999px;
  background: #cbd5e1;
  transition: background 0.25s ease, height 0.25s ease;
}

.voice-modal__quality-bars span:nth-child(1) { height: 0.45rem; }
.voice-modal__quality-bars span:nth-child(2) { height: 0.72rem; }
.voice-modal__quality-bars span:nth-child(3) { height: 1rem; }

.voice-modal__quality-bars.is-good span:nth-child(1),
.voice-modal__quality-bars.is-good span:nth-child(2),
.voice-modal__quality-bars.is-good span:nth-child(3) {
  background: #22c55e;
}

.voice-modal__quality-bars.is-fair span:nth-child(1),
.voice-modal__quality-bars.is-fair span:nth-child(2) {
  background: #f59e0b;
}

.voice-modal__quality-bars.is-poor span:nth-child(1) {
  background: #ef4444;
}

.voice-modal__quality-label {
  margin: 0;
  font-size: 0.82rem;
  color: #64748b;
}

.app-voice-history {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.app-voice-history__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(234, 88, 12, 0.12);
  border-radius: 12px;
  background: #fafafa;
}

.app-voice-history__main {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.app-voice-history__main strong {
  font-size: 0.95rem;
  color: var(--ink);
}

.app-voice-history__status {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
}

.app-voice-history__item.is-completed .app-voice-history__status {
  color: #15803d;
}

.app-voice-history__item.is-failed .app-voice-history__status {
  color: #b91c1c;
}

.app-voice-history__item.is-muted .app-voice-history__status {
  color: #94a3b8;
}

.app-voice-history__meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-align: right;
  font-size: 0.78rem;
  color: #64748b;
  flex-shrink: 0;
}

.app-voice-history {
  margin-top: 0.5rem;
}

#view-equipes .app-voice-history,
#view-resumo .app-voice-history {
  margin-top: 0;
}

#voice-history-client-card,
#voice-history-agent-card,
#voice-history-admin-card {
  margin-top: 1rem;
}
