/* Shared base for both directions
   Overrides applied per-direction in their own file */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--ink, #1a1a1a);
  background: var(--bg, #fff);
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; }
a { color: inherit; }

/* Book modal (shared across both directions) */
.book-modal-bg {
  position: fixed; inset: 0;
  background: rgba(10, 20, 15, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.book-modal-bg.open { opacity: 1; pointer-events: auto; visibility: visible; }

.book-modal {
  background: var(--cream, #f5f0e6);
  width: 100%;
  max-width: 540px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.book-modal-bg.open .book-modal { transform: translateY(0); }

.book-modal-header {
  background: var(--green, #1f6b47);
  color: #fff;
  padding: 28px 32px 24px;
  position: relative;
}
.book-modal-header .eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 6px;
}
.book-modal-header h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.5px;
  line-height: 1.15;
}
.book-modal-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.1);
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.book-modal-close:hover { background: rgba(255,255,255,0.2); }

.book-modal-body {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.book-row { display: flex; gap: 12px; }
.book-row > * { flex: 1; }
.book-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.book-field label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-dim, #6b6a62);
  font-weight: 500;
}
.book-field input, .book-field select, .book-field textarea {
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.book-field input:focus, .book-field select:focus, .book-field textarea:focus {
  outline: 0;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31, 107, 71, 0.15);
}
.book-field.error input, .book-field.error select, .book-field.error textarea {
  border-color: #c0392b;
}
.book-field .error-msg {
  font-size: 12px;
  color: #c0392b;
  display: none;
}
.book-field.error .error-msg { display: block; }
.book-field textarea { resize: vertical; min-height: 70px; }

.book-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.book-service {
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  background: #fff;
  text-align: left;
  transition: all 0.15s;
  font-family: inherit;
  color: var(--ink);
}
.book-service:hover { border-color: var(--green); }
.book-service.selected {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.book-submit {
  background: var(--green);
  color: #fff;
  padding: 14px 24px;
  border: 0;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: transform 0.15s, filter 0.15s;
  margin-top: 8px;
  font-family: inherit;
}
.book-submit:hover { filter: brightness(1.1); }
.book-submit:active { transform: translateY(1px); }

.book-success {
  padding: 40px 32px;
  text-align: center;
}
.book-success .check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.book-success h3 {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 400;
  font-style: italic;
  margin: 0 0 8px;
  color: var(--green);
}
.book-success p { margin: 0; color: var(--ink-dim); font-size: 15px; line-height: 1.5; }

/* Mobile trims for the iframes */
body.is-mobile .desktop-only { display: none !important; }
body:not(.is-mobile) .mobile-only { display: none !important; }
