/* ─────────────────────────────────────────────────────────
   pages.css — shared light-theme styles for marketing pages
   (About, Pricing, Contact, Reviews, Blog …)
   Loaded in addition to Bootstrap + theme.css
   ───────────────────────────────────────────────────────── */

/* ── Base light override ─────────────────────────────── */
html:has(body.page-light) { overflow-x: clip; }
body.page-light {
  background: #f4f7fa;
  color: #0d1d2a;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  width: 100%;
}

body.page-light .gc-footer {
  margin-top: auto;
}

/* ── Shared wrappers ─────────────────────────────────── */
.pg-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.pg-sec {
  padding: 4.5rem 1.5rem;
}

.pg-sec-alt {
  padding: 4.5rem 1.5rem;
  background: #fff;
}

/* ── Page hero ───────────────────────────────────────── */
.pg-hero {
  background: #fff;
  border-bottom: 1px solid #e3eaf1;
  padding: 5rem 1.5rem 4.5rem;
  text-align: center;
}

.pg-hero-eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #2a8681;
  background: rgba(42,134,129,.10);
  border-radius: 20px;
  padding: .3rem .9rem;
  margin-bottom: 1.25rem;
}

.pg-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #0d1d2a;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -.02em;
}

.pg-hero p {
  font-size: 1.05rem;
  color: #4a6070;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Section headings ────────────────────────────────── */
.pg-head {
  text-align: center;
  margin-bottom: 2.75rem;
}

.pg-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #0d1d2a;
  margin-bottom: .5rem;
  letter-spacing: -.015em;
}

.pg-head p {
  font-size: .95rem;
  color: #4a6070;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── Mission block ───────────────────────────────────── */
.mission-card {
  background: #fff;
  border: 1px solid #e3eaf1;
  border-radius: 18px;
  padding: 2.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.mission-card h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #0d1d2a;
  margin-bottom: .9rem;
  letter-spacing: -.01em;
}

.mission-card p {
  color: #4a6070;
  line-height: 1.75;
  margin-bottom: .85rem;
  font-size: .95rem;
}

.mission-card p:last-child {
  margin-bottom: 0;
}

/* ── Stats grid ──────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
}

.stat-tile {
  background: #f4f7fa;
  border: 1px solid #e3eaf1;
  border-radius: 12px;
  padding: 1.4rem 1rem;
  text-align: center;
}

.stat-tile .s-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #0d1d2a;
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: .35rem;
}

.stat-tile .s-lbl {
  display: block;
  font-size: .75rem;
  font-weight: 500;
  color: #4a6070;
}

/* ── Feature cards ───────────────────────────────────── */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feat-card {
  background: #fff;
  border: 1px solid #e3eaf1;
  border-radius: 14px;
  padding: 1.6rem;
  transition: box-shadow .2s, border-color .2s;
}

.feat-card:hover {
  box-shadow: 0 6px 24px rgba(13,29,42,.08);
  border-color: #c8d8e4;
}

.feat-icon {
  width: 40px;
  height: 40px;
  background: rgba(42,134,129,.10);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feat-icon svg {
  width: 19px;
  height: 19px;
  color: #2a8681;
}

.feat-card h3 {
  font-size: .9rem;
  font-weight: 700;
  color: #0d1d2a;
  margin-bottom: .3rem;
}

.feat-card p {
  font-size: .8rem;
  color: #4a6070;
  line-height: 1.6;
  margin: 0;
}

/* ── Dark CTA band ───────────────────────────────────── */
.pg-cta-band {
  background: #0b1822;
  padding: 4.5rem 1.5rem;
  text-align: center;
}

.pg-cta-band h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .65rem;
  letter-spacing: -.015em;
}

.pg-cta-band p {
  font-size: .95rem;
  color: rgba(238,240,248,.60);
  margin-bottom: 2rem;
}

.pg-cta-row {
  display: flex;
  gap: .75rem;
  max-width: 480px;
  margin: 0 auto;
}

.pg-cta-row input {
  flex: 1;
  height: 50px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  padding: 0 1rem;
  color: #fff;
  font-size: .9rem;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.pg-cta-row input::placeholder {
  color: rgba(238,240,248,.30);
  text-transform: none;
  letter-spacing: 0;
}

.pg-cta-row input:focus {
  outline: none;
  border-color: rgba(168,216,213,.50);
}

.pg-cta-row .pg-cta-btn {
  height: 50px;
  padding: 0 1.5rem;
  background: #2a8681;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: background .2s;
}

.pg-cta-row .pg-cta-btn:hover {
  background: #1e6b66;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
  .mission-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }

  .feat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pg-cta-row {
    flex-direction: column;
  }

  .pg-cta-row input,
  .pg-cta-row .pg-cta-btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .feat-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}
