/* ============================================================
   Saram Digitech — site.css
   ============================================================ */

/* ── Reset / base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
::selection { background: #232133; color: #F5F6F8; }

/* ── Design tokens ──────────────────────────────────────────── */
:root {
  --paper:     #F5F6F8;
  --paper2:    #ECEEF2;
  --teal-tint: #EAF3F4;
  --panel:     #FFFFFF;
  --ink:       #232133;
  --ink2:      #5C5A70;
  --line:      rgba(35,33,51,0.12);
  --ariba:     #3F3D9E;
  --ariba2:    #5E60C9;
  --esg:       #0F8A93;
  --esg2:      #23A8B6;
  --nav-h:     76px;
}

/* ── Body ───────────────────────────────────────────────────── */
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-h);
  overflow-x: clip;
}

/* ── Animations ─────────────────────────────────────────────── */
@keyframes revUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
.reveal-on [data-reveal]:not(.in) { opacity: 0; transform: translateY(22px); }
.reveal-on [data-reveal].in { animation: revUp .85s cubic-bezier(.2,.7,.2,1) both; }

@keyframes heroGlow {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(4%,3%) scale(1.12); }
  100% { transform: translate(0,0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; animation: none !important; }
  * { animation-duration: 0.01ms !important; }
}

/* ── Layout ─────────────────────────────────────────────────── */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px,5vw,40px); }

/* ── Navigation ─────────────────────────────────────────────── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; width: 100%;
  z-index: 60;
  background: rgba(245,246,248,0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-nav .inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 clamp(20px,5vw,40px);
  height: var(--nav-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 34px; width: auto; display: block; }

.desk-nav { display: flex; align-items: center; gap: 32px; justify-content: center; }
.desk-nav a {
  text-decoration: none; color: var(--ink);
  font-weight: 500; font-size: 0.96rem;
  transition: color .2s;
}
.desk-nav a:hover, .desk-nav a.active { color: var(--ariba); }

.nav-right {
  display: flex; align-items: center; justify-content: flex-end; gap: 14px;
}
.nav-right .talk-btn {
  background: var(--ink); color: #fff !important;
  font-weight: 600; font-size: 0.9rem;
  padding: 11px 22px; border-radius: 100px;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s;
}
.nav-right .talk-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(35,33,51,0.24);
}
.nav-right .talk-btn.active { background: var(--ariba); }

/* Mobile menu */
.mob-btn {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 11px;
  background: transparent; cursor: pointer;
}
.mob-nav {
  display: none; flex-direction: column; gap: 6px;
  position: fixed; inset: var(--nav-h) 0 0 0;
  z-index: 55; background: var(--paper);
  padding: 28px clamp(20px,5vw,40px);
  overflow-y: auto;
}
.mob-nav a {
  text-decoration: none; color: var(--ink);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700; font-size: 1.5rem;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.mob-nav a.ariba { color: var(--ariba); border-bottom: none; padding: 14px 0 6px; }
.mob-nav a.esg   { color: var(--esg); border-bottom: 1px solid var(--line); padding: 6px 0 14px; }
.mob-nav a.active { opacity: 0.5; pointer-events: none; }

/* ── Eyebrow label ──────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink2);
}
.eyebrow .line { width: 22px; height: 1px; background: currentColor; flex: none; }
.eyebrow.ariba { color: var(--ariba); }
.eyebrow.esg   { color: var(--esg); }
.eyebrow.esg2  { color: var(--esg2); }

/* ── Section padding ────────────────────────────────────────── */
.section { padding: clamp(64px,10vh,116px) 0; }
.section-md { padding: clamp(56px,8vh,92px) 0; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn-dark {
  display: inline-block; text-decoration: none;
  background: var(--ink); color: #fff;
  font-weight: 600; padding: 15px 28px;
  border-radius: 100px;
  transition: transform .25s, box-shadow .25s;
}
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(35,33,51,0.24); }

.btn-ariba {
  display: inline-block; text-decoration: none;
  background: var(--ariba); color: #fff;
  font-weight: 600; padding: 15px 28px; border-radius: 100px;
  transition: transform .25s, box-shadow .25s;
}
.btn-ariba:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(63,61,158,0.3); }

.btn-esg {
  display: inline-block; text-decoration: none;
  background: var(--esg); color: #fff;
  font-weight: 600; padding: 15px 28px; border-radius: 100px;
  transition: transform .25s, box-shadow .25s;
}
.btn-esg:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(15,138,147,0.3); }

.btn-ghost {
  display: inline-block; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.3); color: #fff;
  font-weight: 600; padding: 15px 28px; border-radius: 100px;
  transition: border-color .25s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.7); }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800; letter-spacing: -0.025em; line-height: 1.06;
}
.grad-text {
  background: linear-gradient(120deg, #23A8B6, #5E60C9);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ── Practice cards ─────────────────────────────────────────── */
.pcard {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line);
  border-radius: 22px; padding: 34px 32px 30px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.pcard:hover { transform: translateY(-5px); }
.pcard.ariba:hover { box-shadow: 0 22px 50px rgba(63,61,158,0.16); }
.pcard.esg:hover   { box-shadow: 0 22px 50px rgba(15,138,147,0.16); }
.pcard .top-strip {
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
}
.pcard.ariba .top-strip { background: linear-gradient(90deg, var(--ariba), var(--ariba2)); }
.pcard.esg   .top-strip { background: linear-gradient(90deg, var(--esg), var(--esg2)); }
.pcard .div-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.pcard.ariba .div-label { color: var(--ariba); }
.pcard.esg   .div-label { color: var(--esg); }
.pcard h3 { margin: 13px 0 0; font-size: 1.7rem; font-weight: 700; letter-spacing: -0.02em; }
.pcard .tagline { margin: 11px 0 0; font-style: italic; font-size: 1.18rem; line-height: 1.4; }
.pcard.ariba .tagline { color: var(--ariba); }
.pcard.esg   .tagline { color: var(--esg); }
.pcard p { margin: 14px 0 0; color: var(--ink2); font-size: 0.98rem; }
.pcard .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pcard .explore-link {
  margin-top: 24px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
}
.pcard.ariba .explore-link { color: var(--ariba); }
.pcard.esg   .explore-link { color: var(--esg); }

/* ── Chips ──────────────────────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 0.8rem; font-weight: 600;
  padding: 6px 12px; border-radius: 100px;
  background: rgba(35,33,51,0.06); color: var(--ink);
}
.chip.ariba { color: var(--ariba); background: rgba(63,61,158,0.08); }
.chip.esg   { color: var(--esg);   background: rgba(15,138,147,0.09); }

/* ── Service cells (SAP Ariba page) ────────────────────────── */
.svc-cell {
  background: #fff; padding: 30px 30px 32px;
  transition: background .3s;
}
.svc-cell:hover { background: #FAFAFC; }
.svc-cell h3 { margin: 0; font-size: 1.18rem; font-weight: 700; letter-spacing: -0.01em; }
.svc-cell p { margin: 9px 0 0; color: var(--ink2); font-size: 0.98rem; }

/* ── Dark bridge section ────────────────────────────────────── */
.bridge {
  background: var(--ink); color: var(--paper);
  padding: clamp(70px,11vh,124px) 0; position: relative; overflow: hidden;
}
.bridge-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 85% 15%, rgba(94,96,201,0.22), transparent 55%),
    radial-gradient(circle at 10% 90%, rgba(35,168,182,0.18), transparent 55%);
}
.bridge-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 64px; align-items: center; }
.bridge-point {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 22px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 14px;
}
.bridge-point .n {
  font-family: 'Space Mono', monospace; font-size: 0.8rem; font-weight: 700;
  color: var(--esg2); margin-top: 2px; flex: none;
}
.bridge-point b { display: block; font-size: 1.04rem; font-weight: 700; color: #fff; }
.bridge-point span { display: block; margin-top: 4px; color: rgba(245,246,248,0.65); font-size: 0.92rem; line-height: 1.55; }

/* ── Engagement steps ───────────────────────────────────────── */
.step-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 34px; }
.step-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800; font-size: 3rem; line-height: 1;
  background: linear-gradient(120deg, #23A8B6, #5E60C9);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.step h3 { margin: 14px 0 0; font-size: 1.45rem; font-weight: 700; letter-spacing: -0.015em; }
.step .sub {
  margin: 5px 0 0; font-family: 'Space Mono', monospace;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--esg2);
}
.step p { margin: 14px 0 0; color: var(--ink2); font-size: 1rem; line-height: 1.6; }

/* ── Quote block ────────────────────────────────────────────── */
.quote {
  margin: 0; padding: 24px 28px;
  background: #fff; border: 1px solid var(--line);
  border-left: 3px solid var(--esg2); border-radius: 14px;
  font-style: italic; font-size: 1.12rem; color: var(--ink); line-height: 1.6;
}
.qby {
  margin: 12px 0 0;
  font-family: 'Space Mono', monospace;
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--esg);
}

/* ── Contact form ───────────────────────────────────────────── */
.cf-wrap {
  background: #fff; border: 1px solid var(--line);
  border-radius: 22px; padding: clamp(26px,4vw,40px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cf-wrap label { display: flex; flex-direction: column; gap: 7px; }
.cf-wrap label span { font-size: 0.82rem; font-weight: 600; color: var(--ink2); }
.cf-wrap input,
.cf-wrap select,
.cf-wrap textarea {
  font-family: inherit; font-size: 1rem;
  padding: 13px 15px; border: 1px solid var(--line);
  border-radius: 11px; background: var(--paper); color: var(--ink);
  outline: none; transition: border-color .2s; width: 100%;
}
.cf-wrap input:focus,
.cf-wrap select:focus,
.cf-wrap textarea:focus { border-color: var(--ariba); }
.cf-wrap textarea { resize: vertical; }
.cf-success {
  min-height: 320px; display: none; flex-direction: column;
  align-items: flex-start; justify-content: center;
}
.cf-success h3 { margin: 20px 0 0; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.cf-success p { margin: 10px 0 0; color: var(--ink2); }
.cf-err { display: none; color: #c0392b; font-size: 0.875rem; }

/* ── Contact info ───────────────────────────────────────────── */
.cinfo-item { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.cinfo-icon {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line); flex: none;
}
.cinfo-label {
  display: block; font-family: 'Space Mono', monospace;
  font-size: 0.72rem; color: var(--ink2); font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cinfo-val { display: block; font-weight: 700; font-size: 1.06rem; }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: var(--paper); padding: clamp(56px,8vh,84px) 0 36px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .logo img { height: 34px; width: auto; display: block; filter: brightness(0) invert(1); opacity: 0.9; }
.site-footer p { margin: 16px 0 0; color: rgba(245,246,248,0.6); max-width: 34ch; font-size: 0.98rem; }
.ft-col h5 {
  margin: 0; font-family: 'Space Mono', monospace;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(245,246,248,0.5);
}
.ft-col ul { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.ft-col a { text-decoration: none; color: rgba(245,246,248,0.85); font-size: 0.96rem; transition: color .2s; }
.ft-col a:hover { color: #fff; }
.ft-copy {
  margin-top: 46px; padding-top: 24px;
  border-top: 1px solid rgba(245,246,248,0.14);
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  color: rgba(245,246,248,0.5); font-size: 0.86rem;
}

/* ── Framework / standards bar ─────────────────────────────── */
.frame-bar { background: #fff; border-bottom: 1px solid var(--line); padding: 13px 0; }
.frame-bar .wrap { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.frame-lbl {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink2); white-space: nowrap;
  padding-right: 10px; border-right: 1px solid var(--line); margin-right: 2px;
}
.fchip {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.77rem; font-weight: 600;
  padding: 4px 10px; border-radius: 100px;
  background: rgba(35,33,51,0.05); color: var(--ink);
}
.fchip svg { width: 13px; height: 13px; color: var(--esg); flex: none; }

/* ── Practice card icon ─────────────────────────────────────── */
.picon {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 14px; margin-bottom: 16px;
}
.pcard.ariba .picon { background: rgba(63,61,158,0.1); color: var(--ariba); }
.pcard.esg   .picon { background: rgba(15,138,147,0.1); color: var(--esg); }
.picon svg { width: 22px; height: 22px; }

/* ── Engagement step icon ───────────────────────────────────── */
.sico {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 14px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  color: var(--esg2); margin-bottom: 16px;
}
.sico svg { width: 21px; height: 21px; }

/* ── Service cell icon (SAP Ariba) ──────────────────────────── */
.svc-icon {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 11px;
  background: rgba(63,61,158,0.08); color: var(--ariba); margin-bottom: 14px;
}
.svc-icon svg { width: 20px; height: 20px; }

/* ── Bridge-point icon (ESG) ────────────────────────────────── */
.bp-icon {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  background: rgba(35,168,182,0.15); color: var(--esg2);
}
.bp-icon svg { width: 19px; height: 19px; }

/* ── Prose (privacy page) ───────────────────────────────────── */
.prose h2 { font-size: 1.3rem; margin: 36px 0 8px; }
.prose p  { margin: 10px 0; color: var(--ink2); line-height: 1.68; }
.prose a  { color: var(--esg); font-weight: 600; text-decoration: none; }
.prose a:hover { text-decoration: underline; }

/* ── Two-col layout ─────────────────────────────────────────── */
.divhead { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 54px; align-items: start; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 880px) {
  .desk-nav { display: none; }
  .mob-btn { display: flex; }
  .site-nav .inner { grid-template-columns: 1fr auto; }
  .grid2 { grid-template-columns: 1fr !important; }
  .divhead { grid-template-columns: 1fr !important; gap: 28px !important; }
  .contact-grid { grid-template-columns: 1fr !important; }
  .bridge-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .step-row { grid-template-columns: 1fr !important; }
}
@media (max-width: 760px) {
  .foot-grid { grid-template-columns: 1fr 1fr !important; gap: 36px 24px !important; }
}
