/* =============================================
   RETAIL IT — Ghost Theme
   ============================================= */

/* Variables */
:root {
  --accent: #009FE3;
  --primary: #1D1D1B;
  --navy: #1a2b4a;
  --white: #ffffff;
  --light-bg: #f7f8fa;
  --border: #e8eaed;
  --text-muted: #6b7280;
  --max-width: 1200px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 6px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--primary); line-height: 1.6; background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1;
}
.btn--primary {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
}
.btn--primary:hover {
  background: #007fc0;
  border-color: #007fc0;
  text-decoration: none;
  color: var(--white);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--navy);
  text-decoration: none;
}
.btn--secondary {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn--secondary:hover {
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
}
.btn--nav {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
  padding: 8px 20px;
  font-size: 0.875rem;
}
.btn--nav:hover {
  background: #007fc0;
  border-color: #007fc0;
  text-decoration: none;
  color: var(--white);
}

/* =============================================
   TOP UTILITY BAR
   ============================================= */
.top-bar {
  background: var(--navy);
  padding: 7px 24px;
}
.top-bar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  align-items: center;
}
.top-bar__item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 0.15s;
}
.top-bar__item:hover { color: var(--white); text-decoration: none; }
.top-bar__item svg { flex-shrink: 0; opacity: 0.8; }

/* =============================================
   HEADER / NAV
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.site-header__logo { display: flex; align-items: center; }
.site-header__logo img { height: 64px; width: auto; }
.site-header__logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.site-header__logo-text:hover { text-decoration: none; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav__link {
  display: block;
  padding: 8px 14px;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: var(--radius);
  transition: background 0.15s;
}
.site-nav__link:hover, .site-nav__link.active {
  background: var(--light-bg);
  color: var(--accent);
  text-decoration: none;
}
.site-nav__item--cta { margin-left: 8px; }
.site-nav__toggle { display: none; }

/* Dropdown */
.site-nav__item--has-dropdown { position: relative; }
.site-nav__item--has-dropdown > .site-nav__link::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 5px;
  vertical-align: middle;
  opacity: 0.6;
}
.site-nav__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  min-width: 220px;
  padding: 6px 0;
  z-index: 200;
}
.site-nav__item--has-dropdown:hover .site-nav__dropdown { display: block; }
.site-nav__dropdown li { list-style: none; }
.site-nav__dropdown-link {
  display: block;
  padding: 9px 16px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.site-nav__dropdown-link:hover {
  background: var(--light-bg);
  color: var(--accent);
  text-decoration: none;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0d1f3c 100%);
  color: var(--white);
  padding: 140px 24px 80px;
  min-height: 65vh;
  text-align: center;
  position: relative;
}
.hero--has-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero--has-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 30, 60, 0.65);
}
.hero--has-image .hero__inner { position: relative; z-index: 1; }
.hero__inner {
  max-width: 720px;
  margin: 0 auto;
}
.hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.7;
  opacity: 0.88;
  margin-bottom: 40px;
}
.hero__ctas {
  display: flex;
  gap: 12px;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   CREDENTIALS BAR
   ============================================= */
.cred-bar {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.cred-bar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.cred-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--white);
  padding: 8px 20px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.cred-item:last-child { border-right: none; }
.cred-item__number {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
}
.cred-item__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
  margin-top: 6px;
  max-width: 160px;
}

/* =============================================
   SERVICES BAR
   ============================================= */
.svc-bar {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.svc-bar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}
.svc-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--white);
  padding: 10px 24px;
  border-right: 1px solid rgba(255,255,255,0.15);
  text-decoration: none;
  transition: opacity 0.2s;
}
.svc-item:last-child { border-right: none; }
.svc-item:hover { opacity: 0.7; text-decoration: none; }
.svc-item__icon { font-size: 1.6rem; margin-bottom: 4px; }
.svc-item__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-section {
  padding: 80px 24px;
  background: var(--white);
}
.about-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}
.about-section__text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--navy);
  letter-spacing: -0.5px;
}
.about-section__text p {
  font-size: 1rem;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 18px;
}
.about-section__text .btn { margin-top: 8px; }
.about-section__image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  max-height: 420px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
@media (max-width: 900px) {
  .about-section__inner { grid-template-columns: 1fr; }
  .about-section__image { order: -1; }
  .about-section__image img { max-height: 280px; }
}

/* =============================================
   CONTACT PAGE LAYOUT
   ============================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 32px;
}
.contact-layout__form .demo-form { max-width: 480px; }
.contact-layout__image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 32px;
  object-fit: cover;
  max-height: 220px;
}
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-detail { display: flex; flex-direction: column; gap: 4px; }
.contact-detail__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 2px;
}
.contact-detail__value {
  font-size: 0.95rem;
  color: var(--primary);
  text-decoration: none;
}
a.contact-detail__value:hover { color: var(--accent); }
.contact-detail__note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}
@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* =============================================
   DEMO FORM
   ============================================= */
.demo-form { max-width: 720px; margin-top: 32px; }
.demo-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.demo-form__field { margin-bottom: 20px; }
.demo-form__field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}
.demo-form__field .required { color: var(--accent); }
.demo-form__field input,
.demo-form__field textarea,
.demo-form__field select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fafafa;
  color: var(--primary);
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.demo-form__field input:focus,
.demo-form__field textarea:focus,
.demo-form__field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,159,227,0.12);
  background: var(--white);
}
.demo-form__field select[multiple] { padding: 4px; }
.demo-form__field select[multiple] option { padding: 6px 10px; }
.demo-form__hint { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; display: block; }
.demo-form__error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}
.demo-form__submit { margin-top: 8px; }
.demo-form__success {
  text-align: center;
  padding: 48px 24px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  margin-top: 24px;
}
.demo-form__success-icon {
  font-size: 3rem;
  color: #16a34a;
  margin-bottom: 16px;
}
.demo-form__success h3 { font-size: 1.5rem; margin-bottom: 12px; }

/* =============================================
   CLIENT LOGOS BAR
   ============================================= */
.clients-bar {
  padding: 48px 24px;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.clients-bar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px 40px;
}
.clients-bar__logo {
  height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: filter 0.25s, opacity 0.25s;
}
.clients-bar__logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* =============================================
   NEWS SECTION (homepage)
   ============================================= */
.news-section {
  padding: 80px 24px;
  background: var(--light-bg);
}
.news-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.news-section h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 40px;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-bottom: 40px;
}
.news-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
}
.news-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.news-card__image-link { display: block; }
.news-card__image { width: 100%; height: 200px; object-fit: cover; }
.news-card__body { padding: 24px; }
.news-card__date { font-size: 0.8rem; color: var(--text-muted); display: block; margin-bottom: 8px; }
.news-card__title { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; line-height: 1.4; }
.news-card__title a { color: var(--primary); }
.news-card__title a:hover { color: var(--accent); text-decoration: none; }
.news-card__excerpt { font-size: 0.9rem; color: #4b5563; line-height: 1.6; margin-bottom: 16px; }
.news-card__link { font-size: 0.875rem; font-weight: 600; color: var(--accent); }
.news-section__more { text-align: center; }

/* =============================================
   PAGE HEADER (news listing, static pages)
   ============================================= */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 60px 24px;
}
.page-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.page-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.page-header p {
  font-size: 1.1rem;
  opacity: 0.8;
}

/* =============================================
   POST FEED (news listing)
   ============================================= */
.post-feed { padding: 60px 24px; }
.post-feed__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}
.post-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.post-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.post-card__image-link { display: block; }
.post-card__image { width: 100%; height: 220px; object-fit: cover; }
.post-card__body { padding: 28px; }
.post-card__date { font-size: 0.8rem; color: var(--text-muted); display: block; margin-bottom: 10px; }
.post-card__title { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; line-height: 1.4; }
.post-card__title a { color: var(--primary); }
.post-card__title a:hover { color: var(--accent); text-decoration: none; }
.post-card__excerpt { font-size: 0.9rem; color: #4b5563; line-height: 1.65; margin-bottom: 16px; }
.post-card__link { font-size: 0.875rem; font-weight: 600; color: var(--accent); }

/* Pagination */
.pagination {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}
.pagination a { font-weight: 600; color: var(--accent); }
.pagination .page-number { color: var(--text-muted); font-size: 0.9rem; }

/* =============================================
   POST FULL (single article)
   ============================================= */
.post-full { max-width: 760px; margin: 0 auto; padding: 60px 24px; }
.post-full__header { margin-bottom: 40px; }
.post-full__tag {
  display: inline-block;
  background: var(--light-bg);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.post-full__tag a { color: inherit; }
.post-full__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  color: var(--primary);
}
.post-full__meta { font-size: 0.875rem; color: var(--text-muted); }
.post-full__reading-time { margin-left: 4px; }
.post-full__image { margin-bottom: 40px; border-radius: 10px; overflow: hidden; }
.post-full__image img { width: 100%; }
.post-full__image figcaption { text-align: center; font-size: 0.85rem; color: var(--text-muted); padding: 10px; }
.post-full__footer { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.post-nav { display: flex; justify-content: space-between; margin-top: 24px; gap: 16px; flex-wrap: wrap; }
.post-nav__link { font-size: 0.9rem; font-weight: 600; color: var(--accent); }
.post-nav__link--next { margin-left: auto; }

/* Ghost content styles */
.gh-content h2, .gh-content h3, .gh-content h4 {
  font-weight: 700;
  line-height: 1.3;
  margin: 2em 0 0.75em;
  color: var(--primary);
}
.gh-content h2 { font-size: 1.6rem; letter-spacing: -0.3px; }
.gh-content h3 { font-size: 1.3rem; }
.gh-content p { font-size: 1.05rem; line-height: 1.8; color: #374151; margin-bottom: 1.5em; }
.gh-content a { color: var(--accent); text-decoration: underline; }
.gh-content ul, .gh-content ol { margin: 0 0 1.5em 1.5em; }
.gh-content li { margin-bottom: 0.5em; font-size: 1.05rem; line-height: 1.75; color: #374151; }
.gh-content blockquote {
  border-left: 4px solid var(--accent);
  padding: 12px 24px;
  margin: 2em 0;
  background: var(--light-bg);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: #4b5563;
}
.gh-content img { border-radius: var(--radius); margin: 2em auto; }
.gh-content figure { margin: 2em 0; }
.gh-content figcaption { text-align: center; font-size: 0.85rem; color: var(--text-muted); margin-top: 8px; }
.gh-content pre {
  background: #1e293b;
  color: #e2e8f0;
  padding: 20px 24px;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 2em 0;
  font-size: 0.9rem;
  line-height: 1.6;
}
.gh-content code { font-family: 'Courier New', monospace; font-size: 0.9em; }
.gh-content p code {
  background: var(--light-bg);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--primary);
}
.gh-content hr { border: none; border-top: 1px solid var(--border); margin: 3em 0; }

/* =============================================
   PAGE FULL (static pages)
   ============================================= */
.page-full { max-width: 760px; margin: 0 auto; padding: 60px 24px; }
.page-full__header { margin-bottom: 40px; }
.page-full__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--primary);
  margin-bottom: 16px;
}
.page-full__excerpt { font-size: 1.2rem; color: var(--text-muted); line-height: 1.6; }
.page-full__image { margin-bottom: 40px; border-radius: 10px; overflow: hidden; }
.page-full__image img { width: 100%; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #1a2b4a;
  color: rgba(255,255,255,0.75);
  padding: 40px 24px 0;
  margin-top: 48px;
}
.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  align-items: start;
}
.site-footer__logo { height: 100px; width: auto; filter: brightness(0) invert(1); margin-bottom: 8px; display: block; }
.site-footer__logo-text { font-size: 1.1rem; font-weight: 800; color: var(--white); }
.site-footer__tagline { font-size: 0.8rem; margin-top: 6px; opacity: 0.6; line-height: 1.4; }
.site-footer__cols { display: flex; gap: 48px; }
.site-footer__col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 14px;
}
.site-footer__col ul li { margin-bottom: 8px; }
.site-footer__col ul li a { color: rgba(255,255,255,0.65); font-size: 0.875rem; transition: color 0.15s; }
.site-footer__col ul li a:hover { color: var(--accent); text-decoration: none; }
.site-footer__bottom { padding: 14px 24px; }
.site-footer__bottom-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.site-footer__bottom p { font-size: 0.8rem; opacity: 0.45; margin: 0; }
.site-footer__bottom-links { display: flex; align-items: center; gap: 0; }
.site-footer__bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  padding: 0 12px;
  border-right: 1px solid rgba(255,255,255,0.2);
  transition: color 0.15s;
}
.site-footer__bottom-links a:last-child { border-right: none; padding-right: 0; }
.site-footer__bottom-links a:hover { color: rgba(255,255,255,0.9); }

/* =============================================
   KOENIG EDITOR CONTENT WIDTH
   ============================================= */

/* =============================================
   TABLES (used in privacy policy etc.)
   ============================================= */
.page-full table, .gh-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9rem;
  overflow-x: auto;
  display: block;
}
.page-full table th, .gh-content table th {
  background: var(--navy);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.page-full table td, .gh-content table td {
  padding: 10px 16px;
  border: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.6;
}
.page-full table td:nth-child(2), .gh-content table td:nth-child(2) {
  white-space: nowrap;
}
.page-full table tr:nth-child(even) td,
.gh-content table tr:nth-child(even) td {
  background: #f8f9fa;
}
.page-full table tr:hover td,
.gh-content table tr:hover td {
  background: #eef6ff;
}
.gh-content .kg-width-wide {
  margin-left: -8%;
  margin-right: -8%;
}
.gh-content .kg-width-full {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  max-width: 100vw;
}
.gh-content .kg-image { max-width: 100%; margin: 0 auto; }
.gh-content .kg-image-card { margin: 2em 0; }
.gh-content .kg-image-card figcaption { text-align: center; font-size: 0.85rem; color: var(--text-muted); padding: 8px; }
.gh-content .kg-gallery-card { margin: 2em 0; }
.gh-content .kg-gallery-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.gh-content .kg-gallery-image img { width: 100%; height: 200px; object-fit: cover; border-radius: 4px; }
.gh-content .kg-embed-card { margin: 2em 0; }
.gh-content .kg-bookmark-card { margin: 2em 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.gh-content .kg-bookmark-container { display: flex; text-decoration: none; color: inherit; }
.gh-content .kg-bookmark-container:hover { background: var(--light-bg); }
.gh-content .kg-bookmark-content { padding: 20px; flex: 1; }
.gh-content .kg-bookmark-title { font-weight: 600; margin-bottom: 6px; }
.gh-content .kg-bookmark-description { font-size: 0.875rem; color: var(--text-muted); }
.gh-content .kg-bookmark-thumbnail { width: 160px; flex-shrink: 0; }
.gh-content .kg-bookmark-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.gh-content .kg-callout-card { margin: 2em 0; display: flex; gap: 16px; background: var(--light-bg); border-radius: var(--radius); padding: 20px; }
.gh-content .kg-callout-emoji { font-size: 1.5rem; }
.gh-content .kg-toggle-card { margin: 2em 0; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.gh-content .kg-toggle-heading-text { font-weight: 600; }
.gh-content .kg-video-card { margin: 2em 0; }
.gh-content .kg-audio-card { margin: 2em 0; }
.gh-content .kg-file-card { margin: 2em 0; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; display: flex; align-items: center; gap: 12px; }

/* =============================================
   PAGE TEMPLATE
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0d1f3c 100%);
  color: var(--white);
  padding: 40px 24px;
  text-align: center;
  position: relative;
}
.page-hero--has-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-hero--has-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 30, 60, 0.72);
}
.page-hero--has-image .page-hero__inner {
  position: relative;
  z-index: 1;
}
.page-hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.page-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 16px;
}
.page-hero__sub {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}
.page-content {
  padding: 72px 24px;
}
.page-content__inner {
  max-width: 860px;
  margin: 0 auto;
}
.page-content__inner h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin: 48px 0 16px;
}
.page-content__inner h2:first-child { margin-top: 0; }
.page-content__inner h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 32px 0 12px;
}
.page-content__inner p {
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 1.05rem;
  color: #374151;
}
.page-content__inner ul {
  list-style: none;
  margin-bottom: 24px;
}
.page-content__inner ul li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: #374151;
  font-size: 1.05rem;
  line-height: 1.6;
}
.page-content__inner ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.page-content__inner .service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  margin: 32px 0;
}
.service-card {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 28px 24px;
  border-left: 4px solid var(--accent);
}
.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 10px;
}
.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px;
  margin: 32px 0;
}
.contact-block {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.contact-block h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 16px;
}
.contact-block p {
  margin: 0 0 8px;
  font-size: 1rem;
  color: #374151;
}
.contact-block a {
  color: var(--accent);
  font-weight: 600;
}
.contact-block .big-number {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
}
/* =============================================
   CEGID RETAIL PAGE — intro, sectors, testimonial
   ============================================= */
.cr-intro {
  padding: 72px 24px;
  background: var(--light-bg);
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.cr-intro__inner {
  max-width: 760px;
  margin: 0 auto;
}
.cr-intro__heading {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.cr-intro__text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 32px;
}
.cr-intro__ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.feature-card__image {
  width: calc(100% + 56px);
  margin: -28px -28px 20px -28px;
  height: 160px;
  object-fit: cover;
  display: block;
  border-bottom: 3px solid var(--accent);
}
.feature-card__placeholder {
  width: calc(100% + 56px);
  margin: -28px -28px 20px -28px;
  height: 160px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 3px solid var(--accent);
}
.sectors-strip {
  padding: 56px 24px;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.sectors-strip__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}
.sectors-strip__heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.sectors-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.sector-pill {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 8px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}
.testimonial {
  background: var(--navy);
  color: var(--white);
  padding: 72px 24px;
  text-align: center;
}
.testimonial__inner {
  max-width: 680px;
  margin: 0 auto;
}
.testimonial__logo {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.6;
  margin: 0 auto 32px;
  display: block;
}
.testimonial__quote {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 24px;
  color: var(--white);
}
.testimonial__author {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.9;
  margin-bottom: 4px;
}
.testimonial__company {
  font-size: 0.85rem;
  opacity: 0.5;
}
.testimonial__stats {
  display: flex;
  gap: 64px;
  justify-content: center;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
  flex-wrap: wrap;
}
.testimonial__stat {
  text-align: center;
}
.testimonial__stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}
.testimonial__stat-label {
  font-size: 0.875rem;
  opacity: 0.65;
  display: block;
  max-width: 180px;
}

/* Cegid Retail page */
.cegid-page {
  padding: 64px 24px;
}
.cegid-page__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.cegid-page__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.cegid-page__sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 700px;
}
.cegid-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 64px;
}
.cegid-intro__image img {
  width: 100%;
  border-radius: 8px;
  display: block;
  box-shadow: -5px 5px 20px -6px rgba(0,0,0,0.4);
}
.cegid-intro__headline {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.5;
}
.cegid-intro__text p { margin-bottom: 14px; line-height: 1.7; }
.cegid-intro__ctas {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.btn--outline {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
}
.btn--outline:hover {
  background: var(--accent);
  color: var(--white);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  border-top: 3px solid var(--accent);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.feature-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
}
.feature-card__sub {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 12px;
}
.feature-card__desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 16px;
}
.feature-card__more {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  margin-top: auto;
}
.feature-card__more:hover { text-decoration: underline; }

/* Detail pages (y2-*-details) */
.detail-page { padding: 60px 0; }
.detail-page__inner { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.detail-page__back {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 24px;
}
.detail-page__back:hover { text-decoration: underline; }
.detail-page__title {
  font-size: 2rem;
  color: var(--navy);
  margin: 0 0 32px;
}
.detail-page__content img { max-width: 100%; height: auto; border-radius: 6px; margin: 16px 0; }

/* Resources page */
.resources-page {
  padding: 64px 24px;
}
.resources-page__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.resources-page__header {
  margin-bottom: 48px;
}
.resources-page__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.resources-page__sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.resource-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.resource-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.resource-card__image {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.resource-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.resource-card:hover .resource-card__image img {
  transform: scale(1.03);
}
.resource-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.resource-card__tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
}
.resource-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 10px;
  line-height: 1.4;
}
.resource-card__title a {
  text-decoration: none;
  color: inherit;
}
.resource-card__title a:hover { color: var(--accent); }
.resource-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 16px;
  flex: 1;
}
.resource-card__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  margin-top: auto;
}
.resource-card__link:hover { text-decoration: underline; }
.resources-empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Logo grid (Partners / Clients) */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}
.logo-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
}
.logo-card img {
  max-width: 100%;
  max-height: 56px;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter 0.2s;
}
.logo-card:hover img { filter: none; }

/* Contact page */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.contact-detail:last-child { border-bottom: none; padding-bottom: 0; }
.contact-detail__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.contact-detail__value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}
.contact-detail__value:hover { color: var(--accent); }
.contact-detail__note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.contact-demo {
  background: var(--light-bg);
  border-radius: 12px;
  padding: 40px;
  max-width: 720px;
  margin-bottom: 56px;
}
.contact-demo__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 16px;
}
.contact-demo p { margin-bottom: 12px; line-height: 1.7; }
.contact-demo a { color: var(--accent); }

/* About Us page */
.about-page {
  padding: 64px 24px;
}
.about-page__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.about-page__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.about-page__sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 700px;
}
.about-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 56px;
}
.about-top__image img {
  width: 100%;
  border-radius: 8px;
  display: block;
  box-shadow: -5px 5px 20px -6px rgba(0,0,0,0.4);
}
.about-top__kfa h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 20px;
}
.about-top__kfa ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.about-top__kfa ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 7px 0;
  line-height: 1.6;
}
.about-top__kfa ul li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
}
.about-page__body { max-width: 860px; }
.about-page__body p { margin-bottom: 16px; line-height: 1.7; }

.page-cta {
  background: var(--light-bg);
  padding: 64px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.page-cta__inner {
  max-width: 600px;
  margin: 0 auto;
}
.page-cta h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}
.page-cta p {
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .site-nav__list { display: none; flex-direction: column; position: absolute; top: 80px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 16px; gap: 4px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
  .site-nav__list.is-open { display: flex; }
  .site-nav__toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
  .site-nav__toggle span { display: block; width: 24px; height: 2px; background: var(--primary); border-radius: 2px; transition: all 0.2s; }
  .site-header { position: relative; }
  .site-nav { position: static; }

  .hero { padding: 60px 24px; }
  .hero__ctas { flex-direction: column; align-items: center; }

  .cred-bar__inner { gap: 8px; }
  .cred-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); width: 100%; padding: 12px; }
  .cred-item:last-child { border-bottom: none; }

  .svc-bar__inner { gap: 0; }
  .svc-item { padding: 10px 12px; }
  .svc-item__label { font-size: 0.7rem; }

  .site-footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .site-footer__cols { flex-wrap: wrap; gap: 32px; }

  .news-grid { grid-template-columns: 1fr; }
  .post-feed__inner { grid-template-columns: 1fr; }

  .about-top { grid-template-columns: 1fr; gap: 32px; }
  .cegid-intro { grid-template-columns: 1fr; gap: 32px; }
  .feature-grid { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .resource-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .svc-bar__inner { display: grid; grid-template-columns: repeat(3, 1fr); }
  .svc-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
}
