/* ============================================================================
   SECTION 05 — ROOFTOP  (Figma node 169:6513 "05-rooftop")
   Deep-green intro (two columns) + a full-bleed image band.
   ========================================================================== */

.rooftop {
  background-color: var(--color-surface-inverse-deep);
  color: var(--color-text-on-inverse);
}

/* ---------------------------------------------------------- INTRO -------- */
.rooftop__intro { padding-block: var(--section-pad-y); }

.rooftop__grid {
  display: flex;
  align-items: center;
  gap: min(10.75rem, 12vw);       /* 172px at 1440, shrinks on narrower desktops */
}
.rooftop__grid > .section-header { flex: 0 1 465px; }

.rooftop__description {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4.25rem;                   /* ~69px */
}
.rooftop__text {
  font-size: var(--text-b2-size);
  line-height: var(--text-b2-lh);
  letter-spacing: var(--text-b2-tr);
  color: var(--color-text-on-inverse-muted);
}

.rooftop__features {
  display: flex;
  gap: var(--space-24);          /* 96px */
  padding-top: var(--space-8);   /* 32px */
  border-top: 1px solid var(--color-border-on-inverse);
}
.rooftop__features .icon { color: var(--color-accent-warm); }
.rooftop__features .icon-text__label { color: var(--color-text-on-inverse); }

/* ---------------------------------------------------------- FIGURE ------- */
.rooftop__figure {
  width: 100%;
  max-width: 1920px;
  margin-inline: auto;
  height: 600px;
  overflow: hidden;
  background-color: var(--monarca-scrim);
}
.rooftop__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}

/* ================================================================ TABLET === */
@media (max-width: 1024px) {
  .rooftop__grid {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-12);
  }
  .rooftop__grid > .section-header { flex: none; max-width: 34rem; }
  .rooftop__description { flex: none; gap: var(--space-12); }
  .rooftop__features { gap: var(--space-12); }
  .rooftop__figure { height: 440px; }
}

/* ================================================================ MOBILE === */
@media (max-width: 640px) {
  .rooftop__description { gap: var(--space-10); }
  .rooftop__features {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-5);
  }
  .rooftop__features .icon-text__label br { display: none; }   /* one line per item when stacked */
  .rooftop__figure { height: 320px; }
}
