@charset "UTF-8";

:root {
  --bg: #f4efe6;
  --card: #fff8ef;
  --border: #e2d6c3;
  --text: #1c1a16;
  --muted: #6b5f52;
  --accent: #1f3b5c;
  --accent-strong: #274c77;
  --accent-soft: #d7e3f4;
  --danger: #8b2e2e;
}

* {
  box-sizing: border-box;
}

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

h1, h2, h3 {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  letter-spacing: 0.3px;
}

.page {
  min-height: 100vh;
  padding: 34px;
  padding-top: max(45px, env(safe-area-inset-top));
  padding-top: max(45px, constant(safe-area-inset-top));
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0 12px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo-mark {
  height: 40px;
  width: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fffdf7 url("/static/appa_app_icon.png") center / 180% no-repeat;
}

.site-logo strong {
  font-size: 16px;
}

.site-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  font-size: 14px;
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--accent);
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  display: grid;
  gap: 12px;
  box-shadow: 0 12px 30px rgba(31, 59, 92, 0.08);
}

.muted {
  color: var(--muted);
  font-size: 14px;
}

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

.row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.row > * {
  flex: 1 1 180px;
}

input, select, button, textarea {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  width: 100%;
  font-size: 14px;
  background: #fffdf7;
  color: var(--text);
}

label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

input[type="radio"],
input[type="checkbox"] {
  width: auto;
  padding: 0;
  border: none;
  background: transparent;
  margin: 0;
  accent-color: var(--accent);
}

button {
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

button.secondary {
  background: var(--accent-strong);
}

button.link {
  background: var(--accent-soft);
  border: 1px solid var(--border);
  color: var(--accent);
}

button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

details summary {
  cursor: pointer;
  font-weight: 600;
  margin-bottom: 12px;
}

a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fffdf7;
  border-radius: 12px;
  overflow: hidden;
}

th, td {
  padding: 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 14px;
}

th {
  background: #efe6d7;
  font-weight: 600;
}

tr:last-child td {
  border-bottom: none;
}

@media (max-width: 720px) {
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  th, td {
    white-space: nowrap;
  }
}

.status {
  padding: 10px 12px;
  background: var(--accent-soft);
  border-radius: 10px;
}

.company-list {
  display: grid;
  gap: 12px;
}

.company-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  display: grid;
  gap: 10px;
  background: #fffdf7;
}

.hidden {
  display: none;
}

.date-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.date-chip {
  padding: 4px 10px;
  border-radius: 999px;
  background: #efe6d7;
  font-size: 12px;
}

.calendar-card {
  display: grid;
  gap: 8px;
}

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

.calendar-header button {
  width: auto;
  padding: 6px 12px;
}

.calendar-label {
  font-weight: 600;
}

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

.calendar-weekdays div {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.calendar-day {
  padding: 8px 0;
  border-radius: 8px;
  border: 1px solid transparent;
  text-align: center;
  background: #fffdf7;
  color: var(--text);
  cursor: pointer;
}

.calendar-day.disabled {
  background: #1f1f1f;
  color: #d7d7d7;
  cursor: not-allowed;
}

.calendar-day.selected {
  background: var(--accent);
  color: #fff;
}

.calendar-day.today {
  border-color: var(--accent);
  color: var(--accent);
}

.calendar-day.inactive {
  color: #b9ad9f;
}

.centered {
  text-align: center;
}

.hero {
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f7f1e7, #efe2cf);
  border: 1px solid var(--border);
  display: grid;
  gap: 12px;
}

.hero .row {
  justify-content: flex-start;
}

.hero button.link {
  background: var(--accent-soft);
  border: 1px solid var(--border);
  color: var(--accent);
}

.hero-split {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
}

.hero-actions {
  flex-wrap: wrap;
}

.hero-panel {
  display: grid;
  gap: 12px;
}

.hero-panel-card {
  background: #fffdf7;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  display: grid;
  gap: 10px;
}

.hero-panel-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  display: grid;
  gap: 6px;
}

.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 600;
}

.feature-grid {
  align-items: stretch;
}

.feature-card {
  gap: 10px;
}

.feature-media {
  height: 140px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background-size: cover;
  background-position: center;
}

.feature-media.booking {
  background-image: linear-gradient(120deg, rgba(244, 239, 230, 0.15), rgba(215, 227, 244, 0.35)), url("https://images.unsplash.com/photo-1511707171634-5f897ff02aa9?auto=format&fit=crop&w=900&q=80");
}

.feature-media.deposits {
  background-image: linear-gradient(120deg, rgba(31, 59, 92, 0.35), rgba(215, 227, 244, 0.65)), url("https://images.unsplash.com/photo-1556740749-887f6717d7e4?auto=format&fit=crop&w=900&q=80");
}

.feature-media.profiles {
  background-image: linear-gradient(120deg, rgba(255, 248, 239, 0.6), rgba(215, 227, 244, 0.6)), url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=900&q=80");
}

.feature-media.requests {
  background-image: linear-gradient(120deg, rgba(244, 239, 230, 0.7), rgba(31, 59, 92, 0.2)), url("https://images.unsplash.com/photo-1506784983877-45594efa4cbe?auto=format&fit=crop&w=900&q=80");
}

.highlight-card {
  display: grid;
  gap: 12px;
  background: #fffdf7;
}

.faq-card details {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.faq-card details:last-child {
  border-bottom: none;
}

.faq-card summary {
  font-weight: 600;
}

.testimonial-card {
  display: grid;
  gap: 12px;
}

.testimonial p {
  margin: 0 0 6px 0;
  font-weight: 600;
}

.pricing-card {
  display: grid;
  gap: 10px;
}

.pricing-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

.price-tag {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}

.section {
  display: grid;
  gap: 14px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.divider {
  height: 1px;
  background: var(--border);
  opacity: 0.6;
}

.sticky-cta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  display: none;
}

.sticky-cta button {
  box-shadow: 0 16px 30px rgba(31, 59, 92, 0.25);
}

.section-title {
  font-size: 22px;
}

.section-subtitle {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.feature-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 6px;
  font-size: 14px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-list .pill {
  background: #fffdf7;
  border: 1px solid var(--border);
  color: var(--accent);
}

.testimonial {
  display: grid;
  gap: 6px;
}

.code-block {
  background: #11131a;
  color: #e7eefc;
  padding: 12px;
  border-radius: 12px;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 12px;
  overflow-x: auto;
}

.policy-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
}

@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
  }
}

.appointments-mobile {
  display: none;
  gap: 12px;
}

.mobile-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  background: #fffdf7;
}

.mobile-card summary {
  cursor: pointer;
  font-weight: 600;
  display: flex;
  gap: 8px;
  align-items: center;
}

.mobile-card-body {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

@media (max-width: 720px) {
  .page {
    padding: 16px;
  }
  .page::before {
    height: 160px;
  }
  .container {
    padding: 0 12px;
  }
  .card {
    padding: 14px;
  }
  .hero {
    padding: 18px;
  }
  .sticky-cta {
    display: block;
  }
  .appointments-table {
    display: none;
  }
  .appointments-mobile {
    display: grid;
  }
}
