/* ═══ FEATURES PAGE ═══ */

/* ── Page Title ── */
.features-hero {
  padding: 56px 0 36px;
  background: var(--white);
  text-align: center;
}
.features-hero h1 {
  font-family: 'CoHeadline', sans-serif;
  font-size: 42px; font-weight: 700;
  color: var(--ah-navy); line-height: 1.2;
}

/* ── Sections ── */
.features-page .feature-section { padding: 72px 0; }

.features-page .feature-section-heading {
  font-family: 'CoHeadline', sans-serif;
  font-size: 34px; font-weight: 700;
  color: var(--ah-navy); line-height: 1.15;
  margin-bottom: 28px;
}
.features-page .sec-white .feature-section-heading { color: var(--ah-green); }

/* ── Two-column grid (with image) ── */
.features-page .feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 40px;
}
.features-page .feature-grid--reversed {
  direction: rtl;
}
.features-page .feature-grid--reversed > * {
  direction: ltr;
}

/* ── Full-width layout (no image) ── */
.features-page .feature-fullwidth {
  max-width: 800px;
  margin-bottom: 40px;
}

/* ── Text & bullets ── */
.features-page .feature-text p,
.features-page .feature-fullwidth p {
  font-size: 14px; color: var(--text-body);
  line-height: 1.75; margin-bottom: 14px;
}

.features-page .feature-list {
  list-style: none; padding: 0; margin: 12px 0 16px;
}
.features-page .feature-list li {
  font-size: 14px; color: var(--text-body);
  line-height: 1.75; padding: 3px 0 3px 20px;
  position: relative;
}
.features-page .feature-list li::before {
  content: '•'; color: var(--ah-green);
  font-weight: 700; font-size: 18px;
  position: absolute; left: 0; top: 2px;
}

/* ── Brand shape photo frames ── */
.features-page .sec-light .brand-frame .shape-accent.a1 {
  width: 50px; height: 50px; background: var(--ah-green);
  top: -15px; right: 30px;
}
.features-page .sec-light .brand-frame .shape-accent.a2 {
  width: 30px; height: 80px; background: var(--ah-blue);
  bottom: 20px; left: -15px; border-radius: 50px;
}
.features-page .sec-white .brand-frame img {
  border-radius: 60% 40% 30% 70% / 40% 60% 40% 60%;
}
.features-page .sec-white .brand-frame .shape-accent.a1 {
  width: 45px; height: 45px; background: var(--ah-yellow);
  bottom: -10px; left: 40px;
}
.features-page .sec-white .brand-frame .shape-accent.a2 {
  width: 40px; height: 100px; background: var(--ah-green);
  top: 10px; right: -18px; border-radius: 50px;
}

/* ═══ H3 GRID — 3 columns per row ═══ */
.feature-h3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}

.feature-h3-card {
  background: var(--white);
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-h3-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* On light bg sections, cards are white. On white bg sections, cards use light bg */
.features-page .sec-white .feature-h3-card {
  background: var(--light-bg);
}

.feature-h3-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.feature-h3-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  object-fit: contain;
}

.feature-h3-header h3 {
  font-family: 'CoHeadline', sans-serif;
  font-size: 18px; font-weight: 700;
  color: var(--ah-navy); line-height: 1.3;
  margin: 0;
}

.feature-h3-body p {
  font-size: 13px; color: var(--text-body);
  line-height: 1.7; margin-bottom: 8px;
}
.feature-h3-body p:last-child { margin-bottom: 0; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
  .feature-h3-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .features-page .feature-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .features-page .feature-grid--reversed {
    direction: ltr;
  }
  .features-hero h1 { font-size: 30px; }
  .features-page .feature-section-heading { font-size: 26px; }
}
@media (max-width: 600px) {
  .feature-h3-grid {
    grid-template-columns: 1fr;
  }
}
