/* ============================================================
   Bulk SMS Pillar Page — Connect Mobile
   Editorial / long-form article style
   Author: edwin830
   ============================================================ */

/* ── Custom split hero (white bg, image card right) ───────── */
.pillar-hero {
    background: #fff;
    padding: 52px 0 48px;
}

.pillar-hero__badge {
    align-items: center;
    background: var(--home-green-soft);
    border-radius: 24px;
    display: inline-flex;
    gap: 8px;
    margin-bottom: 20px;
    padding: 6px 16px 6px 10px;
}

.pillar-hero__badge svg {
    color: var(--home-green);
    flex-shrink: 0;
    height: 16px;
    width: 16px;
}

.pillar-hero__badge-text {
    color: var(--home-blue);
    font-family: Saira, Open Sans, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pillar-hero h1 {
    color: var(--home-blue);
    font-family: Saira, Open Sans, sans-serif;
    font-size: clamp(28px, 3.4vw, 48px);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 18px;
    padding: 0;
    text-wrap: balance;
}

.pillar-hero h1 em {
    color: var(--home-green);
    font-style: normal;
}

.pillar-hero__divider {
    background: var(--home-green);
    border-radius: 2px;
    height: 4px;
    margin-bottom: 20px;
    width: 48px;
}

.pillar-hero__body {
    color: var(--home-blue-soft);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 460px;
}

.pillar-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 36px;
}

.pillar-hero__cta-primary {
    align-items: center;
    background: var(--home-green);
    border-radius: 25px;
    color: #fff;
    display: inline-flex;
    font-size: 13px;
    font-weight: 600;
    gap: 8px;
    letter-spacing: 0.04em;
    padding: 12px 24px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 180ms ease;
}

.pillar-hero__cta-primary:hover {
    background: var(--home-blue);
    color: #fff;
}

.pillar-hero__cta-secondary {
    background: var(--home-grey);
    border-radius: 25px;
    color: var(--home-blue);
    display: inline-flex;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 12px 24px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 180ms ease;
}

.pillar-hero__cta-secondary:hover {
    background: var(--home-blue);
    color: #fff;
}

/* Stats row inside hero (below CTAs) */
.pillar-hero__stats {
    border-top: 1px solid var(--home-grey);
    display: flex;
    gap: 0;
    padding-top: 24px;
}

.pillar-hero__stat {
    flex: 1;
    padding-right: 16px;
}

.pillar-hero__stat:not(:last-child) {
    border-right: 1px solid var(--home-grey);
    margin-right: 16px;
}

.pillar-hero__stat-icon {
    color: var(--home-green);
    display: block;
    height: 20px;
    margin-bottom: 6px;
    width: 20px;
}

.pillar-hero__stat-value {
    color: var(--home-blue);
    display: block;
    font-family: Saira, Open Sans, sans-serif;
    font-size: clamp(20px, 2.6vw, 30px);
    font-weight: 800;
    line-height: 1;
}

.pillar-hero__stat-label {
    color: var(--home-blue-soft);
    display: block;
    font-size: 11px;
    letter-spacing: 0.03em;
    line-height: 1.4;
    margin-top: 5px;
    text-transform: uppercase;
}

/* Image card (right column) */
.pillar-hero__image-wrap {
    padding-bottom: 0;
    position: relative;
}

.pillar-hero__image {
    border-radius: 16px;
    display: block;
    height: auto;
    max-height: 460px;
    object-fit: cover;
    object-position: center top;
    width: 100%;
}

.pillar-hero__trust-card {
    background: #fff;
    border-radius: 14px;
    bottom: -10px;
    box-shadow: 0 12px 36px rgba(32, 55, 67, 0.18);
    display: flex;
    gap: 12px;
    left: -20px;
    padding: 16px 20px;
    position: absolute;
    width: min(290px, 85%);
}

.pillar-hero__trust-icon {
    align-items: center;
    background: var(--home-green-soft);
    border-radius: 50%;
    color: var(--home-green);
    display: flex;
    flex-shrink: 0;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.pillar-hero__trust-icon svg {
    height: 17px;
    width: 17px;
}

.pillar-hero__trust-copy h3 {
    color: var(--home-blue);
    font-family: Saira, Open Sans, sans-serif;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 3px;
    padding: 0;
}

.pillar-hero__trust-copy p {
    color: var(--home-blue-soft);
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
}

/* ── Dark TOC section ─────────────────────────────────────── */
.pillar-toc-dark {
    background: var(--home-blue-dark);
    padding: 40px 0 44px;
}

.pillar-toc-dark__eyebrow {
    align-items: center;
    color: var(--home-green);
    display: flex;
    font-family: Saira, Open Sans, sans-serif;
    font-size: 11px;
    font-weight: 700;
    gap: 8px;
    letter-spacing: 0.14em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.pillar-toc-dark__eyebrow svg {
    height: 16px;
    opacity: 0.8;
    width: 16px;
}

.pillar-toc-dark__heading {
    color: #fff;
    font-family: Saira, Open Sans, sans-serif;
    font-size: clamp(18px, 2.4vw, 26px);
    font-weight: 700;
    margin: 0 0 24px;
    padding: 0;
}

.pillar-toc-dark__cards {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pillar-toc-dark__card {
    align-items: start;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.82);
    display: grid;
    font-size: 13px;
    gap: 10px;
    grid-template-columns: auto minmax(0, 1fr);
    height: auto;
    line-height: 1.45;
    min-width: 0;
    overflow-wrap: break-word;
    padding: 14px 14px;
    text-decoration: none;
    transition: background 150ms ease, color 150ms ease;
    white-space: normal;
    word-break: break-word;
}

.pillar-toc-dark__card:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.pillar-toc-dark__num {
    color: var(--home-green);
    font-family: Saira, Open Sans, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
    margin-top: 1px;
}

.pillar-toc-dark__label {
    min-width: 0;
    overflow-wrap: break-word;
    text-wrap: balance;
    text-wrap: pretty;
    white-space: normal;
    word-break: normal;
}

/* ── kept here intentionally blank — see full responsive block below ── */

/* ── Stats row (directly below hero) ─────────────────────── */
.pillar-stats-row {
    background: var(--home-grey-soft);
    border-bottom: 1px solid var(--home-grey);
    padding: 28px 0;
}

.pillar-stat-item {
    border-right: 1px solid var(--home-grey);
    padding: 4px 20px;
    text-align: center;
}

.pillar-stat-item:last-child {
    border-right: none;
}

.pillar-stat-value {
    color: var(--home-blue);
    display: block;
    font-family: Saira, Open Sans, sans-serif;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    line-height: 1;
}

.pillar-stat-label {
    color: var(--home-blue-soft);
    display: block;
    font-size: 11px;
    letter-spacing: 0.04em;
    margin-top: 6px;
    text-transform: uppercase;
}

/* ── Inline TOC block ─────────────────────────────────────── */
.pillar-toc-section {
    padding: 56px 24px 0;
}

.pillar-toc {
    background: var(--home-grey-soft);
    border: 1px solid var(--home-grey);
    border-radius: 16px;
    margin: 0 auto;
    max-width: 860px;
    padding: 32px 40px;
}

.pillar-toc__heading {
    color: var(--home-blue);
    font-family: Saira, Open Sans, sans-serif;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 20px;
}

.pillar-toc__grid {
    column-gap: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 2px;
}

.pillar-toc__link {
    align-items: flex-start;
    border-bottom: 1px solid var(--home-grey);
    color: var(--home-blue);
    display: flex;
    font-size: 14px;
    gap: 10px;
    min-width: 0;
    overflow: hidden;
    padding: 7px 0;
    text-decoration: none;
    transition: color 150ms ease;
    word-break: break-word;
}

.pillar-toc__dot {
    flex-shrink: 0;
    margin-top: 5px;
}

.pillar-toc__grid .pillar-toc__link:nth-last-child(-n+2) {
    border-bottom: none;
}

.pillar-toc__link:hover {
    color: var(--home-green);
}

.pillar-toc__dot {
    background: var(--home-green);
    border-radius: 50%;
    display: block;
    flex-shrink: 0;
    height: 8px;
    width: 8px;
}

/* ── Article wrapper ──────────────────────────────────────── */
.pillar-article {
    padding-bottom: 0;
}

/* ── Each section ─────────────────────────────────────────── */
.pillar-section {
    border-bottom: 1px solid var(--home-grey);
    padding: 64px 24px;
}

.pillar-section:last-of-type {
    border-bottom: none;
}

.pillar-section-inner {
    margin: 0 auto;
    max-width: 860px;
}

/* ── Section badge — icon style ───────────────────────────── */
.pillar-badge {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.pillar-badge__icon {
    align-items: center;
    background: rgba(164, 189, 60, 0.14);
    border-radius: 12px;
    color: var(--home-green);
    display: flex;
    height: 48px;
    justify-content: center;
    margin-bottom: 10px;
    width: 48px;
}

.pillar-badge__icon svg {
    height: 22px;
    width: 22px;
}

.pillar-badge__label {
    color: var(--home-green);
    display: block;
    font-family: Saira, Open Sans, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.pillar-badge__line {
    background: var(--home-green);
    border-radius: 2px;
    height: 3px;
    width: 36px;
}

/* ── Section typography ───────────────────────────────────── */
.pillar-section h2 {
    color: var(--home-blue);
    font-family: Saira, Open Sans, sans-serif;
    font-size: clamp(26px, 3.6vw, 38px);
    font-weight: 800;
    line-height: 1.12;
    margin: 0 0 22px;
    padding: 0;
    text-wrap: balance;
}

.pillar-section h3 {
    color: var(--home-blue);
    font-family: Saira, Open Sans, sans-serif;
    font-size: 19px;
    font-weight: 700;
    margin: 36px 0 10px;
    padding: 0;
}

.pillar-section h3.green {
    color: var(--home-green);
}

.pillar-section p {
    color: var(--home-blue-soft);
    font-size: 16px;
    line-height: 1.78;
    margin-bottom: 16px;
}

.pillar-section p:last-child {
    margin-bottom: 0;
}

/* ── Pull quote ───────────────────────────────────────────── */
.pillar-pullquote {
    background: var(--home-grey-soft);
    border-left: 4px solid var(--home-green);
    border-radius: 0 10px 10px 0;
    margin: 28px 0;
    padding: 20px 24px;
}

.pillar-pullquote__text {
    color: var(--home-blue);
    font-size: 16px;
    font-style: italic;
    line-height: 1.65;
    margin: 0 0 10px;
}

.pillar-pullquote__cite {
    color: var(--home-blue-soft);
    display: block;
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
}

/* ── Bullet list (green dots) ─────────────────────────────── */
.pillar-list {
    list-style: none;
    margin: 8px 0 20px;
    padding: 0;
}

.pillar-list li {
    color: var(--home-blue-soft);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.pillar-list li::before {
    background: var(--home-green);
    border-radius: 50%;
    content: "";
    height: 8px;
    left: 0;
    position: absolute;
    top: 9px;
    width: 8px;
}

.pillar-list li strong {
    color: var(--home-blue);
}

/* ── Check icon list (Section 11) ─────────────────────────── */
.pillar-check-list {
    list-style: none;
    margin: 8px 0 20px;
    padding: 0;
}

.pillar-check-list li {
    align-items: flex-start;
    color: var(--home-blue-soft);
    display: flex;
    font-size: 16px;
    gap: 10px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.pillar-check-list li svg {
    color: var(--home-green);
    flex-shrink: 0;
    height: 20px;
    margin-top: 3px;
    min-width: 20px;
    width: 20px;
}

/* ── Compliance checklist ─────────────────────────────────── */
.pillar-checklist {
    list-style: none;
    margin: 16px 0;
    padding: 0;
}

.pillar-checklist li {
    align-items: flex-start;
    border-bottom: 1px solid var(--home-grey);
    color: var(--home-blue-soft);
    display: flex;
    font-size: 15px;
    gap: 12px;
    line-height: 1.6;
    padding: 10px 0;
}

.pillar-checklist li:last-child {
    border-bottom: none;
}

.pillar-checklist__tick {
    align-items: center;
    background: var(--home-green);
    border-radius: 50%;
    color: #fff;
    display: flex;
    flex-shrink: 0;
    height: 20px;
    justify-content: center;
    margin-top: 1px;
    width: 20px;
}

.pillar-checklist__tick svg {
    height: 11px;
    width: 11px;
}

/* ── Dark section (Section 9 — Enterprise support) ────────── */
.pillar-section--dark {
    background: var(--home-blue-dark);
    border-bottom: none;
    border-top: none;
}

.pillar-section--dark h2 {
    color: #fff;
}

.pillar-section--dark h3 {
    color: rgba(255, 255, 255, 0.88);
}

.pillar-section--dark p {
    color: rgba(255, 255, 255, 0.76);
}

.pillar-section--dark .pillar-badge__icon {
    background: rgba(255, 255, 255, 0.08);
}

/* Quote card (used inside dark section) ─────────────────── */
.pillar-quote-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    margin: 20px 0;
    padding: 22px 24px;
}

.pillar-quote-card__icon {
    align-items: center;
    background: rgba(164, 189, 60, 0.2);
    border-radius: 8px;
    color: var(--home-green);
    display: flex;
    height: 34px;
    justify-content: center;
    margin-bottom: 14px;
    width: 34px;
}

.pillar-quote-card__icon svg {
    height: 18px;
    width: 18px;
}

.pillar-quote-card blockquote {
    color: rgba(255, 255, 255, 0.92);
    font-family: Saira, Open Sans, sans-serif;
    font-size: 17px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.6;
    margin: 0 0 12px;
    padding: 0;
}

.pillar-quote-card cite {
    color: rgba(255, 255, 255, 0.65);
    display: block;
    font-size: 14px;
    font-style: normal;
}

.pillar-quote-card cite strong {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* ── Industry stacked cards (Section 10) ──────────────────── */
.pillar-industry-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.pillar-industry-card {
    background: #fff;
    border: 1px solid var(--home-grey);
    border-radius: 14px;
    padding: 24px;
}

.pillar-industry-card__header {
    align-items: center;
    display: flex;
    gap: 14px;
    margin-bottom: 10px;
}

.pillar-industry-card__icon {
    align-items: center;
    background: rgba(164, 189, 60, 0.12);
    border-radius: 10px;
    color: var(--home-green);
    display: flex;
    flex-shrink: 0;
    height: 40px;
    justify-content: center;
    width: 40px;
}

.pillar-industry-card__icon svg {
    height: 20px;
    width: 20px;
}

.pillar-industry-card h3 {
    color: var(--home-blue);
    font-family: Saira, Open Sans, sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    padding: 0;
}

.pillar-industry-card p {
    color: var(--home-blue-soft);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 10px;
}

.pillar-industry-card p:last-child {
    margin-bottom: 0;
}

.pillar-industry-card__quote {
    background: var(--home-grey-soft);
    border-radius: 8px;
    color: var(--home-blue-soft);
    font-size: 14px;
    font-style: italic;
    line-height: 1.6;
    margin-top: 12px;
    padding: 12px 16px;
}

.pillar-industry-card__quote span {
    color: var(--home-green);
    font-style: normal;
    font-weight: 600;
}

/* ── Categorised service stack (Section 11) ───────────────── */
.pillar-stack-categories {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.pillar-stack-category {
    background: var(--home-grey-soft);
    border-radius: 14px;
    padding: 20px 24px 24px;
}

.pillar-stack-category__header {
    align-items: center;
    border-bottom: 1px solid var(--home-grey);
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 14px;
}

.pillar-stack-category__icon {
    align-items: center;
    background: var(--home-green);
    border-radius: 8px;
    color: #fff;
    display: flex;
    flex-shrink: 0;
    height: 32px;
    justify-content: center;
    width: 32px;
}

.pillar-stack-category__icon svg {
    height: 16px;
    width: 16px;
}

.pillar-stack-category__name {
    color: var(--home-blue);
    font-family: Saira, Open Sans, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
}

.pillar-stack-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}

.pillar-service-card {
    background: #fff;
    border: 1px solid var(--home-grey);
    border-radius: 10px;
    border-top: 3px solid var(--home-green);
    padding: 16px;
}

.pillar-service-card__icon {
    align-items: center;
    background: rgba(164, 189, 60, 0.12);
    border-radius: 7px;
    color: var(--home-green);
    display: flex;
    height: 30px;
    justify-content: center;
    margin-bottom: 10px;
    width: 30px;
}

.pillar-service-card__icon svg {
    height: 15px;
    width: 15px;
}

.pillar-service-card h4 {
    color: var(--home-blue);
    font-family: Saira, Open Sans, sans-serif;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 5px;
    padding: 0;
}

.pillar-service-card p {
    color: var(--home-blue-soft);
    font-size: 13px;
    line-height: 1.55;
    margin: 0;
}

/* keep old .pillar-services-grid alias for responsive rules */
.pillar-services-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 20px;
}

/* ── FAQ — custom accordion (no Bootstrap) ────────────────── */
.pillar-faq__item {
    border: 1px solid var(--home-grey);
    border-radius: 10px;
    margin-bottom: 8px;
    overflow: hidden;
}

.pillar-faq__item:last-child {
    margin-bottom: 0;
}

.pillar-faq__question {
    align-items: center;
    background: #fff;
    border: none;
    color: var(--home-blue);
    cursor: pointer;
    display: flex;
    font-family: Saira, Open Sans, sans-serif;
    font-size: 16px;
    font-weight: 600;
    gap: 16px;
    justify-content: space-between;
    line-height: 1.45;
    padding: 18px 22px;
    text-align: left;
    width: 100%;
}

.pillar-faq__question[aria-expanded="true"] {
    border-bottom: 1px solid var(--home-grey);
}

.pillar-faq__chevron {
    color: var(--home-green);
    flex-shrink: 0;
    height: 20px;
    transition: transform 220ms ease;
    width: 20px;
}

.pillar-faq__question[aria-expanded="true"] .pillar-faq__chevron {
    transform: rotate(180deg);
}

.pillar-faq__answer {
    background: #fff;
    color: var(--home-blue-soft);
    font-size: 15px;
    line-height: 1.75;
    padding: 18px 22px;
}

.pillar-faq__answer[hidden] {
    display: none;
}

/* ── Scroll to top button ─────────────────────────────────── */
.pillar-scroll-top {
    align-items: center;
    background: var(--home-green);
    border: none;
    border-radius: 50%;
    bottom: 28px;
    box-shadow: 0 4px 16px rgba(164, 189, 60, 0.45);
    color: #fff;
    cursor: pointer;
    display: flex;
    height: 48px;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    right: 28px;
    transition: opacity 250ms ease, background 180ms ease;
    width: 48px;
    z-index: 9999;
}

.pillar-scroll-top.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.pillar-scroll-top:hover {
    background: var(--home-blue);
}

.pillar-scroll-top svg {
    height: 20px;
    width: 20px;
}

/* ── Contact CTA section ──────────────────────────────────── */
.pillar-contact-section {
    background: var(--home-grey-soft);
    border-top: 1px solid var(--home-grey);
    padding: 64px 24px;
}

.pillar-contact-inner {
    margin: 0 auto;
    max-width: 860px;
}

.pillar-contact-heading {
    color: var(--home-blue);
    font-family: Saira, Open Sans, sans-serif;
    font-size: clamp(26px, 3.6vw, 38px);
    font-weight: 800;
    margin: 0 0 12px;
    padding: 0;
}

.pillar-contact-lead {
    color: var(--home-blue-soft);
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 32px;
    max-width: 660px;
}

.pillar-contact-section .con-form-style {
    margin-left: 0;
    margin-right: 0;
}

/* Radio options: prevent label text being covered by neighbouring radios */
.pillar-contact-section .flex-center-row {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px 4px;
    justify-content: flex-start;
}

.pillar-contact-section .con-radio-item {
    align-items: flex-start;
    display: inline-flex;
    flex: 0 1 auto;
    gap: 8px;
    margin: 0 16px 8px 0;
    max-width: 100%;
    padding: 0;
    position: relative;
    white-space: normal;
}

.pillar-contact-section .con-radio-item input[type="radio"] {
    flex-shrink: 0;
    margin: 4px 0 0;
}

.pillar-contact-section .con-radio-item label {
    color: #2A4451;
    font-weight: normal;
    line-height: 1.35;
    margin: 0;
    white-space: normal;
}

@media (max-width: 767px) {
    .pillar-contact-section .con-radio-item {
        display: flex;
        margin: 0 0 12px;
        width: 100%;
    }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — comprehensive mobile styles
   ══════════════════════════════════════════════════════════ */

/* ── Tablet (≤ 991px) ─────────────────────────────────────── */
@media (max-width: 991px) {

    /* Hero */
    .pillar-hero {
        padding: 28px 0 32px;
    }

    .pillar-hero__trust-card {
        display: none;
    }

    .pillar-hero__image {
        border-radius: 12px;
        height: auto;          /* natural aspect ratio — no crop */
        margin-top: 24px;
        max-height: none;
        object-fit: contain;   /* show full image on mobile */
        object-position: center center;
        width: 100%;
    }

    .pillar-hero__badge-text {
        font-size: 10px;
    }

    /* TOC: 2-col on tablet */
    .pillar-toc-dark__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pillar-toc-dark__card {
        min-width: 0;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    /* Sections */
    .pillar-section {
        padding: 48px 20px;
    }

    .pillar-section h2 {
        font-size: clamp(22px, 4.5vw, 32px);
    }

    .pillar-section h3 {
        font-size: 17px;
        margin: 28px 0 8px;
    }

    /* Industry grid: 2 col */
    .pillar-industry-stack .pillar-industry-card {
        padding: 20px;
    }

    /* Services: 2-col */
    .pillar-services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ── Mobile (≤ 767px) ─────────────────────────────────────── */
@media (max-width: 767px) {

    /* Hero */
    .pillar-hero {
        padding: 20px 0 28px;
    }

    .pillar-hero h1 {
        font-size: clamp(22px, 6vw, 30px);
        margin-bottom: 12px;
    }

    .pillar-hero__body {
        font-size: 14px;
        line-height: 1.65;
        margin-bottom: 20px;
    }

    .pillar-hero__ctas {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 24px;
    }

    .pillar-hero__cta-primary,
    .pillar-hero__cta-secondary {
        font-size: 13px;
        justify-content: center;
        min-width: 0;
        padding: 12px 20px;
        text-align: center;
        width: 100%;
    }

    /* Stats: 2×2 grid on mobile */
    .pillar-hero__stats {
        border-top: 1px solid var(--home-grey);
        display: grid;
        gap: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-top: 0;
    }

    .pillar-hero__stat {
        border-bottom: 1px solid var(--home-grey);
        border-right: none !important;
        margin-right: 0 !important;
        min-width: 0;
        padding: 14px 12px;
        text-align: left;
    }

    .pillar-hero__stat:nth-child(odd) {
        border-right: 1px solid var(--home-grey) !important;
    }

    .pillar-hero__stat:nth-child(3),
    .pillar-hero__stat:nth-child(4) {
        border-bottom: none;
    }

    .pillar-hero__stat-value {
        font-size: clamp(18px, 5vw, 24px);
    }

    .pillar-hero__stat-label {
        font-size: 10px;
    }

    .pillar-hero__image {
        height: auto;       /* full image, no crop */
        margin-top: 16px;
        max-height: none;
        object-fit: contain;
    }

    /* TOC: single column */
    .pillar-toc-dark {
        overflow-x: clip;
        padding: 28px 16px 32px;
    }

    .pillar-toc-dark__heading {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .pillar-toc-dark__cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
    }

    .pillar-toc-dark__card {
        font-size: 13px;
        min-width: 0;
        overflow-wrap: break-word;
        padding: 12px 14px;
        word-break: break-word;
    }

    /* Article sections */
    .pillar-section {
        padding: 40px 16px;
    }

    .pillar-section h2 {
        font-size: clamp(20px, 5.8vw, 28px);
        margin-bottom: 16px;
    }

    .pillar-section h3 {
        font-size: 16px;
        margin: 24px 0 8px;
    }

    .pillar-section p {
        font-size: 15px;
        line-height: 1.7;
    }

    /* Pull quotes */
    .pillar-pullquote {
        margin: 20px 0;
        padding: 16px 18px;
    }

    .pillar-pullquote__text {
        font-size: 15px;
    }

    /* Compliance checklist */
    .pillar-checklist li {
        font-size: 14px;
    }

    /* Industry cards */
    .pillar-industry-card {
        padding: 18px;
    }

    .pillar-industry-card h3 {
        font-size: 15px;
    }

    /* Dark section (Section 9) */
    .pillar-section--dark {
        padding: 40px 16px;
    }

    .pillar-quote-card {
        padding: 18px 18px;
    }

    .pillar-quote-card blockquote {
        font-size: 15px;
    }

    /* Services grid: 2-col on mobile */
    .pillar-services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    /* FAQ */
    .pillar-faq__question {
        font-size: 15px;
        padding: 14px 16px;
    }

    .pillar-faq__answer {
        font-size: 14px;
        padding: 14px 16px;
    }

    /* Contact section */
    .pillar-contact-section {
        padding: 40px 16px;
    }

    .pillar-contact-heading {
        font-size: clamp(22px, 5.8vw, 30px);
    }

    /* Scroll-to-top: smaller on mobile */
    .pillar-scroll-top {
        bottom: 20px;
        height: 42px;
        right: 16px;
        width: 42px;
    }
}

/* ── Small phones (≤ 480px) ───────────────────────────────── */
@media (max-width: 480px) {

    .pillar-hero__badge-text {
        font-size: 9px;
        letter-spacing: 0.08em;
    }

    .pillar-hero__image {
        height: auto;
        max-height: none;
        object-fit: contain;
    }

    /* Services: single column */
    .pillar-services-grid {
        grid-template-columns: 1fr;
    }

    .pillar-section {
        padding: 32px 14px;
    }

    /* Badge icon smaller */
    .pillar-badge__icon {
        height: 40px;
        width: 40px;
    }

    .pillar-badge__icon svg {
        height: 18px;
        width: 18px;
    }
}

/* ── Inline Buyer's Guide CTA ────────────────────────────── */
.pillar-inline-cta {
    background: linear-gradient(135deg, var(--home-blue) 0%, #1a3a6b 100%);
    padding: 40px 0;
}

.pillar-inline-cta__inner {
    align-items: center;
    border-radius: 16px;
    display: flex;
    gap: 32px;
    padding: 0 8px;
}

.pillar-inline-cta__icon {
    background: rgba(255,255,255,0.12);
    border-radius: 12px;
    color: #fff;
    flex-shrink: 0;
    height: 64px;
    padding: 16px;
    width: 64px;
}

.pillar-inline-cta__icon svg {
    height: 32px;
    width: 32px;
}

.pillar-inline-cta__text {
    flex: 1;
}

.pillar-inline-cta__eyebrow {
    color: var(--home-green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.pillar-inline-cta__text h3 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.pillar-inline-cta__text p {
    color: rgba(255,255,255,0.8);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

.pillar-inline-cta__btn {
    background: var(--home-green);
    border-radius: 8px;
    color: #fff;
    flex-shrink: 0;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 14px 28px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
}

.pillar-inline-cta__btn:hover {
    background: #2ea85e;
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 767px) {
    .pillar-inline-cta__inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .pillar-inline-cta__icon {
        display: none;
    }

    .pillar-inline-cta__btn {
        width: 100%;
        text-align: center;
    }
}

/* ── Buyer's Guide CTA ───────────────────────────────────────── */
.cm-cta-section {
    box-sizing: border-box;
    padding: 32px 24px 24px;
    width: 100%;
}
.cm-cta-wrap{max-width:860px;margin:0 auto}
.cm-cta{display:flex;width:100%;border-radius:8px;overflow:hidden;text-decoration:none;box-shadow:0 12px 48px rgba(0,0,0,0.18);white-space:normal;margin-bottom:0;color:inherit}
.cm-cta__left{background:#1a2d38;padding:32px 36px;display:flex;flex-direction:column;gap:18px;border-left:5px solid #a3bd3d;flex:1 1 auto;min-width:0;overflow:visible;white-space:normal}
.cm-cta__eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:#a3bd3d;display:flex;align-items:center;gap:8px;white-space:normal}
.cm-cta__eyebrow::after{content:'';flex:1;height:1px;background:#a3bd3d;opacity:0.4;max-width:60px}
.cm-cta__headline{display:block;font-size:26px;font-weight:900;line-height:1.15;color:#fff;letter-spacing:-0.2px;margin:0;max-width:100%;white-space:normal;word-break:break-word;overflow-wrap:anywhere}
.cm-cta__accent{color:#a3bd3d;white-space:normal}
.cm-cta__risks{display:flex;flex-direction:column;gap:8px;white-space:normal}
.cm-cta__risk{display:flex;align-items:flex-start;gap:10px;font-size:13px;color:#b0c8d4;line-height:1.4;white-space:normal}
.cm-cta__risk-dot{width:7px;height:7px;border-radius:50%;background:#e8a020;margin-top:5px;flex-shrink:0}
.cm-cta__footer{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:4px;white-space:normal}
.cm-cta__btn{display:inline-flex;align-items:center;gap:8px;background:#a3bd3d;color:#1a2d38;font-size:13px;font-weight:800;text-decoration:none;padding:11px 22px;border-radius:4px;white-space:nowrap}
.cm-cta__note{font-size:11px;color:#6a8a9a;line-height:1.5;white-space:normal}
.cm-cta__right{background:linear-gradient(160deg,#243c4a 0%,#162530 100%);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px 20px;gap:12px;position:relative;overflow:hidden;flex:0 0 300px;width:300px}
.cm-cta__right::before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(-45deg,transparent,transparent 18px,rgba(163,189,61,0.04) 18px,rgba(163,189,61,0.04) 19px)}
.cm-cta__cover{position:relative;z-index:1;width:220px;filter:drop-shadow(0 8px 20px rgba(0,0,0,0.45))}
.cm-cta__cover img{width:100%;display:block;border-radius:2px}
.cm-cta__tag{position:relative;z-index:1;background:#a3bd3d;color:#1a2d38;font-size:10px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase;padding:5px 14px;border-radius:20px}
@media(max-width:768px){
  .cm-cta-section{padding:32px 16px}
  .cm-cta{flex-direction:column;align-items:stretch;height:auto;margin-bottom:24px}
  .cm-cta__left{flex:0 0 auto;width:100%;max-width:100%;min-height:0;overflow:visible;padding:20px;box-sizing:border-box}
  .cm-cta__right{flex:0 0 auto;width:100%;max-width:100%;padding:20px;box-sizing:border-box}
  .cm-cta__headline{display:block;visibility:visible;opacity:1;font-size:18px;line-height:1.25;color:#fff;white-space:normal !important}
  .cm-cta__eyebrow,.cm-cta__risks,.cm-cta__risk,.cm-cta__footer,.cm-cta__note,.cm-cta__accent{white-space:normal !important}
  .cm-cta__eyebrow{font-size:9px}
  .cm-cta__risk{font-size:11px}
  .cm-cta__cover{width:160px}
  .cm-cta__btn{font-size:11px;padding:9px 14px}
  .cm-cta__note{font-size:10px}
  .cm-cta__tag{font-size:9px;padding:4px 10px}
}
@media(max-width:480px){
  .cm-cta-section{padding:28px 14px}
  .cm-cta__headline{font-size:17px;line-height:1.3}
  .cm-cta__left{gap:14px;padding:18px 16px}
}
