/* =====================================================
   CLOUDGAINZ — SECTIONS
   Hero · Pillars · Healthcare · Work · About · Footer
   ===================================================== */

/* ---- Hero ---- */
.hero {
  padding-top: clamp(64px, 8vw, 112px);
  padding-bottom: clamp(48px, 6vw, 80px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero h1 .accent { color: var(--azure); }
.hero .sub {
  margin-top: 28px;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 56ch;
}
.hero .cta-row {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---- Pillars (What we do) ---- */
.pillar {
  border-top: 1px solid var(--ink);
  padding-top: 24px;
}
.pillar .num {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--azure);
  margin-bottom: 18px;
}
.pillar h3 {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.pillar p { color: var(--ink-2); margin: 0; font-size: 16px; }

.platform-shot { margin-top: clamp(64px, 8vw, 96px); }

/* ---- Healthcare / IaaS ---- */
.healthcare { background: var(--bg-section); }
.iaas { background: var(--bg-section); }

.proofs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3vw, 48px);
}
.proof {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.proof .icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--azure-tint);
  color: var(--azure);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.proof .icon svg { width: 22px; height: 22px; }
.proof h3 { font-size: 18px; margin-bottom: 0; letter-spacing: -0.01em; }
.proof p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.proof .savings-figure {
  font-size: 38px;
  font-weight: 600;
  color: var(--azure);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-top: 4px;
}
.proof .savings-figure .plus { font-size: 24px; vertical-align: top; }

/* ---- How We Work ---- */
.work-block {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(32px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--bg-card);
}
.work-block.alt {
  background: var(--bg-section);
  border-color: var(--line);
}
.work-block .tag {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--azure);
  text-transform: uppercase;
}
.work-block h3 { font-size: 26px; letter-spacing: -0.02em; }
.work-block p { color: var(--ink-2); margin: 0; }
.work-block .cta { margin-top: auto; padding-top: 8px; }

/* ---- About ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.about-body p { color: var(--ink-2); font-size: 18px; line-height: 1.65; }
.about-body p + p { margin-top: 1em; }
.headshot-wrap { display: flex; flex-direction: column; gap: 14px; }
.headshot {
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 340px;
}
.headshot-cap {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ---- Footer CTA ---- */
.footer-cta {
  background: var(--footer-bg);
  color: #fff;
  padding: clamp(80px, 9vw, 120px) 0;
  text-align: center;
}
.footer-cta h2 {
  color: #fff;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.025em;
  margin-bottom: 36px;
}
.footer-cta .btn-primary {
  background: #fff;
  color: var(--azure);
}
.footer-cta .btn-primary:hover {
  background: var(--azure-tint);
  color: var(--azure-dark);
}

/* ---- Footer ---- */
footer {
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.6);
  padding: 0 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-links a { color: rgba(255, 255, 255, 0.75); font-size: 14px; font-weight: 500; }
.footer-links a:hover { color: #fff; }
.copyright { font-size: 13px; color: rgba(255, 255, 255, 0.45); }

/* ---- Stats strip ---- */
.stats-strip {
  background: var(--bg-section);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(32px, 4vw, 56px) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
  text-align: center;
}
.stat-val {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 600;
  color: var(--azure);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-lbl {
  margin-top: 8px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.45;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .proofs { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .headshot { max-width: 280px; }
}
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr; gap: 32px; }
}
