/* JMT Booking — branded styles */
:root {
  --red:        #ed1b24;
  --red-dark:   #c4151d;
  --red-soft:   #fff1f2;
  --teal:       #7EBEC5;
  --teal-dark:  #5fa8b0;
  --teal-soft:  #eaf5f7;
  --dark:       #32373c;
  --black:      #1a1a1a;
  --white:      #ffffff;
  --off-white:  #f5f7fa;
  --text:       #1a1a1a;
  --muted:      #5b6470;
  --border:     #e5e9ee;
  --border-strong: #cdd5de;
  --shadow-sm:  0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow:     0 1px 3px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg:  0 4px 12px rgba(15, 23, 42, 0.08), 0 24px 48px rgba(15, 23, 42, 0.08);
  --radius-sm:  8px;
  --radius:     14px;
  --radius-lg:  20px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--off-white);
  color: var(--text);
  line-height: 1.55;
  font-size: 15px;
  min-height: 100vh;
  background-image:
    radial-gradient(1200px 600px at 100% -10%, rgba(126, 190, 197, 0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(237, 27, 36, 0.06), transparent 60%);
  background-attachment: fixed;
}

a { color: var(--red); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--red-dark); }

.shell {
  max-width: 1040px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--border);
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.site-logo img { display: block; height: 56px; width: auto; }
.site-logo:hover {
  border-color: var(--teal);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 520px) {
  .site-logo { padding: 8px 12px; }
  .site-logo img { height: 44px; }
  .header-meta { display: none; }
}

.header-meta {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.header-meta strong { color: var(--dark); font-weight: 600; }

/* Typography */
h1 { font-size: 32px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.02em; color: var(--black); }
h2 { font-size: 18px; font-weight: 700; margin: 0 0 6px; letter-spacing: -0.01em; color: var(--black); }
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 10px;
}
.subtitle { color: var(--muted); margin: 0 0 28px; font-size: 16px; max-width: 560px; }

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* Landing meeting cards */
.meeting-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .meeting-grid { grid-template-columns: 1fr 1fr; } }

.meeting-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  text-decoration: none;
  color: var(--text);
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  overflow: hidden;
}
.meeting-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--red) 100%);
  opacity: 0.85;
}
.meeting-card:hover {
  border-color: var(--teal);
  text-decoration: none;
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.meeting-card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
  font-weight: 700;
}
.meeting-card-icon.red { background: var(--red-soft); color: var(--red); }
.meeting-card-name { font-size: 19px; font-weight: 700; margin: 0 0 4px; color: var(--black); letter-spacing: -0.01em; }
.meeting-card-meta { color: var(--muted); font-size: 13px; margin: 0 0 12px; font-weight: 500; }
.meeting-card-desc { color: var(--text); font-size: 14px; margin: 0; line-height: 1.55; }
.meeting-card-cta {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.meeting-card-cta::after { content: '→'; transition: transform 0.18s; }
.meeting-card:hover .meeting-card-cta::after { transform: translateX(4px); }

/* Booking page */
.booking { display: grid; grid-template-columns: 1fr; }
@media (min-width: 920px) { .booking { grid-template-columns: 340px 1fr; } }

.booking-info {
  padding: 32px 28px;
  background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
  border-right: 1px solid var(--border);
}
@media (max-width: 919px) {
  .booking-info { border-right: none; border-bottom: 1px solid var(--border); }
}
.booking-info h1 { font-size: 24px; }
.booking-info .subtitle { font-size: 14px; margin-bottom: 18px; }

.meta-list { list-style: none; padding: 0; margin: 18px 0 22px; font-size: 13.5px; }
.meta-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  color: var(--dark);
}
.meta-list li:last-child { border-bottom: none; }
.meta-list .meta-icon {
  flex-shrink: 0;
  color: var(--teal-dark);
  font-weight: 700;
  width: 18px;
}

.long-description {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  margin: 0 0 18px;
}
.agenda-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-dark);
  margin: 22px 0 10px;
}
.agenda-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}
.agenda-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  line-height: 1.5;
}
.agenda-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.prep-note {
  margin-top: 18px;
  padding: 12px 14px;
  background: var(--teal-soft);
  border-left: 3px solid var(--teal-dark);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 13px;
  color: var(--dark);
  line-height: 1.5;
}

/* Picker */
.picker { padding: 28px; }
.picker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.picker-month { font-weight: 700; font-size: 16px; color: var(--black); letter-spacing: -0.01em; }
.picker-nav { display: flex; gap: 6px; }
.picker-nav button {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 36px; height: 36px;
  cursor: pointer;
  font-size: 18px;
  color: var(--dark);
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.picker-nav button:hover:not(:disabled) {
  border-color: var(--teal);
  color: var(--teal-dark);
  background: var(--teal-soft);
}
.picker-nav button:disabled { opacity: 0.35; cursor: not-allowed; }

.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 18px;
}
.dow {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 0;
  letter-spacing: 0.08em;
}
.day {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  aspect-ratio: 1;
  font-size: 14px;
  cursor: pointer;
  color: var(--text);
  font-family: inherit;
  font-weight: 500;
  transition: all 0.15s;
}
.day.empty { visibility: hidden; }
.day.disabled { color: #b8c0c9; cursor: not-allowed; font-weight: 400; }
.day.available { background: var(--teal-soft); color: var(--teal-dark); font-weight: 600; }
.day.available:hover { border-color: var(--teal); transform: scale(1.04); }
.day.selected { background: var(--red); color: var(--white); box-shadow: 0 4px 12px rgba(237, 27, 36, 0.3); }
.day.selected:hover { background: var(--red-dark); transform: none; }

.slots-header {
  font-weight: 700;
  margin: 18px 0 12px;
  font-size: 15px;
  color: var(--black);
}
.slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 8px;
  max-height: 320px;
  overflow-y: auto;
  padding: 4px 2px;
}
.slot {
  background: var(--white);
  border: 1px solid var(--border-strong);
  color: var(--dark);
  border-radius: 8px;
  padding: 11px 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  transition: all 0.15s;
}
.slot:hover { border-color: var(--red); color: var(--red); transform: translateY(-1px); }
.slot.selected { background: var(--red); border-color: var(--red); color: var(--white); }

.empty-state { color: var(--muted); font-size: 14px; padding: 16px 0; }
.loading { color: var(--muted); font-size: 14px; padding: 24px 0; text-align: center; }

/* Form */
.form { display: grid; gap: 18px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--border); }
.form .field { display: block; }
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.field-helper {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 10px;
  line-height: 1.5;
}
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.radio-option {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  background: var(--white);
  transition: all 0.15s;
  text-align: center;
  user-select: none;
  min-width: 80px;
}
.radio-option input { position: absolute; opacity: 0; pointer-events: none; }
.radio-option:hover { border-color: var(--teal); color: var(--teal-dark); }
.radio-option.selected {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(237, 27, 36, 0.25);
}
.radio-option.selected:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }

/* AI disclosure banner on landing page */
.ai-banner {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: linear-gradient(135deg, var(--teal-soft) 0%, #f4fbfc 100%);
  border: 1px solid var(--teal);
  border-left: 4px solid var(--teal-dark);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--dark);
  margin-bottom: 28px;
  line-height: 1.55;
}
.ai-banner-icon {
  flex-shrink: 0;
  font-size: 20px;
  color: var(--teal-dark);
  line-height: 1.4;
}
.ai-banner-body strong { color: var(--teal-dark); }
.ai-banner-body a { font-weight: 600; }
.form label {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  display: block;
  margin-bottom: 6px;
}
.form input, .form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(126, 190, 197, 0.25);
}
.form textarea { resize: vertical; min-height: 88px; }

.btn {
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.18s;
  letter-spacing: 0.01em;
}
.btn:hover:not(:disabled) {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(237, 27, 36, 0.3);
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.link-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.link-back:hover { color: var(--red); }

.error { color: var(--red-dark); font-size: 13px; margin-top: 4px; }
.notice {
  background: var(--red-soft);
  border: 1px solid #fecaca;
  color: var(--red-dark);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

/* Success */
.success-card { text-align: center; padding: 56px 32px; }
.success-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
  box-shadow: 0 8px 24px rgba(126, 190, 197, 0.4);
}
.success-detail {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}
.success-detail strong { color: var(--dark); }

footer {
  margin-top: 56px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.02em;
}
footer a { color: var(--muted); }
footer a:hover { color: var(--red); }
