/* About Us page (templates/page-about.html). Builds on pragati-hero.css (.ph-root tokens, .ph-sec type, buttons). */

/* ---------------------------------------------------------------- 1 · page hero */
.ph-root .pa-hero { position: relative; overflow: hidden; min-height: clamp(540px, 44vw, 760px); display: flex; align-items: center; background: #FBEFF1; }
.ph-root .pa-hero__media, .ph-root .pa-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph-root .pa-hero__media img { object-fit: cover; object-position: 28% 50%; }
/* light wash at the top keeps the floating header readable, soft fade into the next section */
.ph-root .pa-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.75) 0, rgba(255,255,255,0) 150px), linear-gradient(0deg, #fff 0, rgba(255,255,255,0) 90px); }
.ph-root .pa-hero__in { position: relative; z-index: 2; width: 100%; max-width: 1240px; margin: 0 auto; padding: 120px clamp(20px, 4.5vw, 72px) 72px; }
.ph-root .pa-hero__copy { max-width: 620px; margin-left: auto; margin-right: clamp(0px, 2vw, 24px); padding: clamp(28px, 2.6vw, 40px); border-radius: 28px;
  background: rgba(255,255,255,.68); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 0 0 1px rgba(255,255,255,.8), 0 30px 60px -36px rgba(120,20,40,.45); }
.ph-root .pa-crumbs { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 7px 16px; border-radius: 999px; background: rgba(255,255,255,.8); box-shadow: 0 0 0 1px #F4D3D8, 0 10px 24px -16px rgba(200,30,50,.4); font-size: 13px; font-weight: 600; color: #7a8396; }
.ph-root .pa-crumbs a { color: var(--ph-navy); text-decoration: none; }
.ph-root .pa-crumbs a:hover { color: var(--ph-red); }
.ph-root .pa-crumbs [aria-current] { color: var(--ph-red); }
.ph-root .pa-hero h1 { margin: 0 0 18px; font-size: clamp(2.2rem, 3.4vw, 3.15rem); font-weight: 800; line-height: 1.06; letter-spacing: -.035em; color: var(--ph-navy); text-wrap: balance; }
.ph-root .pa-hero h1 span { display: block; color: var(--ph-red); }
.ph-root .pa-hero__copy > p { margin: 0 0 30px; max-width: 30em; font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.7; color: var(--ph-ink-2); }
.ph-root .pa-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------------------- 2 · story */
.ph-root .pa-story__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 6vw, 88px); }
.ph-root .pa-story__visual { position: relative; padding: 0 0 34px 0; }
.ph-root .pa-story__visual > img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 0% 50%; border-radius: 28px; box-shadow: 0 34px 70px -40px rgba(24,36,58,.55); }
.ph-root .pa-fact { position: absolute; display: flex; align-items: center; gap: 14px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px #F4D3D8, 0 24px 44px -26px rgba(24,36,58,.45); }
.ph-root .pa-fact--years { left: clamp(-28px, -2vw, -12px); bottom: 0; max-width: 300px; padding: 16px 22px; }
.ph-root .pa-fact--years b { font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--ph-red); }
.ph-root .pa-fact--years span { font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--ph-navy); }
.ph-root .pa-fact--support { top: 22px; right: clamp(-24px, -1.6vw, -10px); padding: 10px 16px 10px 10px; font-size: 14px; color: var(--ph-ink-2); animation: pa-bob 6s ease-in-out infinite; }
.ph-root .pa-fact--support b { color: var(--ph-navy); }
.ph-root .pa-fact i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #fff; background: linear-gradient(150deg, #ff4a5a, #E60000 60%, #b80012); }
.ph-root .pa-fact i svg { width: 19px; height: 19px; }
@keyframes pa-bob { 50% { transform: translateY(-8px); } }
.ph-root .pa-story .ph-h2 { font-size: clamp(1.9rem, 3vw, 2.75rem); }
.ph-root .pa-spec { margin-top: 26px; padding-top: 24px; border-top: 1px solid #F1E1E4; }
.ph-root .pa-spec h3 { margin: 0 0 14px; font-size: 1rem; font-weight: 800; color: var(--ph-navy); }
.ph-root .pa-spec ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ph-root .pa-spec li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; background: #FFF4F5; box-shadow: inset 0 0 0 1px #F7D5DA; font-size: 14px; font-weight: 600; color: var(--ph-navy); }
.ph-root .pa-spec li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ph-red); box-shadow: 0 0 0 3px #FCDDE1; }

/* ---------------------------------------------------------------- 3 · what we do (ruled columns, no cards) */
.ph-root .pa-do { background: linear-gradient(180deg, #fff 0%, #FFF7F8 100%); }
.ph-root .pa-do .ph-sec__head .ph-body { max-width: 34em; margin: 0 auto; }
.ph-root .pa-do__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.ph-root .pa-do__list > li { position: relative; display: flex; flex-direction: column; padding-top: 30px; border-top: 2px solid #F1DDE1; }
.ph-root .pa-do__list > li::before { content: ""; position: absolute; left: 0; top: -2px; width: 56px; height: 2px; background: var(--ph-red); transform-origin: left; transition: transform 1s cubic-bezier(.2,.8,.2,1) .2s; }
.ph-root.ph-sec-js .pa-do__list > li:not(.is-in)::before { transform: scaleX(0); }
.ph-root .pa-do__list i { position: relative; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: var(--ph-red); background: #FFECEE; box-shadow: inset 0 0 0 1px #F9D3D9; }
.ph-root .pa-do__list svg { width: 25px; height: 25px; }
.ph-root .pa-do__list h3 { position: relative; margin: 0 0 10px; font-size: 1.22rem; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; color: var(--ph-navy); }
.ph-root .pa-do__list p { margin: 0 0 22px; font-size: .97rem; line-height: 1.65; color: var(--ph-ink-2); }
/* icon row: the category label fills the right side of each column */
.ph-root .pa-do__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.ph-root .pa-do__top span { padding: 6px 12px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ph-red); background: #fff; box-shadow: inset 0 0 0 1px #F6D3D9; }
/* real service tags close each column, right under the text */
.ph-root .pa-do__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.ph-root .pa-do__tags li { padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--ph-navy); background: #fff; box-shadow: inset 0 0 0 1px #EEDDE1; }

/* ---------------------------------------------------------------- 4 · approach banner */
.ph-root .pa-banner { position: relative; overflow: hidden; min-height: clamp(460px, 40vw, 640px); display: flex; align-items: center; background: #FCEFF1; }
.ph-root .pa-banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.ph-root .pa-banner::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(255,246,247,.92) 0%, rgba(255,246,247,.7) 34%, rgba(255,246,247,0) 56%); }
.ph-root .pa-banner__in { position: relative; z-index: 2; z-index: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: 64px clamp(20px, 4.5vw, 72px); }
.ph-root .pa-banner__copy { max-width: 520px; }
.ph-root .pa-banner .ph-h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1.12; }
.ph-root .pa-banner .ph-h2 span { display: block; }
.ph-root .pa-banner .ph-body { max-width: 28em; margin: 0; }

/* ---------------------------------------------------------------- tablet */
@media (max-width: 1024px) {
  .ph-root .pa-hero { min-height: 520px; }
  .ph-root .pa-hero__media img { object-position: 22% 50%; }
  .ph-root .pa-hero__copy { max-width: 50%; margin-right: 0; }
  .ph-root .pa-hero h1 { font-size: clamp(2rem, 4.4vw, 2.6rem); }
}
@media (max-width: 900px) {
  .ph-root .pa-story__grid { grid-template-columns: minmax(0, 1fr); }
  .ph-root .pa-story__visual { max-width: 640px; margin: 0 auto; width: 100%; }
  .ph-root .pa-do__list { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ph-root .pa-do__list > li { padding: 26px 0; }
  .ph-root .pa-do__list p { margin-bottom: 16px; }
}

/* tablets and phones: the approach banner stacks (picture, then copy) so text never sits on the scene */
@media (max-width: 900px) {
  .ph-root .pa-banner { display: block; min-height: 0; background: #FFF5F6; }
  .ph-root .pa-banner::before { display: none; }
  .ph-root .pa-banner__img { position: relative; height: auto; aspect-ratio: 16 / 10; object-position: 76% 50%; }
  .ph-root .pa-banner__in { padding: 32px clamp(20px, 4.5vw, 72px) 56px; }
}
@media (max-width: 640px) { .ph-root .pa-banner__img { aspect-ratio: 4 / 3; } .ph-root .pa-banner__in { padding: 28px 20px 48px; } }

/* ---------------------------------------------------------------- phones: picture on top, copy below */
@media (max-width: 767px) {
  .ph-root .pa-hero { display: block; min-height: 0; background: #fff; }
  .ph-root .pa-hero__media { position: relative; display: block; height: auto; }
  .ph-root .pa-hero__media img { position: relative; height: auto; aspect-ratio: 800 / 710; max-height: 72vh; object-position: 40% 30%; }
  .ph-root .pa-hero::before { background: linear-gradient(180deg, rgba(255,255,255,.7) 0, rgba(255,255,255,0) 110px); bottom: auto; height: 120px; }
  .ph-root .pa-hero__media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(0deg, #fff 8%, rgba(255,255,255,0)); }
  .ph-root .pa-hero__in { margin-top: -64px; padding: 0 20px 8px; }
  .ph-root .pa-hero__copy { max-width: none; padding: 0; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
  .ph-root .pa-crumbs { margin-bottom: 14px; padding: 6px 13px; font-size: 12px; }
  .ph-root .pa-hero h1 { margin-bottom: 14px; font-size: clamp(1.75rem, 8.4vw, 2.2rem); line-height: 1.08; }
  .ph-root .pa-hero__copy > p { margin-bottom: 22px; font-size: .95rem; line-height: 1.6; }
  .ph-root .pa-hero__btns { flex-direction: column; gap: 10px; }
  .ph-root .pa-hero__btns .ph-btn { width: 100%; min-height: 50px; font-size: 15px; }

}
@media (max-width: 640px) {
  .ph-root .pa-story .ph-h2, .ph-root .pa-banner .ph-h2 { font-size: 1.75rem; }
  .ph-root .pa-story__visual { padding-bottom: 46px; }
  .ph-root .pa-story__visual > img { aspect-ratio: 4 / 3; border-radius: 22px; }
  .ph-root .pa-fact--years { left: 12px; right: 12px; max-width: none; padding: 12px 16px; border-radius: 16px; }
  .ph-root .pa-fact--years b { font-size: 2rem; }
  .ph-root .pa-fact--years span { font-size: 12.5px; }
  .ph-root .pa-fact--support { top: 12px; right: 12px; padding: 7px 12px 7px 7px; font-size: 12.5px; border-radius: 14px; }
  .ph-root .pa-fact i { width: 30px; height: 30px; border-radius: 9px; }
  .ph-root .pa-fact i svg { width: 16px; height: 16px; }
  .ph-root .pa-spec { margin-top: 18px; padding-top: 18px; }
  .ph-root .pa-spec h3 { font-size: .95rem; margin-bottom: 12px; }
  .ph-root .pa-spec ul { gap: 8px; }
  .ph-root .pa-spec li { padding: 7px 12px; font-size: 12.5px; }
  .ph-root .pa-do__list > li { padding: 22px 0; }
  .ph-root .pa-do__top { margin-bottom: 14px; }
  .ph-root .pa-do__top span { padding: 5px 10px; font-size: 10px; }
  .ph-root .pa-do__tags { gap: 6px; }
  .ph-root .pa-do__tags li { padding: 5px 10px; font-size: 11.5px; }
  .ph-root .pa-do__list i { width: 44px; height: 44px; border-radius: 13px; }
  .ph-root .pa-do__list svg { width: 21px; height: 21px; }
  .ph-root .pa-do__list h3 { margin-bottom: 6px; font-size: 1.02rem; }
  .ph-root .pa-do__list p { margin-bottom: 14px; font-size: .88rem; line-height: 1.55; }
}
@media (prefers-reduced-motion: reduce) {
  .ph-root .pa-fact--support { animation: none; }
  .ph-root .pa-do__list > li::before { transition: none; }
}
