:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --ink: #f3f4f6;
  --muted: #d1d5db;
  --line: #3f3f46;
  --primary: #000000;
  --accent: #e5e7eb;
  --accent-strong: #c9cdd3;
  --radius: 16px;
  --shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
  --max: 1120px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
}

body {
  line-height: 1.6;
}

a { color: inherit; }

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: #fff;
  color: #000;
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.93);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  padding: 2px;
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
}

.nav-links a:hover {
  color: #fff;
  background: #222222;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #111111;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  position: relative;
  content: "";
}

.menu-toggle span::before { top: -6px; position: absolute; }
.menu-toggle span::after { top: 6px; position: absolute; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0.72rem 1.1rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.btn-primary {
  color: #000;
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.cta-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.cta-group-center {
  justify-content: center;
}

.btn-whatsapp {
  background: #1a1a1a;
  border-color: #3f3f46;
  color: #f3f4f6;
}

.btn-email {
  background: #ffffff;
  border-color: #d4d4d8;
  color: #111111;
}

.btn-whatsapp::before,
.btn-email::before {
  content: "";
  width: 16px;
  height: 16px;
  display: inline-block;
  margin-right: 0.45rem;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.btn-whatsapp::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2325D366' d='M20.52 3.48A11.82 11.82 0 0 0 12.05 0C5.5 0 .16 5.34.16 11.9c0 2.1.55 4.15 1.59 5.95L.06 24l6.31-1.65a11.9 11.9 0 0 0 5.68 1.45h.01c6.55 0 11.89-5.33 11.9-11.9a11.83 11.83 0 0 0-3.44-8.42ZM12.06 21.8h-.01c-1.72 0-3.4-.46-4.88-1.33l-.35-.21-3.74.98 1-3.65-.23-.37a9.86 9.86 0 0 1-1.51-5.26c0-5.44 4.43-9.88 9.89-9.88 2.64 0 5.12 1.03 6.99 2.9a9.83 9.83 0 0 1 2.89 7c0 5.45-4.43 9.89-9.88 9.89Zm5.42-7.42c-.3-.15-1.76-.87-2.03-.97-.27-.1-.47-.15-.67.15-.2.3-.77.97-.94 1.17-.17.2-.35.22-.64.07-.3-.15-1.25-.46-2.39-1.47-.88-.79-1.48-1.76-1.65-2.06-.18-.3-.02-.46.13-.61.13-.13.3-.35.45-.52.15-.18.2-.3.3-.5.1-.2.05-.37-.03-.52-.07-.15-.67-1.61-.91-2.21-.24-.58-.49-.5-.67-.51-.17-.01-.37-.01-.57-.01s-.52.07-.79.37c-.27.3-1.04 1.02-1.04 2.48 0 1.46 1.07 2.88 1.22 3.08.15.2 2.1 3.2 5.08 4.49.71.31 1.26.49 1.69.63.71.23 1.36.2 1.87.12.57-.09 1.76-.72 2.01-1.41.25-.69.25-1.29.17-1.42-.07-.12-.27-.2-.57-.35Z'/%3E%3C/svg%3E");
}

.btn-email::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23EA4335' d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2Zm0 3.2-8 5.6-8-5.6V6l8 5.6L20 6v1.2Z'/%3E%3C/svg%3E");
}

.btn-secondary {
  color: #e5e7eb;
  border-color: #52525b;
  background: #1a1a1a;
}

.hero {
  padding: 5rem 0 4rem;
  background: radial-gradient(circle at 80% 15%, #242424 0%, transparent 45%), #0a0a0a;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
}

h1 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-size: clamp(2rem, 4.6vw, 3.35rem);
}

.lead {
  margin: 1rem 0 1.5rem;
  color: var(--muted);
  max-width: 60ch;
}

.hero-card {
  background: #1a1a1a;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card-header {
  display: flex;
  gap: 0.4rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #6b7280;
}

.hero-chat {
  padding: 1rem;
  display: grid;
  gap: 0.7rem;
}

.assistant-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #e5e7eb;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.assistant-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid #52525b;
  flex-shrink: 0;
}

.online-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

.online-text {
  color: #86efac;
}

.bot-row {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
}

.bubble {
  margin: 0;
  max-width: 92%;
  font-size: 0.92rem;
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
}

.bubble.bot {
  background: #242424;
  border: 1px solid #3f3f46;
}

.bubble.user {
  margin-left: auto;
  color: #fff;
  background: #e5e7eb;
  color: #000;
}

.hero-actions {
  border-top: 1px solid var(--line);
  display: flex;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
}

.hero-actions span {
  font-size: 0.76rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
}

.section {
  padding: 4.4rem 0;
}

.section-alt {
  background: #111111;
  border-top: 1px solid #2a2a2a;
  border-bottom: 1px solid #2a2a2a;
}

h2 {
  margin: 0 0 0.95rem;
  font-size: clamp(1.6rem, 3.1vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.section p {
  margin: 0;
  color: var(--muted);
  max-width: 72ch;
}

.cards-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: #1a1a1a;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.02rem;
}

.card p {
  font-size: 0.95rem;
}

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

.feature-list li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.pricing-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  align-items: center;
}

.price-card {
  background: #000000;
  color: #fff;
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.price-label {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #d1d5db;
}

.price {
  margin: 0;
  font-size: 2.45rem;
  line-height: 1.1;
  font-weight: 800;
}

.price span {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #d1d5db;
}

.price-note {
  color: #d1d5db;
  margin-top: 0.65rem;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #1a1a1a;
  padding: 0.85rem 1rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-list p {
  margin-top: 0.6rem;
  font-size: 0.95rem;
}

.section-cta {
  text-align: center;
  background: #0a0a0a;
}

.section-cta p {
  margin: 0 auto 1.25rem;
}

.section-image-wrap {
  margin-top: 1rem;
}

.section-image {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #1a1a1a;
  min-height: 240px;
  object-fit: cover;
}

.site-footer {
  background: #000000;
  color: #d1d5db;
  padding: 2rem 0;
  border-top: 1px solid #2a2a2a;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
}

.footer-brand {
  margin: 0;
  color: #fff;
  font-weight: 600;
}

.footer-tagline {
  margin: 0.3rem 0 0;
  font-size: 0.92rem;
}

.footer-logo-row {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.footer-logo {
  width: 36px;
  height: 36px;
}

.footer-copy {
  margin: 0;
  font-size: 0.84rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.chatbot-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1200;
  border: 1px solid #5b5b5f;
  background: linear-gradient(135deg, #f3f4f6, #d4d4d8);
  color: #111111;
  border-radius: 999px;
  padding: 0.58rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chatbot-fab:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.45);
}

.chatbot-fab-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #111111;
  color: #f3f4f6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.chatbot-fab-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.chatbot-fab-text {
  font-size: 0.84rem;
  letter-spacing: 0.01em;
}

.chatbot-panel {
  position: fixed;
  right: 1.25rem;
  bottom: 4.9rem;
  width: min(430px, calc(100vw - 2rem));
  height: min(620px, calc(100vh - 6rem));
  z-index: 1201;
  border: 1px solid #3f3f46;
  border-radius: 18px;
  overflow: hidden;
  background: #0f0f11;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

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

.chatbot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid #2d2d31;
  background: linear-gradient(180deg, #131316, #101013);
}

.chatbot-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.chatbot-title {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fafafa;
  line-height: 1.2;
}

.chatbot-subtitle {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  color: #6ee7b7;
  line-height: 1.2;
}

.chatbot-head button {
  border: 1px solid #3f3f46;
  background: #19191d;
  color: #e5e7eb;
  border-radius: 999px;
  width: 30px;
  height: 30px;
  padding: 0;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.chatbot-body {
  padding: 0.85rem;
  padding-bottom: max(0.85rem, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: radial-gradient(circle at top right, rgba(229, 231, 235, 0.08), transparent 46%), #0f0f11;
}

.chatbot-intro {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.55rem 0.6rem;
  border: 1px solid #303036;
  border-radius: 12px;
  background: #16161b;
  transition: opacity 0.2s ease, max-height 0.2s ease, margin 0.2s ease, padding 0.2s ease;
  max-height: 120px;
  opacity: 1;
}

.chatbot-intro.chatbot-intro-hidden {
  opacity: 0;
  max-height: 0;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
  overflow: hidden;
  pointer-events: none;
}

.chatbot-intro p {
  margin: 0;
  color: #f4f4f5;
  font-size: 0.86rem;
  line-height: 1.4;
}

.chatbot-messages {
  min-height: 0;
  overflow-y: auto;
  display: grid;
  gap: 0.65rem;
  padding-right: 0.2rem;
  padding-bottom: 1.1rem;
  flex: 1;
}

.chat-line {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.user-line {
  justify-content: flex-end;
}

.chat-bubble {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.42;
  border-radius: 14px;
  padding: 0.58rem 0.72rem;
  max-width: 82%;
}

.bot-bubble {
  background: #1b1b20;
  border: 1px solid #33333a;
  color: #f5f5f5;
}

.typing-bubble {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.typing-dots {
  display: inline-flex;
  gap: 0.2rem;
  align-items: center;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #d4d4d8;
  opacity: 0.35;
  animation: typingPulse 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; }

.typing-label {
  font-size: 0.76rem;
  color: #c7c7cf;
}

@keyframes typingPulse {
  0%, 100% { opacity: 0.35; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-1px); }
}

.user-bubble {
  background: linear-gradient(135deg, #eceef2, #d9dbe0);
  border: 1px solid #d4d4d8;
  color: #111111;
}

.chatbot-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.quick-action-btn {
  border: 1px solid #3f3f46;
  border-radius: 999px;
  background: #18181c;
  color: #e4e4e7;
  font-size: 0.74rem;
  padding: 0.34rem 0.58rem;
  cursor: pointer;
}

.quick-action-btn:hover {
  background: #24242a;
}

#chatbotInput {
  width: 100%;
  border: 1px solid #3f3f46;
  border-radius: 12px;
  background: #101014;
  color: #f3f4f6;
  padding: 0.55rem 0.65rem;
  resize: none;
  font: inherit;
  line-height: 1.4;
  min-height: 44px;
  box-sizing: border-box;
  display: block;
  overflow-y: hidden;
}

.chatbot-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: center;
}

.chatbot-actions .btn {
  flex: 1 1 0;
  justify-content: center;
}

.chatbot-note {
  margin: 0;
  font-size: 0.75rem;
  color: #b4b4bb;
}

@media (max-width: 940px) {
  .desktop-only { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    display: none;
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    top: 72px;
    background: #111111;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem;
  }
  .nav-links.open { display: flex; }
  .hero-grid,
  .cards-grid,
  .pricing-wrap,
  .footer-wrap {
    grid-template-columns: 1fr;
    display: grid;
  }
  .cta-group {
    width: 100%;
  }
  .cta-group .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}
