/* =========================================================
   Malaz 360 – Pre-Cityscape update styles
   Load AFTER css/style.css. Does not replace existing rules.
   ========================================================= */

/* ---------- Cityscape event banner (burgundy) ---------- */
.event-banner {
  background: linear-gradient(90deg, var(--burgundy-deep), var(--burgundy));
  color: var(--cream);
  font-size: 13px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(232, 199, 154, 0.35);
}
.event-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.event-banner-text {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  line-height: 1.4;
}
.event-banner-text strong { color: var(--gold-bright); }
.event-sep { opacity: 0.6; }
.event-cta {
  background: var(--gold-bright);
  color: var(--navy-deep);
  font-weight: 700;
  font-size: 12px;
  padding: 7px 16px;
  border-radius: 5px;
  border: 1px solid var(--gold-bright);
  white-space: nowrap;
  transition: 0.2s;
}
.event-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}

/* ---------- Hero sub-heading (was inline style) ---------- */
.hero-sub {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 800;
  color: var(--gold-deep);
  letter-spacing: -0.4px;
  line-height: 1.3;
  max-width: 540px;
}
.hero .trust-item { max-width: 190px; }

/* ---------- Ecosystem tiles (replace numeric stats) ---------- */
.stats--categories .stat {
  justify-content: flex-start;
}
.stats--categories .stat strong {
  font-size: 15px;
  letter-spacing: -0.2px;
  line-height: 1.25;
  margin-bottom: 2px;
}
.stats--categories .stat small {
  font-size: 12px;
}
.stats-asof {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  margin: 10px 0 0;
}

/* ---------- Small helper text ---------- */
.fine-print {
  font-size: 10.5px !important;
  color: var(--muted);
  font-style: italic;
  margin-top: 8px !important;
}

/* ---------- Integration icons (Font Awesome inside tile) ---------- */
.integration-item .icon-tile i { font-size: 20px; }

/* ---------- AgentHub ---------- */
.promo-note {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #ecdcc4;
  border-left: 3px solid var(--gold-deep);
  border-radius: 6px;
  padding: 10px 13px;
  font-size: 11.5px;
  line-height: 1.55;
  color: #526078;
  margin: 0 0 20px;
}
.promo-note i { color: var(--gold-deep); margin-top: 3px; }

.preview-tag {
  position: absolute;
  top: 0;
  left: 4%;
  z-index: 3;
  background: var(--navy-accent);
  color: var(--gold-bright);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}

/* ---------- Ecosystem card (replaces growth chart) ---------- */
.ecosystem-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  background: #fff;
}
.ecosystem-card ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.ecosystem-card li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-accent);
}
.ecosystem-card li i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fbf0df;
  color: var(--gold-deep);
  font-size: 14px;
  flex-shrink: 0;
}

/* ---------- WhatsApp buttons ---------- */
.btn-wa {
  background: transparent;
  color: #fff;
  border: 1px solid #25d366;
  font-weight: 700;
  font-size: 14px;
  border-radius: 5px;
  padding: 12px 19px;
  transition: 0.2s;
}
.btn-wa:hover {
  background: #25d366;
  color: #fff;
}
.btn-wa i { font-size: 16px; }
.wa-btn { display: inline-flex; align-items: center; }
.wa-btn i { font-size: 16px; color: #1fa855; }
.wa-btn:hover i { color: #fff; }

.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer contact block ---------- */
.footer-contact-text {
  font-size: 14px;
  margin-bottom: 12px;
  color: #d9deeb;
}
.footer .btn-gold,
.footer .btn-gold:hover { color: #fff; }
.footer .btn-gold:hover { color: var(--navy-deep); }
.footer .btn-wa { color: #fff; }

/* ---------- Modal form additions ---------- */
select.demo-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23E8C79A' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}
select.demo-input:invalid { color: #9AA5C0; }
select.demo-input option { background: #0C1430; color: #FDF8F2; }

.demo-privacy {
  font-size: 12px;
  line-height: 1.6;
  color: #9AA5C0 !important;
  margin: 0 0 16px !important;
}
.demo-privacy a {
  color: var(--gold-bright);
  text-decoration: underline;
}

.demo-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: #25d366;
}
.demo-wa:hover { color: #4be486; }
.demo-wa i { font-size: 18px; }

/* Button loading state (was referenced in JS but not styled) */
.demo-btn.loading {
  opacity: 0.75;
  pointer-events: none;
}
.demo-btn.loading .demo-spinner { display: inline-block; vertical-align: middle; }

/* Long form on short screens: let modal scroll */
.demo-right { max-height: 90vh; overflow-y: auto; }

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .event-banner { padding: 8px 0; font-size: 12px; }
  .event-banner-inner { justify-content: center; text-align: center; }
  .event-banner-text { justify-content: center; }
  .stats--categories .stat strong { font-size: 13px; }
  .stats--categories .stat small { font-size: 10px; }
  .preview-tag { left: 2%; font-size: 9px; }
  .cta-actions .btn { width: 100%; max-width: 320px; }
}
@media (max-width: 575px) {
  .hero .trust-item { max-width: none; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}