/* Island Windows JA — client systems (booking, tracking, hub) */
.iw-systems-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
  color: #f7f1e8;
  padding: 4rem 0 3rem;
}
.iw-systems-hero--page {
  padding: clamp(5.5rem, 12vw, 7.5rem) 0 3.25rem;
}
.iw-systems-hero--with-photo {
  overflow: hidden;
}
.iw-systems-hero__photo {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  max-width: 420px;
  margin: 0 auto;
  background: transparent;
}
.iw-systems-hero__photo img {
  width: 100%;
  height: auto;
  max-height: min(62vh, 560px);
  object-fit: contain;
  object-position: bottom center;
  display: block;
  background: transparent !important;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45));
}
@media (max-width: 991.98px) {
  .iw-systems-hero__photo {
    max-width: 280px;
    order: -1;
  }
  .iw-systems-hero--with-photo .row {
    flex-direction: column-reverse;
  }
}
.iw-systems-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: #fff;
  margin: 0 0 0.85rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.05;
}
.iw-systems-hero__kicker {
  color: #D4AF37 !important;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  margin-bottom: 1rem !important;
}
.iw-systems-hero h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  color: #fff;
  margin: 0 0 0.85rem;
  font-weight: 600;
  line-height: 1.25;
  max-width: 36rem;
}
.iw-systems-hero .iw-gold {
  color: #D4AF37;
}
.iw-systems-hero p {
  color: rgba(247, 241, 232, 0.85);
  max-width: 42rem;
}

.iw-system-card {
  background: #fff;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 12px;
  padding: 1.75rem;
  height: 100%;
  transition: box-shadow 0.2s, transform 0.2s;
}
.iw-system-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}
.iw-system-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #0a0a0a;
  color: #D4AF37;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.iw-system-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: #0a0a0a;
}
.iw-system-card p {
  color: #5c534a;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.iw-system-card .link-btn {
  color: #0a0a0a;
  font-weight: 600;
}

.iw-form-panel {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
}
.iw-form-panel label {
  font-weight: 600;
  color: #0a0a0a;
  margin-bottom: 0.35rem;
  display: block;
}
.iw-form-panel input,
.iw-form-panel select,
.iw-form-panel textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 1rem;
}
.iw-form-panel input:focus,
.iw-form-panel select:focus,
.iw-form-panel textarea:focus {
  outline: none;
  border-color: #D4AF37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}
.iw-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.iw-btn-gold {
  background: #D4AF37;
  color: #0a0a0a;
  border: none;
  padding: 0.85rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}
.iw-btn-gold:hover {
  background: #E8C547;
}
.iw-btn-outline {
  background: transparent;
  color: #0a0a0a;
  border: 2px solid #0a0a0a;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.iw-status-timeline {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.iw-status-timeline li {
  position: relative;
  padding-left: 2rem;
  padding-bottom: 1.25rem;
  border-left: 2px solid #e5e5e5;
  margin-left: 0.5rem;
}
.iw-status-timeline li.is-done {
  border-left-color: #D4AF37;
}
.iw-status-timeline li.is-current {
  border-left-color: #D4AF37;
}
.iw-status-timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e5e5e5;
}
.iw-status-timeline li.is-done::before,
.iw-status-timeline li.is-current::before {
  background: #D4AF37;
}
.iw-status-timeline li.is-current::before {
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.3);
}
.iw-status-timeline strong {
  display: block;
  color: #0a0a0a;
}
.iw-status-timeline span {
  color: #5c534a;
  font-size: 0.9rem;
}

.iw-job-result {
  display: none;
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: #f7f1e8;
  border-radius: 12px;
  border-left: 4px solid #D4AF37;
}
.iw-job-result.is-visible {
  display: block;
}

.iw-booking-confirm {
  padding: 1rem 1.25rem;
  background: #f7f1e8;
  border-radius: 10px;
  border-left: 4px solid #D4AF37;
}
.iw-booking-confirm.is-visible {
  display: block;
}
.iw-booking-confirm code {
  background: rgba(10, 10, 10, 0.08);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.iw-job-result__error {
  color: #0a0a0a;
  margin: 0;
}

.iw-demo-ref {
  border: none;
  background: rgba(212, 175, 55, 0.2);
  color: #0a0a0a;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}
.iw-demo-ref:hover {
  background: rgba(212, 175, 55, 0.35);
}

.iw-job-result__actions {
  margin-top: 1rem;
  margin-bottom: 0;
}

#iw-booking-warn {
  color: #b45309;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.iw-hub-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.iw-hub-quick a,
.iw-hub-quick button {
  font-size: 0.9rem;
}

html[data-theme="dark"] .iw-booking-confirm,
html[data-theme="dark"] .iw-job-result {
  background: #12151a;
  color: #f0f0f0;
}
html[data-theme="dark"] .iw-job-result__error {
  color: #f0f0f0;
}

.iw-pitch-banner {
  background: #0a0a0a;
  color: #D4AF37;
  text-align: center;
  padding: 1rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.iw-slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.iw-slot {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0.5rem;
  text-align: center;
  cursor: pointer;
  background: #fff;
  font-size: 0.85rem;
}
.iw-slot.is-selected {
  border-color: #D4AF37;
  background: rgba(212, 175, 55, 0.15);
  font-weight: 600;
}
.iw-slot.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

html[data-theme="dark"] .iw-form-panel,
html[data-theme="dark"] .iw-system-card {
  background: #12151a;
  border-color: rgba(212, 175, 55, 0.3);
  color: #f0f0f0;
}
html[data-theme="dark"] .iw-system-card h3,
html[data-theme="dark"] .iw-form-panel label {
  color: #fff;
}
html[data-theme="dark"] .iw-form-panel input,
html[data-theme="dark"] .iw-form-panel select,
html[data-theme="dark"] .iw-form-panel textarea {
  background: #0d1014;
  border-color: #333;
  color: #fff;
}
