/* ============================================================
   IPGlobal – Service Page Layout
   ============================================================ */

/* ── Neutralise GP wrappers on service pages ── */
body.ipg-service-page .site,
body.ipg-service-page .site-content,
body.ipg-service-page .content-area,
body.ipg-service-page #primary,
body.ipg-service-page .entry-content,
body.ipg-service-page .hentry {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
body.ipg-service-page #secondary,
body.ipg-service-page .widget-area { display: none !important; }

/* ── Shared container ── */
.ipg-sp-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
}
@media (max-width: 768px) { .ipg-sp-container { padding: 0 24px; } }

/* ── Eyebrow label ── */
.ipg-sp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #1a4fa0;
    margin-bottom: 12px;
}
.ipg-sp-eyebrow::before {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background: #1a4fa0;
    border-radius: 1px;
}

/* ── Section heading ── */
.ipg-sp-section-h2 {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: clamp(22px, 2.5vw, 34px);
    font-weight: 800;
    color: #0a1628;
    line-height: 1.2;
    letter-spacing: -.02em;
    margin: 0 0 20px;
}

/* ============================================================
   Vendor / certification marquee strip
   ============================================================ */
.ipg-vendor-bar {
    background: #f7f9fc;
    border-top: 1px solid #e4eaf3;
    border-bottom: 1px solid #e4eaf3;
    overflow: hidden;
    position: relative;
}
.ipg-vendor-bar::before,
.ipg-vendor-bar::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}
.ipg-vendor-bar::before {
    left: 0;
    background: linear-gradient(to right, #f7f9fc, transparent);
}
.ipg-vendor-bar::after {
    right: 0;
    background: linear-gradient(to left, #f7f9fc, transparent);
}
.ipg-vendor-track {
    display: flex;
    align-items: center;
    width: max-content;
    padding: 16px 0;
    animation: ipg-vendor-scroll 35s linear infinite;
    will-change: transform;
}
.ipg-vendor-track:hover { animation-play-state: paused; }
.ipg-vendor-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 18px;
    margin: 0 8px;
    background: #fff;
    border: 1px solid #e4eaf3;
    border-radius: 100px;
    font-size: 12.5px;
    font-weight: 600;
    color: #0a1628;
    white-space: nowrap;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.ipg-vendor-pill svg { width: 14px; height: 14px; color: #1a4fa0; flex-shrink: 0; }
.ipg-vendor-sep {
    color: #c0cad8;
    font-size: 20px;
    margin: 0 4px;
    flex-shrink: 0;
}
@keyframes ipg-vendor-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .ipg-vendor-track { animation: none; }
}

/* ============================================================
   Breadcrumb
   ============================================================ */
.ipg-sp-breadcrumb {
    background: #fff;
    border-bottom: 1px solid #e4eaf3;
    padding: 14px 0;
}
.ipg-sp-breadcrumb nav {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #5a6a7e;
    flex-wrap: wrap;
}
.ipg-sp-breadcrumb a {
    color: #1a4fa0;
    text-decoration: none;
    font-weight: 500;
}
.ipg-sp-breadcrumb a:hover { text-decoration: underline; }
.ipg-sp-breadcrumb .sep { color: #c0cad8; }
.ipg-sp-breadcrumb .current { color: #0a1628; font-weight: 600; }

/* ============================================================
   Hero
   ============================================================ */
.ipg-sp-hero {
    background: linear-gradient(135deg, #0a1628 0%, #1a3a6e 60%, #0f2752 100%);
    padding: 80px 0 88px;
    position: relative;
    overflow: hidden;
}
.ipg-sp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(0,212,255,.07) 0%, transparent 70%);
    pointer-events: none;
}
.ipg-sp-hero-inner {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 64px;
    align-items: center;
    position: relative;
}
.ipg-sp-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #00d4ff;
    margin-bottom: 16px;
}
.ipg-sp-hero-eyebrow::before {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background: #00d4ff;
    border-radius: 1px;
}
.ipg-sp-hero h1 {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 800;
    color: #fff;
    line-height: 1.12;
    letter-spacing: -.025em;
    margin: 0 0 20px;
}
.ipg-sp-hero-lead {
    font-size: clamp(16px, 1.5vw, 19px);
    color: rgba(255,255,255,.78);
    line-height: 1.65;
    margin: 0 0 36px;
}
.ipg-sp-hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.ipg-sp-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1a4fa0;
    color: #fff;
    font-size: 14.5px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: background .18s, transform .15s;
}
.ipg-sp-btn-primary:hover { background: #164088; transform: translateY(-1px); }
.ipg-sp-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.1);
    color: #fff;
    font-size: 14.5px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.2);
    transition: background .18s;
}
.ipg-sp-btn-secondary:hover { background: rgba(255,255,255,.16); }

/* ── Hero stat visual ── */
.ipg-sp-hero-visual {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    padding: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.ipg-sp-hero-stat {
    background: rgba(255,255,255,.07);
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
}
.ipg-sp-hero-stat-num {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.02em;
    line-height: 1;
    margin-bottom: 6px;
}
.ipg-sp-hero-stat-label {
    font-size: 11.5px;
    color: rgba(255,255,255,.6);
    line-height: 1.4;
}

/* Cloud platforms variant: large number + label + small platform tags */
.ipg-sp-hero-stat--clouds .ipg-sp-hero-stat-num {
    font-size: 48px;
    color: #00d4ff;
    margin-bottom: 4px;
}
.ipg-sp-hero-stat--clouds .ipg-sp-hero-stat-label {
    margin-bottom: 12px;
}
.ipg-sp-hero-stat-cloudtags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}
.ipg-sp-hero-stat-cloudtags span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    color: rgba(255,255,255,.85);
    background: rgba(0,212,255,.12);
    border: 1px solid rgba(0,212,255,.3);
    border-radius: 4px;
    padding: 3px 8px;
    text-transform: uppercase;
}

/* ============================================================
   Overview / Intro
   ============================================================ */
.ipg-sp-intro {
    padding: 72px 0;
    background: #fff;
}
.ipg-sp-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.ipg-sp-intro-text p {
    font-size: 15.5px;
    color: #3d4f67;
    line-height: 1.75;
    margin: 0 0 16px;
}
.ipg-sp-intro-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ipg-sp-intro-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14.5px;
    color: #3d4f67;
    line-height: 1.5;
}
.ipg-sp-intro-checklist li::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 50%;
    background: #dbeafe url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.5 6l2.5 2.5 4.5-5' stroke='%231a4fa0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 10px 10px;
    margin-top: 2px;
}

/* ============================================================
   Service Types Grid
   ============================================================ */
.ipg-sp-services {
    background: #f7f9fc;
    padding: 72px 0;
}
.ipg-sp-svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.ipg-sp-svc-card {
    background: #fff;
    border: 1px solid #e4eaf3;
    border-radius: 16px;
    padding: 28px 24px;
    transition: box-shadow .2s, transform .2s;
}
.ipg-sp-svc-card:hover {
    box-shadow: 0 8px 32px rgba(26,79,160,.1);
    transform: translateY(-2px);
}
.ipg-sp-svc-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: #dbeafe;
}
.ipg-sp-svc-icon svg { width: 24px; height: 24px; }
.ipg-sp-svc-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0a1628;
    margin: 0 0 8px;
    line-height: 1.3;
}
.ipg-sp-svc-card p {
    font-size: 13.5px;
    color: #5a6a7e;
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   Process Steps
   ============================================================ */
.ipg-sp-process {
    background: #fff;
    padding: 72px 0;
}
.ipg-sp-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin-top: 48px;
    position: relative;
}
.ipg-sp-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(10% + 14px);
    right: calc(10% + 14px);
    height: 2px;
    background: #e4eaf3;
    z-index: 0;
}
.ipg-sp-step {
    text-align: center;
    position: relative;
    padding: 0 12px;
}
.ipg-sp-step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #1a4fa0;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    position: relative;
    z-index: 1;
    font-family: 'Inter', sans-serif;
}
.ipg-sp-step h4 {
    font-size: 14px;
    font-weight: 700;
    color: #0a1628;
    margin: 0 0 8px;
    line-height: 1.3;
}
.ipg-sp-step p {
    font-size: 12.5px;
    color: #5a6a7e;
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   Why Choose IPGlobal
   ============================================================ */
.ipg-sp-why {
    background: linear-gradient(135deg, #0a1628, #0f2752);
    padding: 72px 0;
}
.ipg-sp-why .ipg-sp-section-h2 { color: #fff; }
.ipg-sp-why .ipg-sp-eyebrow { color: #00d4ff; }
.ipg-sp-why .ipg-sp-eyebrow::before { background: #00d4ff; }
.ipg-sp-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.ipg-sp-why-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    padding: 28px 24px;
}
.ipg-sp-why-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
}
.ipg-sp-why-card p {
    font-size: 13.5px;
    color: rgba(255,255,255,.7);
    line-height: 1.65;
    margin: 0;
}
.ipg-sp-why-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(0,212,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.ipg-sp-why-icon svg { width: 22px; height: 22px; }

/* ============================================================
   Industries
   ============================================================ */
.ipg-sp-industries {
    background: #f7f9fc;
    padding: 64px 0;
}
.ipg-sp-ind-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
    justify-content: center;
}
.ipg-sp-ind-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e4eaf3;
    border-radius: 100px;
    padding: 10px 20px;
    font-size: 13.5px;
    font-weight: 600;
    color: #0a1628;
}
.ipg-sp-ind-tag svg { width: 16px; height: 16px; color: #1a4fa0; flex-shrink: 0; }

/* ============================================================
   FAQ
   ============================================================ */
.ipg-sp-faq {
    background: #fff;
    padding: 72px 0;
}
.ipg-sp-faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}
.ipg-sp-faq-item {
    border-bottom: 1px solid #e4eaf3;
}
.ipg-sp-faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    font-size: 15.5px;
    font-weight: 600;
    color: #0a1628;
    gap: 16px;
    user-select: none;
    list-style: none;
}
.ipg-sp-faq-q::-webkit-details-marker { display: none; }
.ipg-sp-faq-q::after {
    content: '+';
    font-size: 22px;
    font-weight: 300;
    color: #1a4fa0;
    flex-shrink: 0;
    line-height: 1;
}
details[open] > .ipg-sp-faq-q::after { content: '\2212'; }
.ipg-sp-faq-a {
    font-size: 14.5px;
    color: #5a6a7e;
    line-height: 1.72;
    padding: 0 0 20px;
    margin: 0;
}

/* ============================================================
   CTA Banner
   ============================================================ */
.ipg-sp-cta {
    background: #1a4fa0;
    padding: 64px 0;
    text-align: center;
}
.ipg-sp-cta h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(22px, 2.5vw, 34px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -.02em;
    margin: 0 0 16px;
}
.ipg-sp-cta p {
    font-size: 16px;
    color: rgba(255,255,255,.8);
    margin: 0 auto 32px;
    max-width: 560px;
    line-height: 1.65;
}
.ipg-sp-cta-btns {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.ipg-sp-cta-btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #1a4fa0;
    font-size: 14.5px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform .15s, box-shadow .15s;
}
.ipg-sp-cta-btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.ipg-sp-cta-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #fff;
    font-size: 14.5px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    border: 1.5px solid rgba(255,255,255,.4);
    transition: border-color .15s, background .15s;
}
.ipg-sp-cta-btn-ghost:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.08); }

/* ============================================================
   Related Services
   ============================================================ */
.ipg-sp-related {
    background: #f7f9fc;
    padding: 64px 0;
}
.ipg-sp-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 36px;
}
.ipg-sp-related-card {
    background: #fff;
    border: 1px solid #e4eaf3;
    border-radius: 14px;
    padding: 24px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, transform .2s;
}
.ipg-sp-related-card:hover {
    box-shadow: 0 8px 28px rgba(26,79,160,.1);
    transform: translateY(-2px);
}
.ipg-sp-related-card h3 {
    font-size: 15.5px;
    font-weight: 700;
    color: #0a1628;
    margin: 0 0 8px;
}
.ipg-sp-related-card p {
    font-size: 13px;
    color: #5a6a7e;
    line-height: 1.6;
    margin: 0 0 16px;
    flex: 1;
}
.ipg-sp-related-link {
    font-size: 13px;
    font-weight: 600;
    color: #1a4fa0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
    .ipg-sp-hero-inner { grid-template-columns: 1fr; }
    .ipg-sp-hero-visual { display: none; }
    .ipg-sp-intro-grid { grid-template-columns: 1fr; gap: 32px; }
    .ipg-sp-steps { grid-template-columns: repeat(3, 1fr); }
    .ipg-sp-steps::before { display: none; }
}
@media (max-width: 900px) {
    .ipg-sp-svc-grid { grid-template-columns: repeat(2, 1fr); }
    .ipg-sp-why-grid { grid-template-columns: repeat(2, 1fr); }
    .ipg-sp-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .ipg-sp-hero { padding: 56px 0 64px; }
    .ipg-sp-intro { padding: 48px 0; }
    .ipg-sp-services { padding: 48px 0; }
    .ipg-sp-process { padding: 48px 0; }
    .ipg-sp-why { padding: 48px 0; }
    .ipg-sp-faq { padding: 48px 0; }
    .ipg-sp-svc-grid { grid-template-columns: 1fr; }
    .ipg-sp-why-grid { grid-template-columns: 1fr; }
    .ipg-sp-steps { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .ipg-sp-related-grid { grid-template-columns: 1fr; }
    .ipg-sp-hero-ctas { flex-direction: column; }
    .ipg-sp-cta-btns { flex-direction: column; align-items: center; }
}

/* ============================================================
   Blog Archive (archive.php)
   ============================================================ */

/* Hero override — no right column on blog */
.ipg-blog-hero-inner {
    grid-template-columns: 1fr !important;
    max-width: 760px;
}

/* Archive section wrapper */
.ipg-blog-section {
    background: #f7f9fc;
    padding: 72px 0;
}

/* 3-column grid */
.ipg-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 56px;
}

/* Card */
.ipg-blog-card {
    background: #fff;
    border: 1px solid #e4eaf3;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, transform .2s;
}
.ipg-blog-card:hover {
    box-shadow: 0 10px 36px rgba(26,79,160,.1);
    transform: translateY(-3px);
}

/* Image area */
.ipg-blog-card-img-wrap {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #e4eaf3;
}
.ipg-blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.ipg-blog-card:hover .ipg-blog-card-img { transform: scale(1.04); }
.ipg-blog-card-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a3a6e 0%, #1a4fa0 50%, #00d4ff 100%);
    opacity: .7;
}

/* Card body */
.ipg-blog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}

/* Category badge */
.ipg-blog-card-cat {
    display: inline-block;
    background: #dbeafe;
    color: #1a4fa0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 100px;
    text-decoration: none;
    width: fit-content;
}
.ipg-blog-card-cat:hover { background: #bfdbfe; }

/* Title */
.ipg-blog-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #0a1628;
    line-height: 1.3;
    margin: 0;
}
.ipg-blog-card-title a {
    color: inherit;
    text-decoration: none;
}
.ipg-blog-card-title a:hover { color: #1a4fa0; }

/* Excerpt */
.ipg-blog-card-excerpt {
    font-size: 14px;
    color: #5a6a7e;
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

/* Meta row */
.ipg-blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.ipg-blog-card-readtime {
    font-size: 12px;
    color: #8a9ab0;
    font-weight: 500;
}
.ipg-blog-card-read-link {
    font-size: 13px;
    font-weight: 600;
    color: #1a4fa0;
    text-decoration: none;
}
.ipg-blog-card-read-link:hover { text-decoration: underline; }

/* Author row */
.ipg-blog-card-author-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-top: 1px solid #f0f4f9;
    padding-top: 10px;
    margin-top: auto;
}
.ipg-blog-card-author {
    font-size: 12.5px;
    font-weight: 600;
    color: #0a1628;
}
.ipg-blog-card-date {
    font-size: 12px;
    color: #8a9ab0;
}

/* Pagination */
.ipg-blog-pagination {
    text-align: center;
    margin-top: 8px;
}
.ipg-blog-pagination .nav-links {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.ipg-blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid #e4eaf3;
    background: #fff;
    color: #0a1628;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background .15s, border-color .15s;
}
.ipg-blog-pagination .page-numbers:hover { background: #f0f4f9; border-color: #c0cad8; }
.ipg-blog-pagination .page-numbers.current { background: #1a4fa0; border-color: #1a4fa0; color: #fff; }

/* Empty state */
.ipg-blog-empty {
    text-align: center;
    padding: 64px 24px;
    color: #5a6a7e;
    font-size: 16px;
}

/* Responsive — blog grid */
@media (max-width: 900px) {
    .ipg-blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .ipg-blog-section { padding: 48px 0; }
    .ipg-blog-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================================
   Single Post (single.php)
   ============================================================ */

/* Hero override for single posts */
.ipg-single-hero { padding: 64px 0 72px; }
.ipg-single-hero-inner {
    max-width: 800px;
}
.ipg-single-cat {
    margin-bottom: 16px;
    font-size: 12px;
}
.ipg-single-hero h1 {
    font-size: clamp(26px, 3vw, 42px);
    margin-bottom: 20px;
}

/* Post meta */
.ipg-single-post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.ipg-single-post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    color: rgba(255,255,255,.7);
}
.ipg-single-post-meta svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

/* Featured image */
.ipg-single-featured-img {
    background: #f7f9fc;
    padding: 0 0 0;
}
.ipg-single-featured-img .ipg-sp-container {
    padding-top: 0;
    padding-bottom: 0;
}
.ipg-single-featured-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0 0 16px 16px;
    max-height: 480px;
    object-fit: cover;
}

/* Two-column layout section */
.ipg-single-section {
    background: #f7f9fc;
    padding: 64px 0 80px;
}
.ipg-single-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}

/* Content column */
.ipg-single-content {
    background: #fff;
    border: 1px solid #e4eaf3;
    border-radius: 16px;
    padding: 40px 48px;
    font-size: 16px;
    color: #2d3e52;
    line-height: 1.8;
}
.ipg-single-content h2 {
    font-size: clamp(19px, 2vw, 26px);
    font-weight: 800;
    color: #0a1628;
    margin: 2em 0 .7em;
    letter-spacing: -.02em;
    line-height: 1.25;
}
.ipg-single-content h3 {
    font-size: clamp(16px, 1.5vw, 20px);
    font-weight: 700;
    color: #0a1628;
    margin: 1.6em 0 .6em;
}
.ipg-single-content p { margin: 0 0 1.4em; }
.ipg-single-content ul,
.ipg-single-content ol {
    padding-left: 1.5em;
    margin: 0 0 1.4em;
}
.ipg-single-content li { margin-bottom: .5em; }
.ipg-single-content a { color: #1a4fa0; }
.ipg-single-content blockquote {
    border-left: 4px solid #1a4fa0;
    margin: 1.6em 0;
    padding: 16px 24px;
    background: #f0f7ff;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #3d4f67;
}

/* Sidebar */
.ipg-single-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 24px;
}

/* Sidebar widgets */
.ipg-single-widget {
    background: #fff;
    border: 1px solid #e4eaf3;
    border-radius: 14px;
    padding: 24px;
}
.ipg-single-widget-about .ipg-single-widget-logo {
    font-size: 18px;
    font-weight: 800;
    color: #1a4fa0;
    letter-spacing: -.02em;
    margin-bottom: 10px;
}
.ipg-single-widget-about p {
    font-size: 13.5px;
    color: #5a6a7e;
    line-height: 1.6;
    margin: 0 0 14px;
}
.ipg-single-widget-link {
    font-size: 13px;
    font-weight: 600;
    color: #1a4fa0;
    text-decoration: none;
}
.ipg-single-widget-link:hover { text-decoration: underline; }

.ipg-single-widget-consult h3 {
    font-size: 15.5px;
    font-weight: 700;
    color: #0a1628;
    margin: 0 0 8px;
}
.ipg-single-widget-consult p {
    font-size: 13px;
    color: #5a6a7e;
    line-height: 1.6;
    margin: 0 0 16px;
}
.ipg-single-consult-btn {
    width: 100%;
    justify-content: center;
    font-size: 13.5px;
    padding: 12px 20px;
}

.ipg-single-widget-related h3 {
    font-size: 14px;
    font-weight: 700;
    color: #0a1628;
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.ipg-single-related-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ipg-single-related-list li {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f4f9;
}
.ipg-single-related-list li:last-child { border-bottom: none; padding-bottom: 0; }
.ipg-single-related-list a {
    font-size: 13.5px;
    font-weight: 600;
    color: #0a1628;
    text-decoration: none;
    line-height: 1.4;
}
.ipg-single-related-list a:hover { color: #1a4fa0; }
.ipg-single-related-date {
    font-size: 11.5px;
    color: #8a9ab0;
}

/* Author bio box */
.ipg-single-author-box {
    background: #f7f9fc;
    border-top: 1px solid #e4eaf3;
    padding: 40px 0;
}
.ipg-single-author-inner {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}
.ipg-single-author-avatar {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 50%;
    background: #1a4fa0;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -.02em;
}
.ipg-single-author-info strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 6px;
}
.ipg-single-author-info p {
    font-size: 13.5px;
    color: #5a6a7e;
    line-height: 1.65;
    margin: 0;
}

/* Tags section */
.ipg-single-tags-section {
    background: #fff;
    border-top: 1px solid #e4eaf3;
    padding: 24px 0;
}
.ipg-single-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.ipg-single-tags-label {
    font-size: 12.5px;
    font-weight: 600;
    color: #5a6a7e;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.ipg-single-tag-pill {
    display: inline-block;
    background: #f0f4f9;
    color: #3d4f67;
    font-size: 12.5px;
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 100px;
    text-decoration: none;
    transition: background .15s;
}
.ipg-single-tag-pill:hover { background: #dbeafe; color: #1a4fa0; }

/* Share section */
.ipg-single-share-section {
    background: #fff;
    border-top: 1px solid #e4eaf3;
    border-bottom: 1px solid #e4eaf3;
    padding: 24px 0;
}
.ipg-single-share {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.ipg-single-share-label {
    font-size: 13px;
    font-weight: 600;
    color: #5a6a7e;
}
.ipg-single-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #e4eaf3;
    color: #0a1628;
    background: #fff;
    transition: background .15s, border-color .15s;
}
.ipg-single-share-btn:hover { background: #f7f9fc; border-color: #c0cad8; }
.ipg-single-share-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.ipg-share-linkedin { color: #0a66c2; border-color: rgba(10,102,194,.3); }
.ipg-share-linkedin:hover { background: #f0f7ff; border-color: rgba(10,102,194,.5); }
.ipg-share-email { color: #1a4fa0; }

/* Single CTA */
.ipg-single-cta { margin-top: 0; }

/* Responsive — single */
@media (max-width: 900px) {
    .ipg-single-layout {
        grid-template-columns: 1fr;
    }
    .ipg-single-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .ipg-single-sidebar .ipg-single-widget { flex: 1 1 280px; }
}
@media (max-width: 640px) {
    .ipg-single-section { padding: 40px 0 56px; }
    .ipg-single-content { padding: 28px 24px; }
    .ipg-single-author-inner { flex-direction: column; }
    .ipg-single-sidebar { flex-direction: column; }
    .ipg-single-sidebar .ipg-single-widget { flex: none; }
    .ipg-single-post-meta { gap: 12px; }
}

/* ============================================================
   Case Studies Listing (page-case-studies.php)
   ============================================================ */

/* Numbers strip */
.ipg-cs-numbers {
    background: linear-gradient(135deg, #0a1628 0%, #0f2752 100%);
    padding: 56px 0;
}
.ipg-cs-numbers-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.ipg-cs-numbers-heading .ipg-sp-eyebrow { color: #00d4ff; }
.ipg-cs-numbers-heading .ipg-sp-eyebrow::before { background: #00d4ff; }
.ipg-cs-numbers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.ipg-cs-number-item {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
}
.ipg-cs-number-val {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -.03em;
    line-height: 1;
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
}
.ipg-cs-number-label {
    font-size: 12.5px;
    color: rgba(255,255,255,.65);
    line-height: 1.4;
}

/* Listing section */
.ipg-cs-listing-section {
    background: #f7f9fc;
    padding: 72px 0;
}
.ipg-cs-listing-intro {
    margin-bottom: 48px;
}

/* 3-column grid */
.ipg-cs-listing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Case study card */
.ipg-cs-card {
    background: #fff;
    border: 1px solid #e4eaf3;
    border-radius: 16px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: box-shadow .2s, transform .2s;
}
.ipg-cs-card:hover {
    box-shadow: 0 10px 36px rgba(26,79,160,.1);
    transform: translateY(-3px);
}

/* Card header */
.ipg-cs-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.ipg-cs-card-client {
    font-size: 17px;
    font-weight: 800;
    color: #0a1628;
    margin: 0;
    line-height: 1.25;
}

/* Industry badge — base */
.ipg-cs-card-industry {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 100px;
    white-space: nowrap;
}
/* Color-coded industry badges */
.cs-ind-automotive  { background: #fff3e0; color: #b45309; }
.cs-ind-aerospace   { background: #f1f5f9; color: #475569; }
.cs-ind-retail      { background: #dcfce7; color: #15803d; }
.cs-ind-tech        { background: #dbeafe; color: #1a4fa0; }
.cs-ind-pharma      { background: #f3e8ff; color: #7e22ce; }
.cs-ind-financial   { background: #ccfbf1; color: #0f766e; }
.cs-ind-consulting  { background: #ede9fe; color: #6d28d9; }
.cs-ind-healthcare  { background: #fce7f3; color: #be185d; }

/* Key stat */
.ipg-cs-card-stat {
    font-size: 20px;
    font-weight: 800;
    color: #1a4fa0;
    letter-spacing: -.02em;
    line-height: 1.2;
    font-family: 'Inter', sans-serif;
}

/* Description */
.ipg-cs-card-desc {
    font-size: 13.5px;
    color: #5a6a7e;
    line-height: 1.7;
    margin: 0;
    flex: 1;
}

/* Tags */
.ipg-cs-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.ipg-cs-card-tag {
    display: inline-block;
    background: #f0f4f9;
    color: #3d4f67;
    font-size: 11.5px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 100px;
}

/* Read link */
.ipg-cs-card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13.5px;
    font-weight: 600;
    color: #1a4fa0;
    text-decoration: none;
    margin-top: auto;
    padding-top: 4px;
}
.ipg-cs-card-link:hover { text-decoration: underline; }

/* Responsive — case studies */
@media (max-width: 1024px) {
    .ipg-cs-numbers-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 900px) {
    .ipg-cs-listing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .ipg-cs-numbers { padding: 40px 0; }
    .ipg-cs-numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .ipg-cs-listing-section { padding: 48px 0; }
    .ipg-cs-listing-grid { grid-template-columns: 1fr; gap: 18px; }
    .ipg-cs-card-header { flex-direction: column; }
}

/* ============================================================
   Contact Page  (.ipg-contact-*)
   ============================================================ */

/* Two-column section wrapper */
.ipg-contact-main {
    background: #f7f9fc;
    padding: 72px 0;
}
.ipg-contact-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 64px;
    align-items: start;
}

/* Form column */
.ipg-contact-form-col { }
.ipg-contact-intro {
    font-size: 15px;
    color: #5a6a7e;
    line-height: 1.7;
    margin: 0 0 32px;
}

/* Success / error messages */
.ipg-contact-success,
.ipg-contact-error {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 22px;
    border-radius: 12px;
    margin-bottom: 28px;
    font-size: 14.5px;
    line-height: 1.6;
}
.ipg-contact-success {
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #166534;
}
.ipg-contact-success svg { width: 22px; height: 22px; flex-shrink: 0; color: #16a34a; margin-top: 1px; }
.ipg-contact-success strong { display: block; font-size: 15.5px; margin-bottom: 4px; }
.ipg-contact-success p { margin: 0; }
.ipg-contact-error {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}
.ipg-contact-error svg { width: 20px; height: 20px; flex-shrink: 0; color: #dc2626; margin-top: 2px; }

/* Form itself */
.ipg-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.ipg-contact-row {
    display: grid;
    gap: 20px;
}
.ipg-contact-row--2 { grid-template-columns: 1fr 1fr; }

.ipg-contact-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.ipg-contact-field label {
    font-size: 13px;
    font-weight: 600;
    color: #0a1628;
    letter-spacing: .01em;
}
.ipg-req { color: #dc2626; }
.ipg-contact-field input,
.ipg-contact-field select,
.ipg-contact-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #d4dce8;
    border-radius: 8px;
    font-size: 14.5px;
    color: #0a1628;
    background: #fff;
    font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
}
.ipg-contact-field input:focus,
.ipg-contact-field select:focus,
.ipg-contact-field textarea:focus {
    outline: none;
    border-color: #1a4fa0;
    box-shadow: 0 0 0 3px rgba(26,79,160,.12);
}
.ipg-contact-field select {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%235a6a7e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 36px;
    cursor: pointer;
}
.ipg-contact-field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
/* Submit button */
.ipg-contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #1a4fa0;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 15px 32px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: background .18s, transform .15s;
    align-self: flex-start;
}
.ipg-contact-submit:hover { background: #164088; transform: translateY(-1px); }
.ipg-contact-submit:active { transform: translateY(0); }

.ipg-contact-disclaimer {
    font-size: 12.5px;
    color: #8a9ab0;
    line-height: 1.6;
    margin: 0;
}
.ipg-contact-disclaimer a { color: #1a4fa0; }

/* Info column */
.ipg-contact-info-col { }

/* Office cards */
.ipg-contact-offices {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}
.ipg-contact-office {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border: 1px solid #e4eaf3;
    border-radius: 12px;
    padding: 18px 20px;
    transition: box-shadow .2s;
}
.ipg-contact-office:hover { box-shadow: 0 4px 16px rgba(26,79,160,.09); }
.ipg-contact-office--hq {
    border-color: #1a4fa0;
    background: #f0f7ff;
}
.ipg-contact-office-badge {
    background: #1a4fa0;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    padding: 4px 8px;
    border-radius: 6px;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 2px;
}
.ipg-contact-office-flag {
    font-size: 22px;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 1px;
}
.ipg-contact-office-body h3 {
    font-size: 14.5px;
    font-weight: 700;
    color: #0a1628;
    margin: 0 0 5px;
    line-height: 1.3;
}
.ipg-contact-office-body p {
    font-size: 13px;
    color: #5a6a7e;
    margin: 0 0 6px;
}
.ipg-contact-office-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: #1a4fa0;
    text-decoration: none;
}
.ipg-contact-office-link:hover { text-decoration: underline; }
.ipg-contact-office-link svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Trust bar */
.ipg-contact-trust-bar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    border: 1px solid #e4eaf3;
    border-radius: 12px;
    padding: 18px 20px;
}
.ipg-contact-trust-bar span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #3d4f67;
}
.ipg-contact-trust-bar svg { width: 16px; height: 16px; color: #1a4fa0; flex-shrink: 0; }

/* Urgent CTA strip */
.ipg-contact-cta-strip {
    background: linear-gradient(135deg, #0a1628 0%, #1a3a6e 60%, #0f2752 100%);
    padding: 56px 0;
}
.ipg-contact-cta-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.ipg-contact-cta-strip-text h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: -.02em;
}
.ipg-contact-cta-strip-text p {
    font-size: 15px;
    color: rgba(255,255,255,.75);
    margin: 0;
    line-height: 1.6;
    max-width: 480px;
}
.ipg-contact-cta-strip-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    flex-shrink: 0;
}
.ipg-contact-cta-strip-actions .ipg-sp-cta-btn-white,
.ipg-contact-cta-strip-actions .ipg-sp-cta-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.ipg-contact-cta-strip-actions svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Responsive — contact */
@media (max-width: 1024px) {
    .ipg-contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .ipg-contact-info-col { order: -1; }
    .ipg-contact-offices { display: grid; grid-template-columns: repeat(2, 1fr); }
    .ipg-contact-trust-bar { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 640px) {
    .ipg-contact-main { padding: 48px 0; }
    .ipg-contact-row--2 { grid-template-columns: 1fr; }
    .ipg-contact-offices { grid-template-columns: 1fr; }
    .ipg-contact-submit { width: 100%; }
    .ipg-contact-cta-strip { padding: 40px 0; }
    .ipg-contact-cta-strip-inner { flex-direction: column; align-items: flex-start; }
    .ipg-contact-cta-strip-actions { flex-direction: column; width: 100%; }
    .ipg-contact-cta-strip-actions a { justify-content: center; }
}

/* ============================================================
   Switch to IP Global Page  (.ipg-sw-*)
   ============================================================ */

/* Hero badge */
.ipg-sw-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,212,255,.15);
    border: 1px solid rgba(0,212,255,.35);
    color: #00d4ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
}

/* Hero stats bar below CTAs */
.ipg-sw-hero-stats-bar {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 40px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    padding: 16px 24px;
    flex-wrap: wrap;
}
.ipg-sw-hero-stat {
    flex: 1;
    text-align: center;
    min-width: 100px;
    padding: 8px 0;
}
.ipg-sw-hero-stat strong {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.02em;
    line-height: 1.1;
    margin-bottom: 4px;
}
.ipg-sw-hero-stat span {
    font-size: 11.5px;
    color: rgba(255,255,255,.65);
    line-height: 1.3;
}
.ipg-sw-hero-stat-sep {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,.15);
    flex-shrink: 0;
}

/* Pain Points section */
.ipg-sw-pain {
    background: #fff;
    padding: 72px 0;
}
.ipg-sw-pain-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}
.ipg-sw-pain-subtext {
    font-size: 16px;
    color: #5a6a7e;
    line-height: 1.65;
    margin: 0;
}
.ipg-sw-pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.ipg-sw-pain-card {
    background: #f7f9fc;
    border: 1px solid #e4eaf3;
    border-radius: 16px;
    padding: 28px 24px;
    transition: box-shadow .2s, transform .2s, border-color .2s;
}
.ipg-sw-pain-card:hover {
    box-shadow: 0 8px 32px rgba(26,79,160,.1);
    transform: translateY(-2px);
    border-color: #c0d0e8;
}
.ipg-sw-pain-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fee2e2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    flex-shrink: 0;
}
.ipg-sw-pain-icon svg { width: 24px; height: 24px; color: #dc2626; }
.ipg-sw-pain-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0a1628;
    margin: 0 0 10px;
    line-height: 1.3;
}
.ipg-sw-pain-card p {
    font-size: 13.5px;
    color: #5a6a7e;
    line-height: 1.65;
    margin: 0;
}

/* Comparison table */
.ipg-sw-comparison {
    background: #f7f9fc;
    padding: 72px 0;
}
.ipg-sw-comparison-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 48px;
}
.ipg-sw-comparison-subtext {
    font-size: 16px;
    color: #5a6a7e;
    line-height: 1.65;
    margin: 0;
}
.ipg-sw-table-wrap {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid #e4eaf3;
    box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
.ipg-sw-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 14.5px;
}
.ipg-sw-table thead {
    background: #0a1628;
}
.ipg-sw-table thead th {
    padding: 20px 24px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #fff;
}
.ipg-sw-table thead th:first-child { border-radius: 15px 0 0 0; }
.ipg-sw-table thead th:last-child  { border-radius: 0 15px 0 0; }
.ipg-sw-col-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 12px;
}
.ipg-sw-col-label--bad  { background: rgba(220,38,38,.2);  color: #fca5a5; }
.ipg-sw-col-label--good { background: rgba(34,197,94,.2); color: #86efac; }
.ipg-sw-table tbody tr {
    border-bottom: 1px solid #f0f4f9;
    transition: background .12s;
}
.ipg-sw-table tbody tr:last-child { border-bottom: none; }
.ipg-sw-table tbody tr:nth-child(even) { background: #fafbfd; }
.ipg-sw-table tbody tr:hover { background: #f0f7ff; }
.ipg-sw-table td {
    padding: 18px 24px;
    vertical-align: middle;
    color: #3d4f67;
    line-height: 1.5;
}
.ipg-sw-table td:first-child {
    color: #0a1628;
    width: 28%;
}
.ipg-sw-cell-bad  { color: #7f1d1d; }
.ipg-sw-cell-good { color: #14532d; font-weight: 600; }
.ipg-sw-x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fee2e2;
    color: #dc2626;
    font-size: 12px;
    font-weight: 800;
    margin-right: 8px;
    flex-shrink: 0;
    vertical-align: middle;
}
.ipg-sw-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    font-size: 13px;
    font-weight: 800;
    margin-right: 8px;
    flex-shrink: 0;
    vertical-align: middle;
}

/* Numbered cards (Why IP Global) */
.ipg-sw-why { }
.ipg-sw-numbered-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.ipg-sw-numbered-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    padding: 32px 28px;
    transition: background .2s;
}
.ipg-sw-numbered-card:hover { background: rgba(255,255,255,.09); }
.ipg-sw-num {
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: rgba(0,212,255,.4);
    letter-spacing: -.04em;
    line-height: 1;
    margin-bottom: 14px;
}
.ipg-sw-numbered-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.3;
}
.ipg-sw-numbered-card p {
    font-size: 14px;
    color: rgba(255,255,255,.72);
    line-height: 1.72;
    margin: 0;
}

/* Steps — switch page override for 5-col */
.ipg-sw-steps {
    grid-template-columns: repeat(5, 1fr);
}

/* Results section */
.ipg-sw-results {
    background: #fff;
    padding: 72px 0;
}
.ipg-sw-results-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}
.ipg-sw-results-subtext {
    font-size: 16px;
    color: #5a6a7e;
    line-height: 1.65;
    margin: 0;
}
.ipg-sw-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 28px;
}
.ipg-sw-result-card {
    background: #f7f9fc;
    border: 1px solid #e4eaf3;
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    transition: box-shadow .2s, transform .2s;
}
.ipg-sw-result-card:hover {
    box-shadow: 0 10px 40px rgba(26,79,160,.1);
    transform: translateY(-3px);
}
.ipg-sw-result-card--featured {
    background: #fff;
    border-color: #1a4fa0;
    border-width: 2px;
    box-shadow: 0 4px 20px rgba(26,79,160,.1);
}
.ipg-sw-result-logo {
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.ipg-sw-result-logo svg { height: 100%; width: auto; }
.ipg-sw-result-client {
    font-size: 16px;
    font-weight: 800;
    color: #0a1628;
    margin-bottom: 4px;
}
.ipg-sw-result-sector {
    font-size: 12px;
    color: #8a9ab0;
    margin-bottom: 20px;
    font-weight: 500;
}
.ipg-sw-result-num {
    font-family: 'Inter', sans-serif;
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 900;
    color: #1a4fa0;
    letter-spacing: -.04em;
    line-height: 1;
    margin-bottom: 8px;
}
.ipg-sw-result-label {
    font-size: 12.5px;
    color: #5a6a7e;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.ipg-sw-results-note {
    text-align: center;
    font-size: 13px;
    color: #8a9ab0;
    line-height: 1.6;
    max-width: 560px;
    margin: 0 auto;
}

/* Zero Risk / Easy switching section */
.ipg-sw-easy {
    background: linear-gradient(135deg, #0a1628 0%, #0f2752 100%);
    padding: 72px 0;
}
.ipg-sw-easy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.ipg-sw-easy-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    padding: 28px 24px;
    transition: background .2s;
}
.ipg-sw-easy-card:hover { background: rgba(255,255,255,.09); }
.ipg-sw-easy-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(0,212,255,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.ipg-sw-easy-icon svg { width: 22px; height: 22px; }
.ipg-sw-easy-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
}
.ipg-sw-easy-card p {
    font-size: 13.5px;
    color: rgba(255,255,255,.7);
    line-height: 1.65;
    margin: 0;
}

/* Switch CTA phone row */
.ipg-sw-cta-phones {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    font-size: 14px;
    color: rgba(255,255,255,.7);
    flex-wrap: wrap;
}
.ipg-sw-cta-phones a {
    color: rgba(255,255,255,.85);
    text-decoration: none;
    font-weight: 600;
}
.ipg-sw-cta-phones a:hover { color: #fff; text-decoration: underline; }

/* Responsive — switch page */
@media (max-width: 1024px) {
    .ipg-sw-numbered-grid { grid-template-columns: 1fr; }
    .ipg-sw-steps { grid-template-columns: repeat(3, 1fr) !important; }
    .ipg-sw-steps::before { display: none; }
    .ipg-sw-hero-stats-bar { display: none; }
}
@media (max-width: 900px) {
    .ipg-sw-pain-grid  { grid-template-columns: repeat(2, 1fr); }
    .ipg-sw-results-grid { grid-template-columns: repeat(2, 1fr); }
    .ipg-sw-easy-grid  { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .ipg-sw-pain   { padding: 48px 0; }
    .ipg-sw-comparison { padding: 48px 0; }
    .ipg-sw-results { padding: 48px 0; }
    .ipg-sw-easy   { padding: 48px 0; }
    .ipg-sw-pain-grid  { grid-template-columns: 1fr; }
    .ipg-sw-results-grid { grid-template-columns: 1fr; }
    .ipg-sw-easy-grid  { grid-template-columns: 1fr; }
    .ipg-sw-steps  { grid-template-columns: repeat(2, 1fr) !important; gap: 24px; }
    .ipg-sw-cta-phones { flex-direction: column; gap: 10px; }
    .ipg-sw-table td, .ipg-sw-table th { padding: 14px 16px; font-size: 13px; }
}

/* ============================================================
   Privacy Policy Page  (.ipg-privacy-*)
   ============================================================ */

/* Hero override — single column, no visual */
.ipg-privacy-hero { padding: 64px 0 72px; }
.ipg-privacy-hero-inner {
    max-width: 720px;
}
.ipg-privacy-hero-inner .ipg-sp-hero-lead {
    margin-bottom: 0;
}

/* Two-column layout */
.ipg-privacy-main {
    background: #f7f9fc;
    padding: 64px 0 80px;
}
.ipg-privacy-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 48px;
    align-items: start;
}

/* Sticky sidebar nav */
.ipg-privacy-sidebar {
    position: sticky;
    top: 24px;
}
.ipg-privacy-nav {
    background: #fff;
    border: 1px solid #e4eaf3;
    border-radius: 14px;
    padding: 24px;
}
.ipg-privacy-nav-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #1a4fa0;
    margin: 0 0 14px;
}
.ipg-privacy-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    counter-reset: none;
}
.ipg-privacy-nav-list li {
    border-bottom: 1px solid #f0f4f9;
}
.ipg-privacy-nav-list li:last-child { border-bottom: none; }
.ipg-privacy-nav-list a {
    display: block;
    padding: 10px 6px;
    font-size: 13px;
    font-weight: 500;
    color: #3d4f67;
    text-decoration: none;
    border-radius: 6px;
    transition: color .12s, background .12s;
    line-height: 1.4;
}
.ipg-privacy-nav-list a:hover {
    color: #1a4fa0;
    background: #f0f7ff;
    padding-left: 10px;
}

/* Content column */
.ipg-privacy-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.ipg-privacy-section {
    background: #fff;
    border: 1px solid #e4eaf3;
    border-radius: 16px;
    padding: 40px 44px;
    margin-bottom: 20px;
}
.ipg-privacy-section:last-child { margin-bottom: 0; }
.ipg-privacy-section h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 800;
    color: #0a1628;
    margin: 0 0 16px;
    padding-bottom: 14px;
    border-bottom: 2px solid #e4eaf3;
    letter-spacing: -.02em;
    scroll-margin-top: 80px;
}
.ipg-privacy-section h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0a1628;
    margin: 24px 0 10px;
}
.ipg-privacy-section p {
    font-size: 14.5px;
    color: #3d4f67;
    line-height: 1.78;
    margin: 0 0 14px;
}
.ipg-privacy-section p:last-child { margin-bottom: 0; }
.ipg-privacy-section ul,
.ipg-privacy-section ol {
    padding-left: 1.5em;
    margin: 0 0 14px;
}
.ipg-privacy-section li {
    font-size: 14.5px;
    color: #3d4f67;
    line-height: 1.72;
    margin-bottom: 6px;
}
.ipg-privacy-section a { color: #1a4fa0; }
.ipg-privacy-section a:hover { text-decoration: underline; }

/* Rights grid */
.ipg-privacy-rights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 16px 0 20px;
}
.ipg-privacy-right-card {
    background: #f7f9fc;
    border: 1px solid #e4eaf3;
    border-radius: 10px;
    padding: 18px 20px;
}
.ipg-privacy-right-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: #1a4fa0;
    margin: 0 0 8px;
}
.ipg-privacy-right-card p {
    font-size: 13.5px;
    color: #5a6a7e;
    line-height: 1.65;
    margin: 0;
}

/* Tables inside privacy */
.ipg-privacy-table-wrap {
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid #e4eaf3;
    margin: 16px 0 20px;
}
.ipg-privacy-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.ipg-privacy-table thead { background: #f0f7ff; }
.ipg-privacy-table th {
    padding: 13px 18px;
    text-align: left;
    font-size: 12.5px;
    font-weight: 700;
    color: #0a1628;
    letter-spacing: .03em;
    text-transform: uppercase;
    border-bottom: 1px solid #e4eaf3;
}
.ipg-privacy-table td {
    padding: 14px 18px;
    color: #3d4f67;
    line-height: 1.6;
    border-bottom: 1px solid #f0f4f9;
    vertical-align: top;
}
.ipg-privacy-table tr:last-child td { border-bottom: none; }
.ipg-privacy-table tbody tr:nth-child(even) { background: #fafbfd; }

/* Contact block */
.ipg-privacy-contact-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #f7f9fc;
    border: 1px solid #e4eaf3;
    border-radius: 12px;
    padding: 22px 24px;
    margin: 16px 0 20px;
}
.ipg-privacy-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #3d4f67;
    line-height: 1.6;
}
.ipg-privacy-contact-row svg { width: 18px; height: 18px; color: #1a4fa0; flex-shrink: 0; margin-top: 2px; }
.ipg-privacy-contact-row a { color: #1a4fa0; }

/* Update notice */
.ipg-privacy-update-notice {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 16px 20px;
    margin-top: 8px;
}
.ipg-privacy-update-notice p {
    font-size: 13.5px;
    color: #78350f;
    margin: 0;
    line-height: 1.65;
}

/* Responsive — privacy */
@media (max-width: 1024px) {
    .ipg-privacy-layout { grid-template-columns: 220px 1fr; gap: 32px; }
    .ipg-privacy-section { padding: 32px 36px; }
}
@media (max-width: 768px) {
    .ipg-privacy-layout { grid-template-columns: 1fr; }
    .ipg-privacy-sidebar { position: static; }
    .ipg-privacy-nav { overflow-x: auto; }
    .ipg-privacy-nav-list { flex-direction: row; flex-wrap: wrap; gap: 4px; }
    .ipg-privacy-nav-list li { border-bottom: none; }
    .ipg-privacy-nav-list a { padding: 7px 12px; background: #f0f4f9; border-radius: 100px; white-space: nowrap; }
    .ipg-privacy-nav-list a:hover { padding-left: 12px; }
}
@media (max-width: 640px) {
    .ipg-privacy-main  { padding: 48px 0 64px; }
    .ipg-privacy-hero  { padding: 48px 0 56px; }
    .ipg-privacy-section { padding: 24px 22px; margin-bottom: 14px; }
    .ipg-privacy-rights-grid { grid-template-columns: 1fr; }
    .ipg-privacy-table th,
    .ipg-privacy-table td { padding: 11px 14px; font-size: 13px; }
}
