/* ==========================================================================
   VG IT Solution — Design System
   Fonts: Sora (headlines) / IBM Plex Sans (body)
   ========================================================================== */

:root {
  --navy: #3A3230;
  --navy-soft: #55493F;
  --paper: #FAF8F3;
  --paper-dim: #F1ECE0;
  --amber: #F07E1D;
  --amber-dark: #C4650F;
  --emerald: #2E8FB0;
  --emerald-dark: #1F6883;
  --ink: #1B1B18;
  --grey: #5C5548;
  --grey-light: #8A8375;
  --line: #D8D2C4;
  --white: #FFFFFF;

  --font-head: 'Sora', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --container: 1180px;
  --shadow-card: 0 1px 2px rgba(15, 31, 61, 0.06), 0 8px 24px -12px rgba(15, 31, 61, 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .display {
  font-family: var(--font-head);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4vw + 1rem, 3.4rem); }
h2 { font-size: clamp(1.7rem, 2.6vw + 1rem, 2.5rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p { color: var(--grey); max-width: 62ch; }
p.lead { font-size: 1.15rem; color: var(--navy-soft); max-width: 56ch; }

a { color: var(--emerald); text-decoration: none; }
a:hover { color: var(--emerald-dark); }

img { max-width: 100%; display: block; }

.container-vg {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }
@media (max-width: 768px) { section { padding: 56px 0; } }

.bg-navy { background: var(--navy); color: var(--paper); }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.bg-navy p { color: #C8CEDE; }
.bg-dim { background: var(--paper-dim); }
.bg-white { background: var(--white); }

/* Skip link */
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff;
  padding: 10px 16px; z-index: 2000; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: var(--container); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.15rem; }
.brand .mark {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--navy); color: var(--amber); display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.95rem;
}
.nav-links { display: flex; gap: 28px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--navy); font-weight: 500; font-size: 0.96rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { border-bottom-color: var(--amber); color: var(--navy); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 10px; }

@media (max-width: 900px) {
  .nav-links { position: fixed; top: 66px; left: 0; right: 0; background: var(--paper); flex-direction: column; align-items: flex-start; padding: 18px 24px; gap: 14px; border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: transform 0.18s ease, opacity 0.18s ease; }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn-text-phone { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  padding: 13px 22px; border-radius: var(--radius-sm); border: 1px solid transparent;
  cursor: pointer; transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-amber { background: var(--amber); color: var(--navy); }
.btn-amber:hover { background: #d6912e; color: var(--navy); }
.btn-emerald { background: var(--emerald); color: #fff; }
.btn-emerald:hover { background: var(--emerald-dark); color: #fff; }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 80px;
  background: linear-gradient(180deg, #FDFCFA 0%, var(--paper) 100%);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
}
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.eyebrow-line {
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
  color: var(--emerald-dark); font-weight: 600; font-size: 0.92rem;
}
.eyebrow-line svg { flex-shrink: 0; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-trust-row { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 36px; align-items: center; }
.hero-trust-row .stat b { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--navy); }
.hero-trust-row .stat span { font-size: 0.82rem; color: var(--grey-light); }

/* Growth report mock card (hero visual) */
.report-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  box-shadow: var(--shadow-card); padding: 26px; position: relative;
}
.report-card .rc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.report-card .rc-head span.label { font-size: 0.8rem; color: var(--grey-light); }
.report-card .rc-head b { font-family: var(--font-head); color: var(--navy); font-size: 0.95rem; }
.rc-metric { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.rc-metric .big { font-family: var(--font-head); font-size: 2.3rem; color: var(--navy); font-weight: 700; }
.rc-metric .delta { color: var(--emerald); font-weight: 700; font-size: 0.9rem; background: #E7F2EF; padding: 3px 9px; border-radius: 20px; }
.rc-bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; }
.rc-bars i { flex: 1; background: var(--paper-dim); border-radius: 3px 3px 0 0; position: relative; }
.rc-bars i.hi { background: var(--amber); }
.rc-foot { display: flex; justify-content: space-between; margin-top: 10px; font-size: 0.72rem; color: var(--grey-light); }
.report-card .badge-float {
  position: absolute; top: -14px; right: 22px; background: var(--navy); color: var(--amber);
  font-size: 0.75rem; font-weight: 700; padding: 7px 12px; border-radius: 20px;
}

/* Growth line divider — the one bold recurring motif */
.growth-divider { width: 100%; height: 46px; display: block; }

/* ---------- Logo / trust strip ---------- */
.trust-strip { padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.trust-strip .container-vg { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.trust-strip p { margin: 0; font-size: 0.85rem; color: var(--grey-light); }
.trust-industries { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { border: 1px solid var(--line); border-radius: 20px; padding: 7px 16px; font-size: 0.85rem; color: var(--navy-soft); font-weight: 500; }

/* ---------- Section headers ---------- */
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.service-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 28px; transition: border-color 0.15s ease;
}
.service-card:hover { border-color: var(--amber); }
.service-card .icon {
  width: 46px; height: 46px; border-radius: var(--radius-sm); background: var(--paper-dim);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--emerald);
}
.service-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.service-card p { font-size: 0.95rem; margin-bottom: 14px; }
.service-card a.more { font-weight: 600; font-size: 0.9rem; }

.stat-card { text-align: left; padding: 22px 0; border-top: 1px solid rgba(255,255,255,0.18); }
.stat-card b { display: block; font-family: var(--font-head); font-size: 2.2rem; color: var(--amber); }
.stat-card span { font-size: 0.88rem; color: #C8CEDE; }

/* Process steps (real sequence -> numbering is justified) */
.process-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 900px) { .process-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-row { grid-template-columns: 1fr; } }
.process-step { position: relative; padding-top: 8px; border-top: 3px solid var(--amber); }
.process-step .step-no { font-family: var(--font-head); font-size: 0.85rem; color: var(--amber-dark); font-weight: 700; }
.process-step h4 { margin-top: 6px; }
.process-step p { font-size: 0.92rem; }

/* Testimonials */
.testimonial-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 26px;
  display: flex; flex-direction: column; gap: 14px; height: 100%;
}
.testimonial-card .quote { font-size: 0.98rem; color: var(--navy-soft); }
.testimonial-person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial-person .avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--amber);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--font-head);
}
.testimonial-person b { display: block; font-size: 0.92rem; color: var(--navy); }
.testimonial-person span { font-size: 0.8rem; color: var(--grey-light); }
.stars { color: var(--amber); letter-spacing: 2px; font-size: 0.9rem; }

/* Lead magnet band */
.lead-magnet {
  background: var(--paper-dim); border: 1px dashed var(--line); border-radius: var(--radius-md);
  padding: 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.lead-magnet .lm-text { max-width: 520px; }

/* Portfolio */
.case-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden;
}
.case-media { background: var(--navy); color: var(--amber); padding: 26px; }
.case-media .cm-label { font-size: 0.78rem; color: #C8CEDE; margin-bottom: 6px; }
.case-media .cm-metric { font-family: var(--font-head); font-size: 1.9rem; }
.case-body { padding: 22px; }
.case-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.tag { font-size: 0.74rem; background: var(--paper-dim); border-radius: 4px; padding: 3px 9px; color: var(--navy-soft); font-weight: 600; }

/* Forms */
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.96rem; background: var(--white); color: var(--ink);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.8rem; color: var(--grey-light); margin-top: 10px; }
.form-status { font-size: 0.9rem; margin-top: 12px; padding: 10px 14px; border-radius: var(--radius-sm); display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #E7F2EF; color: var(--emerald-dark); }
.form-status.err { background: #FBEAEA; color: #A23B3B; }

.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px; }
.contact-card h4 { margin-bottom: 4px; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: none; }
.contact-list .ci { color: var(--emerald); flex-shrink: 0; margin-top: 2px; }

/* FAQ (accordion, no framework JS dependency) */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; padding: 18px 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; font-family: var(--font-head);
  font-size: 1rem; color: var(--navy); font-weight: 600;
}
.faq-q .chev { transition: transform 0.18s ease; color: var(--emerald); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.2s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding-bottom: 18px; margin: 0; font-size: 0.95rem; }

/* Breadcrumb */
.breadcrumb-vg { font-size: 0.85rem; color: var(--grey-light); padding: 18px 0 0; }
.breadcrumb-vg a { color: var(--grey-light); }
.breadcrumb-vg a:hover { color: var(--emerald); }

/* Page hero (inner pages) */
.page-hero { padding: 40px 0 56px; background: var(--navy); color: var(--paper); }
.page-hero p.lead { color: #C8CEDE; }

/* Footer */
.site-footer { background: var(--navy); color: #C8CEDE; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #C8CEDE; font-size: 0.92rem; }
.site-footer a:hover { color: var(--amber); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.82rem; color: #94A0BD; }

/* ---------- Floating action buttons ---------- */
.fab-stack { position: fixed; right: 20px; bottom: 20px; z-index: 1500; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.fab {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 8px 20px rgba(15,31,61,0.28); border: none; cursor: pointer;
}
.fab-whatsapp { background: #25D366; }
.fab-call { background: var(--navy); }
.fab-tooltip {
  position: absolute; right: 66px; top: 50%; transform: translateY(-50%);
  background: var(--navy); color: #fff; font-size: 0.78rem; padding: 6px 10px; border-radius: 4px;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.15s ease;
}
.fab:hover .fab-tooltip { opacity: 1; }

/* Sticky mobile call bar */
.mobile-cta-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1400; display: none;
  background: var(--white); border-top: 1px solid var(--line); padding: 10px 14px;
  gap: 10px;
}
.mobile-cta-bar a { flex: 1; }
@media (max-width: 700px) {
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 68px; }
  .fab-stack { bottom: 84px; }
}

/* Utility */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.tag-line { color: var(--emerald); font-weight: 600; font-size: 0.85rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }


/* ---------- Brand logo ---------- */
.brand img.logo-img {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.site-footer .brand img.logo-img { height: 40px; width: 40px; }

/* ---------- Chatbot widget ---------- */
.fab-chat { background: var(--emerald); }
.chat-panel {
  position: fixed; right: 20px; bottom: 90px; z-index: 1600;
  width: 340px; max-width: calc(100vw - 40px); height: 460px; max-height: calc(100vh - 140px);
  background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-card);
  border: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(16px) scale(0.98); opacity: 0; pointer-events: none;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.chat-panel.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
@media (max-width: 700px) {
  .chat-panel { bottom: 150px; right: 12px; width: calc(100vw - 24px); height: 60vh; }
}

.chat-head {
  background: var(--navy); color: #fff; padding: 14px 16px;
  display: flex; align-items: center; gap: 10px;
}
.chat-head img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.chat-head .ch-info b { display: block; font-family: var(--font-head); font-size: 0.95rem; }
.chat-head .ch-info span { font-size: 0.74rem; color: #C8CEDE; display: flex; align-items: center; gap: 5px; }
.chat-head .ch-info span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #3FD17A; display: inline-block; }
.chat-close { margin-left: auto; background: none; border: none; color: #fff; cursor: pointer; padding: 4px; opacity: 0.85; }
.chat-close:hover { opacity: 1; }

.chat-body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); }
.chat-msg { max-width: 82%; padding: 10px 13px; border-radius: 12px; font-size: 0.88rem; line-height: 1.45; }
.chat-msg.bot { background: var(--white); border: 1px solid var(--line); color: var(--ink); align-self: flex-start; border-bottom-left-radius: 3px; }
.chat-msg.user { background: var(--emerald); color: #fff; align-self: flex-end; border-bottom-right-radius: 3px; }
.chat-msg a { color: inherit; text-decoration: underline; }

.chat-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 14px 12px; background: var(--paper); }
.chat-chip {
  border: 1px solid var(--emerald); color: var(--emerald); background: #fff; border-radius: 20px;
  padding: 7px 13px; font-size: 0.8rem; font-weight: 600; cursor: pointer;
}
.chat-chip:hover { background: var(--emerald); color: #fff; }

.chat-input-row { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--white); }
.chat-input-row input {
  flex: 1; border: 1px solid var(--line); border-radius: 20px; padding: 10px 14px; font-size: 0.88rem;
  font-family: var(--font-body);
}
.chat-send { background: var(--emerald); color: #fff; border: none; width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.chat-send:hover { background: var(--emerald-dark); }
.chat-typing { align-self: flex-start; display: flex; gap: 4px; padding: 10px 13px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; border-bottom-left-radius: 3px; }
.chat-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--grey-light); animation: chatBlink 1.2s infinite ease-in-out; }
.chat-typing i:nth-child(2) { animation-delay: 0.15s; }
.chat-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatBlink { 0%, 80%, 100% { opacity: 0.3; } 40% { opacity: 1; } }
.foot-social{display:flex; gap:12px; margin-top:20px;}
  .foot-social a{width:36px; height:36px; border-radius:50%; border:1px solid #3B4577; display:flex; align-items:center; justify-content:center; color:#E7E9F4; transition:.15s;}
  .foot-social a:hover{background:var(--amber); border-color:var(--amber); color:var(--indigo-deep);}