/* Civic Enterprises - About page styles
   Uses the shared style.css for header, navigation, buttons and footer. */

.about-hero {
  min-height: 310px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.about-hero-image {
  position: absolute;
  inset: 0 0 0 37%;
  background: url("https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1800&q=85") center 48% / cover no-repeat;
}
.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,28,52,1) 0%, rgba(5,28,52,.97) 34%, rgba(5,28,52,.72) 52%, rgba(5,28,52,.12) 100%);
}
.about-hero-content { position: relative; z-index: 2; padding-top: 20px; padding-bottom: 25px; color: #fff; }
.about-hero-content h1 {
  max-width: 720px;
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(38px, 4.5vw, 55px);
  line-height: 1.08;
  letter-spacing: -.04em;
}
.about-hero-content h1 strong { color: #efbd4d; }
.about-hero-content > p:not(.eyebrow) { max-width: 560px; margin: 0; color: rgba(255,255,255,.92); font-size: 15px; line-height: 1.6; }
.breadcrumb { display: flex; align-items: center; gap: 10px; margin-top: 25px; color: rgba(255,255,255,.78); font-size: 12px; }
.breadcrumb a { color: #f0bd4d; }
.breadcrumb span:nth-child(2) { color: var(--gold); }

/* Intro */
.about-intro { padding: 76px 0; background: #fbfaf7; }
.about-intro-grid { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: 70px; }
.about-intro-image-wrap { position: relative; min-height: 390px; padding: 0 30px 30px 0; }
.about-intro-image {
  min-height: 360px;
  height: 100%;
  background: url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1200&q=85") center / cover no-repeat;
  box-shadow: 16px 16px 0 #e8d7ad;
}
.image-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 205px;
  padding: 17px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #fff;
  background: var(--navy);
  border-left: 3px solid var(--gold);
}
.image-caption span { color: #edbd4d; font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.image-caption strong { font-size: 17px; line-height: 1.25; }
.about-intro-content .eyebrow { margin-bottom: 10px; }
.about-intro-content h2 { margin: 0 0 18px; max-width: 560px; color: var(--navy); font-size: clamp(30px, 3.5vw, 42px); line-height: 1.12; letter-spacing: -.04em; }
.about-intro-content p:not(.eyebrow) { margin: 0 0 13px; color: #4a5968; font-size: 14px; line-height: 1.8; }

/* Service overview */
.about-services { padding: 70px 0 76px; background: #fff; }
.about-services .section-heading { margin-bottom: 35px; }
.about-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.about-service-card {
  position: relative;
  min-height: 265px;
  padding: 29px 27px 25px;
  background: #fff;
  border: 1px solid #e7e9ec;
  border-top: 4px solid var(--gold);
  box-shadow: 0 10px 28px rgba(9,35,63,.07);
  transition: transform .2s ease, box-shadow .2s ease;
}
.about-service-card:hover { transform: translateY(-5px); box-shadow: 0 15px 32px rgba(9,35,63,.12); }
.about-service-number { display: block; margin-bottom: 20px; color: #c4932b; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.about-service-card h3 { margin: 0 0 12px; color: var(--navy); font-size: 21px; line-height: 1.2; }
.about-service-card p { margin: 0 0 18px; color: #536273; font-size: 13px; line-height: 1.7; }
.about-service-card a { color: #b47c0c; font-size: 13px; font-weight: 800; }
.about-service-card a b { margin-left: 5px; font-size: 20px; vertical-align: -1px; }

/* Approach */
.about-approach { padding: 70px 0; color: #fff; background: var(--navy); }
.about-approach-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 65px; }
.about-approach-copy .eyebrow { color: #fff; }
.about-approach-copy h2 { margin: 0 0 16px; color: #fff; font-size: clamp(30px, 3.5vw, 42px); line-height: 1.12; letter-spacing: -.035em; }
.about-approach-copy > p:last-child { max-width: 520px; margin: 0; color: rgba(255,255,255,.83); font-size: 14px; line-height: 1.75; }
.about-approach-points { border-left: 1px solid var(--gold); padding-left: 34px; }
.about-approach-points > div { display: grid; grid-template-columns: 42px 1fr; gap: 15px; padding: 14px 0; }
.about-approach-points > div + div { border-top: 1px solid rgba(255,255,255,.14); }
.about-approach-points span { color: #edbd4d; font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.about-approach-points p { margin: 0; color: rgba(255,255,255,.8); font-size: 12px; line-height: 1.6; }
.about-approach-points strong { display: block; margin-bottom: 4px; color: #fff; font-size: 15px; }

/* CTA */
.about-cta { padding: 43px 0; background: linear-gradient(110deg, #f8efd9, #fffaf0); }
.about-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.about-cta-inner .eyebrow { margin-bottom: 8px; }
.about-cta-inner h2 { margin: 0 0 7px; color: var(--navy); font-size: clamp(25px, 3vw, 34px); letter-spacing: -.035em; }
.about-cta-inner p:last-child { margin: 0; color: #536273; font-size: 13px; line-height: 1.6; }

/* Tablet */
@media (max-width: 900px) {
  .about-intro-grid { gap: 35px; }
  .about-intro-image-wrap { min-height: 340px; }
  .about-intro-image { min-height: 310px; }
  .about-service-grid { gap: 14px; }
  .about-service-card { padding: 24px 19px; }
  .about-service-card h3 { font-size: 18px; }
  .about-approach-grid { gap: 35px; }
}

/* Mobile */
@media (max-width: 640px) {
  .about-hero { min-height: 340px; align-items: flex-end; }
  .about-hero-image { inset: 0; background-position: center; }
  .about-hero-overlay { background: linear-gradient(0deg, rgba(5,28,52,.98) 0%, rgba(5,28,52,.86) 55%, rgba(5,28,52,.22) 100%); }
  .about-hero-content { padding-top: 145px; padding-bottom: 28px; }
  .about-hero-content h1 { font-size: 37px; }
  .about-hero-content > p:not(.eyebrow) { font-size: 13px; }
  .about-intro { padding: 45px 0 50px; }
  .about-intro-grid { grid-template-columns: 1fr; gap: 35px; }
  .about-intro-image-wrap { min-height: 275px; padding: 0 18px 18px 0; }
  .about-intro-image { min-height: 255px; box-shadow: 10px 10px 0 #e8d7ad; }
  .image-caption { width: 175px; padding: 13px 15px; }
  .image-caption strong { font-size: 15px; }
  .about-intro-content h2 { font-size: 31px; }
  .about-intro-content p:not(.eyebrow) { font-size: 13px; line-height: 1.7; }
  .about-services { padding: 48px 0 52px; }
  .about-services .section-heading { margin-bottom: 23px; }
  .about-service-grid { grid-template-columns: 1fr; gap: 15px; }
  .about-service-card { min-height: 0; padding: 23px 21px; }
  .about-service-number { margin-bottom: 13px; }
  .about-service-card h3 { font-size: 20px; }
  .about-approach { padding: 48px 0; }
  .about-approach-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-approach-copy h2 { font-size: 31px; }
  .about-approach-copy > p:last-child { font-size: 13px; }
  .about-approach-points { padding-left: 17px; }
  .about-cta { padding: 32px 0; }
  .about-cta-inner { align-items: flex-start; flex-direction: column; gap: 18px; }
  .about-cta-inner h2 { font-size: 27px; }
}


/* Company update and business profile */
.company-update,
.leadership-profile {
  margin-top: 22px;
  padding: 18px 20px;
  background: #fff;
  border-left: 3px solid var(--gold);
  box-shadow: 0 6px 18px rgba(9,35,63,.055);
}
.company-update .eyebrow,
.leadership-profile .eyebrow { margin-bottom: 7px; font-size: 10px; }
.company-update h3,
.leadership-profile h3 {
  margin: 0 0 7px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.3;
}
.company-update p:last-child,
.leadership-profile p:last-child {
  margin: 0;
  color: #4a5968;
  font-size: 13px;
  line-height: 1.7;
}
@media (max-width: 640px) {
  .company-update,
  .leadership-profile { margin-top: 16px; padding: 15px 16px; }
  .company-update h3,
  .leadership-profile h3 { font-size: 17px; }
}
