:root {
  --primary: #17324d;
  --accent: #2f7f7a;
  --background: #f7f9fb;
  --surface: #ffffff;
  --surface-soft: #eef5f6;
  --text: #1f2933;
  --muted: #667085;
  --border: #e4e7ec;
  --hero-start: #ffffff;
  --hero-end: #eef5f6;
  --shadow: 0 14px 36px rgba(23, 50, 77, 0.12);
  --radius: 18px;
  --card-radius: 18px;
  --button-radius: 999px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; }

body[data-industry="dental"] {
  --background: #f6fafb;
  --surface-soft: #edf8f7;
  --hero-start: #ffffff;
  --hero-end: #eaf6f5;
  --card-radius: 22px;
}

body[data-industry="physio"] {
  --background: #f7faf7;
  --surface-soft: #eef7f1;
  --hero-start: #fbfffc;
  --hero-end: #e7f4ec;
  --card-radius: 14px;
  --button-radius: 12px;
}

body[data-industry="learning"] {
  --background: #fffaf2;
  --surface-soft: #fff3de;
  --hero-start: #fffdf8;
  --hero-end: #fff0d6;
  --card-radius: 26px;
  --button-radius: 14px;
}

body[data-industry="salon"] {
  --background: #fcf8fb;
  --surface-soft: #f8edf3;
  --hero-start: #fffafd;
  --hero-end: #f5e7ef;
  --card-radius: 30px;
  --button-radius: 999px;
}

body[data-industry="general"] {
  --background: #f7f9fb;
  --surface-soft: #eef3f7;
  --hero-start: #ffffff;
  --hero-end: #edf2f7;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.demo-banner {
  text-align: center;
  padding: 10px 16px;
  background: #fff3cd;
  color: #664d03;
  font-weight: 700;
  font-size: 14px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.header-inner, .footer-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
}
.logo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.business-name { font-weight: 800; color: var(--primary); }
.business-type { color: var(--muted); font-size: 13px; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 64px;
  background: linear-gradient(135deg, var(--hero-start) 0%, var(--hero-end) 100%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: center;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.28;
  filter: blur(2px);
}
.hero-orb-one {
  width: 260px;
  height: 260px;
  right: -70px;
  top: 10px;
  background: var(--accent);
}
.hero-orb-two {
  width: 180px;
  height: 180px;
  left: -80px;
  bottom: -80px;
  background: var(--primary);
  opacity: 0.12;
}

body[data-industry="learning"] .hero-orb-one {
  border-radius: 28% 72% 61% 39% / 45% 35% 65% 55%;
}
body[data-industry="salon"] .hero-orb-one,
body[data-industry="salon"] .hero-orb-two {
  filter: blur(18px);
  opacity: 0.18;
}
body[data-industry="physio"] .hero-orb-one {
  border-radius: 18px;
  transform: rotate(12deg);
  opacity: 0.16;
}

.eyebrow, .section-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  font-size: 13px;
}
h1, h2, h3 { color: var(--primary); line-height: 1.15; }
h1 { font-size: clamp(40px, 6vw, 68px); margin: 0 0 20px; }
h2 { font-size: clamp(28px, 4vw, 42px); margin: 0 0 18px; }
h3 { margin: 0 0 10px; }
.hero-description { max-width: 720px; font-size: 19px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--button-radius);
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.button:hover { opacity: 0.94; transform: translateY(-1px); }
.button-secondary { background: transparent; color: var(--primary); }
.button-small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.quick-info {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  color: var(--muted);
}
.quick-info > div { display: grid; gap: 2px; }
.quick-label { font-size: 12px; text-transform: uppercase; font-weight: 800; color: var(--primary); }

.hero-card {
  background: var(--primary);
  color: #fff;
  border-radius: calc(var(--card-radius) + 8px);
  padding: 12px;
  box-shadow: var(--shadow);
}
.hero-card-inner {
  min-height: 330px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--card-radius);
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-card h2 { color: #fff; margin-top: 22px; }
.hero-card p { color: rgba(255,255,255,0.82); }
.assistant-badge { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7ee3a1;
  display: inline-block;
}
.text-button {
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

body[data-industry="learning"] .hero-card {
  transform: rotate(1deg);
}
body[data-industry="learning"] .hero-card-inner {
  transform: rotate(-1deg);
}
body[data-industry="salon"] .hero-card {
  background: linear-gradient(145deg, var(--primary), var(--accent));
}
body[data-industry="physio"] .hero-card {
  box-shadow: 0 16px 28px rgba(23,59,58,0.14);
}

.section { padding: 78px 0; }
.section-alt { background: #fff; }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.card, .faq-item, .price-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 24px;
}
.card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.section-alt .card { background: var(--background); }
.card p { color: var(--muted); margin-bottom: 0; }

body[data-industry="physio"] .card {
  border-left: 4px solid var(--accent);
  border-radius: 12px;
}
body[data-industry="learning"] .card:nth-child(2n) {
  transform: rotate(0.4deg);
}
body[data-industry="learning"] .card:nth-child(2n+1) {
  transform: rotate(-0.4deg);
}
body[data-industry="learning"] .card:hover { transform: translateY(-3px) rotate(0deg); }
body[data-industry="salon"] .card {
  box-shadow: 0 8px 24px rgba(74,49,69,0.06);
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.hours-list {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.hours-row:last-child { border-bottom: 0; }
.hours-row strong { color: var(--primary); }
.faq-list { display: grid; gap: 12px; margin-top: 26px; }
.faq-item button {
  width: 100%;
  border: 0;
  background: none;
  text-align: left;
  padding: 0;
  color: var(--primary);
  font-weight: 800;
  cursor: pointer;
}
.faq-answer { margin: 12px 0 0; color: var(--muted); }
.price-list { display: grid; gap: 12px; margin-top: 26px; }
.price-item { display: flex; justify-content: space-between; gap: 20px; }
.price-item strong:last-child { color: var(--accent); }
.fine-print { color: var(--muted); font-size: 13px; }
.map-frame { width: 100%; min-height: 380px; border: 0; border-radius: var(--card-radius); }

.contact-section { padding-top: 20px; }
.contact-card {
  background: var(--primary);
  color: #fff;
  border-radius: calc(var(--card-radius) + 8px);
  padding: 42px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.contact-card h2, .contact-card .section-kicker { color: #fff; }
.contact-card p { color: rgba(255,255,255,0.82); }
.contact-links { display: grid; gap: 12px; }
.contact-link {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  text-decoration: none;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 700;
}
body[data-industry="salon"] .contact-card {
  background: linear-gradient(135deg, var(--primary), var(--accent));
}
body[data-industry="learning"] .contact-card {
  box-shadow: 12px 12px 0 rgba(209,141,47,0.15);
}

.site-footer { padding: 24px 0 48px; color: var(--muted); font-size: 14px; }

.chat-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  border: 0;
  border-radius: var(--button-radius);
  min-width: 64px;
  height: 56px;
  padding: 0 20px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.chat-panel {
  position: fixed;
  right: 22px;
  bottom: 90px;
  z-index: 60;
  width: min(390px, calc(100vw - 30px));
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.chat-header {
  background: var(--primary);
  color: #fff;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.chat-subtitle { font-size: 12px; opacity: 0.8; margin-top: 4px; }
.chat-close { border: 0; background: none; color: #fff; font-size: 26px; cursor: pointer; }
.chat-messages {
  height: 270px;
  overflow-y: auto;
  padding: 16px;
  background: #f8fafc;
}
.message {
  max-width: 82%;
  padding: 10px 12px;
  border-radius: 14px;
  margin-bottom: 10px;
  font-size: 14px;
}
.message.assistant { background: #fff; border: 1px solid var(--border); }
.message.user { background: var(--primary); color: #fff; margin-left: auto; }
.chat-form { display: flex; border-top: 1px solid var(--border); }
.chat-form input { flex: 1; border: 0; padding: 14px; outline: 0; }
.chat-form button { border: 0; background: var(--accent); color: #fff; padding: 0 18px; font-weight: 800; cursor: pointer; }
.chat-note { padding: 8px 12px; color: var(--muted); font-size: 11px; border-top: 1px solid var(--border); }

@media (max-width: 820px) {
  .hero { padding-top: 54px; }
  .hero-grid, .two-column, .contact-card { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .header-inner { min-height: 64px; }
  .button-small { display: none; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  body[data-industry="learning"] .hero-card,
  body[data-industry="learning"] .hero-card-inner,
  body[data-industry="learning"] .card { transform: none; }
}
