:root {
  --bg: #0b0b0f;
  --panel: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.12);
  --text: rgba(246, 243, 251, 0.92);
  --muted: rgba(246, 243, 251, 0.7);
  --violet: #7c3aed;
  --red: #c23b3b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Arial, sans-serif;
  background: radial-gradient(900px 500px at 20% 0%, rgba(124, 58, 237, 0.22), transparent 60%),
    radial-gradient(900px 500px at 80% 30%, rgba(194, 59, 59, 0.18), transparent 60%),
    var(--bg);
  color: var(--text);
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(11, 11, 15, 0.66);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
}

.brand {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.brand strong {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

@media (max-width: 720px) {
  .topbar-inner {
    position: relative;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(11, 11, 15, 0.94);
    backdrop-filter: blur(14px);
  }
  body.nav-open .nav {
    display: flex;
  }
  .nav .chip {
    width: 100%;
    text-align: left;
  }
}

.chip {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
}

.chip-primary {
  background: rgba(124, 58, 237, 0.95);
  border-color: rgba(124, 58, 237, 0.95);
  color: #fff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.chip-primary:hover {
  filter: brightness(1.05);
  color: #fff;
}

.chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  line-height: 0;
}

.chip-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.chip-sm {
  padding: 4px 8px;
  font-size: 12px;
  line-height: 1.1;
}

.chip:hover { color: var(--text); }

.badge {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 11px;
  line-height: 1.1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.media-icon {
  font-size: 18px;
  line-height: 1;
  color: rgba(124, 58, 237, 0.95);
}

.media-preview {
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.media-preview img,
.media-preview video {
  width: 100%;
  display: block;
}

.media-preview video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}

.media-image {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
  background: #000;
}

@media (min-width: 900px) {
  .media-image {
    max-height: 720px;
  }
}

.media-video {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #000;
}

@media (min-width: 900px) {
  .media-video {
    max-height: 520px;
  }
}

.media-preview audio {
  width: 100%;
  display: block;
}

.link-preview {
  display: block;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.9), rgba(124, 58, 237, 0.55));
  border-color: rgba(124, 58, 237, 0.6);
}

.btn-danger {
  background: linear-gradient(135deg, rgba(194, 59, 59, 0.9), rgba(194, 59, 59, 0.55));
  border-color: rgba(194, 59, 59, 0.6);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-link {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 12px;
}

.btn-link:hover {
  color: var(--text);
}

.hero {
  padding: 56px 0 28px;
}

.grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 900px) {
  .grid-2 {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }
}

.h1 {
  font-size: 38px;
  line-height: 1.05;
  margin: 0;
}

@media (min-width: 900px) {
  .h1 { font-size: 52px; }
}

.subtitle {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
}

.img-hero {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--border);
}

.hero-wrap {
  display: grid;
  gap: 18px;
}

@media (min-width: 900px) {
  .hero-wrap {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.carousel-stage {
  display: flex;
  width: 100%;
  transition: transform 380ms ease;
}

.carousel-slide {
  min-width: 100%;
}

.carousel-media {
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.carousel-controls {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.dot.is-active {
  background: rgba(124, 58, 237, 0.7);
  border-color: rgba(124, 58, 237, 0.7);
}

.carousel-btn {
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(11, 11, 15, 0.5);
  color: var(--text);
  cursor: pointer;
}

.carousel-btn:hover {
  background: rgba(11, 11, 15, 0.72);
}

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.section-title h2 {
  margin: 10px 0 8px;
}

.service-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
}

.tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tab {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
}

.tab.is-active {
  color: var(--text);
  border-color: rgba(124, 58, 237, 0.7);
  background: rgba(124, 58, 237, 0.18);
}

.two-col {
  display: grid;
  gap: 14px;
}

@media (min-width: 900px) {
  .two-col {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}



.section { padding: 22px 0; }

.kicker {
  color: rgba(124, 58, 237, 0.95);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 12px;
}

.h2 {
  margin: 10px 0 8px;
  font-size: 22px;
}

.cards {
  display: grid;
  gap: 12px;
}

.blog-controls {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.blog-controls input {
  flex: 1;
  min-width: 220px;
}

.blog-pager {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.blog-pager .btn {
  padding: 8px 10px;
}

@media (min-width: 900px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}

.card-title { font-weight: 700; margin: 0 0 6px; }
.card-desc { color: var(--muted); margin: 0; line-height: 1.5; }

.footer {
  border-top: 1px solid var(--border);
  margin-top: 34px;
  padding: 26px 0;
  color: var(--muted);
}

.form {
  display: grid;
  gap: 10px;
}

input, textarea, select {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
}

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

.row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.muted { color: var(--muted); }

.toast {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th, .table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.blog-content img {
  max-width: 100%;
  height: auto;
}

.calendar {
  display: grid;
  gap: 10px;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

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

.day {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  padding: 10px;
  min-height: 84px;
  cursor: pointer;
}

.day:hover {
  background: rgba(255, 255, 255, 0.06);
}

.day.is-out {
  opacity: 0.35;
}

.day.is-selected {
  border-color: rgba(124, 58, 237, 0.7);
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.18);
}

.day-num {
  font-weight: 800;
}

.dow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  color: var(--muted);
}

.slots {
  display: grid;
  gap: 10px;
}

.slot-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  color: var(--text);
}

.slot-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.slot-btn strong {
  font-weight: 800;
}

.badge {
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 4px 8px;
  border-radius: 999px;
}


.wa {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
}

.cf {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: end;
  pointer-events: none;
}

.cf,
.cf * {
  box-sizing: border-box;
}

.cf-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.cf-stack .cf-btn {
  opacity: 0;
  transform: translateY(10px) scale(0.92);
  transition: transform 200ms ease, opacity 180ms ease;
}

.cf.is-open .cf-stack .cf-btn {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.cf-btn {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.24);
  pointer-events: auto;
}

.cf-btn:focus-visible {
  outline: none;
}

.cf-btn svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.cf-btn.is-tiktok { background: #0a0a0a; }
.cf-btn.is-instagram { background: #e1306c; }
.cf-btn.is-facebook { background: #1877f2; }
.cf-btn.is-whatsapp { background: #25d366; }
.cf-btn.is-phone { background: #0a0a0a; }
.cf-btn.is-chat { background: #5b21b6; }
.cf-btn.is-close { background: #4c1d95; }

.cf-btn.is-chat.is-active {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.cf-menu {
  position: absolute;
  right: 0;
  bottom: 64px;
  transform-origin: bottom right;
  background: transparent;
  overflow: visible;
  padding: 0;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  pointer-events: none;
  transition: opacity 220ms ease, transform 260ms ease;
}

.cf-stack {
  max-height: calc(100vh - 96px);
  overflow: auto;
  padding-top: 2px;
  background: transparent;
}

.cf-stack::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.cf.is-open .cf-menu {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.cf-main {
  width: 56px;
  height: 56px;
}

.cf-main svg {
  width: 24px;
  height: 24px;
}

.cf.is-open .cf-main {
  background: #4c1d95;
}

.cf-chat {
  position: fixed;
  right: 100px;
  bottom: 16px;
  width: min(420px, calc(100vw - 132px));
  height: min(620px, calc(100vh - 96px));
  max-height: min(620px, calc(100vh - 96px));
  z-index: 10000;
  display: none;
  background: rgba(11, 11, 15, 0.94);
  backdrop-filter: blur(14px);
  flex-direction: column;
}

.cf-chat.is-open {
  display: flex;
}

.cf-chat .chat-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-height: 0;
}

.cf-chat #cf-chat-main {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.cf-chat .chat-messages {
  flex: 1;
  min-height: 220px;
  max-height: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

@media (max-width: 640px) {
  .cf {
    right: 8px;
    bottom: 16px;
  }
  .cf-chat {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    height: calc(100vh - 24px);
    max-height: calc(100vh - 24px);
  }
}

.chat-fab {
  position: fixed;
  right: 16px;
  bottom: 74px;
  z-index: 50;
}

.chat-panel {
  position: fixed;
  right: 16px;
  bottom: 128px;
  width: min(420px, calc(100vw - 32px));
  max-height: min(620px, calc(100vh - 170px));
  z-index: 60;
  display: none;
  background: rgba(11, 11, 15, 0.94);
  backdrop-filter: blur(14px);
}

.chat-panel.is-open {
  display: block;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.chat-body {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.chat-messages {
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.04);
  max-height: 330px;
}

.chat-messages.is-empty {
  display: none;
}

.cf-chat .chat-messages,
.chat-panel .chat-messages {
  background: rgba(0, 0, 0, 0.35);
}

.cf-chat .chat-messages {
  scrollbar-width: none;
}

.cf-chat .chat-messages::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.cf-chat input,
.cf-chat textarea,
.chat-panel input,
.chat-panel textarea {
  background: rgba(0, 0, 0, 0.35);
}

.cf-chat textarea.chat-input {
  min-height: 44px;
  max-height: 110px;
  resize: none;
}

.cf-chat input:focus,
.cf-chat textarea:focus,
.chat-panel input:focus,
.chat-panel textarea:focus {
  outline: none;
  box-shadow: none;
}

.chat-msg {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 10px 0;
}

.chat-bubble {
  display: inline-block;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  max-width: 86%;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.5;
  font-size: 14px;
}

.chat-msg.client {
  align-items: flex-end;
}

.chat-msg.client .chat-bubble {
  background: rgba(124, 58, 237, 0.14);
  border-color: rgba(124, 58, 237, 0.35);
}

.chat-msg.admin {
  align-items: flex-start;
}

.chat-msg.admin .chat-bubble {
  background: rgba(255, 255, 255, 0.06);
}

.chat-msg.is-typing .chat-bubble {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.typing-label {
  color: var(--muted);
  font-size: 13px;
}

.typing-dots {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  animation: cfTyping 1.1s infinite ease-in-out;
}

.typing-dots span:nth-child(2) {
  animation-delay: 0.15s;
}

.typing-dots span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes cfTyping {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

.chat-meta {
  font-size: 12px;
  color: var(--muted);
}

.chat-form {
  display: grid;
  gap: 8px;
}

.chat-sessions {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.chat-sessions-title {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.chat-session {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.chat-session:first-of-type {
  border-top: none;
  padding-top: 0;
}

.chat-session-open {
  background: transparent;
  border: none;
  color: inherit;
  text-align: left;
  padding: 0;
  cursor: pointer;
}

.chat-session-title {
  font-weight: 700;
  font-size: 14px;
}

.chat-session-last {
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-session-del {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
}

.chat-session-del:disabled {
  opacity: 0.4;
}

.chat-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
  width: 100%;
}

.chat-row > * {
  min-width: 0;
}

.chat-input {
  flex: 1;
}
