/* ============================================================
   SRI MAYA DIGITAL — pages.css  v2.0  (Production)
   Load AFTER styles.css on every page.
   Covers: footer 4-col grid, page-heroes, service detail,
   portfolio, contact, about story, forms, breadcrumb,
   featured services, lightbox, all responsive breakpoints.
   ============================================================ */

/* ══════════════════════════════════════════
   FOOTER — 4-column grid override
   (styles.css has 3-col; we add services col)
══════════════════════════════════════════ */
.footer__inner {
  grid-template-columns: 1.9fr 0.9fr 1.3fr 1.4fr;
}
@media (max-width: 960px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 540px) {
  .footer__inner { grid-template-columns: 1fr; gap: 1.75rem; }
}

/* Services footer column */
.footer__services-col ul  { display: flex; flex-direction: column; gap: .45rem; }
.footer__services-col a   { font-size: .875rem; color: rgba(255,255,255,.58); transition: color .2s; }
.footer__services-col a:hover { color: rgba(255,255,255,.95); }
.footer__services-col .footer__col-title {
  font-family: var(--font-display); font-weight: 700; font-size: .72rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.38); margin-bottom: 1rem;
}


/* ══════════════════════════════════════════
   PAGE HERO  (inner pages — not homepage)
══════════════════════════════════════════ */
.page-hero {
  padding: calc(var(--nav-h) + 4rem) clamp(1rem,4vw,2.5rem) 4rem;
  background: var(--grad-hero);
  position: relative; overflow: hidden; text-align: center;
}
.page-hero__noise {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  background-size: 200px; opacity: .35;
}
.page-hero__orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.page-hero__orb {
  position: absolute; border-radius: 50%; filter: blur(60px);
  animation: orbFloat 10s ease-in-out infinite;
}
/* orbFloat keyframe self-contained here so inner pages don't depend on load order */
@keyframes orbFloat {
  0%,100% { transform: translate(0,0); }
  33%     { transform: translate(20px,-25px); }
  66%     { transform: translate(-15px,15px); }
}
.page-hero__orb--1 { width: 360px; height: 360px; background: rgba(251,191,36,.28); top: -20%; right: -5%; }
.page-hero__orb--2 { width: 260px; height: 260px; background: rgba(229,57,53,.14); bottom: -10%; left: -5%; animation-duration: 13s; animation-direction: reverse; }
.page-hero__inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }

.page-hero__eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brand-red); margin-bottom: 1rem;
}
.page-hero__eyebrow::before, .page-hero__eyebrow::after {
  content: ''; display: inline-block; width: 24px; height: 1.5px; background: currentColor;
}
.page-hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.2rem,5.5vw,3.6rem); letter-spacing: -.025em;
  color: var(--ink); line-height: 1.1; margin-bottom: 1.25rem;
}
.page-hero__desc {
  font-size: clamp(.9rem,2vw,1.07rem); color: var(--muted);
  max-width: 570px; margin: 0 auto 2rem; line-height: 1.68;
}
.page-hero__actions {
  display: flex; flex-wrap: wrap; gap: .65rem; justify-content: center;
}
@media (max-width: 600px) {
  .page-hero { padding: calc(var(--nav-h) + 2.5rem) 1rem 2.5rem; }
  .page-hero__title { font-size: clamp(1.8rem,6vw,2.4rem); }
  .page-hero__actions { flex-direction: column; align-items: stretch; }
  .page-hero__actions .btn { text-align: center; justify-content: center; }
}


/* ══════════════════════════════════════════
   BREADCRUMB
══════════════════════════════════════════ */
.breadcrumb {
  display: flex; align-items: center; gap: .45rem; flex-wrap: wrap;
  font-size: .78rem; font-weight: 500; color: var(--muted);
  padding: .85rem clamp(1rem,4vw,2.5rem);
  background: var(--surface-2); border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--brand-red); transition: opacity .2s; }
.breadcrumb a:hover { opacity: .72; }
.breadcrumb__sep { color: var(--muted-lt); user-select: none; }
@media (max-width: 480px) {
  .breadcrumb { font-size: .72rem; padding: .65rem 1rem; gap: .35rem; }
}


/* ══════════════════════════════════════════
   SERVICES HUB PAGE
══════════════════════════════════════════ */
.svc-hub { background: var(--surface); }
.svc-hub__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem; max-width: var(--content-w); margin: 0 auto;
}

.svc-hub-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  transition: transform .35s var(--ease-spring), box-shadow .35s, border-color .3s;
}
.svc-hub-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-xl);
  border-color: rgba(229,57,53,.22);
}
.svc-hub-card__thumb {
  aspect-ratio: 16/9; overflow: hidden; position: relative;
  background: var(--surface-3);
}
.svc-hub-card__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s var(--ease-out);
}
.svc-hub-card:hover .svc-hub-card__thumb img { transform: scale(1.07); }
.svc-hub-card__thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--surface-3), var(--surface-2));
}
.svc-hub-card__thumb-placeholder svg { width: 56px; height: 56px; color: var(--muted-lt); opacity: .45; }
.svc-hub-card__badge {
  position: absolute; top: .85rem; left: .85rem;
  padding: .28rem .7rem; border-radius: 999px;
  background: var(--brand-red); color: #fff;
  font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.svc-hub-card__body {
  padding: 1.4rem 1.65rem 1.75rem; flex: 1;
  display: flex; flex-direction: column; gap: .6rem;
}
.svc-hub-card__icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.svc-hub-card__icon svg { width: 24px; height: 24px; }
.svc-hub-card h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.08rem;
  color: var(--ink); margin: 0;
}
.svc-hub-card p { font-size: .875rem; line-height: 1.6; color: var(--muted); flex: 1; }
.svc-hub-card__link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .82rem; font-weight: 600; color: var(--brand-red);
  margin-top: .35rem; transition: gap .2s;
}
.svc-hub-card:hover .svc-hub-card__link { gap: .65rem; }
.svc-hub-card__link svg { width: 16px; height: 16px; }

@media (max-width: 680px) {
  .svc-hub__grid { grid-template-columns: 1fr; }
  .svc-hub-card__thumb { aspect-ratio: 16/7; }
}


/* ══════════════════════════════════════════
   SERVICE DETAIL PAGE
══════════════════════════════════════════ */
.svc-detail__intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center;
  max-width: var(--content-w); margin: 0 auto;
  padding: clamp(3.5rem,7vw,5.5rem) clamp(1rem,4vw,2.5rem);
}
.svc-detail__intro-text h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.6rem,3.2vw,2.35rem); letter-spacing: -.022em;
  color: var(--ink); margin-bottom: 1.25rem; line-height: 1.17;
}
.svc-detail__intro-text p {
  font-size: .945rem; color: var(--muted); line-height: 1.78; margin-bottom: 1rem;
}
.svc-detail__intro-text p:last-of-type { margin-bottom: 0; }
.svc-detail__intro-text strong { color: var(--ink); font-weight: 600; }

.svc-detail__intro-img {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3;
}
.svc-detail__intro-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-detail__intro-img-placeholder {
  width: 100%; height: 100%; min-height: 300px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
}
.svc-detail__intro-img-placeholder svg { width: 80px; height: 80px; color: var(--brand-gold); opacity: .55; }

@media (max-width: 760px) {
  .svc-detail__intro {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 1rem;
  }
  .svc-detail__intro-img { order: -1; }
}

/* Specs strip */
.svc-specs {
  background: var(--surface-2);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 2.25rem clamp(1rem,4vw,2.5rem);
}
.svc-specs__inner {
  max-width: var(--content-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 1.1rem;
}
.svc-spec {
  display: flex; flex-direction: column; gap: .3rem;
  padding: 1.1rem 1.35rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-xs);
}
.svc-spec__label {
  font-size: .65rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted-lt);
}
.svc-spec__value {
  font-family: var(--font-display); font-weight: 700; font-size: .92rem; color: var(--ink);
}
@media (max-width: 480px) {
  .svc-specs__inner { grid-template-columns: 1fr 1fr; }
}

/* Service gallery */
.svc-gallery { padding: clamp(3.5rem,7vw,5.5rem) clamp(1rem,4vw,2.5rem); }
.svc-gallery__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  grid-auto-rows: 220px; gap: 1rem;
  max-width: var(--content-w); margin: 0 auto;
}
.svc-gallery__item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  cursor: pointer; box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, transform .3s var(--ease-spring);
  -webkit-tap-highlight-color: transparent;
}
.svc-gallery__item:hover { box-shadow: var(--shadow-lg); transform: scale(1.025); }
.svc-gallery__item:focus-visible { outline: 2px solid var(--brand-red); outline-offset: 3px; }
.svc-gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s var(--ease-out);
}
.svc-gallery__item:hover img { transform: scale(1.08); }
.svc-gallery__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,15,.72) 0%, transparent 55%);
  display: flex; align-items: flex-end; padding: 1rem;
  opacity: 0; transition: opacity .3s;
}
.svc-gallery__item:hover .svc-gallery__overlay { opacity: 1; }

@media (max-width: 760px) {
  .svc-gallery__grid { grid-template-columns: repeat(2,1fr); grid-auto-rows: 180px; }
}
@media (max-width: 480px) {
  .svc-gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
}

/* CTA band */
.svc-cta-band {
  background: var(--ink); padding: 4rem clamp(1rem,4vw,2.5rem); text-align: center;
}
.svc-cta-band h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.5rem,3.5vw,2.35rem); color: #fff; margin-bottom: .75rem;
}
.svc-cta-band p { color: rgba(255,255,255,.6); font-size: .95rem; margin-bottom: 2rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.svc-cta-band__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
@media (max-width: 480px) {
  .svc-cta-band { padding: 3rem 1rem; }
  .svc-cta-band__actions { flex-direction: column; align-items: center; }
  .svc-cta-band__actions .btn { width: 100%; max-width: 280px; }
}

/* Other services strip */
.other-services {
  background: var(--surface-2);
  padding: clamp(3.5rem,7vw,5rem) clamp(1rem,4vw,2.5rem);
}
.other-services__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1rem; max-width: var(--content-w); margin: 0 auto;
}
.other-svc-card {
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  padding: 1.4rem 1rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  text-align: center; text-decoration: none; color: inherit;
  box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease-spring), box-shadow .3s, border-color .3s;
}
.other-svc-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md);
  border-color: rgba(229,57,53,.18);
}
.other-svc-card__icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.other-svc-card__icon svg { width: 24px; height: 24px; }
.other-svc-card span {
  font-family: var(--font-display); font-weight: 600;
  font-size: .845rem; color: var(--ink); line-height: 1.3;
}
@media (max-width: 480px) {
  .other-services__grid { grid-template-columns: repeat(3,1fr); }
  .other-svc-card { padding: 1rem .75rem; }
  .other-svc-card span { font-size: .75rem; }
}
@media (max-width: 360px) {
  .other-services__grid { grid-template-columns: repeat(2,1fr); }
}


/* ══════════════════════════════════════════
   FEATURED SERVICES — homepage grid
══════════════════════════════════════════ */
.featured-services { background: var(--surface); }
.featured-services__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem; max-width: var(--content-w); margin: 0 auto 3rem;
}
.featured-svc {
  display: flex; flex-direction: column; gap: .7rem;
  padding: 1.75rem 1.5rem; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  text-decoration: none; color: inherit; box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease-spring), box-shadow .3s, border-color .3s;
}
.featured-svc:hover {
  transform: translateY(-5px); box-shadow: var(--shadow-lg);
  border-color: rgba(229,57,53,.18);
}
.featured-svc__icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.featured-svc__icon svg { width: 26px; height: 26px; }
.featured-svc h3 { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--ink); }
.featured-svc p  { font-size: .845rem; line-height: 1.55; color: var(--muted); flex: 1; }
.featured-svc__arrow {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .8rem; font-weight: 600; color: var(--brand-red);
  transition: gap .2s;
}
.featured-svc:hover .featured-svc__arrow { gap: .55rem; }

@media (max-width: 560px) {
  .featured-services__grid { grid-template-columns: 1fr 1fr; gap: .85rem; }
  .featured-svc { padding: 1.25rem 1rem; gap: .55rem; }
}
@media (max-width: 380px) {
  .featured-services__grid { grid-template-columns: 1fr; }
}


/* ══════════════════════════════════════════
   PORTFOLIO PAGE
══════════════════════════════════════════ */
.portfolio { background: var(--surface-3); }

.portfolio__filter {
  display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: .5rem 1.1rem; border-radius: 999px;
  border: 1.5px solid var(--border-dk);
  background: transparent; color: var(--ink-3);
  font-size: .8rem; font-weight: 600; cursor: pointer;
  transition: all .2s; letter-spacing: .01em;
  font-family: var(--font-display);
}
.filter-btn:hover, .filter-btn.is-active {
  background: var(--brand-red); color: #fff;
  border-color: var(--brand-red); box-shadow: var(--glow-red);
}

.portfolio__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem; max-width: var(--content-w); margin: 0 auto;
}
.portfolio-item {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  cursor: pointer; box-shadow: var(--shadow-sm); aspect-ratio: 4/3;
  background: var(--surface-3);
  transition: box-shadow .3s, transform .3s var(--ease-spring);
  -webkit-tap-highlight-color: transparent;
}
.portfolio-item:hover { box-shadow: var(--shadow-xl); transform: scale(1.025); }
.portfolio-item:focus-visible { outline: 2px solid var(--brand-red); outline-offset: 3px; }
.portfolio-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s var(--ease-out);
}
.portfolio-item:hover img { transform: scale(1.08); }
.portfolio-item__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,15,.85) 0%, rgba(10,10,15,0) 50%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.1rem 1.35rem; opacity: 0; transition: opacity .3s;
}
.portfolio-item:hover .portfolio-item__overlay { opacity: 1; }
.portfolio-item__cat {
  font-size: .63rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand-gold); margin-bottom: .3rem;
}
.portfolio-item__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: .92rem; color: #fff; line-height: 1.3;
}
.portfolio-item[data-hidden="true"] { display: none; }

@media (max-width: 640px) {
  .portfolio__filter { gap: .35rem; }
  .filter-btn { font-size: .72rem; padding: .4rem .82rem; }
  .portfolio__grid { grid-template-columns: repeat(2,1fr); gap: .75rem; }
  .portfolio-item { aspect-ratio: 1; border-radius: var(--radius); }
}
@media (max-width: 380px) {
  .portfolio__grid { grid-template-columns: 1fr; }
  .portfolio-item { aspect-ratio: 4/3; }
}


/* ══════════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════════ */
.contact-split {
  display: grid; grid-template-columns: 1fr 1.25fr; gap: 3rem;
  max-width: var(--content-w); margin: 0 auto;
  padding: clamp(2.5rem,5vw,4.5rem) clamp(1rem,4vw,2.5rem);
}
.contact-info__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.35rem,2.8vw,1.9rem); color: var(--ink); margin-bottom: .65rem;
  letter-spacing: -.02em;
}
.contact-info__desc { color: var(--muted); font-size: .93rem; line-height: 1.72; margin-bottom: 1.75rem; }
.contact-info__items { display: flex; flex-direction: column; gap: .85rem; margin-bottom: 1.75rem; }
.contact-info__item {
  display: flex; align-items: flex-start; gap: .95rem;
  padding: 1.1rem 1.35rem;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius);
}
.contact-info__item-icon {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  background: linear-gradient(135deg, #fee2e2, #fff);
  display: flex; align-items: center; justify-content: center;
}
.contact-info__item-icon svg { width: 21px; height: 21px; color: var(--brand-red); }
.contact-info__item-label {
  font-size: .65rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted-lt); margin-bottom: .22rem;
}
.contact-info__item-value,
.contact-info__item-value a {
  font-weight: 600; font-size: .92rem; color: var(--ink); line-height: 1.45;
}
.contact-info__item-value a:hover { color: var(--brand-red); }

.contact-map-embed {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); margin-top: 1.75rem;
}
.contact-map-embed iframe { width: 100%; height: 230px; border: 0; display: block; }

/* Contact form */
.contact-form-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 2.25rem 2.5rem; box-shadow: var(--shadow-md);
  position: sticky; top: calc(var(--nav-h) + 1.5rem);
}
.contact-form-card__title {
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--ink);
  margin-bottom: .4rem;
}
.contact-form-card__sub { font-size: .86rem; color: var(--muted); margin-bottom: 1.75rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .42rem; margin-bottom: 1rem; }
.form-group label { font-size: .8rem; font-weight: 600; color: var(--ink-3); letter-spacing: .01em; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: .72rem 1rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-dk); background: var(--surface-2);
  font-family: var(--font-body); font-size: .9rem; color: var(--ink);
  transition: border-color .2s, box-shadow .2s; outline: none; resize: vertical;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand-red); box-shadow: 0 0 0 3px rgba(229,57,53,.1);
  background: var(--surface);
}
.form-group textarea { min-height: 105px; }
.form-submit { width: 100%; margin-top: .35rem; }

.contact-form-success { display: none; text-align: center; padding: 2rem 1rem; }
.contact-form-success svg { color: var(--brand-green); width: 48px; height: 48px; margin-bottom: 1rem; }
.contact-form-success h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  color: var(--ink); margin-bottom: .5rem;
}
.contact-form-success p { color: var(--muted); font-size: .9rem; }

/* FAQ */
.faq-item { transition: border-color .2s; }
.faq-item summary { user-select: none; }
.faq-item summary svg { transition: transform .3s var(--ease-out); flex-shrink: 0; }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item[open] { border-color: rgba(229,57,53,.18) !important; }
.faq-item summary::-webkit-details-marker { display: none; }

@media (max-width: 800px) {
  .contact-split { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 1rem; }
  .contact-form-card { position: static; padding: 1.75rem 1.5rem; }
}
@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 1.4rem 1.1rem; }
}


/* ══════════════════════════════════════════
   ABOUT PAGE — story section
══════════════════════════════════════════ */
.about-story { padding: clamp(3.5rem,8vw,6rem) clamp(1rem,4vw,2.5rem); background: var(--surface); }
.about-story__inner {
  max-width: var(--content-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.about-story__text h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.65rem,3.2vw,2.5rem); letter-spacing: -.022em;
  color: var(--ink); margin-bottom: 1.35rem; line-height: 1.15;
}
.about-story__text p  { color: var(--muted); line-height: 1.8; margin-bottom: .95rem; font-size: .93rem; }
.about-story__text strong { color: var(--ink); font-weight: 600; }

.about-story__milestones {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.85rem;
}
.about-milestone {
  padding: 1.2rem; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: var(--radius); text-align: center;
}
.about-milestone__num {
  font-family: var(--font-display); font-weight: 800; font-size: 1.55rem;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  display: block; margin-bottom: .22rem;
}
.about-milestone__label { font-size: .76rem; color: var(--muted); font-weight: 500; }

.about-story__visual { position: relative; }
.about-story__img-stack { position: relative; height: 460px; }
.about-story__img-stack .img-main {
  position: absolute; top: 0; left: 0; right: 0; bottom: 60px;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl);
}
.about-story__img-stack .img-accent {
  position: absolute; bottom: 0; right: 0; width: 60%; height: 190px;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 4px solid var(--surface);
}
.about-story__img-stack img { width: 100%; height: 100%; object-fit: cover; }
.about-story__badge {
  position: absolute; top: 1.4rem; right: -1rem;
  padding: .72rem 1.15rem; border-radius: var(--radius);
  background: var(--brand-red); color: #fff;
  box-shadow: var(--glow-red); text-align: center; z-index: 2;
}
.about-story__badge strong {
  font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; display: block;
}
.about-story__badge span { font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }

/* Values section */
.about-values { background: var(--surface-2); padding: clamp(3.5rem,8vw,6rem) clamp(1rem,4vw,2.5rem); }
.about-values__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem; max-width: var(--content-w); margin: 0 auto;
}
.value-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem 1.5rem; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-spring), box-shadow .3s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.value-card__num {
  font-family: var(--font-display); font-weight: 800; font-size: 2.4rem;
  color: rgba(229,57,53,.14); letter-spacing: -.03em;
  display: block; margin-bottom: .65rem; line-height: 1;
}
.value-card h3 { font-family: var(--font-display); font-weight: 700; font-size: .98rem; color: var(--ink); margin-bottom: .45rem; }
.value-card p  { font-size: .87rem; color: var(--muted); line-height: 1.62; }

@media (max-width: 760px) {
  .about-story__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-story__img-stack { height: 280px; }
  .about-story__img-stack .img-accent { width: 55%; height: 140px; }
  .about-story__badge { top: 1rem; right: .5rem; padding: .5rem .85rem; }
  .about-story__badge strong { font-size: 1.1rem; }
}
@media (max-width: 420px) {
  .about-story__milestones { grid-template-columns: 1fr 1fr; }
}


/* ══════════════════════════════════════════
   LIGHTBOX  (shared across all pages)
══════════════════════════════════════════ */
.lightbox {
  position: fixed; inset: 0; z-index: 11000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease-out), visibility .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__backdrop {
  position: absolute; inset: 0;
  background: rgba(4,4,10,.96); backdrop-filter: blur(10px);
}
.lightbox__frame {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  max-width: min(90vw, 1100px);
  transform: scale(.93); transition: transform .4s var(--ease-spring);
}
.lightbox.is-open .lightbox__frame { transform: scale(1); }
.lightbox__img {
  max-width: 90vw; max-height: 80vh;
  border-radius: var(--radius); box-shadow: 0 40px 100px rgba(0,0,0,.7);
  display: block;
}
.lightbox__caption {
  color: rgba(255,255,255,.58); font-size: .84rem; letter-spacing: .04em;
  font-weight: 500; text-align: center;
}
.lightbox__close {
  position: fixed; top: 1.35rem; right: 1.35rem; z-index: 3;
  width: 44px; height: 44px; border: none; border-radius: 50%;
  background: rgba(255,255,255,.11); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px); transition: background .2s, transform .2s;
}
.lightbox__close:hover { background: rgba(255,255,255,.21); transform: scale(1.08) rotate(90deg); }
.lightbox__arrow {
  position: fixed; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 52px; height: 52px; border: none; border-radius: 50%;
  background: rgba(255,255,255,.1); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px); transition: background .2s, transform .25s var(--ease-spring);
}
.lightbox__arrow:hover { background: rgba(255,255,255,.2); transform: translateY(-50%) scale(1.08); }
.lightbox__arrow--prev { left: 1.1rem; }
.lightbox__arrow--next { right: 1.1rem; }
.lightbox__counter {
  position: fixed; bottom: 1.35rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.45); font-size: .76rem; letter-spacing: .1em;
  font-family: var(--font-display); font-weight: 600; z-index: 3;
}
@media (max-width: 600px) {
  .lightbox__arrow--prev { left: .4rem; width: 42px; height: 42px; }
  .lightbox__arrow--next { right: .4rem; width: 42px; height: 42px; }
}


/* ══════════════════════════════════════════
   HERO legacy badge — FIX 3 responsive
══════════════════════════════════════════ */
.hero__legacy {
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.hero__legacy-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .85rem; border-radius: 999px;
  background: var(--ink); color: var(--brand-gold);
  font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  font-family: var(--font-display); box-shadow: 0 4px 16px rgba(0,0,0,.22);
}
.hero__legacy-badge svg { flex-shrink: 0; }
.hero__legacy-text {
  font-size: clamp(.9rem,2vw,1.03rem); color: var(--ink-3); font-weight: 500; line-height: 1.4;
}
.hero__years-em {
  font-style: normal; font-family: var(--font-display); font-weight: 800;
  font-size: 1.48em; letter-spacing: -.02em;
  background: linear-gradient(135deg, var(--brand-red) 0%, #ff6b35 40%, var(--brand-gold) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  position: relative; display: inline-block;
  animation: yearsGlow 2.8s ease-in-out infinite;
  /* @keyframes yearsGlow defined in styles.css */
}
@media (max-width: 480px) {
  .hero__years-em    { font-size: 1.3em; }
  .hero__legacy-text { font-size: .88rem; }
  .hero__legacy-badge{ font-size: .62rem; }
}


/* ══════════════════════════════════════════
   SCROLL HINT — homepage bottom pulse
══════════════════════════════════════════ */
.scroll-hint {
  position: absolute; bottom: .85rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .28rem;
  opacity: .38; pointer-events: none; z-index: 3;
  animation: scrollHintBob 2.2s ease-in-out infinite;
}
.scroll-hint span {
  font-size: .6rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-3);
}
.scroll-hint svg { width: 16px; height: 16px; color: var(--ink-3); }
@keyframes scrollHintBob {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%     { transform: translateX(-50%) translateY(5px); }
}


/* ══════════════════════════════════════════
   WHY-CARD num override (service pages)
══════════════════════════════════════════ */
.why-card__num[style*="-webkit-text-fill-color:initial"] {
  -webkit-text-fill-color: initial !important;
  background: none !important;
}


/* ══════════════════════════════════════════
   PROCESS — dark background on all pages
══════════════════════════════════════════ */
.process.process--light {
  background: var(--surface-2);
}
.process.process--light .process__content h3 { color: var(--ink); }
.process.process--light .process__content p  { color: var(--muted); }
.process.process--light .section__title      { color: var(--ink); }
.process.process--light .section__desc       { color: var(--muted); }
.process.process--light .section__eyebrow    { color: var(--brand-red); }
.process.process--light .section__eyebrow::before,
.process.process--light .section__eyebrow::after { background: var(--brand-red); }


/* ══════════════════════════════════════════
   GLOBAL FOCUS  (accessibility)
══════════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 3px; border-radius: 4px;
}
button:focus-visible, a:focus-visible { border-radius: 6px; }


/* ══════════════════════════════════════════
   IMG LOADING STATE
   Only content images get a placeholder bg.
   Logo, banner, nav PNGs are excluded so
   transparent backgrounds stay transparent.
══════════════════════════════════════════ */
.gallery__item img,
.portfolio-item img,
.svc-gallery__item img,
.svc-hub-card__thumb img,
.svc-detail__intro-img img,
.about-story__img-stack img { background: var(--surface-3); }

/* Lightbox hidden state — src is "data:," when closed */
.lightbox__img[src="data:,"],
.lightbox__img[src=""] { opacity: 0; }


/* ══════════════════════════════════════════
   UTILITY CLASSES
══════════════════════════════════════════ */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}


/* ══════════════════════════════════════════
   PRINT STYLES
══════════════════════════════════════════ */
@media print {
  .nav, .nav__drawer, .nav__overlay,
  .float-wa, .back-top, .loader,
  .svc-cta-band, .other-services { display: none !important; }
  .hero  { min-height: auto; padding-top: 1rem; }
  .page-hero { padding-top: 1rem; }
}


/* ══════════════════════════════════════════
   REDUCED MOTION
══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal         { opacity: 1; transform: none; }
  .hero__years-em { animation: none; filter: none; }
  .scroll-hint    { animation: none; }
  html            { scroll-behavior: auto; }
}