/* BharatSync — shared design system.
   Palette/type: see :root tokens. Tightened spacing scale (v4):
   sections 80px (was 112-130), hero 72/64, stats 48, footer 56/32.
   Logo placeholder: swap the ".brand .mark" element for a client logo
   <img class="logo"> once supplied — everything else keys off it being
   a small square in the nav, so any reasonably square mark drops in. */

:root{
  --navy:#0b1b3a;
  --navy-2:#122452;
  --paper:#ffffff;
  --paper-2:#f4f6f9;
  --ink:#131a2b;
  --muted:#5b6472;
  --line:#e3e7ee;
  --line-strong:#cdd3de;
  --accent:#ff7a30;
  --accent-deep:#e35f16;
  --sky:#3f7ae0;
  --on-navy:#f2f5fb;
  --on-navy-muted:#a9b4cc;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0; background:var(--paper); color:var(--ink);
  font-family:'IBM Plex Sans', system-ui, sans-serif;
  line-height:1.6; -webkit-font-smoothing:antialiased;
}
::selection{ background:var(--accent); color:#fff; }
a{ color:inherit; }
img,svg{ max-width:100%; display:block; }
.mono{ font-family:'IBM Plex Mono', ui-monospace, monospace; }
h1,h2,h3{ font-family:'Manrope', system-ui, sans-serif; text-wrap:balance; margin:0; letter-spacing:-.015em; }
p{ margin:0; }
.wrap{ max-width:1240px; margin:0 auto; padding:0 40px; }
.wrap-narrow{ max-width:820px; margin:0 auto; padding:0 40px; }
@media (max-width:640px){ .wrap,.wrap-narrow{ padding:0 22px; } }
@media (prefers-reduced-motion: reduce){ *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; scroll-behavior:auto !important; } }
svg.icon{ width:26px; height:26px; stroke:var(--navy); fill:none; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }

/* ---------- nav ---------- */
header.site{
  position:sticky; top:0; z-index:60; background:rgba(255,255,255,.92); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav{ display:flex; align-items:center; justify-content:space-between; padding:16px 40px; }
@media (max-width:640px){ .nav{ padding:14px 22px; } }
.brand{ display:flex; align-items:center; gap:9px; font-family:'Manrope',sans-serif; font-weight:800; font-size:19px; letter-spacing:-.02em; text-decoration:none; color:var(--navy); }
.logo-full{ height:34px; width:auto; display:block; }
.logo-mark-icon{ width:24px; height:24px; object-fit:contain; flex-shrink:0; }
@media (max-width:640px){ .logo-full{ height:28px; } }
nav.links{ display:flex; gap:30px; align-items:center; }
nav.links a{ text-decoration:none; color:var(--muted); font-size:14.5px; font-weight:500; transition:color .15s; }
nav.links a:hover, nav.links a.current{ color:var(--navy); }
@media (max-width:860px){ nav.links{ display:none; } }
.btn{
  display:inline-flex; align-items:center; gap:9px;
  padding:12px 22px; border-radius:6px; font-size:14.5px; font-weight:600;
  text-decoration:none; border:1.5px solid transparent; transition:transform .15s, background .15s, border-color .15s, color .15s;
  font-family:'IBM Plex Sans',sans-serif; cursor:pointer;
}
.btn-primary{ background:var(--accent); color:#fff; }
.btn-primary:hover{ background:var(--accent-deep); transform:translateY(-1px); }
.btn-ghost{ border-color:var(--line-strong); color:var(--navy); background:none; }
.btn-ghost:hover{ border-color:var(--navy); }
.btn-ghost-dark{ border-color:rgba(255,255,255,.28); color:#fff; background:none; }
.btn-ghost-dark:hover{ border-color:#fff; }

/* ---------- home hero (3D) ---------- */
.hero{ position:relative; background:linear-gradient(190deg, var(--navy-2), var(--navy) 70%); overflow:hidden; }
#globe{ position:absolute; inset:0; width:100%; height:100%; opacity:.9; }
.hero-vignette{ position:absolute; inset:0; pointer-events:none; background:radial-gradient(ellipse 65% 60% at 78% 30%, rgba(63,122,224,.16), transparent 62%); }
.hero-inner{ position:relative; z-index:2; padding:72px 0 64px; }
.eyebrow{
  display:inline-flex; align-items:center; gap:9px; font-family:'IBM Plex Mono',monospace; font-size:12.5px;
  letter-spacing:.12em; text-transform:uppercase; color:var(--on-navy-muted);
  padding:7px 14px; border:1px solid rgba(255,255,255,.16); border-radius:100px; margin-bottom:22px;
}
.eyebrow .d{ width:6px; height:6px; border-radius:50%; background:var(--accent); }
h1.headline{ font-size:clamp(34px,5.4vw,64px); font-weight:800; line-height:1.06; color:#fff; max-width:16ch; }
h1.headline .accent{ color:var(--accent); }
.lede{ margin-top:20px; font-size:17.5px; color:var(--on-navy-muted); max-width:52ch; }
.hero-ctas{ display:flex; gap:14px; margin-top:30px; flex-wrap:wrap; }

/* ---------- plain page header (subpages, no 3D) ---------- */
.page-header{ background:linear-gradient(190deg, var(--navy-2), var(--navy) 70%); padding:52px 0 44px; }
.breadcrumb{ font-family:'IBM Plex Mono',monospace; font-size:12.5px; color:var(--on-navy-muted); margin-bottom:18px; }
.breadcrumb a{ text-decoration:none; color:var(--on-navy-muted); }
.breadcrumb a:hover{ color:#fff; }
.page-header h1{ font-size:clamp(28px,4.2vw,44px); font-weight:800; color:#fff; max-width:22ch; }
.page-header .lede{ margin-top:14px; max-width:62ch; }

/* ---------- trust strip ---------- */
.trust-strip{ background:var(--paper); border-bottom:1px solid var(--line); padding:18px 0; }
.trust-row{ display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.trust-label{ font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); white-space:nowrap; }
.trust-badges{ display:flex; gap:26px; flex-wrap:wrap; }
.trust-badges span{ font-family:'IBM Plex Mono',monospace; font-size:13px; color:var(--navy); font-weight:500; }

/* ---------- stats ---------- */
.stats{ background:var(--paper-2); border-bottom:1px solid var(--line); padding:44px 0; }
.stat-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:10px; overflow:hidden; }
@media (max-width:800px){ .stat-grid{ grid-template-columns:repeat(2,1fr); } }
.stat-cell{ background:var(--paper); padding:24px 24px; }
.stat-cell .num{ font-family:'Manrope',sans-serif; font-size:28px; font-weight:800; color:var(--navy); }
.stat-cell .lab{ font-size:13.5px; color:var(--muted); margin-top:5px; }

/* ---------- section shell ---------- */
section{ padding:80px 0; }
section.tight{ padding:56px 0; }
.section-head{ max-width:680px; margin-bottom:40px; }
.section-head .tag{ font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--accent-deep); margin-bottom:12px; display:block; font-weight:500; }
.section-head h2{ font-size:clamp(24px,3.2vw,34px); font-weight:800; color:var(--navy); }
.section-head p{ margin-top:14px; color:var(--muted); font-size:16px; }

/* ---------- services grid ---------- */
.service-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
@media (max-width:980px){ .service-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .service-grid{ grid-template-columns:1fr; } }
.service-card{
  background:var(--paper); border:1px solid var(--line); border-radius:12px; padding:24px 22px;
  text-decoration:none; color:var(--ink); display:flex; flex-direction:column; gap:12px;
  transition:border-color .2s, box-shadow .2s, transform .2s;
}
.service-card:hover{ border-color:var(--line-strong); box-shadow:0 12px 28px rgba(11,27,58,.08); transform:translateY(-2px); }
.service-card .icon-wrap{ width:44px; height:44px; border-radius:9px; background:var(--paper-2); display:flex; align-items:center; justify-content:center; }
.service-card:hover .icon-wrap{ background:#fff2e9; }
.service-card:hover svg.icon{ stroke:var(--accent-deep); }
.service-card h3{ font-size:16.5px; font-weight:700; color:var(--navy); }
.service-card p{ font-size:14px; color:var(--muted); line-height:1.55; }
.service-card .go{ margin-top:auto; font-family:'IBM Plex Mono',monospace; font-size:12.5px; color:var(--accent-deep); font-weight:500; }

/* ---------- certifications ---------- */
.certs{ background:var(--navy); }
.certs .section-head h2{ color:#fff; }
.certs .section-head p{ color:var(--on-navy-muted); }
.certs .section-head .tag{ color:var(--accent); }
.cert-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
@media (max-width:900px){ .cert-grid{ grid-template-columns:repeat(2,1fr); } }
.cert-card{ background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.12); border-radius:12px; padding:22px 20px; }
.cert-card .code{ font-family:'IBM Plex Mono',monospace; font-size:12.5px; color:var(--accent); letter-spacing:.04em; }
.cert-card h3{ font-size:16px; font-weight:700; color:#fff; margin-top:8px; }
.cert-card p{ font-size:13.5px; color:var(--on-navy-muted); margin-top:6px; }

/* ---------- proof / two-col ---------- */
.proof{ background:var(--paper-2); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.proof-grid{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start; }
@media (max-width:860px){ .proof-grid{ grid-template-columns:1fr; gap:32px; } }
.proof-grid h2{ font-size:clamp(22px,3vw,30px); font-weight:800; color:var(--navy); max-width:16ch; }
.proof-grid .tag{ font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--accent-deep); margin-bottom:12px; display:block; font-weight:500; }
.proof-grid .copy{ margin-top:16px; color:var(--muted); font-size:15.5px; max-width:52ch; }
.proof-grid .copy + .copy{ margin-top:12px; }
.proof-grid a.link{ color:var(--accent-deep); font-weight:600; font-size:14.5px; margin-top:16px; display:inline-block; text-decoration:none; }
.quote-card{ background:var(--paper); border:1px solid var(--line); border-radius:14px; padding:28px 26px; box-shadow:0 12px 32px rgba(11,27,58,.06); }
.quote-card blockquote{ font-family:'Manrope',sans-serif; font-size:18px; font-weight:600; line-height:1.45; color:var(--navy); margin:0; }
.quote-card .cite{ margin-top:18px; padding-top:16px; border-top:1px solid var(--line); font-size:13.5px; color:var(--muted); font-family:'IBM Plex Mono',monospace; }

/* ---------- process ---------- */
.process-row{ position:relative; display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
@media (max-width:800px){ .process-row{ grid-template-columns:repeat(2,1fr); } }
.process-row::before{ content:""; position:absolute; top:22px; left:0; right:0; height:2px; background:var(--line); z-index:0; }
@media (max-width:800px){ .process-row::before{ display:none; } }
.p-step{ position:relative; z-index:1; }
.p-step .circle{
  width:44px; height:44px; border-radius:50%; background:var(--navy); color:#fff;
  display:flex; align-items:center; justify-content:center; font-family:'IBM Plex Mono',monospace; font-weight:500;
  margin-bottom:16px; font-size:14px;
}
.p-step.active .circle{ background:var(--accent); }
.p-step h3{ font-size:16.5px; font-weight:700; color:var(--navy); }
.p-step p{ font-size:14px; color:var(--muted); margin-top:6px; max-width:24ch; }

/* ---------- timeline ---------- */
.timeline{ position:relative; display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
@media (max-width:760px){ .timeline{ grid-template-columns:1fr; gap:0; } }
.timeline::before{ content:""; position:absolute; top:9px; left:0; right:0; height:2px; background:var(--line); }
@media (max-width:760px){ .timeline::before{ display:none; } }
.tl-item{ position:relative; padding-top:28px; }
@media (max-width:760px){ .tl-item{ padding:18px 0 18px 28px; border-left:2px solid var(--line); } }
.tl-item::before{ content:""; position:absolute; top:4px; left:0; width:10px; height:10px; border-radius:50%; background:var(--navy); }
.tl-item.now::before{ background:var(--accent); }
@media (max-width:760px){ .tl-item::before{ top:16px; left:-6px; } }
.tl-item .date{ font-family:'IBM Plex Mono',monospace; font-size:12.5px; color:var(--accent-deep); font-weight:500; }
.tl-item h3{ font-size:16.5px; font-weight:700; color:var(--navy); margin-top:8px; }
.tl-item p{ font-size:14px; color:var(--muted); margin-top:6px; }

/* ---------- faq ---------- */
.faq-item{ border-top:1px solid var(--line); }
.faq-item:last-child{ border-bottom:1px solid var(--line); }
.faq-item summary{
  cursor:pointer; list-style:none; padding:22px 0; display:flex; justify-content:space-between; align-items:center; gap:20px;
  font-size:16.5px; font-weight:700; font-family:'Manrope',sans-serif; color:var(--navy);
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:"+"; font-family:'IBM Plex Mono',monospace; color:var(--accent-deep); font-size:22px; flex-shrink:0; font-weight:400; transition:transform .2s; }
.faq-item[open] summary::after{ transform:rotate(45deg); }
.faq-item .a{ padding:0 0 24px; color:var(--muted); font-size:15px; max-width:66ch; }

/* ---------- prose (service/story pages) ---------- */
.prose{ max-width:720px; }
.prose h2{ font-size:22px; font-weight:800; color:var(--navy); margin-top:36px; }
.prose h2:first-child{ margin-top:0; }
.prose p{ color:var(--muted); font-size:15.5px; margin-top:14px; max-width:66ch; }
.prose ul{ margin:14px 0 0; padding-left:20px; color:var(--muted); font-size:15.5px; }
.prose li{ margin-top:8px; }
.feature-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:14px; margin-top:14px; }
@media (max-width:640px){ .feature-grid{ grid-template-columns:1fr; } }
.feature-item{ display:flex; gap:10px; align-items:flex-start; padding:14px 16px; background:var(--paper-2); border-radius:8px; }
.feature-item svg{ width:18px; height:18px; stroke:var(--accent-deep); flex-shrink:0; margin-top:2px; }
.feature-item span{ font-size:14.5px; color:var(--ink); }

/* ---------- pricing table ---------- */
.price-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
@media (max-width:900px){ .price-grid{ grid-template-columns:1fr; } }
.price-card{ background:var(--paper); border:1px solid var(--line); border-radius:14px; padding:28px 24px; display:flex; flex-direction:column; gap:14px; }
.price-card.highlight{ border-color:var(--accent); box-shadow:0 12px 32px rgba(255,122,48,.12); position:relative; }
.price-card .flag{ position:absolute; top:-11px; left:24px; background:var(--accent); color:#fff; font-family:'IBM Plex Mono',monospace; font-size:11px; padding:4px 10px; border-radius:100px; letter-spacing:.04em; }
.price-card h3{ font-size:18px; font-weight:800; color:var(--navy); }
.price-card .range{ font-family:'Manrope',sans-serif; font-size:15px; font-weight:700; color:var(--accent-deep); }
.price-card p{ font-size:14px; color:var(--muted); }
.price-card ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:9px; }
.price-card li{ font-size:13.5px; color:var(--ink); display:flex; gap:8px; align-items:flex-start; }
.price-card li svg{ width:15px; height:15px; stroke:var(--accent-deep); flex-shrink:0; margin-top:2px; }

table.compare{ width:100%; border-collapse:collapse; font-size:14px; margin-top:8px; }
table.compare th,table.compare td{ text-align:left; padding:12px 14px; border-bottom:1px solid var(--line); }
table.compare thead th{ font-family:'IBM Plex Mono',monospace; font-size:11.5px; letter-spacing:.05em; text-transform:uppercase; color:var(--muted); border-bottom:2px solid var(--navy); }
table.compare tbody th{ color:var(--navy); font-weight:600; white-space:nowrap; }
.table-wrap{ overflow-x:auto; }

/* ---------- contact form ---------- */
.contact-shell{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start; }
@media (max-width:860px){ .contact-shell{ grid-template-columns:1fr; gap:32px; } }
.contact-form{ background:var(--paper); border:1px solid var(--line); border-radius:14px; padding:30px 28px; box-shadow:0 12px 32px rgba(11,27,58,.06); }
.field{ display:flex; flex-direction:column; gap:6px; margin-bottom:16px; }
.field label{ font-size:13px; font-weight:600; color:var(--navy); }
.field input, .field select, .field textarea{
  font-family:'IBM Plex Sans',sans-serif; font-size:14.5px; padding:11px 13px; border:1px solid var(--line-strong);
  border-radius:7px; background:var(--paper-2); color:var(--ink); resize:vertical;
}
.field input:focus, .field select:focus, .field textarea:focus{ outline:2px solid var(--accent); outline-offset:1px; background:#fff; }
.form-note{ font-size:12.5px; color:var(--muted); margin-top:14px; }
.form-note a{ color:var(--accent-deep); text-decoration:underline; text-underline-offset:2px; }

/* ---------- cta ---------- */
.cta-section{ background:linear-gradient(190deg, var(--navy-2), var(--navy) 70%); }
.cta-inner{ text-align:center; max-width:640px; margin:0 auto; }
.cta-inner h2{ font-size:clamp(26px,4vw,38px); font-weight:800; color:#fff; }
.cta-inner p{ margin-top:14px; color:var(--on-navy-muted); font-size:16px; }
.cta-inner .hero-ctas{ justify-content:center; margin-top:28px; }

/* ---------- footer ---------- */
footer{ background:var(--navy); padding:48px 0 28px; }
.foot-grid{ display:grid; grid-template-columns:1.4fr repeat(3,1fr); gap:36px; }
@media (max-width:800px){ .foot-grid{ grid-template-columns:repeat(2,1fr); } }
.foot-col h4{ font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--on-navy-muted); margin-bottom:14px; }
.foot-col ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.foot-col a{ text-decoration:none; color:#c7d0e2; font-size:14px; }
.foot-col a:hover{ color:var(--accent); }
.foot-trust{
  margin-top:36px; padding-top:22px; border-top:1px solid rgba(255,255,255,.1);
  display:flex; justify-content:space-between; align-items:center; gap:20px; flex-wrap:wrap;
  font-size:12.5px; color:var(--on-navy-muted); font-family:'IBM Plex Mono',monospace;
}
.foot-trust a{ color:#c7d0e2; text-decoration:underline; text-underline-offset:3px; }
