/* ===========================================
   ACSPL — Page-specific layouts
   Same navy and red look as the rest of the site; what changes from page
   to page is the layout, so each page reads differently.
   =========================================== */

/* ---------- Services: one row per service, sides alternating ---------- */
.svc-rows-section .container { display: flex; flex-direction: column; gap: 5rem; }
.svc-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
}
.svc-row:nth-child(even) .svc-row-photo { order: 2; }
.svc-row-photo {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
/* The source photos carry equal white margins left and right; centring the
   photo at full height in a 3:2 frame keeps those margins out of view. */
.svc-row-photo img {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: auto;
  max-width: none;
  transform: translateX(-50%);
  transition: transform 0.8s var(--ease);
}
.svc-row:hover .svc-row-photo img { transform: translateX(-50%) scale(1.04); }
.svc-row-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 55%, rgba(8,10,46,0.35) 100%);
}
.svc-row-text h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 0.9rem;
}
.svc-row-text h3::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  margin-top: 0.8rem;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--red), var(--navy));
}
.svc-row-text > p { font-size: 1.08rem; line-height: 1.75; color: var(--text-secondary); max-width: 48ch; }
.svc-row-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.svc-row-list li {
  position: relative;
  padding: 0.85rem 1.1rem 0.85rem 2.9rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow-xs);
}
.svc-row-list li::before {
  content: '';
  position: absolute;
  left: 1.05rem;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border-radius: 50%;
  background: rgba(230,51,41,0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E63329' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- India map with office pins ---------- */
.india-map-card {
  position: relative;
  padding: 1.5rem 1.25rem 1rem;
  border-radius: var(--radius-lg, 24px);
  background:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.07) 1px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(135deg, #080A2E 0%, #0F1242 50%, #1B1F5E 100%);
  box-shadow: 0 32px 80px rgba(27,31,94,0.16);
}
.india-map { display: block; width: 100%; height: auto; font-family: 'Manrope', system-ui, sans-serif; overflow: visible; }
.im-state { fill: url(#imLand); stroke: rgba(255,255,255,0.14); stroke-width: 0.6; stroke-linejoin: round; }
.im-state--op { fill: #353B94; stroke: rgba(255,255,255,0.3); }
.im-route { fill: none; stroke: rgba(255,255,255,0.5); stroke-width: 1.6; stroke-dasharray: 4 5; stroke-linecap: round; }
.im-route--main { stroke: #E63329; stroke-width: 3; stroke-dasharray: none; }
.im-route--flow { stroke: #FFB3AE; stroke-width: 3; stroke-dasharray: 5 22; animation: imFlow 2.2s linear infinite; }
@keyframes imFlow { to { stroke-dashoffset: -54; } }
.im-route-label { fill: #FF8A83; font-size: 15px; font-weight: 800; letter-spacing: 0.03em; paint-order: stroke; stroke: #0F1242; stroke-width: 4px; }
.im-pin--owned { fill: #E63329; stroke: #fff; stroke-width: 2.5; }
.im-pin--assoc { fill: #0F1242; stroke: #fff; stroke-width: 2.2; }
.im-label text { paint-order: stroke; stroke: #0F1242; stroke-width: 4px; stroke-linejoin: round; }
.im-city { fill: #fff; font-size: 23px; font-weight: 800; }
.im-city--assoc { font-size: 18px; }
.im-note { fill: #FF8A83; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.im-note--assoc { fill: rgba(255,255,255,0.65); }
.im-detail { fill: rgba(255,255,255,0.8); font-size: 13.5px; font-weight: 600; }
.im-sea { fill: rgba(255,255,255,0.25); font-size: 15px; font-style: italic; letter-spacing: 0.1em; }
.im-legend text { fill: rgba(255,255,255,0.8); font-size: 15px; font-weight: 600; }
.im-credit { margin: 0.4rem 0 0; text-align: right; font: 500 0.65rem/1.4 "Manrope", system-ui, sans-serif; color: rgba(255,255,255,0.35); }
.im-credit a { color: inherit; }
@media (prefers-reduced-motion: reduce) { .im-route--flow { animation: none; } }

@media (max-width: 900px) {
  .svc-rows-section .container { gap: 3.5rem; }
  .svc-row { grid-template-columns: 1fr; gap: 1.75rem; }
  .svc-row:nth-child(even) .svc-row-photo { order: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .svc-row-photo img { transition: none; }
}

/* ---------- About: journey as a horizontal timeline ---------- */
.journey-band {
  position: relative;
  padding: 7rem 0 6rem;
  background-size: cover;
  background-position: center;
  color: #fff;
  isolation: isolate;
}
.journey-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(8,10,46,0.94) 0%, rgba(15,18,66,0.88) 50%, rgba(27,31,94,0.8) 100%);
}
.journey-band .section-header h2 { color: #fff; }
.journey-band .section-header h2::after { background: linear-gradient(90deg, #FF4D42, rgba(255,255,255,0.3)); }
.journey-band .section-tag { color: #FF6B63; background: rgba(255,77,66,0.12); border-color: rgba(255,77,66,0.2); }
.journey-band .section-tag::before { background: #FF6B63; }
.jt-track {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2rem;
  position: relative;
}
.jt-track::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: calc(clamp(2.4rem, 4vw, 3.3rem) + 1rem + 8px);
  height: 2px;
  background: linear-gradient(90deg, rgba(255,77,66,0.9), rgba(255,255,255,0.25));
}
.jt-year {
  display: block;
  font-family: 'Abril Fatface', Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 3.3rem);
  line-height: 1;
  background: linear-gradient(135deg, #fff 20%, #FF6B63 70%, #E63329 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.jt-dot {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  margin: 1rem 0 1.4rem;
  border-radius: 50%;
  background: #E63329;
  border: 3px solid #fff;
  box-shadow: 0 0 0 6px rgba(230,51,41,0.25);
}
.jt-step p { color: rgba(255,255,255,0.8); line-height: 1.7; font-size: 0.98rem; margin: 0; }
.jt-step:last-child .jt-dot { background: #fff; border-color: #E63329; }

@media (max-width: 900px) {
  .jt-track { grid-template-columns: 1fr; gap: 0; padding-left: 2rem; }
  .jt-track::before { left: 8px; right: auto; top: 0.5rem; bottom: 0.5rem; width: 2px; height: auto; background: linear-gradient(180deg, rgba(255,77,66,0.9), rgba(255,255,255,0.25)); }
  .jt-step { position: relative; padding-bottom: 2rem; }
  .jt-dot { position: absolute; left: -2rem; top: 0.6rem; margin: 0; }
  .jt-year { margin-bottom: 0.6rem; }
}

/* ---------- Where We Operate: map beside the office list ---------- */
.office-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: start;
}
.office-map { position: sticky; top: 140px; }
.office-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.office-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.office-row h3 { font-size: 1.2rem; color: var(--navy); margin: 0; }
.office-row p { margin: 0.35rem 0 0; color: var(--text-secondary); line-height: 1.65; font-size: 0.95rem; }
.office-row .office-kind {
  margin-top: 0.3rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
}
.office-pin { width: 16px; height: 16px; margin-top: 0.35rem; border-radius: 50%; }
.office-row--owned .office-pin { background: #E63329; box-shadow: 0 0 0 4px rgba(230,51,41,0.18); }
.office-row--assoc .office-pin { background: #fff; border: 3px solid var(--navy); }
.office-row--assoc .office-kind { color: var(--navy); }
.office-row--net { background: var(--bg-alt); border-style: dashed; }
.office-row--net .office-pin { border: 2px dashed var(--text-muted); }
.office-row--net .office-kind { color: var(--text-muted); }

@media (max-width: 900px) {
  .office-split { grid-template-columns: 1fr; gap: 2rem; }
  .office-map { position: static; }
}
