/* About Page Styles — Ideal Home Care
   Builds on style.css tokens and service.css components */


.about-intro-btns { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }

/* Who we help chips */
.help-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin: 1.25rem 0 0.6rem !important;
}
.help-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.5rem; }
.help-chips li {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--red);
  background: var(--red-soft);
  border: 1px solid var(--red-light);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

/* === MISSION / VISION / VALUES === */
.mvv {
  background: var(--dark);
  color: var(--white);
  padding: var(--section-y) 0;
}
.mvv .section-eyebrow { color: #ff8a8d; }
.mvv .section-heading { color: var(--white); }
.mvv .section-heading em { color: #ff8a8d; }
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: var(--head-gap);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.mvv-item {
  padding: 2rem clamp(1.25rem, 3vw, 2.25rem) 0;
  border-left: 1px solid rgba(255,255,255,0.12);
}
.mvv-item:first-child { border-left: none; padding-left: 0; }
.mvv-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.mvv-item h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.3vw, 1.75rem);
  font-weight: 700;
  font-style: italic;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.mvv-item p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  max-width: 36ch;
}
.mvv-item p + p { margin-top: 0.75rem; }
.mvv-item .mvv-lead { color: var(--white); font-weight: 600; }

/* === RANGE OF SERVICES === */
.range {
  background: var(--cream);
  padding: var(--section-y) 0;
}
.range-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: var(--head-gap);
}
.range-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.range-card:hover { box-shadow: 0 8px 28px rgba(204,31,36,0.1); transform: translateY(-2px); }
.range-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.range-card-body { padding: 1.25rem 1.35rem 1.4rem; }
.range-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
}
.range-card .svc-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red);
}
.range-card:hover .svc-link { color: var(--red-dark); }

/* === FOUNDER === */
.founder {
  background: var(--white);
  padding: var(--section-y) 0;
}
.founder-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.founder-photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--gray-100);
}
.founder-photo img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
}
.founder-text .section-eyebrow,
.founder-text .section-heading { text-align: left; }
.founder-name {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 1rem;
}
.founder-name span { font-weight: 500; color: var(--gray-600); }
.founder-text p {
  font-size: 0.98rem;
  color: var(--gray-600);
  line-height: 1.8;
  max-width: 60ch;
}
.award {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.75rem;
  padding: 1.25rem 1.5rem;
  background: var(--cream);
  border-left: 4px solid var(--red);
  border-radius: 0 12px 12px 0;
}
.award img { width: 88px; height: auto; flex-shrink: 0; }
.award p { font-size: 0.9rem; margin: 0; }
.award strong { color: var(--dark); display: block; font-size: 1rem; margin-bottom: 0.15rem; }

/* === WHY CHOOSE === */
.why {
  background: var(--gray-50);
  padding: var(--section-y) 0;
}
.why-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.why-text .section-eyebrow,
.why-text .section-heading { text-align: left; }
.why-text p {
  font-size: 0.98rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1.1rem;
  max-width: 62ch;
}
.why-links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.why-side { display: flex; flex-direction: column; gap: 1.5rem; }
.why-side > img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 16px;
}
.expertise {
  background: var(--dark);
  border-radius: 12px;
  padding: 1.75rem;
  color: var(--white);
}
.expertise h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.expertise > p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.expertise ul { display: flex; flex-direction: column; }
.expertise li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.92rem;
}
.expertise li:last-child { border-bottom: none; padding-bottom: 0; }
.expertise .svc-check-icon { margin-top: 0; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .range-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .founder-grid, .why-grid { grid-template-columns: 1fr; }
  .founder-photo img { max-height: 420px; }
}
@media (max-width: 720px) {
  .mvv-grid { grid-template-columns: 1fr; border-top: none; }
  .mvv-item {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 1.75rem 0;
  }
  .mvv-item p { max-width: none; }
}
@media (max-width: 520px) {
  .range-grid { grid-template-columns: 1fr; }
  .award { flex-direction: column; align-items: flex-start; }
}

/* Fallback if the founder photo can't load: show the logo, never a stand-in person */
.founder-photo.no-photo {
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream) url("../img/logo.jpg") center / 180px auto no-repeat;
}

/* ============ Company-focused sections ============ */

/* === OUR TEAM === */
.team {
  background: var(--cream);
  padding: var(--section-y) 0;
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.team-text .section-eyebrow,
.team-text .section-heading { text-align: left; }
.team-text > p {
  font-size: 0.98rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1.1rem;
  max-width: 60ch;
}
.team-roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.team-role {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
}
.team-role .svc-benefit-icon { width: 42px; height: 42px; margin: 0; flex-shrink: 0; }
.team-img { border-radius: 16px; overflow: hidden; }
.team-img img { width: 100%; height: 460px; object-fit: cover; }

/* === OUR APPROACH === */
.approach {
  background: var(--white);
  padding: var(--section-y) 0;
}
.approach-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  --step-gap: clamp(1.25rem, 3vw, 2.5rem);
  gap: var(--step-gap);
  margin-top: var(--head-gap);
  position: relative;
}
.approach-steps::before {
  content: "";
  position: absolute;
  top: 26px;
  left: calc((100% - 2 * var(--step-gap)) / 6);
  right: calc((100% - 2 * var(--step-gap)) / 6);
  border-top: 2px dashed rgba(204,31,36,0.25);
  z-index: 0;
}
.approach-step { position: relative; z-index: 1; text-align: center; }
.approach-num {
  width: 52px; height: 52px;
  background: var(--red);
  color: var(--white);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 1.25rem;
  box-shadow: 0 0 0 8px var(--white);
}
.approach-step h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.approach-step p { font-size: 0.92rem; color: var(--gray-600); line-height: 1.75; max-width: 34ch; margin: 0 auto; }

/* === GROW WITH US === */
.grow {
  background: var(--gray-50);
  padding: var(--section-y) 0;
}
.grow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: var(--head-gap);
}
.grow-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.grow-card:hover { box-shadow: 0 8px 28px rgba(204,31,36,0.1); transform: translateY(-2px); }
.grow-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.grow-card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.grow-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.45rem;
}
.grow-card p { font-size: 0.88rem; color: var(--gray-600); line-height: 1.65; margin-bottom: 1rem; }
.grow-card .svc-link { margin-top: auto; font-size: 0.86rem; font-weight: 600; color: var(--red); }

@media (max-width: 960px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-img { order: -1; }
  .team-img img { height: 320px; }
  .grow-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .approach-steps { grid-template-columns: 1fr; }
  .approach-steps::before {
    top: 26px; bottom: 26px; left: 25px; right: auto;
    border-top: none;
    border-left: 2px dashed rgba(204,31,36,0.25);
  }
  .approach-step { padding-left: 72px; text-align: left; }
  .approach-step p { max-width: none; }
  .approach-step:last-child { background: var(--white); }
  .approach-num { position: absolute; left: 0; top: 0; margin: 0; }
  .grow-grid, .team-roles { grid-template-columns: 1fr; }
}
