/* OTT App — 02 Introduction & appointment */

@keyframes cw-ott-intro-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cw-ott-app-intro {
  background: #cfc4f6;
  color: #141210;
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
  box-sizing: border-box;
}

.cw-ott-app-intro__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 110px) clamp(20px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.cw-ott-app-intro__copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.cw-ott-app-intro__eyebrow {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.cw-ott-app-intro__title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.cw-ott-app-intro__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #5b3fc4;
}

.cw-ott-app-intro__para {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
}

.cw-ott-app-intro__form-wrap {
  min-width: 0;
  position: sticky;
  top: 90px;
}

.cw-ott-app-intro__booking[hidden],
.cw-ott-app-intro__success[hidden] {
  display: none !important;
}

.cw-ott-app-intro__form {
  background: #f3efe7;
  border-radius: 28px;
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 30px 60px -30px rgba(20, 18, 16, 0.4);
  margin: 0;
}

.cw-ott-app-intro__success {
  background: #f3efe7;
  border-radius: 28px;
  padding: clamp(22px, 3vw, 32px);
  box-shadow: 0 30px 60px -30px rgba(20, 18, 16, 0.4);
}

.cw-ott-app-intro__form-head {
  margin-bottom: 14px;
}

.cw-ott-app-intro__form-title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.cw-ott-app-intro__form-sub {
  margin: 4px 0 0;
  font-size: 14px;
  color: #5a534a;
}

.cw-ott-app-intro__fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cw-ott-app-intro__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.cw-ott-app-intro__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cw-ott-app-intro__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cw-ott-app-intro__input,
.cw-ott-app-intro__textarea {
  background: transparent;
  border: 1px solid #cfc7ba;
  border-radius: 14px;
  padding: 13px 15px;
  font-size: 15px;
  font-family: inherit;
  color: #141210;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.cw-ott-app-intro__input:focus-visible,
.cw-ott-app-intro__textarea:focus-visible {
  border-color: #141210;
  box-shadow: 0 0 0 2px rgba(20, 18, 16, 0.12);
}

.cw-ott-app-intro__textarea {
  resize: vertical;
  min-height: 96px;
}

.cw-ott-app-intro__slot-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cw-ott-app-intro__slot-kicker {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: #5a534a;
}

.cw-ott-app-intro__days {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  width: 100%;
}

.cw-ott-app-intro__day {
  border: 1px solid #141210;
  background: transparent;
  color: #141210;
  border-radius: 12px;
  padding: 8px 2px;
  min-height: 52px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-family: inherit;
}

.cw-ott-app-intro__day.is-active {
  background: #141210;
  color: #f3efe7;
}

.cw-ott-app-intro__day-w {
  font-size: 10.5px;
}

.cw-ott-app-intro__day-n {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 17px;
  line-height: 1;
}

.cw-ott-app-intro__times {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.cw-ott-app-intro__time {
  border: 1px solid #cfc7ba;
  background: transparent;
  color: #141210;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
}

.cw-ott-app-intro__time.is-active {
  background: #d4f53c;
  border-color: #d4f53c;
}

.cw-ott-app-intro__submit {
  border: 0;
  background: #141210;
  color: #f3efe7;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  align-self: flex-start;
  transition: background 0.2s ease;
}

.cw-ott-app-intro__submit:hover,
.cw-ott-app-intro__submit:focus-visible {
  background: #e0431c;
}

.cw-ott-app-intro__error {
  margin: 0;
  font-size: 14px;
  color: #b42318;
}

.cw-ott-app-intro__success:not([hidden]) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  animation: cw-ott-intro-in 0.35s ease both;
}

.cw-ott-app-intro__success-title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 24px;
  line-height: 1.2;
  color: #141210;
}

.cw-ott-app-intro__success-body {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #3a3530;
  max-width: 36em;
}

.cw-ott-app-intro__rebook {
  align-self: flex-start;
  margin-top: 6px;
  border: 1px solid #141210;
  background: transparent;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  color: #141210;
}

.cw-ott-app-intro__rebook:hover,
.cw-ott-app-intro__rebook:focus-visible {
  background: rgba(20, 18, 16, 0.06);
}

@media (max-width: 520px) {
  .cw-ott-app-intro__form-wrap {
    position: static;
  }

  .cw-ott-app-intro__row {
    grid-template-columns: 1fr;
  }

  .cw-ott-app-intro__days {
    grid-template-columns: repeat(5, 1fr);
    gap: 3px;
  }

  .cw-ott-app-intro__day {
    min-height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cw-ott-app-intro__success {
    animation: none;
  }
}
