:root {
  --bg: #0f172a;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --brand: #f97316;
  --brand-dark: #ea580c;
  --success: #16a34a;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.14);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

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

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 20px;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #fff;
  background: var(--brand);
}

.desktop-nav { display: flex; gap: 22px; font-weight: 800; color: #334155; }
.desktop-nav a:hover { color: var(--brand-dark); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.25);
  transition: transform .15s ease, background .15s ease;
}

.btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn.secondary { background: #fff; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn.small { padding: 10px 16px; }
.btn.full { width: 100%; }

.hero {
  padding: 86px 0;
  color: #fff;
  background:
    radial-gradient(circle at 20% 20%, rgba(249, 115, 22, 0.28), transparent 35%),
    linear-gradient(135deg, #0f172a, #111827 70%, #171717);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
  font-weight: 900;
}

h1, h2, h3 { line-height: 1.15; margin-top: 0; }
h1 { font-size: clamp(42px, 7vw, 76px); margin-bottom: 20px; }
h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 16px; }
h3 { font-size: 22px; margin-bottom: 10px; }

.lead { font-size: 20px; color: #cbd5e1; max-width: 760px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #e2e8f0;
  font-weight: 800;
}

.trust-row span {
  padding: 8px 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
}

.hero-card {
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: var(--shadow);
}

.hero-card p, .hero-card li { color: #e2e8f0; }
.hero-card ul { padding-left: 20px; }
.card-kicker { color: var(--brand) !important; font-weight: 900; text-transform: uppercase; letter-spacing: .09em; font-size: 12px; margin: 0 0 8px; }

.section { padding: 82px 0; }
.section.alt { background: var(--surface-soft); }
.section-intro { max-width: 780px; color: var(--muted); margin-bottom: 28px; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.card, .info-box, .contact-card, .cta-panel {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.card, .info-box, .contact-card, .cta-panel { padding: 24px; }
.card p, .info-box p, .contact-card p, .cta-panel p { color: var(--muted); }

.price-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.price-table { width: 100%; min-width: 720px; border-collapse: collapse; }
.price-table th, .price-table td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: left; }
.price-table th { background: #fff7ed; color: #9a3412; }
.price-table tr:last-child td { border-bottom: 0; }

.notice {
  margin-top: 18px;
  border: 1px solid #fed7aa;
  background: #fff7ed;
  color: #9a3412;
  border-radius: 16px;
  padding: 14px 16px;
  font-weight: 700;
}

.split, .contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 34px;
  align-items: start;
}

.check-list { padding: 0; list-style: none; display: grid; gap: 10px; }
.check-list li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  border-radius: 50%;
  background: #dcfce7;
  color: #166534;
  font-weight: 900;
}

.muted { color: var(--muted); }
.privacy-small { margin-bottom: 0; color: var(--muted); font-size: 13px; }

.site-footer { padding: 34px 0; color: #cbd5e1; background: var(--bg); }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; }
.footer-grid p { margin: 4px 0; }

/* Chatbot */
.chat-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100;
  font-family: inherit;
}

.chat-toggle {
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.chat-panel {
  width: min(425px, calc(100vw - 32px));
  height: min(670px, calc(100vh - 110px));
  margin-bottom: 12px;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

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

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg);
  color: #fff;
}

.chat-header span { display: block; color: #cbd5e1; font-size: 13px; }

.icon-btn {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  cursor: pointer;
  font-size: 22px;
}

.chat-messages {
  padding: 16px;
  overflow-y: auto;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.message {
  max-width: 90%;
  padding: 11px 13px;
  border-radius: 16px;
  white-space: pre-wrap;
  font-size: 14px;
}

.message.bot {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--line);
}

.message.user {
  align-self: flex-end;
  background: var(--brand);
  color: #fff;
}

.message.system {
  align-self: center;
  background: #ecfdf5;
  color: #166534;
  border: 1px solid #bbf7d0;
  max-width: 95%;
  font-weight: 800;
}

.message.warning {
  align-self: center;
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #fed7aa;
  max-width: 95%;
  font-weight: 800;
}

.message.error {
  align-self: center;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  max-width: 95%;
  font-weight: 800;
}

.typing {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
}

.quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
}

.quick-replies button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 10px;
  background: #fff;
  cursor: pointer;
  font-weight: 800;
  font-size: 13px;
}

.quick-replies button:hover { border-color: var(--brand); color: var(--brand-dark); }

.quick-replies .send-lead-btn {
  background: #ecfdf5;
  border-color: #86efac;
  color: #166534;
}

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

.chat-input-area input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 14px;
}

.chat-input-area input:focus {
  outline: 3px solid rgba(249, 115, 22, 0.18);
  border-color: var(--brand);
}

.chat-input-area button {
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .hero-grid, .cards, .split, .contact-grid { grid-template-columns: 1fr; }
  .cards { gap: 14px; }
  .footer-grid { flex-direction: column; }
}

@media (max-width: 520px) {
  .nav .btn.small { display: none; }
  .hero { padding: 58px 0; }
  .section { padding: 58px 0; }
  .hero-actions .btn { width: 100%; }
  .chat-widget { right: 12px; bottom: 12px; }
}
