/* ─── SHARED PAGE CHROME ─────────────────────────────── */
.page-hero {
  padding: 10rem 4rem 5rem;
  background: var(--off-white);
  position: relative; overflow: hidden;
}
.page-hero--navy { background: var(--navy); }
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 6rem);
  letter-spacing: -.04em; line-height: 1.0;
  color: var(--navy); margin: 1.5rem 0 1.25rem;
}
.page-hero--navy h1 { color: var(--white); }
.page-hero p { font-size: 1.05rem; color: var(--text-mid); max-width: 52ch; line-height: 1.75; }
.page-hero--navy p { color: rgba(255,255,255,.6); }
.page-hero .hero-ctas { margin-top: 2.5rem; }

.page-section { padding: 7rem 4rem; }
.page-section--gray { background: var(--off-white); }
.page-section--navy { background: var(--navy); }
.page-section--dark { background: #060F1E; }
.page-section-inner { max-width: 1280px; margin: 0 auto; }

/* nav active */
.nav-plain-link.active,
.dropdown-trigger.active > span { color: var(--orange); }

/* ─── TALENT PAGE ─────────────────────────────────────── */
.service-detail { padding: 7rem 4rem; }
.service-detail:nth-child(even) { background: var(--off-white); }
.service-detail-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center;
}
.service-detail-inner.flip { direction: rtl; }
.service-detail-inner.flip > * { direction: ltr; }
.svc-number {
  font-family: var(--font-serif); font-size: .875rem;
  color: var(--orange); font-weight: 400; letter-spacing: .06em;
  margin-bottom: .75rem; display: block;
}
.svc-detail-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -.03em; line-height: 1.1;
  color: var(--navy); margin-bottom: 1.25rem;
}
.svc-detail-body { font-size: .95rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 1.75rem; }
.svc-features { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 2rem; }
.svc-feature {
  display: flex; align-items: center; gap: .75rem;
  font-size: .9rem; color: var(--text);
}
.svc-feature::before {
  content: '✓'; width: 20px; height: 20px;
  background: var(--orange); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 700; flex-shrink: 0;
}
.svc-detail-img {
  aspect-ratio: 4/3; border-radius: 20px; overflow: hidden;
  position: relative;
}
.svc-img-bg {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; gap: 1rem;
  padding: 2rem;
}
.svc-img-bg--1 { background: linear-gradient(135deg, #0B1D3A, #1E3A6A); }
.svc-img-bg--2 { background: linear-gradient(135deg, #F07A1A, #D4620A); }
.svc-img-bg--3 { background: linear-gradient(135deg, #0EA5E9, #0B1D3A); }
.svc-img-bg--4 { background: linear-gradient(135deg, #10B981, #0B1D3A); }
.svc-img-bg--ai { background: linear-gradient(135deg, #0EA5E9, #7C3AED); }
.svc-img-bg--dt { background: linear-gradient(135deg, #F07A1A, #0B1D3A); }
.svc-img-bg--pe { background: linear-gradient(135deg, #10B981, #0EA5E9); }
/* SVG illustration override */
.svc-img-bg.has-svg {
  background: none; padding: 0;
}
.svc-img-bg.has-svg img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: 20px;
}
.svc-stat-chips {
  display: flex; flex-wrap: wrap; gap: .75rem;
}
.svc-stat-chip {
  padding: .6rem 1rem; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px; text-align: center;
}
.svc-stat-chip strong { display: block; font-family: var(--font-serif); font-size: 1.5rem; color: var(--white); }
.svc-stat-chip span { font-size: .72rem; color: rgba(255,255,255,.6); }

/* ─── DELIVERY MODELS ─────────────────────────────────── */
.delivery-models {
  padding: 5rem 4rem; background: var(--navy);
}
.delivery-models-inner { max-width: 1280px; margin: 0 auto; }
.delivery-models .section-title { margin: 1rem 0 2.5rem; }
.models-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.model-card {
  padding: 2rem; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1); border-radius: 14px;
  transition: background .3s, transform .4s var(--ease-out);
}
.model-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.model-badge {
  display: inline-block; padding: .3rem .8rem; border-radius: 6px;
  background: var(--orange); color: var(--white);
  font-size: .75rem; font-weight: 700; margin-bottom: 1rem;
}
.model-card h4 { font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: .5rem; }
.model-card p { font-size: .85rem; color: rgba(255,255,255,.55); line-height: 1.65; }

/* ─── DOMAINS (Technology) ────────────────────────────── */
.domains-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; margin-top: 3rem;
}
.domain-card {
  padding: 1.75rem; border-radius: 14px;
  border: 1px solid var(--border); background: var(--white);
  transition: box-shadow .3s, transform .4s var(--ease-out), border-color .3s;
}
.domain-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--blue); }
.domain-icon { font-size: 1.75rem; margin-bottom: 1rem; }
.domain-card h4 { font-size: .95rem; font-weight: 600; color: var(--navy); margin-bottom: .5rem; }
.domain-card p { font-size: .825rem; color: var(--text-light); line-height: 1.6; }

/* ─── PRODUCTS ────────────────────────────────────────── */
.products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 3rem;
}
.product-card {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--border);
  transition: box-shadow .35s, transform .4s var(--ease-out);
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.product-card-img { aspect-ratio: 16/7; }
.product-card-body { padding: 1.75rem; }
.product-card-body h4 {
  font-family: var(--font-serif); font-size: 1.35rem;
  letter-spacing: -.02em; color: var(--navy); margin-bottom: .5rem;
}
.product-card-body p { font-size: .875rem; color: var(--text-mid); line-height: 1.65; margin-bottom: 1.25rem; }
.product-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.product-tags span {
  padding: .25rem .7rem; border-radius: 6px;
  font-size: .72rem; font-weight: 600;
  background: var(--off-white); color: var(--text-mid);
}
.p-img--zhopp   { background: linear-gradient(135deg, #F07A1A, #D4620A); }
.p-img--crop    { background: linear-gradient(135deg, #10B981, #0B1D3A); }
.p-img--lc      { background: linear-gradient(135deg, #0EA5E9, #7C3AED); }

/* ─── PLATFORMS PAGE ──────────────────────────────────── */
.platform-detail {
  padding: 7rem 4rem;
  border-bottom: 1px solid var(--border);
}
.platform-detail:last-of-type { border-bottom: none; }
.platform-detail-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center;
}
.platform-detail-inner.flip { direction: rtl; }
.platform-detail-inner.flip > * { direction: ltr; }
.platform-detail h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 2.75rem);
  letter-spacing: -.03em; color: var(--navy); margin: .5rem 0 1.25rem;
}
.platform-detail p { font-size: .95rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 1.5rem; }
.platform-feature-list { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 2rem; }
.platform-feature {
  display: flex; align-items: center; gap: .75rem;
  font-size: .9rem;
}
.platform-feature::before {
  content: '→'; color: var(--orange); font-weight: 700; flex-shrink: 0;
}
.platform-visual {
  aspect-ratio: 5/4; border-radius: 20px;
  overflow: hidden; position: relative;
}
.pv-nowwai   { background: linear-gradient(135deg, #0B1D3A 0%, #F07A1A 100%); }
.pv-clubnoww { background: linear-gradient(135deg, #7C3AED 0%, #0EA5E9 100%); }
.pv-cloudbench { background: linear-gradient(135deg, #0EA5E9 0%, #0B1D3A 100%); }
.pv-upskill  { background: linear-gradient(135deg, #10B981 0%, #0B1D3A 100%); }
.pv-inner {
  position: absolute; inset: 0;
  display: flex; align-items: stretch; justify-content: stretch;
  overflow: hidden;
}
.pv-inner img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ─── ABOUT PAGE ──────────────────────────────────────── */
.about-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center;
  max-width: 1280px; margin: 0 auto;
}
.about-text h2 { font-family: var(--font-serif); font-size: clamp(2rem, 3.5vw, 3rem); letter-spacing: -.03em; color: var(--navy); margin: 1rem 0 1.5rem; }
.about-text p { font-size: .95rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 1rem; }
.about-photo {
  aspect-ratio: 4/5; border-radius: 24px;
  background: linear-gradient(135deg, var(--navy-mid), var(--orange));
  position: relative; overflow: hidden;
}
.about-photo::after {
  content: ''; position: absolute;
  width: 60%; padding-bottom: 60%; border-radius: 50%;
  background: rgba(255,255,255,.05); top: -15%; right: -10%;
}

.values-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
.value-card { padding: 2rem; border-radius: 14px; border: 1px solid var(--border); transition: transform .4s var(--ease-out), box-shadow .4s; }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value-icon { font-size: 1.75rem; margin-bottom: 1rem; }
.value-card h4 { font-family: var(--font-serif); font-size: 1.2rem; letter-spacing: -.02em; color: var(--navy); margin-bottom: .5rem; }
.value-card p { font-size: .85rem; color: var(--text-mid); line-height: 1.65; }

.leadership-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
.leader-card { text-align: center; }
.leader-photo { aspect-ratio: 1; border-radius: 50%; max-width: 120px; margin: 0 auto 1rem; transition: transform .4s var(--ease-out); }
.leader-card:hover .leader-photo { transform: scale(1.08); }
.lp-1 { background: linear-gradient(135deg, #F07A1A, #D4620A); }
.lp-2 { background: linear-gradient(135deg, #0EA5E9, #0B1D3A); }
.lp-3 { background: linear-gradient(135deg, #10B981, #0B1D3A); }
.lp-4 { background: linear-gradient(135deg, #7C3AED, #0B1D3A); }
.leader-card h4 { font-family: var(--font-serif); font-size: 1.05rem; color: var(--navy); margin-bottom: .25rem; }
.leader-card span { font-size: .8rem; color: var(--text-light); }

/* ─── CONTACT PAGE ────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1.35fr 1fr;
  gap: 5rem; max-width: 1280px; margin: 0 auto;
}
.contact-form-section h3 {
  font-family: var(--font-serif); font-size: 1.75rem;
  letter-spacing: -.03em; color: var(--navy); margin-bottom: 2rem;
}
.form-intent {
  display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: 2rem;
}
.intent-card {
  padding: 1.25rem; border-radius: 12px;
  border: 2px solid var(--border); text-align: center;
  cursor: none; transition: border-color .3s, background .3s;
}
.intent-card:hover { border-color: var(--orange); background: #FFF7F0; }
.intent-card.selected { border-color: var(--orange); background: #FFF3E8; }
.intent-card .intent-icon { font-size: 1.5rem; margin-bottom: .5rem; }
.intent-card strong { display: block; font-size: .9rem; font-weight: 600; color: var(--navy); margin-bottom: .2rem; }
.intent-card span { font-size: .78rem; color: var(--text-light); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--text-light); margin-bottom: .5rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: .875rem 1rem;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-family: var(--font-sans); font-size: .95rem;
  background: var(--white); color: var(--text);
  outline: none; transition: border-color .3s, box-shadow .3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(240,122,26,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-success {
  display: none; padding: 1.5rem; border-radius: 12px;
  background: #F0FDF4; border: 1.5px solid #A7F3D0;
  align-items: center; gap: 1rem;
  font-size: .9rem; color: #065F46;
}
.form-success.show { display: flex; }
.success-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--green); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: .875rem; font-weight: 700; flex-shrink: 0;
}
.contact-sidebar { padding-top: 2rem; }
.contact-info-block { margin-bottom: 2.5rem; }
.contact-info-block h4 { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-light); margin-bottom: .75rem; }
.contact-info-block p, .contact-info-block a { font-size: .95rem; color: var(--text); line-height: 1.7; }
.contact-info-block a { display: block; transition: color .3s; }
.contact-info-block a:hover { color: var(--orange); }
.availability-pill {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .75rem 1.25rem; background: var(--off-white);
  border-radius: 10px; font-size: .875rem; font-weight: 500;
  border: 1px solid var(--border);
}
.avail-dot { width: 10px; height: 10px; background: var(--green); border-radius: 50%; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100%{box-shadow:0 0 0 0 rgba(16,185,129,.4)} 50%{box-shadow:0 0 0 6px rgba(16,185,129,0)} }

/* ─── FAQ (shared) ────────────────────────────────────── */
.faq-list { max-width: 800px; margin-top: 3rem; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 0; background: none; border: none; cursor: none;
  font-family: var(--font-sans); font-size: 1rem; font-weight: 500;
  text-align: left; color: var(--text); transition: color .3s;
}
.faq-q:hover { color: var(--orange); }
.faq-icon { font-size: 1.4rem; font-weight: 300; flex-shrink: 0; transition: transform .4s var(--ease-out), color .3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--orange); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .5s var(--ease-out); }
.faq-item.open .faq-a { max-height: 200px; }
.faq-a p { padding-bottom: 1.5rem; color: var(--text-mid); line-height: 1.75; font-size: .93rem; }

/* ─── INDUSTRIES PAGE ─────────────────────────────────── */
.industry-detail {
  padding: 5rem 4rem; border-bottom: 1px solid var(--border);
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 200px 1fr; gap: 4rem; align-items: flex-start;
}
.industry-detail:last-child { border-bottom: none; }
.industry-label { font-family: var(--font-serif); font-size: 1.4rem; color: var(--navy); }
.industry-content h3 { font-family: var(--font-serif); font-size: 1.5rem; color: var(--navy); letter-spacing: -.02em; margin-bottom: .75rem; }
.industry-content p { font-size: .95rem; color: var(--text-mid); line-height: 1.75; margin-bottom: 1rem; max-width: 55ch; }
.industry-skills { display: flex; flex-wrap: wrap; gap: .5rem; }
.industry-skills span { padding: .3rem .85rem; border-radius: 6px; font-size: .8rem; font-weight: 600; background: var(--off-white); color: var(--navy); }

/* ─── RESPONSIVE (pages) ─────────────────────────────── */
@media (max-width: 1024px) {
  .page-hero { padding: 9rem 2.5rem 4rem; }
  .service-detail, .page-section, .platform-detail, .delivery-models { padding-left: 2.5rem; padding-right: 2.5rem; }
  .service-detail-inner, .platform-detail-inner, .about-split, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .service-detail-inner.flip, .platform-detail-inner.flip { direction: ltr; }
  .domains-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .values-cards { grid-template-columns: repeat(2, 1fr); }
  .leadership-grid { grid-template-columns: repeat(2, 1fr); }
  .models-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-detail { grid-template-columns: 1fr; gap: 1.5rem; padding-left: 2.5rem; padding-right: 2.5rem; }
}
@media (max-width: 768px) {
  .page-hero { padding: 8rem 1.5rem 3.5rem; }
  .service-detail, .page-section, .platform-detail, .delivery-models { padding-left: 1.5rem; padding-right: 1.5rem; }
  .domains-grid, .values-cards { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .leadership-grid { grid-template-columns: repeat(2, 1fr); }
  .models-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-intent { grid-template-columns: 1fr; }
  .industry-detail { padding-left: 1.5rem; padding-right: 1.5rem; }
}
