/* =========================================================
   about.css - styles used only by about.html
   Relies on tokens and components defined in style.css
   ========================================================= */

.page-hero--about { background-image: url('../images/about-hero.jpg'); background-position: 75% center; }

/* Our Story */
.story-media { position: relative; }
.story-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-lg); display: block; }
.story-media::after { content: ""; position: absolute; z-index: -1; right: -14px; bottom: -14px; width: 55%; height: 55%; border: 4px solid var(--red); border-radius: 20px; opacity: .5; }
.story-text p { color: var(--muted); line-height: 1.8; font-size: 1.02rem; }

/* Why choose: feature cards */
.feature-card { height: 100%; background: #fff; border: 1px solid #eceef1; border-radius: var(--radius); padding: 1.8rem 1.5rem; box-shadow: 0 4px 16px rgba(11, 15, 18, .05); position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.feature-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: rgba(237, 28, 36, .1); color: var(--red); font-size: 1.7rem; margin-bottom: 1.1rem; transition: background .3s, color .3s, transform .35s var(--ease); }
.feature-card:hover .feature-icon { background: var(--red); color: #fff; transform: rotate(-8deg) scale(1.06); }
.feature-card h3 { font-size: 1.15rem; color: var(--black); margin-bottom: .5rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.65; }

/* Service preview grid reuses .service-card from style.css */
.service-preview .service-card { min-height: 250px; }

/* Our Commitment split */
.commitment { background: var(--light); overflow: hidden; }
.commitment-media { height: 100%; min-height: 340px; }
.commitment-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.commitment-body { padding: 70px 0; }
.commit-points { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 1rem; }
.commit-points li { display: flex; align-items: center; gap: .9rem; font-weight: 600; color: var(--black); }
.commit-points i { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; }
@media (min-width: 992px) {
  .commitment-media img { clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); }
  .commitment .container-fluid, .commitment .row { --bs-gutter-x: 0; }
  .commitment-body { padding: 80px 4rem 80px 3rem; max-width: 680px; }
}
@media (max-width: 991.98px) { .commitment-media { min-height: 260px; max-height: 340px; } .commitment-body { padding: 56px 16px; } }

/* Core values */
.value-card { height: 100%; text-align: center; background: var(--light); border-radius: var(--radius); padding: 2rem 1.3rem; border: 1px solid transparent; transition: transform .35s var(--ease), background .35s, border-color .35s, box-shadow .35s; }
.value-card:hover { transform: translateY(-6px); background: #fff; border-color: rgba(237, 28, 36, .35); box-shadow: var(--shadow); }
.value-card i { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: #fff; color: var(--red); font-size: 1.8rem; margin-bottom: 1rem; box-shadow: 0 6px 18px rgba(237, 28, 36, .18); }
.value-card h3 { font-size: 1.1rem; color: var(--black); margin-bottom: .45rem; }
.value-card p { margin: 0; color: var(--muted); font-size: .92rem; }

/* Gallery preview (lightbox handled by main.js via .g-item) */
.about-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.about-gallery .g-item:first-child { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
@media (max-width: 575.98px) { .about-gallery { grid-template-columns: repeat(2, 1fr); gap: .6rem; } }

/* Customer trust (reuses .review-card / .review-grid / .sample-note from style.css) */
.trust { background: var(--black); padding: 80px 0; }

/* =========================================================
   DETAILED ABOUT PAGE ADDITIONS
   ========================================================= */
html { scroll-padding-top: 130px; }

/* Sticky in-page navigation */
.about-subnav { position: sticky; top: 59px; z-index: 900; background: #fff; border-bottom: 1px solid #e8eaed; box-shadow: 0 6px 18px rgba(11, 15, 18, .06); }
.about-subnav ul { list-style: none; margin: 0; padding: .6rem 0; display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; }
.about-subnav ul::-webkit-scrollbar { display: none; }
.about-subnav a { display: block; white-space: nowrap; padding: .45rem 1rem; border-radius: 50rem; font-size: .88rem; font-weight: 600; color: var(--text); transition: background .25s, color .25s; }
.about-subnav a:hover { background: var(--light); color: var(--red); }
.about-subnav a.active { background: var(--red); color: #fff; }

/* Story collage */
.collage { position: relative; padding: 0 0 70px; }
.collage-main { width: 88%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-lg); display: block; }
.collage-small { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.collage-badge { position: absolute; left: 14px; bottom: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 112px; height: 112px; border-radius: 50%; background: var(--red); color: #fff; text-align: center; box-shadow: 0 12px 30px rgba(237, 28, 36, .45); }
.collage-badge i { font-size: 1.2rem; }
.collage-badge strong { font-family: 'Poppins', sans-serif; font-size: 1.5rem; line-height: 1; }
.collage-badge small { font-size: .68rem; text-transform: uppercase; letter-spacing: .5px; }
.glance { list-style: none; margin: 1.6rem 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
.glance li { display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; background: var(--light); border-radius: 12px; border-left: 3px solid var(--red); }
.glance i { color: var(--red); font-size: 1.4rem; }
.glance span { font-weight: 600; color: var(--black); font-size: .92rem; line-height: 1.3; }
.glance small { display: block; font-weight: 500; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .6px; }
@media (max-width: 575.98px) { .glance { grid-template-columns: 1fr; } .collage-badge { width: 92px; height: 92px; } }

/* Mission / approach / promise */
.mission { position: relative; padding: 90px 0; color: #fff; background: radial-gradient(circle at 85% 15%, rgba(237, 28, 36, .22), transparent 45%), var(--black); clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%); margin: -20px 0; padding-top: 110px; padding-bottom: 110px; }
.mission-card { position: relative; height: 100%; padding: 2rem 1.6rem; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); overflow: hidden; transition: transform .35s var(--ease), border-color .35s, background .35s; }
.mission-card:hover { transform: translateY(-6px); border-color: var(--red); background: rgba(237, 28, 36, .08); }
.mission-no { position: absolute; right: 16px; top: 4px; font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 4.5rem; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .12); line-height: 1; }
.mission-card > i { font-size: 2.4rem; color: var(--red); display: block; margin-bottom: 1rem; }
.mission-card h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.mission-card p { margin: 0; color: rgba(255, 255, 255, .75); line-height: 1.7; }

/* Detailed zig-zag service rows */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-bottom: 4rem; }
.svc-row--flip .svc-media { order: 2; }
.svc-media { position: relative; }
.svc-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-lg); display: block; transition: transform .6s var(--ease); }
.svc-media:hover img { transform: scale(1.02); }
.svc-media::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 3px solid var(--red); border-radius: 20px; opacity: .35; z-index: -1; }
.svc-row--flip .svc-media::before { inset: 14px 14px -14px -14px; }
.svc-num { position: absolute; left: 18px; top: -22px; font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 3.6rem; line-height: 1; color: var(--red); text-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.svc-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: rgba(237, 28, 36, .1); color: var(--red); font-size: 1.5rem; margin-bottom: 1rem; }
.svc-text h3 { font-size: 1.6rem; color: var(--black); margin-bottom: .6rem; }
.svc-text > p { color: var(--muted); line-height: 1.75; }
.svc-list { list-style: none; padding: 0; margin: 1.2rem 0 1.4rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem 1rem; }
.svc-list li { display: flex; gap: .55rem; align-items: flex-start; font-size: .93rem; font-weight: 500; color: var(--text); }
.svc-list i { color: var(--red); margin-top: .15rem; }
.svc-link { font-weight: 600; color: var(--red); }
.svc-link i { transition: transform .25s var(--ease); display: inline-block; }
.svc-link:hover i { transform: translateX(5px); }
@media (max-width: 991.98px) { .svc-row { grid-template-columns: 1fr; gap: 1.8rem; margin-bottom: 3.2rem; } .svc-row--flip .svc-media { order: 0; } .svc-media::before { display: none; } .svc-num { top: -16px; font-size: 3rem; } }
@media (max-width: 575.98px) { .svc-list { grid-template-columns: 1fr; } .svc-text h3 { font-size: 1.35rem; } }

/* Dark numbered process */
.process-dark { background: var(--gray); padding: 90px 0; }
.step-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem; counter-reset: s; }
.step-card { position: relative; padding: 2.2rem 1.1rem 1.5rem; text-align: center; border-radius: var(--radius); background: var(--black); border: 1px solid rgba(255, 255, 255, .07); color: #fff; transition: transform .35s var(--ease), border-color .35s; }
.step-card:hover { transform: translateY(-6px); border-color: var(--red); }
.step-no { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); min-width: 38px; height: 38px; padding: 0 .6rem; display: grid; place-items: center; border-radius: 50rem; background: var(--red); font-family: 'Poppins', sans-serif; font-weight: 700; font-size: .9rem; box-shadow: 0 6px 16px rgba(237, 28, 36, .45); }
.step-card > i { font-size: 2.2rem; color: var(--red); display: block; margin-bottom: .8rem; }
.step-card h3 { font-size: 1rem; margin-bottom: .4rem; }
.step-card p { margin: 0; font-size: .85rem; color: rgba(255, 255, 255, .7); line-height: 1.55; }
@media (max-width: 1199.98px) { .step-grid { grid-template-columns: repeat(3, 1fr); row-gap: 2rem; } }
@media (max-width: 767.98px) { .step-grid { grid-template-columns: 1fr; row-gap: 1.8rem; } }

/* Brand chips */
.brand-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.brand-chips li { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.2rem; border-radius: 50rem; background: #fff; border: 1px solid #e3e6ea; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .92rem; color: var(--black); box-shadow: 0 3px 10px rgba(11, 15, 18, .04); transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s; }
.brand-chips li i { color: var(--red); transition: color .3s; }
.brand-chips li:hover { transform: translateY(-3px); background: var(--red); color: #fff; border-color: var(--red); }
.brand-chips li:hover i { color: #fff; }
.brand-chips li.more { border-style: dashed; color: var(--muted); }
