:root {
  --bg: #fff8f2;
  --card: #ffffff;
  --text: #071425;
  --muted: #6b7280;
  --line: #e8eaee;
  --navy: #06162d;
  --orange: #f26522;
  --soft-orange: #fff0e4;
  --soft-green: #eef8eb;
  --shadow: 0 18px 50px rgba(7, 20, 37, 0.10);
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
  margin: 0;
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(242, 101, 34, 0.10), transparent 32rem),
    var(--bg);
  color: var(--text);
}

button, input, textarea { font: inherit; }

.page-shell {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 18px;
}

.booking-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(232, 234, 238, 0.85);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 22px;
}

.hero {
  text-align: center;
  padding: 10px 4px 18px;
}

.logo {
  display: block;
  width: min(220px, 64%);
  max-height: 54px;
  height: auto;
  object-fit: contain;
  margin: 0 auto 16px;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 9vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero p {
  margin: 14px auto 0;
  max-width: 360px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}

.summary {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(7, 20, 37, 0.06);
  margin-bottom: 26px;
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.summary-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--soft-orange);
  font-size: 22px;
}

.summary-icon.green { background: var(--soft-green); }

.summary strong {
  display: block;
  font-size: 22px;
  line-height: 1.1;
}

.summary span { color: var(--muted); }

.summary-divider {
  width: 1px;
  height: 46px;
  background: var(--line);
}

.form-section { margin-bottom: 24px; }

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.section-heading span {
  color: var(--muted);
  font-weight: 700;
}

h2 {
  margin: 0 0 14px;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.date-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.date-pill, .time-pill {
  border: 1px solid var(--line);
  background: white;
  color: var(--text);
  border-radius: 15px;
  box-shadow: 0 6px 16px rgba(7, 20, 37, 0.05);
  cursor: pointer;
}

.date-pill {
  min-height: 78px;
  padding: 10px 8px;
}

.date-pill span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 4px;
}

.date-pill strong { font-size: 24px; }

.time-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.time-pill {
  min-height: 48px;
  font-weight: 700;
}

.date-pill.active, .time-pill.active {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.date-pill.active span { color: rgba(255,255,255,0.82); }

.form-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(7, 20, 37, 0.04);
  margin-bottom: 18px;
}

label {
  display: block;
  margin-bottom: 12px;
}

label span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 15px;
  color: var(--text);
  background: #fff;
  outline: none;
}

input:focus, textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(242, 101, 34, 0.12);
}

textarea { resize: vertical; }

.submit-button {
  width: 100%;
  border: 0;
  border-radius: 18px;
  padding: 17px 20px;
  background: var(--navy);
  color: white;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 12px 28px rgba(6, 22, 45, 0.22);
  cursor: pointer;
}

.submit-button:disabled {
  opacity: 0.72;
  cursor: wait;
}

.trust-note,
.sending-note {
  margin: 14px 0 0;
  color: var(--muted);
  text-align: center;
}

.sending-note {
  color: var(--orange);
  font-weight: 700;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.result-card {
  text-align: center;
  padding: 40px 24px;
}

.result-card h1 {
  font-size: clamp(32px, 8vw, 44px);
  margin-bottom: 14px;
}

.result-card p {
  color: var(--muted);
  line-height: 1.55;
  font-size: 17px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: white;
  text-decoration: none;
  font-weight: 800;
}

.error-note {
  margin-top: 16px;
  padding: 14px;
  border-radius: 16px;
  background: #fff1f2;
  color: #9f1239;
  border: 1px solid #fecdd3;
}

@media (min-width: 520px) {
  .time-grid { grid-template-columns: repeat(3, 1fr); }
}


/* Pixel Pro logo size fix */
.brand-logo {
  display: block;
  width: min(220px, 64%);
  max-height: 54px;
  height: auto;
  object-fit: contain;
  margin: 0 auto 16px;
}

@media (max-width: 380px) {
  .logo,
  .brand-logo {
    width: min(205px, 68%);
    max-height: 50px;
  }
}


/* Booking functionality update: month selector, swipe dates, 8 time slots */
:root {
  --navy: #101728;
  --orange: #f26226;
}

.date-heading {
  align-items: flex-start;
}

.month-picker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: -3px;
}

.month-picker select {
  width: auto;
  min-width: 128px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  padding: 7px 30px 7px 12px;
  font-size: 13px;
  font-weight: 700;
  outline: none;
  cursor: pointer;
}

.month-picker select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(242, 98, 38, 0.12);
}

.month-arrow,
.date-scroll-button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  box-shadow: 0 6px 16px rgba(7, 20, 37, 0.05);
  cursor: pointer;
  font-weight: 800;
}

.month-arrow {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  font-size: 20px;
  line-height: 1;
}

.date-slider {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 30px;
  gap: 8px;
  align-items: center;
}

.date-scroll-button {
  width: 30px;
  height: 46px;
  border-radius: 999px;
  font-size: 22px;
  line-height: 1;
}

.date-row {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.date-row::-webkit-scrollbar {
  display: none;
}

.date-pill {
  flex: 0 0 68px;
  min-width: 68px;
  scroll-snap-align: start;
}

.date-pill small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.date-pill.active small {
  color: rgba(255,255,255,0.82);
}

.time-grid {
  grid-template-columns: repeat(2, 1fr);
}

.time-pill {
  min-height: 48px;
}

label em {
  color: var(--muted);
  font-style: normal;
  font-weight: 500;
}

@media (min-width: 420px) {
  .time-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }

  .time-pill {
    font-size: 13px;
  }
}

@media (max-width: 390px) {
  .section-heading.date-heading {
    display: block;
  }

  .month-picker {
    margin-top: 10px;
  }

  .date-pill {
    flex-basis: 62px;
    min-width: 62px;
  }
}
