/* Homepage layout on top of css/warm-theme.css: hero, screen frame, demo phone. */

/* Hero: words on the left, the villa on the right (the owner's doorway images). */
.hero { padding: 48px 0 64px; text-align: left; }
.hero-content {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  grid-template-areas:
    "badge art"
    "title art"
    "sub   art"
    "cta   art"
    "proof proof";
  column-gap: 48px;
  align-items: center;
}
.hero-badge { grid-area: badge; justify-self: start; }
.hero-title { grid-area: title; }
.hero-subtitle { grid-area: sub; }
.hero-cta-group { grid-area: cta; justify-content: flex-start; }
.hero-proof { grid-area: proof; }
.hero-art {
  grid-area: art;
  margin: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  min-width: 0;
}
.hero-screen {
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #D9CEB9;
  background: var(--surface);
  box-shadow: 0 30px 60px -30px rgba(27, 25, 21, .35), 0 2px 6px rgba(27, 25, 21, .06);
}
.hero-screen-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--glass-stroke);
  background: var(--surface-2);
}
.hero-screen-bar i { width: 9px; height: 9px; border-radius: 50%; background: #D9CEB9; }
.hero-screen-bar span {
  margin-left: 10px; padding: 2px 12px; border-radius: 999px;
  background: var(--surface); color: var(--muted);
  font: 500 .72rem/1.5 var(--font-ui);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis; min-width: 0;
}
.hero-screen img { display: block; width: 100%; height: auto; max-width: 100%; aspect-ratio: 16 / 10; }
.hero-badge.glass {
  background: var(--accent-soft);
  border-color: transparent;
  color: var(--accent-hi);
  font-weight: 600;
}
.hero-badge .pulse-icon { background: var(--accent); box-shadow: none; }
.hero-title {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.hero-subtitle { color: var(--ink-subtle); font-size: 1.15rem; max-width: 34rem; margin-left: 0; margin-right: 0; }
.hero-cta-group .cta-with-note { align-items: flex-start; }
.hero-cta-group .intro-price-note { text-align: left; color: var(--muted); }
.hero-proof {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--glass-stroke);
  justify-content: flex-start;
  color: var(--ink-subtle);
}
.hero-proof svg { color: var(--accent); }

@media (max-width: 900px) {
  .hero { padding: 28px 0 48px; }
  .hero-content {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "badge" "title" "sub" "cta" "art" "proof";
  }
  .hero-art { margin-top: 32px; }
}

/* Layout refinements over customer-experience.css (same specificity, loaded later). */
[data-ui-page="index"] .hero-content { max-width: 1160px; }
[data-ui-page="index"] .hero-title { max-width: none; letter-spacing: -.02em; font-size: clamp(2.6rem, 5.2vw, 4.6rem); }
[data-ui-page="index"] .hero-subtitle { margin-top: 18px; max-width: 40ch; }
[data-ui-page="index"] .hero-cta-group { margin-inline: 0; margin-top: 30px; }
[data-ui-page="index"] .hero-cta-group .intro-price-note { text-align: left; }
[data-ui-page="index"] .hero-proof { max-width: none; margin-inline: 0; }
[data-ui-page="index"] .hero-badge { white-space: normal; max-width: 100%; }
@media (max-width: 640px) {
  [data-ui-page="index"] .hero-cta-group { width: 100%; }
}
/* Demo phone: index.html sets dark-slate inline styles; a warm dark ink keeps the white text readable. */
[data-ui-page="index"] .telegram-phone { box-shadow: 0 24px 50px -24px rgba(27, 25, 21, .35) !important; }
[data-ui-page="index"] .telegram-header { background: #2B2620 !important; backdrop-filter: none !important; }
[data-ui-page="index"] .telegram-header .bot-status { color: #F2C9B5; }
[data-ui-page="index"] .demo-live-badge { background: rgba(255, 255, 255, .12); color: #FFF4EC; }
[data-ui-page="index"] :is(.hero-title, .hero-subtitle, .hero-cta-group) { justify-self: start; margin-left: 0; margin-right: 0; }
