/* ==========================================================================
   VIRA HOMEPAGE SECTIONS — VISUAL REFERENCE ALIGNED
   Bright Airy Enterprise Aesthetic + Deep Navy Anchors
   ========================================================================== */

/* 1. LIGHT EDITORIAL SPLIT HERO + FLOATING 5-COLUMN CATEGORY DOCK */
.hero-enterprise {
  position: relative;
  background: linear-gradient(135deg, #f7fbff 0%, #eaf3fc 100%);
  padding-top: var(--space-12);
  padding-bottom: 108px;
  overflow: visible;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}



.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: var(--space-8);
}

.hero-content {
  max-width: 610px;
}

.hero-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background-color: var(--color-pure-white);
  border: 1px solid rgba(11, 99, 206, 0.16);
  box-shadow: 0 4px 14px rgba(10, 45, 95, 0.05);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: var(--space-5);
}

.hero-eyebrow-pill svg {
  width: 15px;
  height: 15px;
  stroke: var(--color-tech-blue);
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(2.35rem, 4.4vw, 3.55rem);
  font-weight: 800;
  line-height: 1.09;
  letter-spacing: -0.03em;
  color: var(--color-ink);
}

.hero-title-accent {
  display: block;
  color: var(--color-tech-blue);
}

.hero-sub {
  margin-top: var(--space-5);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-ink-secondary);
  max-width: 52ch;
}

.hero-ctas {
  margin-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
}

/* Floating 5-Column Category Dock overlapping Hero Bottom */
.hero-dock-wrap {
  position: relative;
  z-index: 10;
  margin-top: -58px;
  margin-bottom: var(--space-4);
}

.hero-category-dock {
  background-color: var(--color-pure-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
}

.hero-cat-item {
  padding: var(--space-6) var(--space-4);
  border-right: 1px solid var(--color-border-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  transition: background-color var(--duration-fast) ease, color var(--duration-fast) ease;
}

.hero-cat-item:last-child {
  border-right: none;
}

.hero-cat-item:hover {
  background-color: var(--color-off-white);
}

.hero-cat-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background-color: var(--color-off-white);
  color: var(--color-tech-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--duration-fast) ease, color var(--duration-fast) ease;
}

.hero-cat-item:hover .hero-cat-icon {
  background-color: var(--color-tech-blue);
  color: var(--color-pure-white);
}

.hero-cat-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.hero-cat-label {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-ink);
}

/* 2. TECHNICAL PROOF — PURCHASE ORDER REVISION (Pure White — Reference Centerpiece) */
.proof-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-12);
  align-items: center;
}

.proof-narrative p {
  margin-top: var(--space-4);
  font-size: 1.0625rem;
  max-width: 46ch;
}

.proof-cta-wrap {
  margin-top: var(--space-6);
}

.po-visual-compose {
  position: relative;
  display: flex;
  flex-direction: column;
}

.po-backdrop-photo {
  width: 72%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border-light);
}

.po-backdrop-photo img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.po-float-card {
  position: relative;
  z-index: 2;
  width: 68%;
  margin-left: auto;
  margin-top: -220px;
  background-color: var(--color-pure-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.po-sheet-head {
  padding: 12px 18px;
  background-color: var(--color-off-white);
  border-bottom: 1px solid var(--color-border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
}

.po-sheet-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-ink);
}

.po-sheet-ref {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--color-tech-blue);
}

.po-table-wrap {
  overflow-x: auto;
}

.po-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
}

.po-table th {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-ink);
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border-light);
  background-color: var(--color-pure-white);
}

.po-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--color-border-light);
  color: var(--color-ink-secondary);
  vertical-align: middle;
}

.po-role {
  font-weight: 600;
  color: var(--color-ink);
}

.po-qty {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.po-strike {
  text-decoration: line-through;
  color: var(--color-ink-muted);
}

.po-final {
  font-weight: 700;
  color: var(--color-tech-blue);
}

.po-summary-row td {
  background-color: var(--color-ice-tint);
  color: var(--color-tech-blue);
  font-weight: 700;
  border-bottom: none;
}

.po-summary-val {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-tech-blue);
}

.po-verified-foot {
  padding: 11px 18px;
  background-color: var(--color-pure-white);
  border-top: 1px solid var(--color-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-ink);
}

.po-verified-foot svg {
  width: 18px;
  height: 18px;
  color: var(--color-savings-light);
  flex-shrink: 0;
}

/* 3. CONSULTING METHODOLOGY (Off White — Centered 3-Card Grid + Credibility Pills) */
.section-header-center {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--space-10);
}

.section-header-center .section-desc {
  margin-inline: auto;
}

.method-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.method-card {
  background-color: var(--color-pure-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: var(--space-8) var(--space-6);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.method-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.method-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-2);
}

.method-step-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-tech-blue);
}

.method-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: var(--color-off-white);
  color: var(--color-tech-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.method-card-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.method-card h3 {
  font-size: 19px;
}

.method-card p {
  font-size: 15px;
}

.cred-pill-row {
  margin-top: var(--space-8);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.cred-pill-card {
  background-color: var(--color-pure-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.cred-pill-val {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-tech-blue);
  white-space: nowrap;
}

.cred-pill-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-ink);
}

/* 4. PROBLEM SECTION (Pure White — Editorial Split + Light Decision Schematic) */
.problem-split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: var(--space-12);
  align-items: center;
}

.problem-copy p {
  margin-top: var(--space-4);
  font-size: 1.0625rem;
  max-width: 50ch;
}

.flow-schematic {
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  background-color: var(--color-off-white);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.flow-schematic-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-border-strong);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink);
}

.flow-schematic-head span:last-child {
  color: var(--color-tech-blue);
}

.flow-lane + .flow-lane {
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px dashed var(--color-border-strong);
}

.flow-lane-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  margin-bottom: var(--space-3);
}

.flow-lane-title.is-vira {
  color: var(--color-tech-blue);
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.flow-box {
  background-color: var(--color-pure-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  padding: 14px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--color-ink-secondary);
}

.flow-box strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  margin-bottom: 4px;
}

.flow-box.is-audit {
  border-color: rgba(11, 99, 206, 0.25);
  background-color: var(--color-tech-blue);
  color: var(--color-pure-white);
}

.flow-box.is-audit strong {
  color: #cfe6ff;
}

/* 5. SERVICES PORTFOLIO (Off White — Layer Tabs + Photo Card + Elevated Grid) */
.services-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

.layer-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  background-color: var(--color-pure-white);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  padding: 5px;
  border-radius: var(--radius-pill);
}

.layer-tab {
  min-height: 38px;
  padding: 7px 16px;
  border: none;
  background: transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-ink-secondary);
  cursor: pointer;
  transition: background-color var(--duration-fast) ease, color var(--duration-fast) ease;
}

.layer-tab:hover {
  color: var(--color-tech-blue);
  background-color: var(--color-off-white);
}

.layer-tab[aria-selected="true"] {
  background-color: var(--color-tech-blue);
  color: var(--color-pure-white);
}

.services-workspace {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: var(--space-8);
  align-items: start;
}

.services-visual-panel {
  position: sticky;
  top: 96px;
  background-color: var(--color-pure-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.services-visual-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.services-visual-body {
  padding: var(--space-6);
  border-top: 1px solid var(--color-border-light);
}

.services-visual-body p {
  font-size: 14.5px;
  margin-bottom: var(--space-5);
}

/* Stacking cards container */
.services-matrix {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  position: relative;
}

.service-cell {
  position: sticky;
  top: calc(90px + var(--stack-offset, 0px));
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-4);
  background-color: var(--color-pure-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg, 16px);
  box-shadow: 0 10px 30px -5px rgba(8, 21, 37, 0.08), 0 4px 12px rgba(8, 21, 37, 0.04);
  overflow: hidden;
  transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease, border-color var(--duration-fast) ease;
  z-index: 1;
}

.service-cell:nth-child(1) { --stack-offset: 0px; z-index: 1; }
.service-cell:nth-child(2) { --stack-offset: 14px; z-index: 2; }
.service-cell:nth-child(3) { --stack-offset: 28px; z-index: 3; }
.service-cell:nth-child(4) { --stack-offset: 42px; z-index: 4; }
.service-cell:nth-child(5) { --stack-offset: 56px; z-index: 5; }
.service-cell:nth-child(6) { --stack-offset: 70px; z-index: 6; }
.service-cell:nth-child(7) { --stack-offset: 84px; z-index: 7; }
.service-cell:nth-child(8) { --stack-offset: 98px; z-index: 8; }
.service-cell:nth-child(9) { --stack-offset: 112px; z-index: 9; }
.service-cell:nth-child(10) { --stack-offset: 126px; z-index: 10; }

.service-cell-img {
  width: 100%;
  height: 150px;
  border-radius: calc(var(--radius-lg, 16px) - 6px);
  overflow: hidden;
}

.service-cell-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-cell:hover .service-cell-img img {
  transform: scale(1.05);
}

.service-cell[hidden] {
  display: none;
}

.service-cell:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -6px rgba(8, 21, 37, 0.12), 0 6px 18px rgba(23, 105, 170, 0.1);
  border-color: rgba(23, 105, 170, 0.35);
}

.service-cell-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4) var(--space-2) 0;
}

.service-cell h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 2px;
  padding: 0;
}

.service-cell:hover h3 {
  color: var(--color-tech-blue);
}

.service-cell-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-tech-blue);
  padding: 0;
  display: inline-block;
  transition: color var(--duration-fast) ease, transform var(--duration-fast) ease;
}

.service-cell:hover .service-cell-tag {
  color: var(--color-tech-blue);
  transform: translateX(4px);
}

/* 6. VENDOR-NEUTRAL POSITIONING (Pure White) */
.vendor-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-12);
  align-items: center;
}

.vendor-copy p {
  margin-top: var(--space-4);
  font-size: 1.0625rem;
  max-width: 48ch;
}

.oem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.oem-cell {
  padding: var(--space-6) var(--space-5);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-pure-white);
}

.oem-logo {
  height: 28px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
}

.oem-note {
  margin-top: var(--space-4);
  font-size: 13px;
  color: var(--color-ink-muted);
}

/* 7. SERVICE EXCELLENCE & SUPPORT (Off White — Reference Centered Icon Card Grid) */
.commit-grid-4 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.commit-card {
  padding: var(--space-8) var(--space-6);
  background-color: var(--color-pure-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.commit-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.commit-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background-color: var(--color-off-white);
  color: var(--color-tech-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
}

.commit-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.commit-card h3 {
  font-size: 17.5px;
}

.commit-card p {
  font-size: 14.5px;
  max-width: 34ch;
}

/* 8. INDUSTRIES SERVED (Pure White) */
.industries-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: var(--space-10);
  align-items: center;
}

.sector-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  list-style: none;
}

.sector-item {
  padding: var(--space-5) var(--space-4);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  background-color: var(--color-pure-white);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}

.sector-item svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-tech-blue);
}

.sector-item span {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1.3;
}

/* 9. ROUNDED DARK GLOBAL NETWORK BANNER + CONTACT DESK */
.contact-section {
  background-color: var(--color-pure-white);
  padding-top: var(--space-12);
  padding-bottom: var(--space-24);
}

.cta-network-banner {
  position: relative;
  border-radius: var(--radius-lg);
  background-color: var(--color-deep-navy);
  background-image: linear-gradient(90deg, rgba(6, 24, 48, 0.96) 0%, rgba(6, 24, 48, 0.85) 52%, rgba(6, 24, 48, 0.35) 100%),
                    url('../assets/images/cta-global-network.jpg');
  background-position: right center;
  background-size: cover;
  padding: var(--space-12) var(--space-10);
  color: var(--color-pure-white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-bottom: var(--space-10);
}

.cta-network-banner .eyebrow {
  color: var(--color-accent-blue);
}

.cta-network-banner h2 {
  color: var(--color-pure-white);
  max-width: 22ch;
}

.cta-network-banner .section-desc {
  color: var(--color-ink-muted-dark);
  max-width: 52ch;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-8);
  align-items: start;
}

.contact-form-panel {
  background-color: var(--color-deep-navy);
  border: 1px solid var(--color-border-dark-strong);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.sla-panel,
.corporate-panel {
  background-color: var(--color-off-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}

.sla-panel h3,
.corporate-panel h3 {
  font-size: 16.5px;
  color: var(--color-ink);
  margin-bottom: var(--space-4);
}

.sla-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-4);
  padding-block: 10px;
  border-top: 1px solid var(--color-border-light);
  font-size: 14px;
}

.sla-row span:first-child {
  color: var(--color-ink-muted);
}

.sla-row span:last-child {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-ink);
  text-align: right;
}

.corporate-detail-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.corporate-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--color-ink-secondary);
}

.corporate-detail svg {
  width: 17px;
  height: 17px;
  stroke: var(--color-tech-blue);
  flex-shrink: 0;
  margin-top: 3px;
}

.corporate-detail-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  margin-bottom: 2px;
}

.corporate-detail a {
  color: var(--color-ink);
  font-weight: 600;
}

.corporate-detail a:hover {
  color: var(--color-tech-blue);
}

.corporate-ids {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border-light);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-ink-muted);
  display: grid;
  gap: 4px;
}
