:root {
  --navy: #1C1C1E;
  --navy-light: #2E2E31;
  --navy-dark: #101012;
  --orange: #C53032;
  --orange-light: #D65A5C;
  --orange-dark: #942022;
  --white: #FFFFFF;
  --gray-50: #F7F8FA;
  --gray-100: #EEF0F4;
  --gray-200: #D8DCE4;
  --gray-400: #8C95A6;
  --gray-600: #515B6B;
  --gray-800: #2D3340;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w: 1360px;
  --radius: 3px;
  --shadow: 0 1px 3px rgba(10,10,10,0.06);
  --shadow-lg: 0 2px 8px rgba(10,10,10,0.1);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── NAV ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-top: env(safe-area-inset-top, 0px);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 72px;
}
.nav-logo img {
  height: 44px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  white-space: nowrap;
  border-radius: var(--radius);
  transition: var(--transition);
  letter-spacing: 0.01em;
}
.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(197,48,50,0.15);
}
.nav-links a.active {
  color: var(--orange);
}
.nav-cta {
  background: var(--orange) !important;
  color: #fff !important;
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: var(--orange-dark) !important;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}
.hamburger span {
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

@media (max-width: 1024px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; font-size: 15px; }
}

/* ─── PAGE SECTIONS ─── */
.page { display: none; }
.page.active { display: block; }

main {
  padding-top: 72px;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  background: var(--navy-dark);
  overflow: hidden;
}
.hero-slider {
  position: relative;
  flex: 1;
  min-height: 640px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  height: 100%;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
}
.hero-slide-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-slide-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(16,16,18,0.92) 0%, rgba(16,16,18,0.75) 45%, rgba(16,16,18,0.4) 100%);
  pointer-events: none;
}
.hero-content { z-index: 1; }
.hero-content {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px 40px;
  width: 100%;
}
.hero-dots {
  position: absolute;
  bottom: 20px; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 2;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: var(--transition);
}
.hero-dot.active {
  background: var(--orange);
  width: 22px;
  border-radius: 4px;
}
.hero-badge {
  display: inline-block;
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding-bottom: 10px;
  margin-bottom: 28px;
  border-bottom: 2px solid var(--orange);
}
.hero h1, .hero .hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  max-width: 700px;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero h1 .accent, .hero .hero-title .accent {
  color: var(--orange);
}
.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.7);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}
.btn-primary {
  background: var(--orange);
  color: #fff;
}
.btn-primary:hover {
  background: var(--orange-dark);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.06);
}

.hero-stats {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px 48px;
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat h3 {
  font-size: 2.6rem;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}
.hero-stat p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin: 4px 0 0;
  max-width: none;
}

@media (max-width: 600px) {
  .hero { min-height: 75vh; }
  .hero-slider { min-height: 520px; }
  .hero-stats { gap: 28px; flex-wrap: wrap; }
  .hero-stat h3 { font-size: 1.6rem; }
}

/* ─── SECTIONS ─── */
.section {
  padding: 96px 24px;
}
@media (max-width: 600px) {
  .section { padding: 64px 20px; }
}
.section-alt {
  background: var(--gray-50);
}
.services-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ─── PROCESS FLOW ─── */
.flow {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 72px;
  align-items: start;
}
.flow-intro {
  position: sticky;
  top: 100px;
}
.flow-intro .bar {
  width: 48px; height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin-bottom: 14px;
}
.flow-intro h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.flow-intro p {
  color: var(--gray-600);
  font-size: 1.1rem;
  line-height: 1.65;
  max-width: 440px;
  margin-bottom: 24px;
  text-wrap: pretty;
}
.flow-link {
  font-weight: 700;
  font-size: 15px;
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
}
.flow-link:hover { color: var(--orange-dark); }
.flow-steps {
  list-style: none;
  margin: 0; padding: 0;
  border-top: 1px solid var(--gray-200);
}
.flow-step {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}
.flow-num {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gray-200);
  transition: var(--transition);
}
.flow-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.flow-icon {
  display: flex;
  color: var(--orange);
}
.flow-icon svg { width: 22px; height: 22px; }
.flow-title h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}
.flow-body p {
  color: var(--gray-600);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 560px;
}
.flow-step:hover .flow-num {
  color: var(--orange);
  -webkit-text-stroke-color: var(--orange);
}
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; gap: 36px; }
  .flow-intro { position: static; }
  .flow-step { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 22px 0; }
  .flow-num { font-size: 2.2rem; }
}

/* ─── SERVICE DETAIL ROWS ─── */
.service-detail-list {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.service-detail {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-detail-media {
  aspect-ratio: 21/8;
  overflow: hidden;
}
.service-detail-body {
  padding: 22px 24px;
}
.service-detail-num {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.service-detail-body h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.service-detail-body p {
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 14px;
  font-size: 15.5px;
}
.service-detail-body ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
}
@media (max-width: 500px) { .service-detail-body ul { grid-template-columns: 1fr; } }
.service-detail-body li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  color: var(--gray-800);
}
.service-detail-body li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 7px; height: 2px;
  background: var(--orange);
}
@media (max-width: 900px) {
  .service-detail-list { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .service-detail-body { padding: 14px 16px; }
}

/* ─── CTA BANNER ─── */
.cta-banner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  column-gap: 40px;
  padding: 72px 24px;
}
.cta-banner h2 {
  grid-column: 1;
  color: var(--navy);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.cta-banner p {
  grid-column: 1;
  color: var(--gray-600);
  font-size: 1.1rem;
}
.cta-banner .btn {
  grid-column: 2;
  grid-row: 1 / span 2;
}
@media (max-width: 700px) {
  .cta-banner { grid-template-columns: 1fr; row-gap: 20px; }
  .cta-banner .btn { grid-column: 1; grid-row: auto; justify-self: start; }
}
.section-header {
  max-width: var(--max-w);
  margin: 0 auto 48px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.section-header .bar {
  width: 48px; height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin-bottom: 14px;
}
.section-header p {
  color: var(--gray-600);
  font-size: 1.1rem;
  line-height: 1.65;
  max-width: 560px;
  text-wrap: pretty;
}

/* ─── SERVICES ─── */
.services-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--gray-200);
  counter-reset: svc;
}
.service-card {
  position: relative;
  padding: 32px 32px 36px;
  border-bottom: 1px solid var(--gray-200);
  border-right: 1px solid var(--gray-200);
  transition: var(--transition);
  cursor: default;
  counter-increment: svc;
}
.service-card:nth-child(3n) { border-right: none; }
.service-card::after {
  content: counter(svc, decimal-leading-zero);
  position: absolute;
  top: 28px; right: 32px;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--gray-200);
  transition: var(--transition);
}
.service-card:hover { background: var(--white); }
.service-card:hover::after {
  color: var(--orange);
  -webkit-text-stroke-color: var(--orange);
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card:nth-child(3n) { border-right: 1px solid var(--gray-200); }
  .service-card:nth-child(2n) { border-right: none; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card { border-right: none !important; padding: 26px 4px; }
  .service-card::after { right: 4px; }
}
.service-icon {
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--orange);
}
.service-icon svg {
  width: 26px; height: 26px;
}
.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.service-card p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.65;
  max-width: 340px;
}

/* ─── PROJECTS ─── */
.projects-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 40px 28px;
}
@media (max-width: 420px) {
  .projects-grid { grid-template-columns: 1fr; }
}
.project-card {
  background: transparent;
  transition: var(--transition);
}
.project-card:hover h3 { color: var(--orange); }
.project-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}
.project-card:hover .project-img {
  transform: scale(1.03);
}
.project-img-wrap {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--gray-100);
}
.project-body {
  padding: 18px 0 8px;
  border-bottom: 1px solid var(--gray-200);
}
.project-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  transition: var(--transition);
}
.project-body p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.55;
}

/* ─── REFERENCES PAGE ─── */
.ref-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.ref-stats div { display: flex; flex-direction: column; gap: 4px; }
.ref-stats strong {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--orange);
}
.ref-stats span { font-size: 14px; color: rgba(255,255,255,0.6); }

.ref-featured {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 28px;
}
.ref-card-lg { grid-column: span 2; grid-row: span 2; }
.ref-card-img {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--gray-100);
  aspect-ratio: 4 / 3;
}
.ref-card-lg .ref-card-img { aspect-ratio: auto; height: calc(100% - 96px); min-height: 360px; }
.ref-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.ref-card:hover .ref-card-img img { transform: scale(1.03); }
.ref-card-body {
  padding: 16px 0 14px;
  border-bottom: 1px solid var(--gray-200);
}
.ref-card-meta {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 6px;
}
.ref-card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  transition: var(--transition);
}
.ref-card-lg .ref-card-body h3 { font-size: 1.5rem; }
.ref-card:hover h3 { color: var(--orange); }
.ref-card-body p { font-size: 14px; color: var(--gray-600); margin-top: 2px; }
@media (max-width: 900px) {
  .ref-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ref-card-lg { grid-row: auto; }
  .ref-card-lg .ref-card-img { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .ref-featured { grid-template-columns: 1fr; }
  .ref-card-lg { grid-column: auto; }
}

.ref-head {
  max-width: var(--max-w);
  margin: 0 auto 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}
.ref-head .section-header { margin: 0; }
.ref-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(360px, 100%);
  border-bottom: 1.5px solid var(--gray-200);
  padding: 10px 2px;
  color: var(--gray-400);
  transition: var(--transition);
}
.ref-search:focus-within { border-color: var(--orange); color: var(--orange); }
.ref-search svg { width: 18px; height: 18px; flex-shrink: 0; }
.ref-search input {
  flex: 1;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: var(--gray-800);
  outline: none;
}
.ref-filters {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ref-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 8px 14px;
  cursor: pointer;
  transition: var(--transition);
}
.ref-chip span { font-size: 12px; font-weight: 700; color: var(--gray-400); }
.ref-chip:hover { border-color: var(--orange); }
.ref-chip.active { background: var(--orange); border-color: var(--orange); color: #fff; }
.ref-chip.active span { color: rgba(255,255,255,0.8); }
.ref-meta {
  max-width: var(--max-w);
  margin: 28px auto 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-400);
}
.ref-list {
  max-width: var(--max-w);
  margin: 8px auto 0;
}
.ref-decade {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--orange);
  padding: 32px 0 10px;
  border-bottom: 1px solid var(--gray-200);
}
.ref-row {
  display: grid;
  grid-template-columns: 56px 56px minmax(0, 1fr) 150px 170px;
  gap: 20px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}
.ref-row:hover { background: var(--white); }
.ref-year { font-size: 14px; font-weight: 700; color: var(--gray-400); padding-left: 4px; }
.ref-thumb {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ref-thumb img { width: 100%; height: 100%; display: block; }
.ref-thumb-photo img { object-fit: cover; }
.ref-thumb-logo img, .ref-thumb-logo-dark img { object-fit: contain; padding: 6px; }
.ref-thumb-logo-dark { background: var(--navy-dark); border-color: var(--navy-dark); }
.ref-thumb-empty {
  background: var(--gray-100);
  border-color: var(--gray-200);
  color: var(--gray-400);
  font-size: 1.35rem;
  font-weight: 800;
}
.ref-row:hover .ref-thumb-empty { color: var(--orange); }
.ref-main h4 { font-size: 1rem; font-weight: 700; color: var(--navy); line-height: 1.35; }
.ref-main p {
  font-size: 13.5px;
  color: var(--gray-600);
  line-height: 1.5;
  margin-top: 3px;
  text-wrap: pretty;
}
.ref-credit { display: block; font-size: 11.5px; color: var(--gray-400); margin-top: 4px; }
.ref-type {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
}
.ref-loc { font-size: 14px; color: var(--gray-800); display: flex; flex-direction: column; }
.ref-loc small { font-size: 12.5px; color: var(--gray-400); margin-top: 2px; }
.ref-empty { padding: 40px 0; color: var(--gray-600); }
.ref-more-wrap { max-width: var(--max-w); margin: 32px auto 0; }
.ref-more {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--gray-200);
}
.ref-more:hover { border-color: var(--orange); color: var(--orange); }
@media (max-width: 900px) {
  .ref-row { grid-template-columns: 48px minmax(0, 1fr) 120px; gap: 14px; }
  .ref-year { display: none; }
  .ref-thumb { width: 48px; height: 48px; }
  .ref-loc { display: none; }
}
@media (max-width: 560px) {
  .ref-row { grid-template-columns: 44px minmax(0, 1fr); }
  .ref-credit { display: block; font-size: 11.5px; color: var(--gray-400); margin-top: 4px; }
.ref-type { grid-column: 2; font-size: 11px; }
  .ref-thumb { width: 44px; height: 44px; }
}

/* ─── BUSINESS PARTNERS ─── */
.pc-group { max-width: var(--max-w); margin: 0 auto; }
.pc-group + .pc-group { margin-top: 64px; }
.pc-group-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}
.pc-group-head h3 { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); }
.pc-group-head span { font-size: 13px; font-weight: 700; color: var(--orange); }
.pp-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 32px;
  border-top: 1px solid var(--gray-200);
}
.pp-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-200);
}
.pp-list strong { font-size: 1rem; font-weight: 700; color: var(--navy); }
.pp-list span { font-size: 13px; color: var(--gray-600); }
.pp-list-compact { grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 24px; }
.pp-list-compact li { padding: 12px 0; }
.pp-list-compact strong { font-size: 15px; }
@media (max-width: 1100px) { .pp-list-compact { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) { .pp-list, .pp-list-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .pp-list { grid-template-columns: 1fr; } .pp-list-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pc-grid {
  list-style: none;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--gray-200);
}
.pc {
  padding: 32px 32px 36px 0;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pc:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid var(--gray-200); }
.pc-logo {
  width: 64px; height: 64px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  margin-bottom: 8px;
  transition: var(--transition);
}
.pc-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.pc-logo-dark { background: var(--navy-dark); border-color: var(--navy-dark); }
.pc-logo-empty { background: transparent; font-size: 1.6rem; font-weight: 800; color: transparent; -webkit-text-stroke: 1.2px var(--gray-400); }
.pc-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.pc-meta span:first-child { color: var(--orange); }
.pc-meta span + span { color: var(--gray-400); }
.pc h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy); transition: var(--transition); }
.pc p { font-size: 15px; color: var(--gray-600); line-height: 1.6; text-wrap: pretty; }
.pc:hover h3 { color: var(--orange); }
.pc:hover .pc-logo { border-color: var(--orange); }
@media (max-width: 900px) {
  .pc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc:not(:nth-child(3n+1)) { padding-left: 0; border-left: none; }
  .pc:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--gray-200); }
}
@media (max-width: 560px) {
  .pc-grid { grid-template-columns: 1fr; }
  .pc:nth-child(2n) { padding-left: 0; border-left: none; }
  .pc { padding: 26px 0; }
}

.ptn-mini { padding-top: 36px; padding-bottom: 36px; }
.ptn-mini-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}
.ptn-mini-inner h2 {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gray-600);
  white-space: nowrap;
}
.partners-strip { margin: 0; flex: 1; min-width: 0; flex-wrap: nowrap; justify-content: flex-start; gap: 24px; overflow-x: auto; scrollbar-width: none; padding: 4px 0; }
.partners-strip::-webkit-scrollbar { display: none; }
.partners-strip .partner-logo { height: 22px; width: auto; flex-shrink: 0; }
@media (max-width: 700px) {
  .ptn-mini-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ─── PARTNERS ─── */
.partners-track {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}
.partner-logo {
  height: 44px;
  width: auto;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: var(--transition);
}
.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ─── ABOUT ─── */
.about-content {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0,7fr) minmax(0,5fr);
  gap: 80px;
  align-items: start;
}
@media (max-width: 768px) {
  .about-content { grid-template-columns: 1fr; gap: 40px; }
  .about-sidebar { position: static; }
  .about-stat-card { grid-template-columns: 100px minmax(0,1fr); }
  .about-stat-num { font-size: 2.2rem; }
}
.about-text h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.about-text .bar {
  width: 48px; height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin-bottom: 20px;
}
.about-text p {
  color: var(--gray-600);
  margin-bottom: 18px;
  font-size: 1.02rem;
  line-height: 1.8;
  text-wrap: pretty;
}
.about-text p:first-of-type {
  font-size: 1.2rem;
  color: var(--gray-800);
  line-height: 1.65;
}
.about-sidebar {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--gray-200);
  position: sticky;
  top: 100px;
}
.about-stat-card {
  border-bottom: 1px solid var(--gray-200);
  padding: 26px 0;
  display: grid;
  grid-template-columns: 140px minmax(0,1fr);
  align-items: center;
  gap: 24px;
}
.about-stat-num {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--orange);
}
.about-stat-label {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.4;
}
.about-stat-label strong {
  display: block;
  font-size: 1rem;
  color: var(--navy);
  font-weight: 700;
}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  background: var(--navy-dark);
  padding: 88px max(24px, calc((100% - var(--max-w)) / 2 + 24px)) 64px;
  border-bottom: 3px solid var(--orange);
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.page-hero p {
  color: rgba(255,255,255,0.72);
  font-size: 1.15rem;
  max-width: 560px;
  line-height: 1.6;
}

/* ─── CONTACT ─── */
.contact-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon {
  width: 28px; height: 28px;
  min-width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  padding-top: 2px;
}
.contact-icon svg { width: 24px; height: 24px; }
.contact-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}
.contact-item p, .contact-item a {
  font-size: 0.9rem;
  color: var(--gray-600);
  text-decoration: none;
  line-height: 1.5;
}
.contact-item a:hover { color: var(--orange); }
.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  min-height: 340px;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--navy-dark);
  padding: 56px 24px 24px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
.footer-brand img {
  height: 40px;
  margin-bottom: 14px;
}
.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 340px;
}
.footer h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--orange); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
}
.social-links {
  display: flex;
  gap: 10px;
}
.social-links a {
  width: 36px; height: 36px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.social-links a:hover {
  background: var(--orange);
  color: #fff;
}
.social-links svg { width: 16px; height: 16px; }

/* ─── TEAM ─── */
.team-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 32px;
}
.team-card { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.team-photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--gray-100); }
.team-photo img.ph { display: block; width: 100%; height: 100%; }
.team-card figcaption { border-top: 2px solid var(--gray-200); padding-top: 12px; transition: var(--transition); }
.team-card:hover figcaption { border-color: var(--orange); }
.team-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.team-card p { font-size: 0.9rem; color: var(--gray-600); }

/* ─── SCROLL TO TOP ─── */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--orange);
  color: #fff;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: var(--transition);
}
.scroll-top:hover { background: var(--orange-dark); }
.scroll-top.visible { display: flex; }

/* ─── UTILITIES ─── */
.fade-section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ─── ACCESSIBILITY ─── */
.skip-link {
  position: absolute;
  top: -48px; left: 12px;
  background: var(--orange);
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  z-index: 2000;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}


/* ─── WHATSAPP BUTTON ─── */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 82px;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: var(--transition);
}
.whatsapp-btn:hover { background: #1DA851; transform: translateY(-2px); }
.whatsapp-btn svg { width: 22px; height: 22px; }
@media (max-width: 600px) {
  .whatsapp-btn { bottom: 20px; right: 74px; width: 40px; height: 40px; }
  .scroll-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
}

/* partners intro */
.pc-intro { max-width: var(--max-w); margin: 0 auto 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; }
.pc-intro .bar { width: 48px; height: 3px; background: var(--orange); margin-bottom: 14px; }
.pc-intro h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; color: var(--navy); line-height: 1.15; }
.pc-intro-body { display: flex; flex-direction: column; gap: 16px; }
.pc-intro-body p { font-size: 1.05rem; color: var(--gray-600); line-height: 1.7; text-wrap: pretty; max-width: 68ch; }
.pc-intro-body .pc-intro-lede { font-size: 1.3rem; color: var(--navy); font-weight: 600; line-height: 1.5; }
.pc-intro-points { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 12px; padding-top: 20px; border-top: 1px solid var(--gray-200); }
.pc-intro-points li { display: flex; flex-direction: column; gap: 6px; }
.pc-intro-points strong { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); }
.pc-intro-points span { font-size: 15px; color: var(--gray-600); line-height: 1.55; }
@media (max-width: 900px) { .pc-intro { grid-template-columns: 1fr; gap: 20px; } .pc-intro-points { grid-template-columns: 1fr; gap: 14px; } }

/* contact panel */
.contact-panel { display: flex; flex-direction: column; gap: 24px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-actions .btn { display: inline-flex; align-items: center; gap: 10px; }
.contact-actions .btn svg { width: 18px; height: 18px; }
.contact-rows { display: flex; flex-direction: column; border-top: 1px solid var(--gray-200); }
.contact-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--gray-200); text-decoration: none; color: inherit; transition: var(--transition); }
a.contact-row:hover { background: var(--gray-50); padding-left: 10px; }
a.contact-row:hover .contact-row-go { color: var(--orange); transform: translateX(3px); }
.contact-row-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-row-text small { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray-400); }
.contact-row-text span { font-size: 1rem; color: var(--navy); font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.contact-row-go { color: var(--gray-400); font-weight: 700; transition: var(--transition); }
.contact-row .contact-icon { padding-top: 0; }
.contact-map { position: relative; }
.contact-map-link { position: absolute; left: 16px; bottom: 16px; background: var(--white); color: var(--navy); font-size: 14px; font-weight: 700; padding: 10px 14px; border-radius: var(--radius); box-shadow: var(--shadow-lg); text-decoration: none; }
.contact-map-link:hover { color: var(--orange); }
.contact-actions .btn-outline { color: var(--navy); border-color: var(--gray-200); }
.contact-actions .btn-outline:hover { border-color: var(--orange); color: var(--orange); background: transparent; }

/* ─── HOME v2 ─── */
.home-intro { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.home-intro-media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--gray-100); }
.home-intro-media img.ph { display: block; width: 100%; height: 100%; }
.home-intro-text { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.home-intro-text .bar, .home-partners-text .bar { width: 48px; height: 3px; background: var(--orange); }
.home-intro-text h2, .home-partners-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; color: var(--navy); line-height: 1.15; }
.home-intro-text p, .home-partners-text p { font-size: 1.05rem; color: var(--gray-600); line-height: 1.7; text-wrap: pretty; max-width: 60ch; }
.home-intro-text .home-intro-lede { font-size: 1.25rem; color: var(--navy); font-weight: 600; line-height: 1.5; }
@media (max-width: 900px) { .home-intro { grid-template-columns: 1fr; gap: 32px; } }

.section-header-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.services-grid-compact .service-card { padding: 26px 26px 28px; }
.services-grid-compact .service-card::after { top: 22px; right: 24px; font-size: 1.6rem; }
.services-grid-compact .service-icon { margin-bottom: 14px; }
.services-grid-compact .service-card h3 { font-size: 1.08rem; }
.services-grid-compact .service-card p { font-size: 14.5px; line-height: 1.55; }
@media (min-width: 1101px) {
  .services-grid-compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .services-grid-compact .service-card:nth-child(3n) { border-right: 1px solid var(--gray-200); }
  .services-grid-compact .service-card:nth-child(4n) { border-right: none; }
}

.view-toggle { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--gray-400); font-weight: 600; }
.view-toggle span { margin-right: 6px; }
.view-toggle button { font: inherit; font-weight: 700; padding: 7px 14px; border: 1px solid var(--gray-200); background: transparent; color: var(--gray-600); border-radius: var(--radius); cursor: pointer; }
.view-toggle button.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.home-projects { max-width: var(--max-w); margin: 0 auto; display: grid; gap: 28px; }
.home-projects .project-img { height: 100%; }
.home-projects .project-img-wrap { overflow: hidden; border-radius: var(--radius); background: var(--gray-100); }
.home-projects-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-projects-grid .project-img-wrap { aspect-ratio: 4 / 3; }
.home-projects-mag { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-projects-mag .project-img-wrap { aspect-ratio: 4 / 3; }
.home-projects-mag .project-card:first-child { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
.home-projects-mag .project-card:first-child .project-img-wrap { aspect-ratio: auto; flex: 1; min-height: 360px; }
.home-projects-mag .project-card:first-child h3 { font-size: 1.5rem; }
@media (min-width: 901px) {
  .home-projects-mag .project-card:nth-child(6) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 0 28px; align-items: end; }
  .home-projects-mag .project-card:nth-child(6) .project-img-wrap { aspect-ratio: 16 / 6; }
}
@media (max-width: 900px) { .home-projects-mag, .home-projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .home-projects-mag .project-card:first-child { grid-row: auto; } .home-projects-mag .project-card:first-child .project-img-wrap { min-height: 260px; } }
@media (max-width: 560px) { .home-projects-mag, .home-projects-grid { grid-template-columns: 1fr; } .home-projects-mag .project-card:first-child { grid-column: auto; } }

.home-steps { list-style: none; max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 2px solid var(--navy); }
.home-steps li { padding: 24px 24px 8px 0; display: flex; flex-direction: column; gap: 8px; position: relative; }
.home-steps li + li { padding-left: 24px; border-left: 1px solid var(--gray-200); }
.home-steps li::before { content: ''; position: absolute; top: -6px; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.home-steps li + li::before { left: 19px; }
.home-steps span { font-size: 13px; font-weight: 800; color: var(--orange); letter-spacing: 0.08em; }
.home-steps h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.home-steps p { font-size: 14.5px; color: var(--gray-600); line-height: 1.55; }
@media (max-width: 900px) { .home-steps { grid-template-columns: 1fr; border-top: none; border-left: 2px solid var(--navy); } .home-steps li, .home-steps li + li { padding: 4px 0 20px 24px; border-left: none; } .home-steps li::before, .home-steps li + li::before { left: -6px; top: 8px; } }

.home-partners { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 64px; align-items: center; }
.home-partners-text { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.home-logos { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 110px; border-top: 1px solid var(--gray-200); border-left: 1px solid var(--gray-200); }
.home-logos li { height: 110px; min-width: 0; display: flex; align-items: center; justify-content: center; padding: 18px; border-right: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); background: var(--white); }
.home-logos li.dark { background: var(--navy-dark); }
.home-logos img { width: auto; height: auto; max-width: 100%; max-height: 56px; object-fit: contain; filter: grayscale(1); opacity: 0.8; transition: var(--transition); }
.home-logos li:hover img { filter: none; opacity: 1; }
@media (max-width: 900px) { .home-partners { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 480px) { .home-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.home-cta { background: var(--navy); padding: 80px 24px; }
.home-cta-inner { max-width: var(--max-w); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.home-cta h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 10px; }
.home-cta p { font-size: 1.1rem; color: rgba(255,255,255,0.75); max-width: 52ch; line-height: 1.6; }
.home-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.home-logos li.dark { padding: 12px; }
.home-logos li.dark img { max-height: 80px; }
.pc-more { margin-top: 18px; font-size: 15px; font-weight: 600; color: var(--gray-600); line-height: 1.6; text-wrap: pretty; }

/* ─── Brand photo treatment (stock imagery) ─── */
.hero-slide-bg img.ph,
.service-detail-media img.ph,
.home-intro-media img.ph {
  filter: saturate(0.6) contrast(1.06) sepia(0.12);
  transition: filter .5s ease;
}
.service-detail-media, .home-intro-media { position: relative; }
.service-detail-media::after,
.home-intro-media::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(160deg, rgba(197,48,50,0) 40%, rgba(197,48,50,0.2) 100%),
    rgba(28,28,30,0.08);
  mix-blend-mode: multiply;
  pointer-events: none;
  transition: opacity .5s ease;
}
.hero-slide-bg::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(200deg, rgba(197,48,50,0.35) 0%, rgba(197,48,50,0) 55%);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.hero-slide-bg::after { z-index: 2; }
.service-detail:hover .service-detail-media img.ph { filter: saturate(0.95) contrast(1.04); }
.service-detail:hover .service-detail-media::after { opacity: 0.6; }

/* ─── MOBILE POLISH ─── */
.hero-slider { touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; }
.hero-slider:active { cursor: grabbing; }
.hero-dots { bottom: 16px; }
.hero-dot { position: relative; }
.hero-dot::before { content: ''; position: absolute; inset: -10px; }
@media (max-width: 1024px) {
  .nav-inner { height: 60px; padding: 0 16px; }
  .nav-logo img { height: 34px; }
  main { padding-top: 60px; }
  html { scroll-padding-top: 68px; }
}
@media (max-width: 600px) {
  body { font-size: 15px; line-height: 1.6; }
  .hero { min-height: 0; }
  .hero-slider { min-height: 0; height: min(78svh, 560px); }
  .hero-content { padding: 32px 18px 56px; }
  .hero-slide-bg::after { background: linear-gradient(180deg, rgba(16,16,18,0.55) 0%, rgba(16,16,18,0.85) 60%, rgba(16,16,18,0.95) 100%); }
  .hero-slide { align-items: flex-end; }
  .hero-badge { font-size: 11px; margin-bottom: 16px; padding-bottom: 6px; }
  .hero h1, .hero .hero-title { font-size: 1.85rem; line-height: 1.15; margin-bottom: 12px; }
  .hero p { font-size: 0.95rem; line-height: 1.55; margin-bottom: 22px; }
  .hero-btns { gap: 10px; }
  .hero-btns .btn { flex: 1 1 auto; justify-content: center; }
  .btn { padding: 12px 20px; font-size: 14px; }
  .section { padding: 48px 18px; }
  .section-header { margin-bottom: 28px; }
  .section-header h2, .flow-intro h2, .pc-intro h2,
  .home-intro-text h2, .home-partners-text h2 { font-size: 1.5rem; line-height: 1.2; }
  .section-header p, .pc-intro-body p, .home-intro-text p, .home-partners-text p { font-size: 0.95rem; line-height: 1.6; }
  .home-intro-text .home-intro-lede { font-size: 1.05rem; }
  .pc-intro { margin-bottom: 32px; }
  .page-hero { padding: 48px 18px 36px; }
  .page-hero h1 { font-size: 1.85rem; line-height: 1.15; }
  .page-hero p { font-size: 0.95rem; }
  .services-grid-compact .service-card { padding: 20px 4px 22px; }
  .services-grid-compact .service-card h3 { font-size: 1rem; }
  .services-grid-compact .service-card p { font-size: 14px; }
  .home-projects-grid, .home-projects-mag { gap: 28px 16px; }
  .home-steps h3 { font-size: 1rem; }
  .home-steps p { font-size: 14px; }
  .home-partners { gap: 24px; }
  .home-logos img { max-height: 40px; }
  .home-cta { padding: 48px 18px; }
  .home-cta h2 { font-size: 1.45rem; }
  .home-cta p { font-size: 0.95rem; }
  .home-cta-inner { gap: 24px; }
  .home-cta-actions { width: 100%; }
  .home-cta-actions .btn { flex: 1 1 auto; justify-content: center; }
  .about-text h2 { font-size: 1.45rem; }
  .contact-grid { gap: 28px; }
}
@media (max-width: 380px) {
  .hero h1, .hero .hero-title, .page-hero h1 { font-size: 1.6rem; }
  .section-header h2, .home-intro-text h2, .home-partners-text h2, .pc-intro h2 { font-size: 1.35rem; }
}

/* ─── MOBILE SCALE (overall ~%80) ─── */
@media (max-width: 600px) {
  body { zoom: 0.8; }
  .hero-slider { flex: 0 0 auto; height: 620px; }
}
@media (max-width: 380px) {
  body { zoom: 0.76; }
}

/* ─── MOBILE: 2 projects per row ─── */
@media (max-width: 600px) {
  .home-projects-grid, .home-projects-mag, .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 20px 12px; }
  .home-projects-mag .project-card:first-child { grid-column: auto; grid-row: auto; }
  .home-projects-grid .project-card h3, .home-projects-mag .project-card h3, .projects-grid .project-card h3 { font-size: 0.95rem !important; line-height: 1.25; }
  .home-projects-grid .project-card p, .projects-grid .project-card p { font-size: 12.5px; line-height: 1.45; }
}

/* ─── MOBILE: 2-up lists, team 3-up ─── */
@media (max-width: 600px) {
  .services-grid, .services-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; column-gap: 14px; }
  .services-grid .service-card { border-right: none !important; padding: 18px 2px 20px !important; }
  .services-grid .service-card h3 { font-size: 0.95rem !important; line-height: 1.25; }
  .services-grid .service-card p { font-size: 12.5px !important; line-height: 1.45; }
  .services-grid .service-card::after { display: none; }
  .ref-featured { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 16px 12px; }
  .ref-card-lg { grid-column: auto !important; }
  .pc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; column-gap: 14px; }
  .pc-grid .pc, .pc-grid .pc:nth-child(2n) { padding-left: 0 !important; border-left: none !important; }
  .pc h3 { font-size: 0.92rem; line-height: 1.25; }
  .pp-list, .pp-list-compact { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; column-gap: 14px; }
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 10px !important; }
  .team-card { gap: 8px; }
  .team-card figcaption { padding-top: 8px; }
  .team-card h3 { font-size: 0.85rem; line-height: 1.2; }
  .team-card p { font-size: 11.5px; line-height: 1.3; }
}

/* ─── INSTAGRAM BUTTON ─── */
.instagram-btn { position: fixed; bottom: 28px; right: 136px; width: 44px; height: 44px; border-radius: 10px; background: #E1306C; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); z-index: 999; transition: var(--transition); }
.instagram-btn:hover { background: #C1275B; transform: translateY(-2px); }
.instagram-btn svg { width: 22px; height: 22px; }
@media (max-width: 600px) { .instagram-btn { bottom: 20px; right: 128px; width: 40px; height: 40px; } }

img.ph { display: block; width: 100%; height: 100%; object-fit: cover; }
