﻿/* ========================================================================== */
/* VIRTUAL FILE: layout.css                                                    */
/* ========================================================================== */
.site-main {
  min-height: 50vh;
}

.section {
  padding: var(--section-pad-y) 0;
}
.section-tight {
  padding: var(--section-pad-y-tight) 0;
}
.section-light {
  background:
    radial-gradient(circle at 80% 10%, var(--accent-glow), transparent 40%),
    linear-gradient(180deg,#ffffff 0%,var(--enterprise-bg) 100%);
}
.section-gradient {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 45%, #15579a 100%);
  color: #eaf4ff;
}

.section-head {
  max-width: min(760px, var(--content-wide));
  margin-bottom: var(--space-5);
}
.section-head h2 {
  margin: 0 0 var(--space-2);
  font-size: clamp(1.8rem, 2.2vw + 1rem, 2.5rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  max-width: 22ch;
}

.section-head p {
  margin: 0;
  color: var(--text-soft);
  max-width: var(--content-reading);
  line-height: var(--lh-body);
}

.section-head.dark h2,
.section-head.dark p {
  color: #eaf4ff;
  opacity: 0.95;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--space-2);
  color: var(--blue-700);
  font-weight: 700;
  font-size: clamp(0.78rem, 0.72rem + 0.2vw, 0.88rem);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  line-height: 1.2;
}
.section-gradient .eyebrow {
  color: #9cd7ff;
}

.small-label {
  margin: 0 0 6px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a7d5ff;
  font-weight: 700;
}

/* ── Mobile section spacing & centering ── */
@media (max-width: 820px) {
  .section-head {
    max-width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .section-head h2,
  .section-head p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .eyebrow {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 48px 0;
  }
  .section-tight {
    padding: 36px 0;
  }
  .section-head {
    max-width: 100%;
    margin-bottom: 28px;
  }
  .section-head h2 {
    font-size: clamp(1.45rem, 5vw, 1.8rem);
    max-width: 100%;
  }
  .section-head p {
    max-width: 100%;
  }
}

@media (max-width: 390px) {
  .section {
    padding: 40px 0;
  }
  .section-tight {
    padding: 30px 0;
  }
}

/* Buttons */
/* ========================================================================== */

