/* ============================================================
   Shared "inner page" component library — Contact, Careers,
   Cloud Capabilities, ISO Certification and future company pages.
   Reuses the --ink-*/--brand-*/--accent-* tokens defined in main.css.
   ============================================================ */

.pg-page { padding-top: 120px; }

/* ---------- Hero ---------- */
.pg-hero {
  position: relative;
  padding: 80px 24px 74px;
  text-align: center;
  background: linear-gradient(180deg, var(--ink-950) 0%, var(--ink-900) 100%);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 3px solid;
  border-image: linear-gradient(90deg, #3B82F6, #10B981, #E74C3C, #F59E0B) 1;
}
/* Fine grid, fading toward the edges so it never fights the copy */
.pg-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 20%, transparent 78%);
}
/* Rich multi-colour glow orbs + a soft spotlight directly behind the copy */
.pg-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(560px circle at 50% 38%, rgba(255, 255, 255, 0.07), transparent 60%),
    radial-gradient(460px circle at 10% 10%, rgba(59, 130, 246, 0.28), transparent 65%),
    radial-gradient(420px circle at 92% 88%, rgba(231, 76, 60, 0.2), transparent 65%),
    radial-gradient(380px circle at 85% 8%, rgba(16, 185, 129, 0.16), transparent 60%);
  filter: blur(4px);
}
.pg-hero-shell {
  max-width: 860px; margin: 0 auto; position: relative; z-index: 1;
  animation: pg-hero-rise .7s cubic-bezier(.16,1,.3,1) both;
}
@keyframes pg-hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.pg-hero-title {
  font-family: var(--font-primary, 'Outfit', sans-serif);
  font-weight: 800; color: #fff; letter-spacing: -.01em;
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin: 0 0 16px;
  text-shadow: 0 2px 24px rgba(0,0,0,.25);
}
.pg-hero-lede { color: var(--ink-200); font-size: 1.05rem; line-height: 1.6; max-width: 640px; margin: 0 auto; }
@media (prefers-reduced-motion: reduce) {
  .pg-hero-shell { animation: none; }
}
/* Brand-echo network graphic — a scaled, faint copy of the logo's
   node/diamond motif, floating in the hero background. */
.pg-hero-graphic { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.pg-hero-graphic svg { position: absolute; opacity: .16; }
.pg-hero-graphic .graphic-primary { width: 620px; height: auto; top: -140px; right: -90px; transform: rotate(8deg); }
.pg-hero-graphic .graphic-secondary { width: 320px; height: auto; bottom: -90px; left: -60px; opacity: .1; transform: rotate(-14deg); }
.pg-hero-graphic .graphic-node { animation: pg-hero-node-pulse 3.2s ease-in-out infinite; }
.pg-hero-graphic .graphic-node:nth-child(2) { animation-delay: .4s; }
.pg-hero-graphic .graphic-node:nth-child(3) { animation-delay: .8s; }
@keyframes pg-hero-node-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
  .pg-hero-graphic .graphic-node { animation: none; }
}
@media (max-width: 700px) {
  .pg-hero-graphic .graphic-primary { width: 380px; top: -90px; right: -110px; }
  .pg-hero-graphic .graphic-secondary { display: none; }
}

/* ---------- Generic section ---------- */
.pg-section { padding: 72px 24px; }
.pg-section--alt { background: var(--surface-sunken, #F7F9FC); }
.pg-shell { max-width: 1140px; margin: 0 auto; }
.pg-section-header { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.pg-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--brand-600); margin-bottom: 10px;
}
.pg-section-title {
  font-family: var(--font-primary, 'Outfit', sans-serif);
  font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.25rem); color: var(--ink-900);
  margin: 0 0 12px;
}
.pg-section-sub { color: var(--ink-500); font-size: 1.02rem; line-height: 1.65; }

/* ---------- Alternating feature row (Cloud Capabilities) ---------- */
.pg-feature-row {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: center;
  padding: 40px 0; border-bottom: 1px solid var(--hairline);
}
.pg-feature-row:last-child { border-bottom: none; }
.pg-feature-row--reverse { grid-template-columns: 1.4fr 1fr; }
.pg-feature-row--reverse .pg-feature-media { order: 2; }
.pg-feature-media img {
  width: 100%; border-radius: 16px; box-shadow: 0 20px 45px rgba(15,30,54,.12);
}
.pg-feature-title { font-family: var(--font-primary, 'Outfit', sans-serif); font-weight: 700; font-size: 1.4rem; color: var(--ink-900); margin: 0 0 14px; display: flex; align-items: center; gap: 12px; }
/* Reusable small icon badge for headings across content pages */
.pg-heading-icon {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-sunken, #F7F9FC); color: var(--brand-600);
}
.pg-feature-text { color: var(--ink-500); line-height: 1.75; font-size: .98rem; }
.pg-feature-text + .pg-feature-text { margin-top: 14px; }
@media (max-width: 860px) {
  .pg-feature-row, .pg-feature-row--reverse { grid-template-columns: 1fr; }
  .pg-feature-row--reverse .pg-feature-media { order: 0; }
}

/* ---------- Certification cards (ISO) ---------- */
.pg-cert-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.pg-cert-card {
  background: var(--surface, #fff); border: 1px solid var(--hairline);
  border-radius: 18px; padding: 28px; box-shadow: 0 10px 30px rgba(15,30,54,.06);
}
.pg-cert-img { width: 100%; border-radius: 12px; margin-bottom: 20px; border: 1px solid var(--hairline); }
.pg-cert-title { display: flex; align-items: center; gap: 12px; font-family: var(--font-primary, 'Outfit', sans-serif); font-weight: 700; font-size: 1.1rem; color: var(--ink-900); margin: 0 0 10px; }
.pg-cert-text { color: var(--ink-500); line-height: 1.7; font-size: .96rem; }
@media (max-width: 760px) { .pg-cert-grid { grid-template-columns: 1fr; } }

/* Certification badge strip */
.pg-cert-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 36px; }
.pg-cert-badge {
  display: flex; align-items: center; gap: 10px; background: var(--surface, #fff); border: 1px solid var(--hairline);
  border-radius: 999px; padding: 10px 20px; box-shadow: 0 8px 20px rgba(15,30,54,.06);
}
.pg-cert-badge-icon { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.pg-cert-badge:nth-child(1) .pg-cert-badge-icon { background: linear-gradient(135deg, #2563EB, #1D4ED8); }
.pg-cert-badge:nth-child(2) .pg-cert-badge-icon { background: linear-gradient(135deg, #10B981, #059669); }
.pg-cert-badge strong { display: block; font-size: .9rem; color: var(--ink-900); }
.pg-cert-badge span { display: block; font-size: .74rem; color: var(--ink-500); }

/* ---------- Job / opening cards (Careers) ---------- */
.pg-jobs-list { display: flex; flex-direction: column; gap: 20px; }
.pg-job-card {
  background: var(--surface, #fff); border: 1px solid var(--hairline);
  border-radius: 16px; padding: 28px 32px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  box-shadow: 0 8px 24px rgba(15,30,54,.05);
}
.pg-job-main { flex: 1; }
.pg-job-title { font-family: var(--font-primary, 'Outfit', sans-serif); font-weight: 700; font-size: 1.2rem; color: var(--ink-900); margin: 0 0 6px; }
.pg-job-exp {
  display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--brand-700);
  background: var(--brand-50); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.pg-job-desc { color: var(--ink-500); line-height: 1.7; font-size: .95rem; }
.pg-job-desc p { margin: 0 0 10px; }
.pg-job-apply {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-signal, #E74C3C); color: #fff; font-weight: 700; font-size: .92rem;
  padding: 12px 22px; border-radius: 10px; text-decoration: none; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pg-job-apply:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(231,76,60,.3); }
@media (max-width: 700px) {
  .pg-job-card { flex-direction: column; }
  .pg-job-apply { width: 100%; justify-content: center; }
}

/* ---------- Contact page ---------- */
.pg-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.pg-contact-grid > div:first-child { display: flex; }
.pg-contact-grid .pg-contact-info-card { width: 100%; }
.pg-contact-info-card {
  position: relative;
  background: linear-gradient(165deg, var(--ink-950) 0%, #0C1830 100%);
  color: #fff; border-radius: 20px; padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 24px 60px rgba(4, 10, 24, 0.35);
  overflow: hidden;
  isolation: isolate;
}
.pg-contact-info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(280px circle at 92% 0%, rgba(59, 130, 246, 0.20), transparent 65%),
    radial-gradient(220px circle at 8% 100%, rgba(231, 76, 60, 0.12), transparent 65%);
}
.pg-contact-info-card > * { position: relative; z-index: 1; }
.pg-contact-info-card h3 {
  font-family: var(--font-primary, 'Outfit', sans-serif); margin: 0 0 26px; font-size: 1.2rem;
  padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.pg-contact-line {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 0; color: var(--ink-200); font-size: .95rem; line-height: 1.65;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.pg-contact-line:last-child { border-bottom: none; padding-bottom: 4px; }
.pg-contact-line a { color: #fff; text-decoration: none; font-weight: 600; transition: color .15s ease; }
.pg-contact-line a:hover { color: var(--brand-300); }
.pg-contact-icon-wrap {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px;
  background: rgba(59, 130, 246, 0.14); border: 1px solid rgba(59, 130, 246, 0.22);
  display: flex; align-items: center; justify-content: center;
}
.pg-contact-icon { width: 19px; height: 19px; color: var(--brand-300); }
.pg-contact-label {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-400); margin-bottom: 4px;
}
.pg-map-frame { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--hairline); box-shadow: 0 10px 30px rgba(15,30,54,.08); }
.pg-map-frame iframe { width: 100%; height: 260px; border: 0; display: block; }
.pg-map-frame--wide { margin-top: 40px; padding: 3px; border: none; background: linear-gradient(120deg, #3B82F6, #10B981, #E74C3C, #F59E0B); box-shadow: 0 20px 44px rgba(15,30,54,.14); }
.pg-map-frame--wide iframe { height: 340px; border-radius: 15px; }
.pg-map-card {
  position: absolute; top: 18px; left: 18px; z-index: 2; background: var(--surface, #fff);
  border-radius: 14px; padding: 14px 16px; max-width: 260px;
  box-shadow: 0 14px 32px rgba(15,30,54,.2);
}
.pg-map-card-name { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: .92rem; color: var(--ink-900); margin-bottom: 4px; }
.pg-map-card-name svg { color: #E74C3C; flex-shrink: 0; }
.pg-map-card-addr { font-size: .78rem; color: var(--ink-500); line-height: 1.4; margin-bottom: 8px; }
.pg-map-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pg-map-card-rating { display: flex; align-items: center; gap: 5px; font-size: .82rem; font-weight: 700; color: var(--ink-900); }
.pg-map-card-rating svg { color: #F59E0B; }
.pg-map-card-rating span { color: var(--ink-500); font-weight: 600; }
.pg-map-card-directions {
  display: inline-flex; align-items: center; gap: 5px; background: var(--brand-600, #2563EB); color: #fff;
  font-size: .76rem; font-weight: 700; padding: 6px 10px; border-radius: 8px; text-decoration: none; white-space: nowrap;
}
@media (max-width: 480px) { .pg-map-card { max-width: 200px; padding: 12px 14px; } }

/* Trust strip on the contact form */
.pg-trust-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--hairline); }
.pg-trust-chip { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: var(--ink-600); }
.pg-trust-chip svg { flex-shrink: 0; color: var(--brand-600); }
.pg-form-card {
  background: var(--surface, #fff); border: 1px solid var(--hairline); border-radius: 18px;
  padding: 32px; box-shadow: 0 10px 30px rgba(15,30,54,.06);
}
.pg-form-card h3 { font-family: var(--font-primary, 'Outfit', sans-serif); margin: 0 0 20px; font-size: 1.15rem; color: var(--ink-900); }
@media (max-width: 860px) { .pg-contact-grid { grid-template-columns: 1fr; } }

/* CF7 field styling reused across these pages */
.pg-form-card .wpcf7-form-control,
.pg-cf7-input {
  width: 100%; padding: 13px 16px; border: 1px solid var(--hairline-strong);
  border-radius: 10px; font-size: .95rem; font-family: inherit; color: var(--ink-800);
  margin-bottom: 14px; background: #fff; box-sizing: border-box;
}
.pg-form-card .wpcf7-form-control:focus { outline: none; border-color: var(--brand-500); }
.pg-cf7-submit,
.pg-form-card .wpcf7-form-control.wpcf7-submit {
  background: var(--accent-signal, #E74C3C); color: #fff; font-weight: 700; border: none;
  padding: 13px 28px; border-radius: 10px; cursor: pointer; font-size: .95rem;
  width: 100%; margin-bottom: 0;
}
.pg-cf7-submit:hover,
.pg-form-card .wpcf7-form-control.wpcf7-submit:hover { background: var(--color-primary-dark, #C0392B); }

/* Real CF7 output wraps every field in <p><span class="wpcf7-form-control-wrap">...
   the fake static form has no such wrapper, so neutralize the browser's default
   <p> margin here to keep field spacing identical between the two. */
.pg-form-card .wpcf7-form p { margin: 0; }
.pg-form-card .wpcf7-form-control-wrap { display: block; }
.pg-form-card .wpcf7-response-output { margin: 14px 0 0; padding: 10px 14px; border-radius: 10px; font-size: .88rem; }

/* ---------- Team cards (Management) ---------- */
.pg-team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.pg-team-card {
  background: var(--surface, #fff); border: 1px solid var(--hairline); border-radius: 18px;
  padding: 24px; box-shadow: 0 10px 30px rgba(15,30,54,.06);
}
.pg-team-card::after { content: ""; display: table; clear: both; }
.pg-team-photo {
  float: left; width: 140px; height: 175px; object-fit: cover; object-position: top center;
  border-radius: 14px; margin: 0 20px 12px 0;
}
.pg-team-name { font-family: var(--font-primary, 'Outfit', sans-serif); font-weight: 700; font-size: 1.1rem; color: var(--ink-900); margin: 0 0 2px; }
.pg-team-role { display: block; font-size: 12.5px; font-weight: 700; color: var(--brand-600); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; }
.pg-team-bio { color: var(--ink-500); font-size: .92rem; line-height: 1.65; }
.pg-team-bio p { margin: 0 0 10px; }
@media (max-width: 700px) {
  .pg-team-grid { grid-template-columns: 1fr; }
  .pg-team-photo { width: 105px; height: 130px; }
}

/* ---------- Generic 3/4-col service cards ---------- */
.pg-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pg-card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.pg-service-card {
  background: var(--surface, #fff); border: 1px solid var(--hairline); border-radius: 18px;
  padding: 28px; box-shadow: 0 10px 30px rgba(15,30,54,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.pg-service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(15,30,54,.1); }
.pg-service-card h3 { font-family: var(--font-primary, 'Outfit', sans-serif); font-weight: 700; font-size: 1.15rem; color: var(--ink-900); margin: 0 0 10px; }
.pg-service-card-icon {
  width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--surface-sunken, #F7F9FC); color: var(--brand-600); margin-bottom: 14px;
}
/* Numbered badge for sequential "process" style cards */
.pg-process-number {
  width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--brand-600, #2563EB); color: #fff; font-family: var(--font-primary, 'Outfit', sans-serif);
  font-weight: 800; font-size: 1rem; margin-bottom: 14px;
}
.pg-service-card p { color: var(--ink-500); font-size: .93rem; line-height: 1.6; margin: 0 0 14px; }
.pg-service-card ul { list-style: none; margin: 0; padding: 0; }
.pg-service-card ul li {
  font-size: .88rem; color: var(--ink-600); padding: 6px 0 6px 22px; position: relative;
}
.pg-service-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-emerald, #059669); font-weight: 700; }
.pg-service-card a.pg-card-link { display: inline-block; margin-top: 8px; color: var(--brand-600); font-weight: 700; font-size: .9rem; text-decoration: none; }
.pg-service-card a.pg-card-link:hover { text-decoration: underline; }
@media (max-width: 860px) { .pg-card-grid, .pg-card-grid--4 { grid-template-columns: 1fr; } }
@media (min-width: 861px) and (max-width: 1080px) { .pg-card-grid--4 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Stat / feature strip ---------- */
.pg-stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pg-stat-tile {
  text-align: center; padding: 24px 16px; border-radius: 14px;
  background: var(--surface, #fff); border: 1px solid var(--hairline);
}
.pg-stat-tile h4 { font-family: var(--font-primary, 'Outfit', sans-serif); font-weight: 700; font-size: .98rem; color: var(--ink-900); margin: 0; }
@media (max-width: 700px) { .pg-stat-strip { grid-template-columns: repeat(2, 1fr); } }

/* Fact/stat strip with an icon — a reusable, richer version of .pg-stat-tile */
.pg-fact-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 8px; }
.pg-fact-tile {
  display: flex; align-items: center; gap: 14px; text-align: left; padding: 20px 18px;
  background: var(--surface, #fff); border: 1px solid var(--hairline); border-radius: 16px;
  box-shadow: 0 10px 26px rgba(15,30,54,.06); transition: transform .2s ease, box-shadow .2s ease;
}
.pg-fact-tile:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(15,30,54,.1); }
.pg-fact-icon {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--surface-sunken, #F7F9FC); color: var(--brand-600);
}
.pg-fact-tile strong { display: block; font-family: var(--font-primary, 'Outfit', sans-serif); font-weight: 800; font-size: 1.1rem; color: var(--ink-900); line-height: 1.2; }
.pg-fact-tile span { font-size: .78rem; color: var(--ink-500); font-weight: 600; }
@media (max-width: 700px) { .pg-fact-strip { grid-template-columns: repeat(2, 1fr); } }

/* Compact icon + label tile grid — for turning plain bullet lists of
   service/category names into a scannable grid. */
.pg-tag-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 20px 0 28px; }
.pg-tag-tile {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px;
  background: var(--surface, #fff); border: 1px solid var(--hairline); border-radius: 12px;
  font-weight: 700; font-size: .88rem; color: var(--ink-800);
  transition: transform .2s ease, box-shadow .2s ease;
}
.pg-tag-tile:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(15,30,54,.08); }
.pg-tag-tile-icon {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center;
  background: var(--surface-sunken, #F7F9FC); color: var(--brand-600);
}
@media (max-width: 700px) { .pg-tag-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Icon list (Why Choose Us) ---------- */
.pg-icon-list { display: flex; flex-direction: column; gap: 22px; }
.pg-icon-list-item { display: flex; gap: 16px; align-items: flex-start; }
.pg-icon-list-item .pg-contact-icon-wrap { background: rgba(5, 150, 105, 0.12); border-color: rgba(5, 150, 105, 0.22); }
.pg-icon-list-item .pg-contact-icon-wrap svg { color: var(--accent-emerald, #059669); }
.pg-icon-list-item h4 { font-family: var(--font-primary, 'Outfit', sans-serif); font-weight: 700; font-size: 1.02rem; color: var(--ink-900); margin: 0 0 4px; }
.pg-icon-list-item p { color: var(--ink-500); font-size: .92rem; line-height: 1.6; margin: 0; }

/* ---------- Numbered step list (guides / how-to walkthroughs) ---------- */
.pg-step-list { display: flex; flex-direction: column; gap: 14px; margin: 16px 0 24px; list-style: none; padding: 0; }
.pg-step-item { display: flex; gap: 14px; align-items: flex-start; background: var(--surface-sunken, #F7F9FC); border: 1px solid var(--hairline); border-radius: 12px; padding: 12px 16px; }
.pg-step-num {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--brand-600, #2563EB); color: #fff; font-family: var(--font-primary, 'Outfit', sans-serif);
  font-weight: 800; font-size: .82rem; margin-top: 1px;
}
.pg-step-item p { margin: 0; color: var(--ink-600); font-size: .95rem; line-height: 1.6; }

/* ---------- Sidebar layout (cross-links to sibling services, e.g. PPC/ORM/SEO/SMM/SMO/Content Marketing) ---------- */
.pg-with-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.pg-with-sidebar .pg-article { max-width: none; margin: 0; }
@media (max-width: 900px) { .pg-with-sidebar { grid-template-columns: 1fr; } }
.pg-sidebar-card {
  background: var(--surface, #fff); border: 1px solid var(--hairline); border-radius: 20px;
  padding: 28px 22px; box-shadow: 0 16px 40px rgba(15,30,54,.08); position: sticky; top: 104px;
  position: relative; overflow: hidden;
}
.pg-sidebar-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #2563EB, #7C3AED, #EA580C);
}
.pg-sidebar-card h3 {
  font-family: var(--font-primary, 'Outfit', sans-serif); font-weight: 800; font-size: 1.08rem; color: var(--ink-900);
  margin: 0 0 18px; display: flex; align-items: center; gap: 10px;
}
.pg-sidebar-card h3::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-600, #2563EB);
  flex-shrink: 0; box-shadow: 0 0 0 4px rgba(37,99,235,.14);
}
.pg-sidebar-links { display: flex; flex-direction: column; gap: 10px; }
.pg-sidebar-link {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 18px; border-radius: 14px; background: var(--surface-sunken, #F7F9FC);
  color: var(--ink-700); font-size: .93rem; font-weight: 600; text-decoration: none;
  border: 1px solid transparent;
  transition: background .3s cubic-bezier(.22,1,.36,1), border-color .3s cubic-bezier(.22,1,.36,1),
    color .3s cubic-bezier(.22,1,.36,1), transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s cubic-bezier(.22,1,.36,1);
}
.pg-sidebar-link svg { flex-shrink: 0; opacity: .45; transition: transform .3s cubic-bezier(.22,1,.36,1), opacity .3s ease; }
.pg-sidebar-link:hover {
  background: #fff; border-color: rgba(37,99,235,.25); color: var(--brand-600);
  transform: translateX(5px); box-shadow: 0 10px 22px rgba(37,99,235,.14);
}
.pg-sidebar-link:hover svg { transform: translateX(3px); opacity: 1; }
.pg-sidebar-link:active { transform: translateX(5px) scale(.97); transition-duration: .1s; }
.pg-sidebar-link.is-active {
  background: linear-gradient(135deg, var(--brand-600, #2563EB), #4F7CFF);
  color: #fff; cursor: default; border-color: transparent;
  box-shadow: 0 12px 26px rgba(37,99,235,.32); transform: scale(1.015);
}
.pg-sidebar-link.is-active svg { display: none; }
@media (max-width: 900px) { .pg-sidebar-card { position: static; } }

/* ---------- Two-col text + CTA panel (Call Us / Enquire) ---------- */
.pg-cta-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .pg-cta-split { grid-template-columns: 1fr; } }

/* ---------- FAQ accordion ---------- */
.pg-faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 800px; margin: 0 auto; }
.pg-faq-item { border: 1px solid var(--hairline); border-radius: 12px; overflow: hidden; background: var(--surface, #fff); }
.pg-faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 18px 22px; font-family: var(--font-primary, 'Outfit', sans-serif); font-weight: 700;
  font-size: .98rem; color: var(--ink-900); display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.pg-faq-q .pg-faq-plus { flex-shrink: 0; font-size: 1.2rem; color: var(--brand-600); transition: transform .2s ease; }
.pg-faq-item.is-open .pg-faq-plus { transform: rotate(45deg); }
.pg-faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.pg-faq-item.is-open .pg-faq-a { max-height: 400px; }
.pg-faq-a-inner { padding: 0 22px 18px; color: var(--ink-500); font-size: .92rem; line-height: 1.65; }

/* ---------- Long-form article content ---------- */
.pg-article { max-width: 800px; margin: 0 auto; color: var(--ink-600); font-size: .98rem; line-height: 1.75; }
.pg-article h2 { font-family: var(--font-primary, 'Outfit', sans-serif); font-weight: 800; font-size: 1.4rem; color: var(--ink-900); margin: 32px 0 14px; display: flex; align-items: center; gap: 12px; }
.pg-article h3 { font-family: var(--font-primary, 'Outfit', sans-serif); font-weight: 700; font-size: 1.15rem; color: var(--ink-900); margin: 24px 0 10px; display: flex; align-items: center; gap: 12px; }
.pg-article p { margin: 0 0 14px; }
.pg-article ul, .pg-article ol { margin: 0 0 14px; padding-left: 22px; }
.pg-article li { margin-bottom: 6px; }
.pg-article a { color: var(--brand-600); }

/* ============================================================
   Blog post layout (blog.html) — main article + sidebar.
   ============================================================ */
.blog-post-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.blog-post-main { min-width: 0; }
.blog-post-main .pg-article { max-width: none; margin: 0; }
.blog-post-meta { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; color: var(--ink-500); font-size: .88rem; margin: 4px 0 22px; }
.blog-post-meta-item { display: flex; align-items: center; gap: 6px; }
.blog-post-meta-item svg { flex-shrink: 0; opacity: .7; }
.blog-toc { background: var(--surface, #fff); border: 1px solid var(--hairline); border-radius: 14px; padding: 18px 22px; margin-bottom: 28px; }
.blog-toc summary { font-family: var(--font-primary, 'Outfit', sans-serif); font-weight: 700; color: var(--ink-900); cursor: pointer; list-style: none; }
.blog-toc summary::-webkit-details-marker { display: none; }
.blog-toc ul { margin: 14px 0 0; padding-left: 20px; }
.blog-toc li { margin-bottom: 8px; }
.blog-toc a { color: var(--ink-600); text-decoration: none; font-size: .92rem; }
.blog-toc a:hover { color: var(--brand-600); }
.blog-toc ul ul { margin-top: 8px; }
.blog-hero-img { width: 100%; border-radius: 16px; margin-bottom: 28px; box-shadow: 0 20px 44px rgba(15,30,54,.12); display: block; object-fit: cover; max-height: 420px; }
.blog-capability { background: var(--surface-sunken, #F7F9FC); border-radius: 14px; padding: 22px 24px; margin: 20px 0; }
.blog-capability h4 { font-family: var(--font-primary, 'Outfit', sans-serif); font-weight: 700; color: var(--ink-900); margin: 0 0 10px; font-size: 1.05rem; }
.blog-capability p:last-child, .blog-capability ul:last-child { margin-bottom: 0; }
.blog-tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.blog-tag-chip { background: var(--surface-sunken, #F7F9FC); color: var(--ink-600); font-size: .8rem; font-weight: 600; padding: 6px 14px; border-radius: 999px; }
.blog-post-sidebar { display: flex; flex-direction: column; }
.blog-sidebar-card { background: var(--surface, #fff); border: 1px solid var(--hairline); border-radius: 14px; padding: 22px; margin-bottom: 24px; box-shadow: 0 10px 26px rgba(15,30,54,.05); }
.blog-sidebar-card h3 { font-family: var(--font-primary, 'Outfit', sans-serif); font-weight: 700; font-size: 1rem; color: var(--ink-900); margin: 0 0 14px; }
.blog-category-link { display: flex; align-items: center; gap: 8px; padding: 9px 0; color: var(--ink-600); text-decoration: none; font-size: .92rem; border-bottom: 1px solid var(--hairline); }
.blog-category-link:last-child { border-bottom: none; }
.blog-category-link:hover { color: var(--brand-600); }
@media (max-width: 960px) {
  .blog-post-layout { grid-template-columns: 1fr; }
}

/* ============================================================
   Homepage-only visual enhancements (index.html) — scoped under
   .home-* wrapper classes so no other page is affected.
   ============================================================ */

/* About: floated image + wrapping text (same pattern as the Management
   team cards) — the copy is long, so a side-by-side grid/sticky column
   either strands the image in dead space or needs constant rebalancing.
   A float lets the text wrap the photo for the first few lines, then run
   full width underneath once it clears the image, with no leftover gap. */
.home-about-float::after { content: ""; display: table; clear: both; }
.home-about-float-media { float: left; width: 340px; margin: 12px 40px 32px 0; position: relative; }
.home-about-float-media img {
  width: 100%; display: block; border-radius: 18px; box-shadow: 0 20px 44px rgba(15,30,54,.16);
}
.home-about-accent-corner {
  position: absolute; top: -14px; left: -14px; width: 64px; height: 64px; z-index: 2;
  border-top: 4px solid var(--brand-600); border-left: 4px solid var(--brand-600); border-radius: 14px 0 0 0;
}
.home-about-badge {
  position: absolute; bottom: -20px; right: -20px; z-index: 2; background: var(--surface, #fff);
  border-radius: 14px; padding: 14px 20px; box-shadow: 0 16px 36px rgba(15,30,54,.2); text-align: center; min-width: 104px;
}
.home-about-badge strong { display: block; font-family: var(--font-primary, 'Outfit', sans-serif); font-weight: 800; font-size: 1.5rem; color: var(--brand-600); line-height: 1; margin-bottom: 3px; }
.home-about-badge span { font-size: .74rem; font-weight: 600; color: var(--ink-500); }
@media (max-width: 700px) {
  .home-about-float-media { float: none; width: 100%; max-width: 380px; margin: 0 auto 40px; }
}

/* Feature strip: icon badges + colour + lift */
.home-feature-strip .pg-stat-tile {
  display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 20px 18px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.home-feature-strip .pg-stat-tile:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(15,30,54,.08); border-color: transparent; }
.home-feature-icon {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand-600, #2563EB), var(--brand-700, #1D4ED8));
  color: #fff;
}
.home-feature-strip .pg-stat-tile:nth-child(2) .home-feature-icon { background: linear-gradient(135deg, #F59E0B, #EA580C); }
.home-feature-strip .pg-stat-tile:nth-child(3) .home-feature-icon { background: linear-gradient(135deg, #4285F4, #34A853); }
.home-feature-strip .pg-stat-tile:nth-child(4) .home-feature-icon { background: linear-gradient(135deg, #EA4335, #FBBC05); }

/* Services: light cards — the homepage's only two "dark moments" are the
   hero and the Why Choose Us card; keeping these light gives the page a
   deliberate rhythm instead of feeling dark throughout. */
.home-services-grid .pg-service-card {
  --card-accent: var(--brand-600, #2563EB);
  position: relative; overflow: hidden; padding-top: 32px;
  background: var(--surface, #fff);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.home-services-grid .pg-service-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--card-accent);
}
.home-services-grid .pg-service-card::after { content: none; }
.home-services-grid .pg-hero-graphic { display: none; }
.home-services-grid .pg-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(15,30,54,.12), 0 0 0 3px color-mix(in srgb, var(--card-accent) 22%, transparent);
  border-color: transparent;
}
.home-services-grid .pg-service-card h3 { color: var(--ink-900); }
.home-services-grid .pg-service-card p { color: var(--ink-500); }
.home-services-grid .pg-card-link { color: var(--brand-600) !important; }

.home-service-icon {
  width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: var(--surface, #fff); color: var(--card-accent); margin: 0 0 16px; padding: 8px;
  box-shadow: 0 10px 24px rgba(15,30,54,.1), 0 0 0 5px color-mix(in srgb, var(--card-accent) 10%, #fff);
  transition: transform .25s ease;
}
.home-service-icon img, .home-service-icon svg { width: 100%; height: 100%; }
/* Accent per card matches each brand's own identity, not an arbitrary rainbow */
.home-services-grid .pg-service-card:nth-child(1) { --card-accent: #4285F4; } /* Google Workspace — Google blue */
.home-services-grid .pg-service-card:nth-child(2) { --card-accent: #1A73E8; } /* Google Cloud — Google Cloud blue */
.home-services-grid .pg-service-card:nth-child(3) { --card-accent: #3EB629; } /* GoDaddy — GoDaddy green */
.home-services-grid .pg-service-card:nth-child(4) { --card-accent: #EA580C; } /* Digital Marketing — Amyntas orange */
.home-services-grid .pg-service-card:nth-child(5) { --card-accent: #E74C3C; } /* Zoho Workplace — Zoho red (matches the nav cubes) */
.home-services-grid .pg-service-card:nth-child(6) { --card-accent: #7C3AED; } /* Website Design & Dev — Amyntas violet */
.home-services-grid .pg-service-card:hover .home-service-icon { transform: scale(1.08) rotate(-4deg); }

/* Richer "Learn More" link with a sliding arrow */
.home-services-grid .pg-card-link {
  display: inline-flex !important; align-items: center; gap: 6px; margin-top: 4px !important;
}
.home-services-grid .pg-card-link .pg-card-arrow { transition: transform .2s ease; }
.home-services-grid .pg-service-card:hover .pg-card-link .pg-card-arrow { transform: translateX(4px); }

/* Soft background texture behind the services grid */
#services { position: relative; overflow: hidden; }
#services .pg-shell { position: relative; z-index: 1; }
/* Same brand network/node motif as the hero, tinted for a light background
   instead of white-on-dark, so the whole page reads as one consistent system. */
.pg-services-graphic { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.pg-services-graphic svg { position: absolute; opacity: .14; }
.pg-services-graphic .graphic-primary { width: 520px; height: auto; top: -120px; right: -80px; transform: rotate(-6deg); }
.pg-services-graphic .graphic-secondary { width: 300px; height: auto; bottom: -70px; left: -50px; opacity: .1; transform: rotate(10deg); }
.pg-services-graphic .graphic-node { animation: pg-hero-node-pulse 3.2s ease-in-out infinite; }
.pg-services-graphic .graphic-node:nth-child(2) { animation-delay: .4s; }
.pg-services-graphic .graphic-node:nth-child(3) { animation-delay: .8s; }
@media (prefers-reduced-motion: reduce) {
  .pg-services-graphic .graphic-node { animation: none; }
}
@media (max-width: 700px) {
  .pg-services-graphic .graphic-primary { width: 320px; top: -80px; right: -100px; }
  .pg-services-graphic .graphic-secondary { display: none; }
}

/* Why choose + enquire: bold blue card (echoing the live site's punchy block) + form card */
#home-why { position: relative; }
#home-why .pg-cta-split { align-items: stretch; }

.pg-why-card {
  position: relative; overflow: hidden; border-radius: 24px; padding: 48px 40px;
  background: linear-gradient(180deg, var(--ink-950) 0%, var(--ink-900) 100%);
  display: flex; flex-direction: column; justify-content: center;
  isolation: isolate;
  border-bottom: 3px solid;
  border-image: linear-gradient(90deg, #3B82F6, #10B981, #E74C3C, #F59E0B) 1;
}
/* Same fine grid + glow-orb treatment used on .pg-hero, so this card matches
   the Company Profile hero background exactly. */
.pg-why-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 20%, transparent 78%);
}
.pg-why-card::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(560px circle at 50% 38%, rgba(255, 255, 255, 0.07), transparent 60%),
    radial-gradient(460px circle at 10% 10%, rgba(59, 130, 246, 0.28), transparent 65%),
    radial-gradient(420px circle at 92% 88%, rgba(231, 76, 60, 0.2), transparent 65%),
    radial-gradient(380px circle at 85% 8%, rgba(16, 185, 129, 0.16), transparent 60%);
  filter: blur(4px);
}
.pg-why-card > *:not(.pg-hero-graphic) { position: relative; z-index: 1; }
.pg-why-card .pg-eyebrow { color: rgba(255,255,255,.85); }
.pg-why-card .pg-section-title { color: #fff; }
.pg-why-card .pg-icon-list-item .pg-contact-icon-wrap { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.28); }
.pg-why-card .pg-icon-list-item .pg-contact-icon-wrap svg { color: #fff; }
.pg-why-card .pg-icon-list-item h4 { color: #fff; }
.pg-why-card .pg-icon-list-item p { color: rgba(255,255,255,.75); }

/* Give the Enquire Now form card a top accent + subtle lift so it doesn't float as a plain box */
#home-why .pg-form-card { position: relative; overflow: hidden; box-shadow: 0 20px 44px rgba(15,30,54,.1); border-radius: 24px; }
#home-why .pg-form-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #3B82F6, #10B981, #E74C3C, #F59E0B);
}
.home-why-number {
  display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  border-radius: 50%; background: var(--brand-600, #2563EB); color: #fff; font-weight: 800; font-size: .82rem;
  flex-shrink: 0; margin-right: 4px;
}

/* ---------- Homepage "From the Blog": latest posts in pg-service-card style ---------- */
.home-blog-card { display: flex; flex-direction: column; overflow: hidden; text-align: left; }
.home-blog-thumb { display: block; margin: -28px -28px 20px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-sunken, #F7F9FC); }
.home-blog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.home-blog-card:hover .home-blog-thumb img { transform: scale(1.03); }
.home-blog-card h3 a { color: inherit; text-decoration: none; }
.home-blog-card h3 a:hover { color: var(--brand-600); }
.home-blog-card .pg-card-link { margin-top: auto; }

/* FAQ answers from the editor arrive wrapped in <p>/<ul>; keep the design's spacing. */
.pg-faq-a-inner > :first-child { margin-top: 0; }
.pg-faq-a-inner > :last-child { margin-bottom: 0; }
.pg-faq-a-inner p { margin: 0 0 10px; }
.pg-faq-a-inner ul, .pg-faq-a-inner ol { margin: 0 0 10px; padding-left: 20px; }
