/* Homepage layout and image treatments. */

/* ---------- ABOUT: building photo on the left, text on the right ---------- */
.about {
  min-height: 400px; display: flex; align-items: center;
  background:
    linear-gradient(90deg, rgba(5, 11, 28, 0) 0%, rgba(5, 11, 28, 0) 30%, rgba(5, 11, 28, 0.9) 62%, var(--navy-900) 100%),
    url("../assets/images/renascent-about.webp") left center / auto 100% no-repeat,
    var(--navy-900);
}
.about .container { display: flex; justify-content: flex-end; }
.about-content { width: min(520px, 100%); }
.about .lead { margin-bottom: 26px; }

/* ---------- SOLUTIONS: photo cards with the label on the image ---------- */
.card { position: relative; background: var(--navy-900); }
.card .thumb { aspect-ratio: 4 / 3; background-size: cover; background-position: center; }
.card--video-walls .thumb { background-image: url("../assets/images/hospitality-cafe-displays.webp"); }
.card--led-displays .thumb { background-image: url("../assets/images/led-displays-3.webp"); }
.card--digital-signage .thumb { background-image: url("../assets/images/airport-digital-signage.webp"); }
.card--interactive-displays .thumb { background-image: url("../assets/images/interactive-displays-2.webp"); }
.card .label {
  position: absolute; inset: auto 0 0 0;
  background: linear-gradient(0deg, rgba(5, 11, 28, 0.95), rgba(5, 11, 28, 0));
  padding: 30px 14px 12px; align-items: center;
}

/* ---------- PORTFOLIO: wide photo behind, fading into dark on the left ---------- */
.portfolio {
  min-height: 330px; display: flex; align-items: center;
  background:
    linear-gradient(90deg, var(--navy-900) 0%, var(--navy-900) 36%, rgba(5, 11, 28, 0) 62%),
    url("../assets/images/portfolio-bg.webp") right center / cover no-repeat,
    var(--navy-900);
}
.portfolio-grid { display: block; }
.portfolio-grid > div { max-width: 420px; }

/* ---------- INDUSTRIES: building photo on the right ---------- */
.industries {
  background:
    linear-gradient(90deg, var(--navy-800) 0%, var(--navy-800) 45%, rgba(8, 19, 48, 0) 80%),
    url("../assets/images/industries-bg.webp") right center / auto 100% no-repeat,
    var(--navy-800);
}
.industry-grid { grid-template-columns: 1fr 1.3fr 0.8fr; }

/* ---------- CALL TO ACTION: skyline on the right ---------- */
.cta {
  background:
    linear-gradient(90deg, rgba(8, 19, 48, 0.96) 0%, rgba(8, 19, 48, 0.8) 40%, rgba(8, 19, 48, 0) 72%),
    url("../assets/images/cta-bg.webp") right center / cover no-repeat,
    #0a1a4a;
}
.cta-inner { justify-content: flex-start; gap: 70px; }

/* ---------- MOBILE ---------- */
@media (max-width: 900px) {
  .about .container { justify-content: flex-start; }
  .about {
    background:
      linear-gradient(180deg, rgba(5, 11, 28, 0.3), rgba(5, 11, 28, 0.92) 70%),
      url("../assets/images/renascent-about.webp") center top / cover no-repeat,
      var(--navy-900);
    padding-top: 160px;
  }
  .portfolio { background-position: 75% center; }
  .industries { background-position: right bottom; }
  .industry-grid { grid-template-columns: 1fr; }
  .cta-inner { gap: 24px; }
}
.industry-list .icon svg {
  width: 36px; height: 36px; margin: 0 auto;
  fill: none; stroke: #d5dbe8;
  stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
}
/* Minimal feature strip: no box, just thin lines */
.feature-grid {
  background: rgba(5, 11, 28, 0.55);
  border: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0;
}
.feature .icon svg {
  width: 30px; height: 30px; margin: 0 auto 4px;
  fill: none; stroke: var(--blue-300);
  stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round;
}
.feature h3 { font-weight: 500; letter-spacing: 0.02em; }
/* Bottom banner: text on top, button underneath, both on the left */
.cta-inner {
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.hero {
  min-height: clamp(590px, 86vh, 840px);
  padding: 138px 0 112px;
  background:
    linear-gradient(90deg, rgba(5, 11, 28, 0.96) 0%, rgba(5, 11, 28, 0.79) 32%, rgba(5, 11, 28, 0.13) 66%, transparent 85%),
    linear-gradient(0deg, var(--navy-900), transparent 25%),
    url("../assets/images/renascent-hero.webp") right center / cover no-repeat,
    var(--navy-900);
}
.hero-grid > div { max-width: 650px; }
.hero h1 { font-size: clamp(2.5rem, 4.3vw, 4rem); }
.hero h1 .accent { color: var(--blue-300); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; }

.card--control-room { grid-column: 1 / -1; }
.card--control-room .thumb {
  aspect-ratio: 2.7;
  min-height: 230px;
  background-image: url("../assets/images/control-room-1.webp");
  background-position: center 48%;
}
.card--control-room .label {
  align-items: flex-end;
  gap: 15px;
  padding: 62px 22px 20px;
  background: linear-gradient(0deg, rgba(5, 11, 28, 0.99) 0%, rgba(5, 11, 28, 0.88) 46%, transparent 100%);
}
.card--control-room .label strong { display: block; font-size: clamp(1.18rem, 2vw, 1.6rem); font-weight: 500; }
.card--control-room .label small { display: block; margin-top: 3px; color: var(--text-muted); font-size: 0.88rem; }
.card--control-room .label .card-arrow { color: var(--blue-300); }

@media (max-width: 900px) {
  .hero {
    --hero-art-height: clamp(235px, 65vw, 485px);
    min-height: auto;
    padding: calc(80px + var(--hero-art-height) - 4px) 0 82px;
    background: var(--navy-900);
  }
  .hero::before {
    content: "";
    position: absolute;
    inset: 80px 0 auto;
    height: var(--hero-art-height);
    background:
      linear-gradient(180deg, transparent 45%, var(--navy-900) 100%),
      url("../assets/images/renascent-hero-mobile.webp") right center / cover no-repeat;
  }
  .hero-grid { position: relative; }
  .hero h1 { font-size: clamp(2rem, 5.4vw, 3.5rem); }
  .hero p.lead { margin-block: 16px 20px; }
}

@media (max-width: 560px) {
  .card--control-room .thumb { min-height: 210px; }
  .card--control-room .label { padding-inline: 16px; }
}
