:root {
  --bg: #f4f8f4;
  --bg-card: #ffffff;
  --text: #111111;
  --text-muted: #666666;
  --border: #dddddd;
  --accent: #2e7d32; /* eco green */
  --accent-soft: #e8f5e9;
  --danger: #c62828;
}

[data-theme="dark"] {
  --bg: #101314;
  --bg-card: #181c1f;
  --text: #f5f5f5;
  --text-muted: #aaaaaa;
  --border: #333333;
  --accent-soft: #163520;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

#app {
  max-width: 900px;
  margin: 0 auto;
  padding: 16px;
}

.card {
  background: var(--bg-card);
  border-radius: 14px;
  border: 2px solid #000;
  padding: 16px 14px 18px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.header-bar {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.brand-title {
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.brand-tagline {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.badge {
  display: inline-block;
  margin-top: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
}

.header-right {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}

.header-right small {
  font-size: 11px;
  color: var(--text-muted);
}

/* Buttons & links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  border: none;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: #000000;
  color: #ffffff;
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

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

.btn-small {
  padding: 6px 10px;
  font-size: 12px;
}

/* Dark mode toggle */

.dark-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
}

.dark-toggle input[type="checkbox"] {
  width: 32px;
  height: 16px;
  appearance: none;
  background: var(--border);
  border-radius: 999px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
}

.dark-toggle input[type="checkbox"]::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  top: 1px;
  left: 1px;
  transition: transform 0.2s;
}

.dark-toggle input[type="checkbox"]:checked {
  background: var(--accent);
}

.dark-toggle input[type="checkbox"]:checked::before {
  transform: translateX(16px);
}

/* Landing layout */

.hero {
  margin-top: 10px;
}

.hero-title {
  font-size: 22px;
  font-weight: 800;
  margin: 8px 0 6px;
}

.hero-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.section {
  margin-top: 16px;
}

.section h2 {
  font-size: 16px;
  margin: 0 0 4px;
}

.section p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 8px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  font-size: 13px;
  margin-bottom: 4px;
}

.feature-list li::before {
  content: "• ";
  color: var(--accent);
}

/* Booking form */

h1 {
  margin: 0 0 6px;
  font-size: 20px;
}

h2 {
  font-size: 16px;
  margin: 14px 0 6px;
  font-weight: 700;
}

label {
  font-size: 13px;
  font-weight: 600;
  display: block;
  margin: 6px 0 3px;
}

input, select, textarea {
  width: 100%;
  padding: 9px 10px;
  border-radius: 9px;
  border: 1px solid var(--border);
  font-size: 14px;
  outline: none;
  background: var(--bg-card);
  color: var(--text);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
}

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

.row {
  display: flex;
  gap: 8px;
}

.row > div {
  flex: 1;
}

.box {
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 8px 10px;
  background: var(--bg);
}

.addon-item,
.service-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding: 4px 0;
  gap: 8px;
}

.addon-item label {
  margin: 0;
  font-weight: 500;
}

.addon-item span {
  white-space: nowrap;
}

.total-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.total-main {
  font-size: 18px;
  font-weight: 800;
}

.total-note {
  font-size: 11px;
  color: var(--text-muted);
}

.small-note {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Floating contact button & modal */

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

.contact-fab button {
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
}

.modal {
  background: var(--bg-card);
  border-radius: 14px;
  padding: 14px;
  width: 100%;
  max-width: 360px;
  border: 1px solid var(--border);
}

.modal h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}

.modal-open {
  display: flex;
}

/* Responsive */

@media (max-width: 600px) {
  .header-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .header-right {
    align-items: flex-start;
  }
  .row {
    flex-direction: column;
  }
}