﻿/*
Theme Name: SGC Redesign
Theme URI: https://www.softgridcomputers.com
Author: SGC Dev
Description: Bootstrap 5 redesign theme for the GenXAI Softgrid blog — matches the main site design system exactly.
Version: 1.0
License: Private
Text Domain: sgc-redesign
*/

/* =====================================================================
   GenXAI Softgrid — Revamp
   Design system layer on top of Bootstrap 5
   Fonts: Manrope (UI) + IBM Plex Mono (technical labels)
   ===================================================================== */

:root {
  --bg:        #FBFAF7;
  --ink:       #14161B;
  --ink-soft:  #585C66;
  --muted:     #8B8E97;
  --line:      #E7E4DC;
  --panel:     #F1EFE9;
  --panel-2:   #F6F4EF;
  --dark:      #101319;
  --dark-2:    #0B0D11;
  --dark-line: #22262F;
  --accent:    #EC6100;
  --accent-2:  #FF9A4D;
}

* { box-sizing: border-box; }

body {
  font-family: 'Manrope', sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: var(--accent); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #d9d6cd; border-radius: 8px; }

a { text-decoration: none; }

/* ---- typographic helpers ---- */
.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  display: block;
}
.eyebrow.light { color: var(--accent-2); }
.eyebrow.muted { color: var(--muted); }

.mono { font-family: 'IBM Plex Mono', monospace; }

.display {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0;
}
.h-hero  { font-size: clamp(44px, 6.4vw, 86px); }
.h-sec   { font-family: 'Inter Tight', sans-serif; font-size: clamp(32px, 4vw, 52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin: 0; }
.h-sub   { font-family: 'Inter Tight', sans-serif; font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; margin: 0; }

.lead-p {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

.text-soft { color: var(--ink-soft); }
.text-muted2 { color: var(--muted); }

.section { padding: 96px 0; }
.section-sm { padding: 88px 0; }
.maxw { max-width: 1280px; }

/* ---- buttons ---- */
.btn-ink, .btn-light2, .btn-outline-ink {
  font-size: 16px;
  font-weight: 600;
  padding: 15px 28px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: all .18s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-sm2 { font-size: 14px; padding: 11px 20px; border-radius: 10px; }

.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--accent); color: #fff; }

.btn-light2 { background: #fff; color: var(--dark); }
.btn-light2:hover { background: var(--accent); color: #fff; }

.btn-outline-ink { background: transparent; color: var(--ink); border-color: #D9D6CD; }
.btn-outline-ink:hover { border-color: var(--ink); background: #fff; }

.btn-outline-light { background: transparent; color: #fff; border: 1px solid var(--dark-line); border-radius: 11px; padding: 15px 26px; font-weight: 600; transition: all .18s; }
.btn-outline-light:hover { border-color: #fff; }

/* ===================================================================
   HEADER / NAV
   =================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(251,250,247,0.82);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: transform .5s cubic-bezier(.16,.7,.2,1), background .3s ease, box-shadow .3s ease, border-color .3s ease;
  will-change: transform;
}
.site-header.scrolled {
  background: rgba(251,250,247,0.96);
  box-shadow: 0 10px 34px -20px rgba(20,22,27,0.30);
  border-bottom-color: transparent;
}
.site-header.nav-hidden { transform: translateY(-100%); }
.nav-bar {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  transition: height .4s cubic-bezier(.16,.7,.2,1);
}
.site-header.scrolled .nav-bar { height: 60px; }
.brand img { height: 40px; width: auto; display: block; transition: height .4s cubic-bezier(.16,.7,.2,1); }
.site-header.scrolled .brand img { height: 32px; }
.scroll-progress { position: fixed; left: 0; top: 74px; height: 2px; width: 0; background: var(--accent); z-index: 1040; transition: width .12s linear, top .5s cubic-bezier(.16,.7,.2,1); }
.site-header.scrolled ~ .scroll-progress { top: 60px; }
.site-header.nav-hidden ~ .scroll-progress { top: 0; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link2 {
  font-size: 15px; font-weight: 500; color: var(--ink);
  background: none; border: none; cursor: pointer;
  padding: 10px 16px; border-radius: 9px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background .15s;
}
.nav-link2:hover { background: var(--panel); }
.nav-link2 .caret { font-size: 9px; color: var(--muted); }

/* mega panel */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 48px -28px rgba(20,22,27,0.28);
  display: none;
  z-index: 1020;
}
.mega.open { display: block; }
.mega-inner { padding: 32px 0 36px; }
.mega-cat-head { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.mega-cat-head > span:not(.mega-ico) { display: flex; flex-direction: column; min-width: 0; }
.mega-ico { width: 38px; height: 38px; border-radius: 10px; background: rgba(236,97,0,0.10); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.mega-cat-title { font-size: 14.5px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; display: block; }
.mega-cat-desc { font-size: 12px; color: var(--muted); display: block; margin-top: 1px; }
.mega-link {
  display: flex; align-items: center; gap: 11px; font-size: 14px; font-weight: 500; color: #3A3D45;
  padding: 8px 10px; border-radius: 8px; margin: 0 -10px; transition: background .14s, color .14s;
}
.mega-link i { font-size: 15px; color: var(--muted); width: 18px; text-align: center; flex-shrink: 0; transition: color .14s; }
.mega-link:hover { background: var(--panel); color: var(--ink); }
.mega-link:hover i { color: var(--accent); }
.mega-link .mlogo {
  width: 18px; height: 18px; flex-shrink: 0;
  fill: var(--muted);
  transition: fill .14s;
}
.mega-link:hover .mlogo { fill: var(--accent); }
.mega-promo {
  background: var(--dark); border-radius: 16px; padding: 26px; color: #fff;
  display: flex; flex-direction: column; justify-content: space-between; height: 100%;
}
.ind-card {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 18px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; transition: all .18s;
}
.ind-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.ind-card:hover .ico { background: var(--accent); color: #fff; }
.ind-card > span:not(.ico) { display: flex; flex-direction: column; min-width: 0; }
.ind-card .ico { width: 40px; height: 40px; border-radius: 10px; background: rgba(236,97,0,0.10); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 19px; flex-shrink: 0; transition: all .18s; }
.ind-card .nm { font-size: 15.5px; font-weight: 600; color: var(--ink); display:block; }
.ind-card .nt { font-size: 12.5px; color: var(--muted); }

/* mobile nav trigger */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
  color: var(--ink); flex-shrink: 0;
  transition: background .15s;
}
.nav-toggle:hover { background: var(--line); }

/* ---- offcanvas backdrop ---- */
.sgc-backdrop {
  position: fixed; inset: 0; z-index: 1040;
  background: rgba(14,16,21,0.52);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none;
  transition: opacity .26s ease;
}
.sgc-backdrop.open { opacity: 1; pointer-events: auto; }

/* ---- offcanvas panel ---- */
.sgc-offcanvas {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(360px, 92vw);
  z-index: 1041;
  background: #fff;
  display: flex; flex-direction: column;
  transform: translateX(110%);
  transition: transform .32s cubic-bezier(.16,.7,.2,1);
  box-shadow: -20px 0 72px rgba(14,16,21,0.16);
  will-change: transform;
}
.sgc-offcanvas.open { transform: translateX(0); }

.sgc-oc-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 18px; height: 64px; flex-shrink: 0;
  border-bottom: 1px solid var(--line);
}
.sgc-oc-head .brand img { height: 30px; }
.sgc-oc-close {
  width: 36px; height: 36px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--ink); cursor: pointer; flex-shrink: 0;
  transition: background .15s;
}
.sgc-oc-close:hover { background: var(--line); }

.sgc-oc-body {
  flex: 1; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.sgc-oc-acc-toggle {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 15px 18px;
  background: none; border: none; border-bottom: 1px solid var(--line);
  cursor: pointer; text-align: left;
  font-size: 15px; font-weight: 600; color: var(--ink);
  transition: background .14s, color .14s;
}
.sgc-oc-acc-toggle:hover { background: var(--panel); }
.sgc-oc-acc-toggle.open { background: var(--panel); color: var(--accent); border-bottom-color: transparent; }
.oc-chev {
  font-size: 11px; color: var(--muted);
  transition: transform .24s cubic-bezier(.16,.7,.2,1);
  flex-shrink: 0;
}
.sgc-oc-acc-toggle.open .oc-chev { transform: rotate(180deg); }

.sgc-oc-acc-body {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .28s cubic-bezier(.16,.7,.2,1);
  border-bottom: 1px solid var(--line);
}
.sgc-oc-acc-body.open { grid-template-rows: 1fr; }
.sgc-oc-acc-inner { overflow: hidden; }

.sgc-oc-group-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--accent); padding: 14px 18px 5px;
}
.sgc-oc-sub-link {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 18px; font-size: 14px; font-weight: 500; color: #3A3D45;
  transition: background .12s, color .12s;
}
.sgc-oc-sub-link i { font-size: 14px; color: var(--muted); width: 18px; text-align: center; flex-shrink: 0; transition: color .12s; }
.sgc-oc-sub-link:hover { background: var(--panel); color: var(--ink); }
.sgc-oc-sub-link:hover i { color: var(--accent); }
.sgc-oc-acc-inner .sgc-oc-sub-link:last-child { margin-bottom: 8px; }

.sgc-oc-nav-link {
  display: flex; align-items: center; gap: 13px;
  padding: 15px 18px; font-size: 15px; font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: background .14s;
}
.sgc-oc-nav-link i { font-size: 17px; color: var(--accent); width: 20px; text-align: center; flex-shrink: 0; }
.sgc-oc-nav-link:hover { background: var(--panel); }

.sgc-oc-foot {
  padding: 16px 18px 20px; border-top: 1px solid var(--line);
  flex-shrink: 0; background: var(--panel);
}
.sgc-oc-foot .btn-ink { display: flex; width: 100%; justify-content: center; }

/* ===================================================================
   BREADCRUMB
   =================================================================== */
.breadcrumb-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 48px; }
.breadcrumb-nav a { color: var(--muted); }
.breadcrumb-nav span:last-child { color: var(--ink); }
.band-dark .breadcrumb-nav { color: #9CA0AB; margin-bottom: 56px; }
.band-dark .breadcrumb-nav a { color: #9CA0AB; }
.band-dark .breadcrumb-nav .bc-cat { color: var(--accent-2); }
.band-dark .breadcrumb-nav span:last-child { color: #fff; }

/* ===================================================================
   HERO
   =================================================================== */
.hero { position: relative; padding: 96px 0 88px; }
#sgHero { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.sg-mesh { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'IBM Plex Mono', monospace; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase; color: #3A3D45;
  background: var(--panel); border: 1px solid var(--line);
  padding: 8px 15px; border-radius: 100px; margin-bottom: 30px;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.stat-row { display: flex; gap: 48px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 30px; }
.stat-num { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; display: block; }
.stat-lbl { font-size: 13.5px; color: var(--muted); font-weight: 500; }

/* hero "engineered metrics" row */
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; position: relative; z-index: 1; }
.hstat { padding-right: 28px; }
.hstat + .hstat { padding-left: 34px; border-left: 1px solid var(--line); }
.hstat-tick { display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--accent); margin-bottom: 20px; }
.hstat-num { font-size: clamp(30px, 3vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--ink); display: inline-flex; align-items: baseline; }
.hstat-unit { font-size: 0.42em; font-weight: 600; color: var(--muted); margin-left: 5px; letter-spacing: 0; }
.hstat-plus { font-size: 0.6em; font-weight: 700; color: var(--accent); margin-left: 2px; }
.hstat-lbl { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
.band-dark .hstat-num { color: #fff; }
.band-dark .hstat + .hstat { border-left-color: var(--dark-line); }
.hero-stats.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 767.98px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 32px; margin-top: 48px !important; }
  .hero-stats.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .hstat { padding-right: 16px; }
  .hstat + .hstat { padding-left: 16px; border-left: none; }
  .hstat:nth-child(odd) { padding-left: 0; }
  .hstat:nth-child(even) { border-left: 1px solid var(--line); padding-left: 20px; }
}

/* ---- trusted marquee ---- */
.trusted {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--panel-2); overflow: hidden;
}
.trusted-inner { display: flex; align-items: center; gap: 40px; padding: 26px 0; }
.marquee-mask { overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 58px; width: max-content; animation: sgmarquee 38s linear infinite; }
.marquee-track span { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; color: #A9A69C; white-space: nowrap; }
.marquee-track img.logo { height: 30px; width: auto; max-width: 132px; object-fit: contain; filter: grayscale(1); opacity: 0.5; flex-shrink: 0; mix-blend-mode: multiply; transition: opacity .2s ease, filter .2s ease; }
.marquee-track img.logo:hover { opacity: 0.9; filter: grayscale(0); }
@keyframes sgmarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- culture gallery (about) ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-grid figure { margin: 0; overflow: hidden; border-radius: 14px; aspect-ratio: 4 / 3; position: relative; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.gallery-grid figure:hover img { transform: scale(1.06); }
.gallery-grid figure::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); border-radius: 14px; pointer-events: none; }
@media (max-width: 767.98px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }


/* ===================================================================
   CARDS / GRID
   =================================================================== */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.cap-card { background: var(--bg); padding: 36px 32px 40px; display: flex; flex-direction: column; min-height: 240px; transition: background .2s; }
.cap-card:hover { background: #fff; }
.cap-no { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--muted); }
.cap-ico { width: 48px; height: 48px; border-radius: 12px; background: rgba(236,97,0,0.10); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 22px; transition: background .2s, color .2s; }
.cap-card:hover .cap-ico { background: var(--accent); color: #fff; }
.cap-title { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 10px; }
.cap-desc { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }
.cap-more { margin-top: auto; padding-top: 20px; font-size: 13.5px; font-weight: 600; color: var(--accent); }

/* dark band */
.band-dark { background: var(--dark); color: #fff; }
.step { border-top: 1px solid var(--line); padding-top: 24px; }
.band-dark .step { border-top: 1px solid var(--dark-line); padding-top: 24px; }
.step-no { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--accent-2); margin-bottom: 14px; }
.step-title { font-size: 19px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.step-desc { font-size: 14px; line-height: 1.6; color: #9CA0AB; }

/* industries list */
.ind-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.ind-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; border-bottom: 1px solid var(--line); transition: padding .2s; }
.ind-row:hover { padding-left: 16px; }
.ind-row .left { display: flex; align-items: center; gap: 18px; }
.ind-row .ico { width: 46px; height: 46px; border-radius: 11px; background: rgba(236,97,0,0.08); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 21px; flex-shrink: 0; transition: background .2s, color .2s; }
.ind-row:hover .ico { background: var(--accent); color: #fff; }
.val-ico { width: 48px; height: 48px; border-radius: 12px; background: rgba(236,97,0,0.10); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.ind-row .nm { font-size: 23px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.ind-row .nt { font-size: 14px; color: var(--muted); font-weight: 500; }
.placeholder-vis {
  background: repeating-linear-gradient(135deg, var(--panel), var(--panel) 11px, #ECEAE2 11px, #ECEAE2 22px);
  border: 1px solid var(--line); border-radius: 18px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  min-height: 300px; color: #A9A69C;
}

/* tech chips */
.chip { font-size: 14.5px; font-weight: 600; color: #3A3D45; background: var(--bg); border: 1px solid var(--line); padding: 10px 17px; border-radius: 100px; transition: all .15s; display: inline-block; }
.tech-pill { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: #3A3D45; background: var(--bg); border: 1px solid var(--line); padding: 9px 16px 9px 12px; border-radius: 100px; transition: all .15s; }
.tech-pill img { height: 20px; width: 22px; object-fit: contain; filter: grayscale(1); opacity: 0.65; transition: all .15s; }
.tech-pill:hover { border-color: var(--accent); color: var(--ink); }
.tech-pill:hover img { filter: grayscale(0); opacity: 1; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip-light { background: var(--panel); }

/* testimonials */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; height: 100%; }
.quote-mark { font-size: 38px; line-height: 1; color: var(--accent); font-weight: 800; margin-bottom: 14px; }
.quote-text { font-size: 16.5px; line-height: 1.62; color: #2D3037; margin: 0 0 26px; font-weight: 500; flex: 1; }
.quote-foot { display: flex; align-items: center; gap: 13px; border-top: 1px solid var(--line); padding-top: 20px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--dark); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; overflow: hidden; flex-shrink: 0; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.q-name { font-size: 15px; font-weight: 700; color: var(--ink); display:block; }
.q-role { font-size: 13px; color: var(--muted); }

/* case study + results */
.case-img { background: repeating-linear-gradient(135deg, #ECEAE3, #ECEAE3 12px, #F4F2EC 12px, #F4F2EC 24px); border: 1px solid var(--line); border-radius: 18px; aspect-ratio: 4 / 3; display: flex; align-items: flex-end; padding: 18px; }
.case-img .ph { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.result-stat { border-top: 2px solid var(--accent); padding-top: 16px; }
.result-num { font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.result-lbl { font-size: 13px; color: var(--ink-soft); margin-top: 10px; line-height: 1.45; }

/* faq accordion */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ico { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 18px; line-height: 1; transition: transform .25s ease, background .2s, color .2s, border-color .2s; }
.faq-item[open] .faq-ico { transform: rotate(45deg); background: var(--accent); color: #fff; border-color: var(--accent); }
.faq-body { padding: 0 48px 26px 0; font-size: 15.5px; line-height: 1.65; color: var(--ink-soft); margin: 0; }

/* insights */
.post-thumb { background: rgba(236,97,0,0.06); border: 1px solid var(--line); border-radius: 14px; height: 190px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; overflow: hidden; }
.post-thumb i { font-size: 46px; color: var(--accent); opacity: 0.9; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-cat { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; display:block; }
.post-title { font-size: 18.5px; font-weight: 700; line-height: 1.32; letter-spacing: -0.01em; color: var(--ink); transition: color .15s; }
.post-card:hover .post-title { color: var(--accent); }

/* CTA */
.cta-box { background: #FAEEE3; border: 1px solid #F1DAC8; border-radius: 26px; padding: 80px 56px; position: relative; overflow: hidden; }
.cta-box .btn-light2 { background: var(--accent); color: #fff; }
.cta-box .btn-light2:hover { background: #15171B; color: #fff; }
.cta-glow { position: absolute; top: -120px; right: -80px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(236,97,0,0.16), transparent 68%); }

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer { background: var(--dark-2); color: #fff; }
.foot-brand { display: inline-flex; align-items: center; background: #fff; padding: 12px 16px; border-radius: 12px; margin-bottom: 22px; }
.foot-brand img { height: 38px; width: auto; display: block; }
.foot-title { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #6B6F79; margin-bottom: 18px; }
.foot-link { display: block; font-size: 14px; color: #C7CAD1; margin-bottom: 11px; transition: color .15s; }
.foot-link:hover { color: #fff; }
.soc { width: 38px; height: 38px; border-radius: 9px; background: #2A2E37; border: 1px solid transparent; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; transition: all .15s; }
.soc:hover { border-color: var(--accent); color: #fff; background: var(--accent); }
.office-city { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 5px; letter-spacing: -0.01em; }
.office-addr { font-size: 13px; color: #9CA0AB; line-height: 1.55; }
.foot-contact { display: inline-block; font-size: 19px; font-weight: 700; color: #fff; letter-spacing: -0.01em; margin-bottom: 10px; transition: color .15s; }
.foot-contact:hover { color: var(--accent); }
.foot-cta { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #fff; border: 1px solid var(--dark-line); padding: 11px 18px; border-radius: 10px; transition: all .15s; }
.foot-cta:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.foot-offices { border-top: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line); padding: 38px 0; }
.office-card { border-left: 2px solid var(--accent); padding-left: 16px; }
.office-tag { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.badge2 { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: #6B6F79; border: 1px solid var(--dark-line); padding: 6px 11px; border-radius: 7px; white-space: nowrap; }
.cert { background: #2A2E37; border-radius: 8px; padding: 8px 12px; display: inline-flex; align-items: center; transition: all .15s; }
.cert:hover { transform: translateY(-2px); background: #343841; }
.cert img { height: 22px; width: auto; display: block; filter: brightness(0) invert(1); opacity: 0.78; transition: opacity .15s; }
.cert:hover img { opacity: 1; }

/* ===================================================================
   REVEAL ANIMATION
   =================================================================== */
/* Reveal entrance disabled: this runtime pauses CSS animations/transitions,
   which froze content at opacity 0. Content is always statically visible.
   Hover micro-interactions and the hero canvas remain. */
.reveal { opacity: 1 !important; transform: none !important; }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
.py-inner { padding-top: 90px; padding-bottom: 90px; }

/* Video testimonial thumbnails */
.vtesti-thumb {
  position: relative;
  cursor: pointer;
  border-radius: 16px;
  overflow: hidden;
  display: block;
}
.vtesti-thumb img { display: block; width: 100%; transition: transform 0.3s ease; }
.vtesti-thumb:hover img { transform: scale(1.03); }
.vtesti-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.32);
  transition: background 0.2s;
}
.vtesti-thumb:hover .vtesti-play { background: rgba(0,0,0,0.48); }
.vtesti-play i { font-size: 64px; color: #fff; opacity: 0.92; text-shadow: 0 2px 16px rgba(0,0,0,0.5); }

@media (max-width: 991.98px) {
  .main-nav, .nav-bar .btn-ink { display: none; }
  .nav-toggle { display: flex; }
  .cap-grid { grid-template-columns: 1fr; }
  .mega { display: none !important; }
}
@media (max-width: 767.98px) {
  .section, .section-sm { padding: 64px 0; }
  .hero { padding: 56px 0 64px; }
  .cta-box { padding: 48px 28px; }
  .stat-row { gap: 28px; }
  .stat-num { font-size: 28px; }
  .nav-bar { gap: 12px; }
  .brand img { height: 34px; }
  .band-dark > .maxw { padding-bottom: 56px !important; }
  .trusted > .maxw { padding-top: 56px !important; padding-bottom: 56px !important; }
  .py-inner { padding-top: 56px !important; padding-bottom: 56px !important; }
  .cap-card { padding: 28px 24px 32px; }
  .quote-card { padding: 24px 20px; }
  .trusted-inner { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 0; }
  .ind-row .nm { font-size: 18px; }
  .ind-row .nt { font-size: 12px; }
}

/* ═══════════════════════════════════════════════════════════
   BLOG-SPECIFIC STYLES
   ═══════════════════════════════════════════════════════════ */

/* ── Post Card ───────────────────────────────────────────── */
.post-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.22s, transform 0.22s;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.post-card:hover { box-shadow: 0 12px 40px rgba(20,22,27,.10); transform: translateY(-3px); }
.post-card-img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; }
.post-card-fallback {
  width: 100%;
  aspect-ratio: 3/2;
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--muted);
}
.post-card-body { padding: 22px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.post-card-cat {
  font-size: 11px;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.post-card-title {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
  text-decoration: none;
}
.post-card-title:hover { color: var(--accent); }
.post-card-excerpt { font-size: 14px; line-height: 1.6; color: var(--ink-soft); flex: 1; margin-bottom: 16px; }
.post-card-meta { font-size: 13px; color: var(--muted); font-family: 'IBM Plex Mono', monospace; }
@media (max-width: 767px) { .post-card-excerpt { display: none; } }

/* ── Category Filter Pills ───────────────────────────────── */
.cat-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 48px; }
.cat-filter a {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-family: 'IBM Plex Mono', monospace;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
  background: var(--panel);
  color: var(--ink-soft);
  white-space: nowrap;
}
.cat-filter a:hover, .cat-filter a.active { background: var(--accent); color: #fff; }
@media (max-width: 576px) {
  .cat-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .cat-filter::-webkit-scrollbar { display: none; }
}

/* ── Prose (classic editor content) ─────────────────────── */
.prose { font-size: 17px; line-height: 1.75; color: var(--ink-soft); }
.prose h2, .prose h3, .prose h4 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  color: var(--ink);
  margin-top: 2em;
  margin-bottom: 0.6em;
}
.prose h2 { font-size: clamp(22px, 2.8vw, 32px); }
.prose h3 { font-size: clamp(18px, 2.2vw, 24px); }
.prose h4 { font-size: 18px; }
.prose p { margin-bottom: 1.4em; }
.prose a { color: var(--accent); text-decoration: underline; }
.prose a:hover { color: var(--accent-2); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose blockquote {
  border-left: 4px solid var(--accent);
  padding: 14px 0 14px 22px;
  margin: 28px 0;
  font-style: italic;
  color: var(--ink-soft);
}
.prose blockquote p { margin-bottom: 0; }
.prose code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.875em;
  background: var(--panel);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--ink);
}
.prose pre {
  background: var(--dark);
  color: #e2e8f0;
  padding: 22px 24px;
  border-radius: 10px;
  overflow-x: auto;
  margin: 28px 0;
}
.prose pre code { background: none; padding: 0; color: inherit; font-size: 0.875em; }
.prose img { max-width: 100%; border-radius: 10px; margin: 28px 0; display: block; }
.prose ul, .prose ol { padding-left: 1.5em; margin-bottom: 1.4em; }
.prose li { margin-bottom: 0.4em; }
.prose .table-wrap { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; margin: 28px 0; }
.prose th {
  background: var(--panel);
  font-weight: 700;
  color: var(--ink);
  padding: 10px 14px;
  text-align: left;
  border-bottom: 2px solid var(--line);
}
.prose td { padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.prose tr:nth-child(even) td { background: var(--panel-2); }
.prose hr { border: none; border-top: 1px solid var(--line); margin: 40px 0; }
@media (max-width: 576px) {
  .prose { font-size: 16px; }
  .prose pre { padding: 16px 18px; }
}

/* ── Author Bio ──────────────────────────────────────────── */
.author-bio {
  background: var(--panel-2);
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin: 40px 0;
}
.author-bio-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-bio-name { font-family: 'Inter Tight', sans-serif; font-weight: 700; font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.author-bio-text { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
@media (max-width: 576px) {
  .author-bio { flex-direction: column; align-items: center; text-align: center; padding: 24px 20px; }
}

/* ── Sidebar Widgets ─────────────────────────────────────── */
.sidebar-widget { background: var(--panel-2); border-radius: 14px; padding: 24px; margin-bottom: 24px; }
.sidebar-widget .search-form { display: flex; gap: 8px; }
.sidebar-widget .search-field {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink);
  background: var(--bg);
  outline: none;
  transition: border-color 0.18s;
}
.sidebar-widget .search-field:focus { border-color: var(--accent); }
.sidebar-widget .search-submit {
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s;
}
.sidebar-widget .search-submit:hover { background: var(--accent-2); }
.sidebar-widget ul { list-style: none; padding: 0; margin: 0; }
.sidebar-widget ul li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.sidebar-widget ul li:last-child { border-bottom: none; }
.sidebar-widget ul a { color: var(--ink-soft); text-decoration: none; }
.sidebar-widget ul a:hover { color: var(--accent); }
.sidebar-widget .count,
.sidebar-widget .post-date { color: var(--muted); font-size: 13px; white-space: nowrap; }
.sidebar-widget .tag-cloud-link {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--panel);
  color: var(--ink-soft);
  font-size: 13px !important;
  text-decoration: none;
  margin: 3px;
  transition: background 0.18s, color 0.18s;
}
.sidebar-widget .tag-cloud-link:hover { background: var(--accent); color: #fff; }
@media (max-width: 991px) {
  .sidebar-sticky { position: static !important; }
}

/* ── Pagination ──────────────────────────────────────────── */
.pagination-sgc { display: flex; gap: 6px; justify-content: center; padding: 40px 0 0; flex-wrap: wrap; }
.pagination-sgc .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-soft);
  background: var(--panel);
  transition: background 0.18s, color 0.18s;
}
.pagination-sgc .page-numbers.current,
.pagination-sgc .page-numbers:hover { background: var(--accent); color: #fff; }
.pagination-sgc .page-numbers.dots { background: none; cursor: default; }

/* ── Comments ────────────────────────────────────────────── */
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment-list .comment { padding: 20px 0; border-bottom: 1px solid var(--line); }
.comment-author { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.comment-author img { width: 44px; height: 44px; border-radius: 50%; }
.comment-author .fn { font-weight: 700; color: var(--ink); font-size: 15px; }
.comment-metadata { font-size: 12px; color: var(--muted); font-family: 'IBM Plex Mono', monospace; }
.comment-metadata a { color: var(--muted); text-decoration: none; }
.comment-content p { font-size: 15px; color: var(--ink-soft); line-height: 1.65; margin-top: 8px; }
.comment-reply-link {
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.comment-form label { font-size: 14px; font-weight: 600; color: var(--ink); display: block; margin-bottom: 6px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: 14.5px;
  color: var(--ink);
  background: var(--bg);
  margin-bottom: 16px;
  outline: none;
  transition: border-color 0.18s;
  font-family: 'Manrope', sans-serif;
}
.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--accent); }
.comment-form textarea { min-height: 120px; resize: vertical; }
.comment-form #submit {
  padding: 12px 28px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter Tight', sans-serif;
  transition: background 0.18s;
}
.comment-form #submit:hover { background: var(--accent-2); }
