/* ===================================================================
   Service Packages Pages (pages/service-packages.php)

   One stylesheet for every packages page (SEO, social media, web, ...). Ported from the Saudi
   web development funnel (social-team-child-sa/css/pages/web-development.css) with the
   `pp-` prefix. Sections map 1:1 to includes/service-packages/sections/*.php.
   =================================================================== */

.pp-page {
    /* Accessible colour pairs for this page family only (global tokens in main.css stay as they are).
       --pp-on-primary: text/icons on the bright brand fill. Brand decision: white on the fill
       everywhere (#FFF on #5CB5E5 = 2.28:1, on the hover fill #4AA3D1 = 2.82:1), so keep these
       labels short, bold and large. --pp-accent-text: blue text on white and light tints
       (5.58:1 on white, 4.89:1 on the darkest tint). --pp-accent-text-hover: 7.42:1 on white. */
    --pp-on-primary: var(--white);
    --pp-accent-text: var(--brand-blue-deep-2, #2E6D99);
    --pp-accent-text-hover: #1E5A80;
    /* Two-tone focus ring: dark outline + light halo on light sections, swapped on dark ones. */
    --pp-focus-ring: var(--brand-ink);
    --pp-focus-halo: var(--white);
    /* Fixed header is ~77px (desktop) / ~81px (phones): anchor targets stop below it. */
    --pp-anchor-offset: 96px;
    direction: rtl;
    font-family: var(--font-primary);
    color: var(--text-deep);
    background: var(--white);
}

/* In-page anchor targets (#pp-packages, #pp-faq, ...) land below the fixed header. */
.pp-page [id] {
    scroll-margin-top: var(--pp-anchor-offset);
}

/* Programmatic focus targets (the script focuses a section after an anchor jump). */
.pp-page [tabindex="-1"]:focus {
    outline: none;
}

/* core.css zeroes `.separate-containers .site-main .container` with !important, so this
   needs both !important and higher specificity; without a gutter the swipe strips on phones
   overflow the viewport. Every section shares this one container width. */
.pp-page .container,
.separate-containers .site-main .pp-page .container,
.separate-containers .site-main .pp-page .container.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px !important;
}

.pp-page *,
.pp-page *::before,
.pp-page *::after {
    box-sizing: border-box;
}

/* Visible keyboard focus everywhere on the page: a 2px outline with a 2px halo hugging the
   control, so one of the two tones always reaches ≥3:1 (navy on light 15.2–16.6:1, white on the
   dark bands 12–16.6:1). */
.pp-page a:focus-visible,
.pp-page button:focus-visible,
.pp-page summary:focus-visible,
.pp-page [role="button"]:focus-visible,
.pp-page [role="tab"]:focus-visible,
.pp-page [tabindex="0"]:focus-visible {
    outline: 2px solid var(--pp-focus-ring);
    outline-offset: 2px;
    box-shadow: 0 0 0 2px var(--pp-focus-halo);
    border-radius: 8px;
}

/* Dark sections: white outline, navy halo. */
.pp-page .pp-hero,
.pp-page .pp-final__panel,
.pp-page .pp-work,
.pp-page .pp-report-band,
.pp-page .pp-mp-fit,
.pp-page .pp-co-flow {
    --pp-focus-ring: var(--white);
    --pp-focus-halo: var(--brand-ink);
}

/* Light surfaces nested inside a dark band (the example report sheet) go back to the light pair. */
.pp-page .pp-doc {
    --pp-focus-ring: var(--brand-ink);
    --pp-focus-halo: var(--white);
}

/* The core bundle italicises blockquotes; quotes here stay upright. */
.pp-page blockquote,
.pp-page blockquote p {
    font-style: normal;
}

.pp-page .screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.pp-section__eyebrow {
    display: table;
    margin: 0 auto 14px;
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--primary-bright-alpha-12);
    color: var(--pp-accent-text);
    font-size: 0.875rem;
    font-weight: 700;
}

.pp-section__eyebrow--dark {
    background: var(--white-10);
    color: var(--brand-gold);
}

.pp-section__title {
    font-size: clamp(1.6rem, 3.4vw, 2.3rem);
    font-weight: 800;
    color: var(--brand-ink);
    text-align: center;
    margin-bottom: 12px;
}

.pp-section__desc {
    text-align: center;
    color: var(--text-muted-3);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto 40px;
}

/* ---------- Buttons ---------- */

.pp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border: 2px solid transparent;
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.pp-btn--lg {
    padding: 16px 38px;
    font-size: 1.08rem;
}

/* Brand fill with white text (see --pp-on-primary). */
.pp-btn--primary {
    background: var(--brand-primary-bright);
    color: var(--pp-on-primary);
    box-shadow: 0 6px 18px var(--primary-bright-alpha-35);
}

.pp-btn--primary:hover,
.pp-btn--primary:active {
    background: var(--brand-primary-strong);
    color: var(--pp-on-primary);
    transform: translateY(-2px);
}

.pp-btn--ghost {
    background: transparent;
    color: var(--brand-ink);
    border-color: var(--border-strong);
}

.pp-btn--ghost:hover {
    border-color: var(--brand-primary-bright);
    color: var(--pp-accent-text);
}

.pp-btn--outline {
    background: var(--white);
    color: var(--pp-accent-text);
    border-color: var(--brand-primary-bright);
}

.pp-btn--outline:hover,
.pp-btn--outline:active {
    background: var(--brand-primary-bright);
    color: var(--pp-on-primary);
    transform: translateY(-2px);
}

.pp-btn--whatsapp {
    background: var(--brand-whatsapp);
    color: var(--white);
}

.pp-btn--whatsapp:hover {
    color: var(--white);
    transform: translateY(-2px);
}

/* ---------- 1. Hero ---------- */

.pp-hero {
    position: relative;
    overflow: hidden;
    padding: 84px 0 76px;
    color: var(--white);
    background:
        radial-gradient(900px 560px at 20% 35%, var(--primary-bright-alpha-30), transparent 65%),
        linear-gradient(160deg, var(--brand-ink) 0%, var(--brand-ink-2) 60%, #17385A 100%);
}

/* Faint blueprint grid that fades out towards the bottom. */
.pp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--white-10) 1px, transparent 1px),
        linear-gradient(90deg, var(--white-10) 1px, transparent 1px);
    background-size: 56px 56px;
    opacity: 0.35;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 90%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 90%);
    pointer-events: none;
}

.pp-hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 56px;
    align-items: center;
}

.pp-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    margin-bottom: 22px;
    border: 1px solid var(--white-25);
    border-radius: 999px;
    font-size: 0.875rem;
    color: var(--white-85);
}

.pp-hero__eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-gold);
}

.pp-hero__title {
    font-size: clamp(2rem, 3.8vw, 2.9rem);
    font-weight: 800;
    line-height: 1.3;
    color: var(--white);
    margin-bottom: 18px;
}

.pp-hero__title em {
    font-style: normal;
    color: var(--brand-primary-bright);
}

.pp-hero__sub {
    max-width: 540px;
    font-size: clamp(1rem, 1.6vw, 1.12rem);
    line-height: 1.9;
    color: var(--white-80);
    margin-bottom: 30px;
}

.pp-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 26px;
}

.pp-hero .pp-btn--ghost {
    color: var(--white);
    border-color: var(--white-30);
}

.pp-hero .pp-btn--ghost:hover {
    background: var(--white-10);
    color: var(--white);
    border-color: var(--white-50);
}

.pp-hero__anchor {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--white-80);
}

.pp-hero__anchor strong {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--brand-gold);
}

.pp-hero__anchor small {
    font-size: 0.875rem;
    color: var(--white-60);
}

.pp-hero__unit {
    font-size: 0.95rem;
    color: var(--white-85);
}

.pp-hero__anchor small {
    flex-basis: 100%;
}

.pp-hero__learn {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.9rem;
    color: var(--white-80);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.pp-hero__learn:hover {
    color: var(--white);
}

/* ----- Hero visuals (sections/hero/{variant}.php) ----- */

.pp-hero__visual {
    position: relative;
    min-width: 0;
}

/*
 * Shared glass card for hero variants (class on the variant's card root), with its responsive
 * rules below. `--tilt` adds the 3D lean on desktop. Per-page tuning goes through variables, not
 * copied rules: --pp-hero-card-pad, --pp-hero-card-pad-sm (≤768px), --pp-hero-card-bg.
 */
.pp-hero-card {
    position: relative;
    margin: 0;
    padding: var(--pp-hero-card-pad, 22px);
    border-radius: 18px;
    background: var(--pp-hero-card-bg, linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)));
    border: 1px solid var(--white-20);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.pp-hero-card--tilt {
    transform: perspective(1400px) rotateY(-6deg);
}

/* Variant: report — a monthly report built in CSS (example layout, not client data). */

.pp-report__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--white-10);
}

.pp-report__title {
    font-weight: 800;
    font-size: 1rem;
    color: var(--white);
}

.pp-report__badge {
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px dashed var(--white-30);
    color: var(--brand-gold);
    font-size: 0.74rem;
    font-weight: 700;
    white-space: nowrap;
}

.pp-report__kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
}

.pp-report__kpi {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--white-10);
}

.pp-report__kpi-label {
    font-size: 0.74rem;
    color: var(--white-60);
    line-height: 1.4;
}

.pp-report__kpi-value {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    text-align: end;
    font-variant-numeric: tabular-nums;
}

.pp-report__kpi-delta {
    align-self: flex-end;
    padding: 1px 7px;
    border-radius: 999px;
    background: rgba(40, 200, 64, 0.16);
    color: #7EE2A0;
    font-size: 0.72rem;
    font-weight: 700;
}

.pp-report__chart {
    padding: 14px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--white-10);
}

.pp-report__chart-label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.78rem;
    color: var(--white-60);
}

.pp-report__bars {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 110px;
    margin: 0;
    padding: 0 0 18px;
    list-style: none;
    direction: ltr;
}

.pp-report__bars li {
    position: relative;
    flex: 1;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.pp-report__bar-fill {
    display: block;
    width: 100%;
    height: var(--pp-bar, 50%);
    border-radius: 6px 6px 2px 2px;
    background: linear-gradient(180deg, var(--brand-primary-bright), rgba(92, 181, 229, 0.35));
    transform-origin: bottom;
    animation: pp-bar-grow 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    animation-delay: calc(0.3s + var(--pp-bar-index, 0) * 90ms);
}

.pp-report__bars li:last-child .pp-report__bar-fill {
    background: linear-gradient(180deg, var(--brand-gold), rgba(244, 183, 64, 0.35));
}

.pp-report__bar-month {
    position: absolute;
    bottom: -18px;
    inset-inline: 0;
    text-align: center;
    font-size: 0.68rem;
    color: var(--white-60);
}

@keyframes pp-bar-grow {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

.pp-report__actions-title {
    display: block;
    margin-bottom: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--white-85);
}

.pp-report__actions ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.pp-report__actions li {
    position: relative;
    padding-inline-start: 24px;
    font-size: 0.84rem;
    color: var(--white-80);
    line-height: 1.6;
}

.pp-report__actions li::before {
    content: "✓";
    position: absolute;
    inset-inline-start: 0;
    top: 1px;
    display: inline-grid;
    place-items: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--brand-primary-bright);
    color: var(--pp-on-primary);
    font-size: 0.62rem;
    font-weight: 800;
}

/* Variant: simple — the page's packages and prices. */
.pp-hero-simple__title {
    margin: 0 0 14px;
    font-weight: 800;
    color: var(--white);
}

.pp-hero-simple__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.pp-hero-simple__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--white-10);
    color: var(--white-85);
}

.pp-hero-simple__row.is-popular {
    border-color: var(--brand-primary-bright);
    background: var(--primary-bright-alpha-20);
}

.pp-hero-simple__price {
    font-weight: 800;
    color: var(--white);
}

.pp-hero-simple__price small {
    font-weight: 400;
    color: var(--white-60);
}

.pp-hero-simple__note {
    margin: 12px 0 0;
    font-size: 0.875rem;
    color: var(--white-60);
}

/* ----- Browser frame (showcase cards) ----- */

.pp-frame {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background: var(--brand-ink-2);
    border: 1px solid var(--white-20);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}

.pp-frame__bar {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 32px;
    padding: 0 12px;
    background: rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid var(--white-10);
}

.pp-frame__dots {
    display: flex;
    gap: 5px;
    direction: ltr;
}

.pp-frame__dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FF5F57;
}

.pp-frame__dots i:nth-child(2) {
    background: #FEBC2E;
}

.pp-frame__dots i:nth-child(3) {
    background: #28C840;
}

.pp-frame__url {
    flex: 1;
    min-width: 0;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--white-10);
    color: var(--white-60);
    font-size: 0.72rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* The window shows the hero of a full-homepage screenshot. JS sets --pp-scroll (distance to
   the footer) and --pp-scroll-time (proportional to page length) once the image has loaded. */
.pp-frame__shot {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--surface-6);
}

.pp-frame__shot img {
    position: absolute;
    top: 0;
    inset-inline: 0;
    display: block;
    width: 100%;
    height: auto;
    transform: translateY(0);
    transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Thin line under the window that fills as the page scrolls. */
.pp-frame__track {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.18);
}

.pp-frame__track span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--brand-primary-bright);
    transition: width 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- 2. Trust bar ---------- */

.pp-trustbar {
    background: var(--surface-1);
    border-bottom: 1px solid var(--border-soft);
    padding: 16px 0;
}

.pp-trustbar__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 26px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pp-trustbar__list li {
    position: relative;
    padding-inline-start: 20px;
    font-size: 0.92rem;
    color: var(--text-muted-2);
    white-space: nowrap;
}

.pp-trustbar__list li::before {
    content: "✓";
    position: absolute;
    inset-inline-start: 0;
    color: #15803D;
    font-weight: 700;
}

/* ---------- 4. Package table ---------- */

.pp-packages {
    padding: 64px 0 72px;
    background: var(--surface-5);
}

/* ----- Plan group filter: a segmented control above the cards ----- */

.pp-filter {
    display: flex;
    justify-content: center;
    margin: -12px 0 36px;
}

.pp-filter__list {
    display: inline-grid;
    grid-template-columns: repeat(var(--pp-tabs, 2), minmax(0, 1fr));
    gap: 6px;
    padding: 6px;
    background: var(--white);
    border: 1.5px solid var(--border-soft);
    border-radius: 16px;
    box-shadow: 0 8px 22px var(--shadow-06);
}

.pp-filter__tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 210px;
    padding: 11px 26px;
    border-radius: 11px;
    color: var(--brand-ink);
    text-align: center;
    text-decoration: none;
    transition: background-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.pp-filter__label {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.5;
}

.pp-filter__from {
    font-size: 0.875rem;
    color: var(--text-muted-4);
    transition: color var(--transition-fast);
}

.pp-filter__tab:hover {
    background: var(--surface-5);
    color: var(--pp-accent-text);
}

/* Focus ring comes from the shared `.pp-page [role="tab"]:focus-visible` rule. */

.pp-filter__tab[aria-selected="true"] {
    background: var(--brand-primary-bright);
    color: var(--pp-on-primary);
    box-shadow: 0 6px 16px var(--primary-bright-alpha-35);
}

/* White on the brand fill, full opacity (see --pp-on-primary). */
.pp-filter__tab[aria-selected="true"] .pp-filter__from {
    color: var(--pp-on-primary);
}

.pp-plans-panel[hidden],
.pp-matrix__wrap[hidden],
.pp-work [data-pp-group][hidden] {
    display: none !important;
}

/* The newly shown group fades in; the server-rendered one does too, which is invisible
   because it happens before first paint settles. */
.pp-plans-panel {
    animation: pp-panel-in 0.35s ease;
}

@keyframes pp-panel-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .pp-plans-panel {
        animation: none;
    }

    .pp-filter__tab,
    .pp-filter__from {
        transition: none;
    }
}

/* ----- Cards: three per group ----- */

.pp-plan-grid {
    display: grid;
    grid-template-columns: repeat(var(--pp-cols, 3), minmax(0, 1fr));
    gap: 22px;
    max-width: 1080px;
    margin: 0 auto;
    padding-top: 14px;
    align-items: start;
}

.pp-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 30px 24px 26px;
    background: var(--white);
    border: 1.5px solid var(--border-soft);
    border-radius: 16px;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.pp-plan:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px var(--shadow-08);
}

.pp-plan--popular {
    border-color: var(--brand-primary-bright);
    box-shadow: 0 14px 34px var(--primary-bright-alpha-20);
}

.pp-plan__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.pp-plan__name {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--brand-ink);
    margin: 0;
}

/* Billing chip: makes a monthly subscription obvious before the price is read. */
.pp-plan__period {
    flex-shrink: 0;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--surface-6);
    color: var(--text-muted-2);
    font-size: 0.875rem;
    font-weight: 700;
    white-space: nowrap;
}

.pp-plan__period--monthly {
    background: var(--primary-bright-alpha-12);
    color: var(--pp-accent-text);
}

.pp-plan__audience {
    font-size: 0.88rem;
    color: var(--text-muted-3);
    line-height: 1.7;
    min-height: 48px;
    margin-bottom: 16px;
}

.pp-plan__unit {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-muted-2);
}

.pp-plan__draft {
    display: block;
    margin-top: 10px;
    text-align: center;
    font-size: 0.76rem;
    color: var(--brand-red-deep-1);
}

.pp-packages__empty {
    text-align: center;
    color: var(--text-muted-2);
}

.pp-plan__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 4px;
}

.pp-plan__amount {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--pp-accent-text);
    line-height: 1;
}

.pp-plan__currency {
    font-size: 1rem;
    color: var(--text-muted-4);
}

.pp-plan__pricenote {
    font-size: 0.875rem;
    color: var(--text-muted-4);
    margin-bottom: 18px;
}

.pp-plan__features {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    flex: 1;
}

.pp-plan__features li {
    position: relative;
    padding: 6px 22px 6px 0;
    font-size: 0.92rem;
    color: var(--text-muted-2);
    line-height: 1.6;
}

.pp-plan__features li::before {
    content: "✓";
    position: absolute;
    inset-inline-start: 0;
    top: 6px;
    color: #15803D;
    font-weight: 700;
}

.pp-plan__cta {
    width: 100%;
}

/* Only shown on phones, where the plans become a swipe strip. */
.pp-swipe-hint {
    display: none;
    margin: 0 0 4px;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted-4);
}

.pp-packages__note {
    margin-top: 28px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted-3);
    line-height: 2;
}

/* ---------- 5. Feature matrix ---------- */

.pp-matrix {
    padding: 56px 0 72px;
    background: var(--surface-5);
}

/* Right under the packages band (same background) it continues that band without a gap; after
   any other section its summary pill keeps the band's top padding instead of sitting flush. */
.pp-packages + .pp-matrix {
    padding-top: 0;
}

.pp-matrix__summary {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 12px 28px;
    border: 1.5px solid var(--border-strong);
    border-radius: 10px;
    background: var(--white);
    font-weight: 700;
    color: var(--brand-ink);
    cursor: pointer;
    list-style: none;
}

.pp-matrix__summary::-webkit-details-marker {
    display: none;
}

.pp-matrix__summary:hover {
    border-color: var(--brand-primary-bright);
    color: var(--pp-accent-text);
}

.pp-matrix__scroll {
    margin-top: 24px;
    overflow-x: auto;
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
}

.pp-matrix__table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.pp-matrix__table th,
.pp-matrix__table td {
    padding: 12px 14px;
    text-align: center;
    border-bottom: 1px solid var(--border-soft);
}

.pp-matrix__table thead th {
    position: sticky;
    top: 0;
    background: var(--brand-ink);
    color: var(--white);
    font-weight: 700;
    z-index: 2;
}

.pp-matrix__table tbody th[scope="row"] {
    text-align: start;
    font-weight: 500;
    color: var(--text-muted-2);
}

.pp-matrix__group th {
    text-align: start;
    background: var(--surface-6);
    color: var(--brand-ink);
    font-weight: 800;
    font-size: 0.9rem;
}

/* Marks carry meaning, so they meet the 3:1 non-text minimum: ✓ #15803D 5.02:1, — #6B7280 4.83:1
   (were #22C55E 2.28:1 and #D1D5DB 1.47:1). */
.pp-yes {
    color: #15803D;
    font-weight: 800;
}

.pp-no {
    color: var(--text-muted-4);
    font-weight: 700;
}

/* Not stated in the package (matrix value null): lighter weight and a dashed underline so it does
   not read as the solid "not included" dash (#7B8494, 3.77:1). */
.pp-na {
    display: inline-block;
    min-width: 1.4em;
    padding: 0 4px;
    color: #7B8494;
    font-weight: 400;
    line-height: 1.2;
    border-bottom: 1.5px dashed currentColor;
}

/* ---------- 6. Work showcase ---------- */

.pp-work {
    position: relative;
    overflow: hidden;
    padding: 88px 0;
    background:
        radial-gradient(800px 500px at 85% 100%, var(--primary-bright-alpha-20), transparent 65%),
        var(--brand-ink);
}

.pp-work__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 36px;
}

.pp-work__head .pp-section__title {
    text-align: start;
    color: var(--white);
    margin: 0;
}

.pp-work__head .pp-section__desc {
    max-width: 560px;
    text-align: start;
    color: var(--white-80);
    margin: 8px 0 0;
}

.pp-work__count {
    flex-shrink: 0;
    padding: 8px 14px;
    border: 1px solid var(--white-25);
    border-radius: 999px;
    color: var(--white-85);
    font-size: 0.88rem;
    font-weight: 700;
}

.pp-showcase {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 26px;
}

/* ----- Card: a browser frame with a one-line caption under it ----- */

.pp-site {
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: var(--white);
    text-decoration: none;
    transition: transform var(--transition-normal);
}

.pp-site:hover,
.pp-site:focus-visible {
    transform: translateY(-6px);
}

.pp-page .pp-site:focus-visible {
    outline-offset: 6px;
    border-radius: 12px;
}

.pp-site .pp-frame {
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.pp-site:hover .pp-frame,
.pp-site:focus-visible .pp-frame {
    border-color: var(--brand-primary-bright);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--primary-bright-alpha-40);
}

/* Hovering glides the page down to its footer; the track fills at the same pace. */
.pp-site:hover .pp-frame__shot img,
.pp-site:focus-visible .pp-frame__shot img {
    transform: translateY(calc(var(--pp-scroll, 0px) * -1));
    transition: transform var(--pp-scroll-time, 8s) cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

.pp-site:hover .pp-frame__track span,
.pp-site:focus-visible .pp-frame__track span {
    width: 100%;
    transition: width var(--pp-scroll-time, 8s) cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

.pp-site__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 4px;
}

.pp-site__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pp-site__name {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--white);
}

.pp-site__sector {
    font-size: 0.875rem;
    color: var(--white-60);
}

.pp-site__go {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid var(--white-25);
    border-radius: 999px;
    color: var(--white-85);
    font-size: 0.875rem;
    font-weight: 700;
    white-space: nowrap;
    transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.pp-site:hover .pp-site__go,
.pp-site:focus-visible .pp-site__go {
    background: var(--brand-primary-bright);
    border-color: var(--brand-primary-bright);
    color: var(--pp-on-primary);
}

/* ----- Ninth cell: the visitor's own site ----- */

.pp-site--cta {
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 36px 28px;
    border: 1.5px dashed var(--white-25);
    border-radius: 14px;
    text-align: center;
    transition: transform var(--transition-normal), border-color var(--transition-normal), background-color var(--transition-normal);
}

.pp-site--cta:hover,
.pp-site--cta:focus-visible {
    border-color: var(--brand-primary-bright);
    background: var(--white-10);
}

.pp-site__plus {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 6px;
    border: 1.5px solid var(--white-30);
    border-radius: 50%;
    color: var(--brand-gold);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.pp-site--cta strong {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
}

.pp-site--cta__text {
    max-width: 260px;
    margin-bottom: 8px;
    color: var(--white-80);
    font-size: 0.95rem;
    line-height: 1.8;
}

.pp-work__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 48px;
}

.pp-work .pp-work__actions .pp-btn--ghost {
    color: var(--white);
    border-color: var(--white-30);
}

.pp-work .pp-work__actions .pp-btn--ghost:hover {
    background: var(--white-10);
    color: var(--white);
    border-color: var(--white-50);
}

@media (prefers-reduced-motion: reduce) {
    .pp-site,
    .pp-frame__shot img,
    .pp-frame__track span {
        transition: none;
    }

    .pp-site .pp-frame__shot img {
        animation: none;
    }
}

/* ---------- 6b. Testimonials ---------- */

.pp-voices {
    padding: 84px 0;
    background: var(--surface-5);
}

.pp-voices__head {
    margin-bottom: 40px;
}

.pp-voices__head .pp-section__desc {
    margin-bottom: 0;
}

.pp-voices__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pp-voice {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px 26px 24px;
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.pp-voice:hover {
    transform: translateY(-4px);
    border-color: var(--primary-bright-alpha-40);
    box-shadow: 0 18px 40px var(--shadow-08);
}

/* Large quote mark sitting behind the top-end corner. */
.pp-voice::before {
    content: "\201D";
    position: absolute;
    top: 6px;
    inset-inline-end: 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 5.5rem;
    line-height: 1;
    color: var(--primary-bright-alpha-20);
    pointer-events: none;
}

.pp-voice__stars {
    color: var(--brand-gold);
    font-size: 1rem;
    letter-spacing: 2px;
}

.pp-voice__quote {
    flex: 1;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font-style: normal;
}

.pp-voice__quote p {
    margin: 0;
    font-style: normal;
    font-size: 1.02rem;
    line-height: 1.95;
    color: var(--text-strong);
}

.pp-voice__result {
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: 8px;
    background: var(--primary-bright-alpha-12);
    color: var(--pp-accent-text);
    font-size: 0.875rem;
    font-weight: 800;
}

.pp-voice__person {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-soft);
}

.pp-voice__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand-ink);
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 800;
}

.pp-voice__avatar--photo {
    width: 52px;
    height: 52px;
    object-fit: cover;
    background: var(--surface-6);
    box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--primary-bright-alpha-25);
}

.pp-voice__who {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pp-voice__who strong {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--brand-ink);
}

.pp-voice__who span {
    font-size: 0.875rem;
    color: var(--text-muted-3);
}

.pp-voice__who a {
    color: var(--pp-accent-text);
    font-weight: 700;
    text-decoration: none;
}

.pp-voice__who a:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .pp-voices__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .pp-voices {
        padding: 48px 0;
    }

    .pp-voices__head {
        margin-bottom: 20px;
    }

    /* Same swipe strip as the packages and the showcase. */
    .pp-voices__grid {
        display: flex;
        gap: 14px;
        margin: 0 -20px;
        padding: 14px 20px 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .pp-voices__grid::-webkit-scrollbar {
        display: none;
    }

    /* The strip bleeds to the screen edges, so the shared outside ring would fall off-screen
       at the sides: draw it inside the padding instead (navy on the light band ≥15:1). */
    .pp-page .pp-voices__grid:focus-visible {
        outline-offset: -4px;
        box-shadow: none;
        border-radius: 14px;
    }

    .pp-voice {
        flex: 0 0 84%;
        scroll-snap-align: start;
        padding: 24px 20px 20px;
    }

    .pp-voice:hover {
        transform: none;
    }

    .pp-voice__quote p {
        font-size: 0.96rem;
    }
}

/* ---------- 7. Process ---------- */

.pp-process {
    padding: 80px 0 72px;
}

/* Six nodes on one line; the line is drawn between the first and last node centres. */
.pp-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(var(--pp-steps, 6), minmax(0, 1fr));
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Track between the first and last node centres, with a blue fill that grows from the
   first step (inline start) as the list scrolls into view. */
.pp-steps::before,
.pp-steps::after {
    content: "";
    position: absolute;
    top: 23px;
    inset-inline: calc(100% / (var(--pp-steps, 6) * 2));
    height: 2px;
    border-radius: 2px;
}

.pp-steps::before {
    background: var(--border-soft);
}

.pp-steps::after {
    background: var(--brand-primary-bright);
}

/* Animated only once the script is running (it adds .pp-js), so without JS the steps are simply visible. */
.pp-js .pp-steps::after {
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 1.8s cubic-bezier(0.45, 0, 0.25, 1) 0.2s;
}

[dir="ltr"] .pp-js .pp-steps::after {
    transform-origin: left center;
}

.pp-js .pp-steps.is-in::after {
    transform: scaleX(1);
}

.pp-step {
    position: relative;
    text-align: center;
}

.pp-js .pp-step {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: calc(var(--pp-step-index, 0) * 300ms);
}

.pp-js .pp-steps.is-in .pp-step {
    opacity: 1;
    transform: none;
}

/* Small quiet node: light until the fill reaches it, then a blue ring with the number. */
.pp-step__node {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--border-soft);
    color: var(--text-muted-4);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums;
    direction: ltr;
    transition: border-color 0.4s ease, color 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;
    transition-delay: calc(0.3s + var(--pp-step-index, 0) * 300ms);
}

.pp-steps.is-in .pp-step__node {
    border-color: var(--brand-primary-bright);
    color: var(--brand-ink);
    box-shadow: 0 0 0 6px var(--primary-bright-alpha-12);
}

.pp-steps.is-in .pp-step:last-child .pp-step__node {
    background: var(--brand-primary-bright);
    color: var(--pp-on-primary);
    box-shadow: 0 0 0 6px var(--primary-bright-alpha-20);
}

.pp-step__title {
    margin: 16px 0 6px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--brand-ink);
}

.pp-step__text {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.75;
    color: var(--text-muted-3);
}

/* Selectors match the `.pp-js` rules above in specificity, otherwise those still win. */
@media (prefers-reduced-motion: reduce) {
    .pp-step,
    .pp-js .pp-step,
    .pp-step__node,
    .pp-steps::after,
    .pp-js .pp-steps::after {
        transition: none;
    }
}

/* ---------- 9. Numbers ---------- */

.pp-trust {
    padding: 0 0 80px;
}

.pp-stats {
    display: grid;
    grid-template-columns: repeat(var(--pp-stat-cols, 4), minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 8px 0;
    background: var(--surface-1);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
}

.pp-stat {
    padding: 26px 16px;
    text-align: center;
}

.pp-stat + .pp-stat {
    border-inline-start: 1px solid var(--border-soft);
}

.pp-stat__value {
    display: block;
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--brand-ink);
    font-variant-numeric: tabular-nums;
}

.pp-stat__plus {
    color: var(--brand-primary-bright);
    margin-inline-end: 2px;
}

.pp-stat__label {
    display: block;
    margin-top: 8px;
    font-size: 0.92rem;
    color: var(--text-muted-3);
}

/* ---------- 8. Versus ---------- */

.pp-versus {
    padding: 72px 0;
    background: var(--surface-5);
}

.pp-versus__table {
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    overflow: hidden;
}

.pp-versus__head,
.pp-versus__row {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr) minmax(0, 1.6fr);
    gap: 0;
}

.pp-versus__head {
    background: var(--brand-ink);
    color: var(--white);
    font-weight: 700;
}

.pp-versus__head > span,
.pp-versus__row > span {
    padding: 18px 28px;
    font-size: 1rem;
}

.pp-versus__head > span {
    padding-block: 16px;
}

/* Marker before each cell so the two columns read at a glance. */
.pp-versus__row .pp-versus__them,
.pp-versus__row .pp-versus__us {
    position: relative;
    padding-inline-start: 56px;
}

.pp-versus__row .pp-versus__them::before,
.pp-versus__row .pp-versus__us::before {
    position: absolute;
    top: 50%;
    inset-inline-start: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 800;
    transform: translateY(-50%);
}

.pp-versus__row .pp-versus__them::before {
    content: "✕";
    background: var(--surface-red-1);
    color: var(--brand-red-deep-1);
}

.pp-versus__row .pp-versus__us::before {
    content: "✓";
    background: var(--brand-primary-bright);
    color: var(--pp-on-primary);
}

.pp-versus__row {
    border-top: 1px solid var(--border-soft);
}

.pp-versus__label {
    font-weight: 700;
    color: var(--brand-ink);
    background: var(--surface-1);
}

.pp-versus__row .pp-versus__them {
    color: var(--text-muted-4);
}

.pp-versus__row .pp-versus__us {
    color: var(--brand-ink);
    font-weight: 600;
    background: var(--primary-alpha-05);
}

/* ---------- 10. FAQ ---------- */

.pp-faq {
    padding: 72px 0;
    background: var(--surface-5);
}

/* Two independent columns so opening one answer never stretches its neighbour. */
.pp-faq__list {
    columns: 2;
    column-gap: 20px;
}

.pp-faq__item {
    break-inside: avoid;
    margin-bottom: 14px;
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.pp-faq__item[open] {
    border-color: var(--primary-bright-alpha-40);
    box-shadow: 0 10px 26px var(--shadow-06);
}

.pp-faq__item summary {
    padding: 18px 22px;
    font-weight: 700;
    color: var(--brand-ink);
    cursor: pointer;
    list-style: none;
}

.pp-faq__item summary::-webkit-details-marker {
    display: none;
}

/* The item clips its content (overflow: hidden), so an outside ring would be cut off: draw it
   inside the summary instead (navy on white, 16.6:1). */
.pp-page .pp-faq__item summary:focus-visible {
    outline-offset: -4px;
    box-shadow: none;
    border-radius: 12px;
}

.pp-faq__item summary::after {
    content: "+";
    float: inline-end;
    font-size: 1.3rem;
    color: var(--brand-primary-bright);
    line-height: 1;
}

.pp-faq__item[open] summary::after {
    content: "−";
}

.pp-faq__item p {
    padding: 0 22px 20px;
    color: var(--text-muted-2);
    line-height: 1.95;
}

/* ---------- 11. Final CTA ---------- */

.pp-final {
    padding: 0 0 88px;
    background: var(--white);
}

.pp-final__panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
    padding: 56px 60px;
    border-radius: 22px;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(700px 400px at 85% 20%, var(--primary-bright-alpha-30), transparent 65%),
        linear-gradient(150deg, var(--brand-ink) 0%, var(--brand-ink-2) 60%, #17385A 100%);
    box-shadow: 0 30px 70px rgba(15, 31, 51, 0.28);
}

/* Same faint blueprint grid as the hero, so the page opens and closes on one note. */
.pp-final__panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--white-10) 1px, transparent 1px),
        linear-gradient(90deg, var(--white-10) 1px, transparent 1px);
    background-size: 56px 56px;
    opacity: 0.35;
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.7), transparent 80%);
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.7), transparent 80%);
    pointer-events: none;
}

.pp-final__copy,
.pp-final__actions {
    position: relative;
}

.pp-final__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 13px;
    border: 1px solid var(--white-25);
    border-radius: 999px;
    font-size: 0.875rem;
    color: var(--white-85);
}

.pp-final__eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-gold);
}

.pp-final h2 {
    margin: 16px 0 10px;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--white);
}

.pp-final p {
    max-width: 520px;
    margin: 0 0 18px;
    color: var(--white-80);
    line-height: 1.85;
}

.pp-final__marks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pp-final__marks li {
    position: relative;
    padding-inline-start: 20px;
    font-size: 0.9rem;
    color: var(--white-85);
}

.pp-final__marks li::before {
    content: "✓";
    position: absolute;
    inset-inline-start: 0;
    color: var(--brand-gold);
    font-weight: 800;
}

.pp-final__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pp-final__actions .pp-btn {
    width: 100%;
}

.pp-final .pp-btn--ghost {
    color: var(--white);
    border-color: var(--white-30);
}

.pp-final .pp-btn--ghost:hover {
    background: var(--white-10);
    color: var(--white);
    border-color: var(--white-50);
}

.pp-final__alt {
    margin: 6px 0 0;
    text-align: center;
    font-size: 0.92rem;
    color: var(--white-80);
}

.pp-final__alt a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-inline: 4px;
    color: var(--white);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.pp-final__alt a:hover {
    color: var(--brand-gold);
}

/* ---------- Sticky mobile bar ---------- */

.pp-stickybar {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 900;
    display: none;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--white);
    border-top: 1px solid var(--border-soft);
    box-shadow: 0 -4px 18px var(--shadow-10);
}

.pp-stickybar[hidden] {
    display: none !important;
}

.pp-stickybar__price {
    flex: 1;
    font-size: 0.88rem;
    color: var(--text-muted-3);
}

.pp-stickybar__price strong {
    display: block;
    font-size: 1.05rem;
    color: var(--brand-ink);
}

.pp-stickybar .pp-btn {
    padding: 11px 20px;
    font-size: 0.95rem;
}

.pp-stickybar__wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand-whatsapp);
    /* Navy glyph on the green: 8.4:1 (white was ~2:1). */
    color: var(--brand-ink);
    flex-shrink: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
    /* Three cards still fit; tighten them rather than orphaning the third on its own row. */
    .pp-plan-grid {
        gap: 14px;
    }

    .pp-plan {
        padding: 28px 18px 22px;
    }

    .pp-showcase {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Hero stacks: copy first, then the site stack, both centred. */
    .pp-hero__grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .pp-hero__sub {
        margin-inline: auto;
    }

    .pp-hero__actions,
    .pp-hero__anchor {
        justify-content: center;
    }

    .pp-hero__learn {
        display: table;
        margin-inline: auto;
    }

    .pp-hero-card {
        max-width: 560px;
        margin: 0 auto;
        text-align: start;
    }

    .pp-hero-card--tilt {
        transform: none;
    }

    .pp-work__head {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    /* Tighter vertical rhythm — the desktop air makes the phone page endless. */
    .pp-hero {
        padding: 44px 0 40px;
    }

    .pp-packages {
        padding: 40px 0 44px;
    }

    .pp-matrix {
        padding: 36px 0 44px;
    }

    .pp-work,
    .pp-process,
    .pp-versus,
    .pp-trust,
    .pp-faq,
    .pp-final {
        padding: 48px 0;
    }

    .pp-section__desc {
        font-size: 0.98rem;
        margin-bottom: 24px;
    }

    .pp-hero__grid {
        gap: 30px;
    }

    .pp-hero__eyebrow {
        margin-bottom: 16px;
    }

    .pp-hero__title {
        font-size: clamp(1.75rem, 8vw, 2.3rem);
    }

    .pp-hero__sub {
        font-size: 0.98rem;
        line-height: 1.8;
        margin-bottom: 22px;
    }

    .pp-hero__actions {
        gap: 10px;
        margin-bottom: 18px;
    }

    .pp-hero__actions .pp-btn {
        flex: 1 1 140px;
        padding: 14px 18px;
        font-size: 1rem;
    }

    .pp-hero-card {
        padding: var(--pp-hero-card-pad-sm, 16px);
        border-radius: 16px;
    }

    .pp-report__kpis {
        gap: 6px;
    }

    .pp-report__kpi {
        padding: 10px 8px;
    }

    .pp-report__kpi-value {
        font-size: 1.15rem;
    }

    .pp-report__bars {
        height: 84px;
    }

    /* Trust bar: two tidy columns instead of a strip that cuts words off. */
    .pp-trustbar {
        padding: 14px 0;
    }

    .pp-trustbar__list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px 16px;
    }

    .pp-trustbar__list li {
        white-space: normal;
        font-size: 0.875rem;
    }

    /* Filter: full width, two equal segments. */
    .pp-filter {
        margin: -4px 0 18px;
    }

    .pp-filter__list {
        display: grid;
        width: 100%;
        max-width: 420px;
        gap: 4px;
        padding: 4px;
        border-radius: 14px;
    }

    .pp-filter__tab {
        min-width: 0;
        padding: 9px 8px;
        border-radius: 10px;
    }

    .pp-filter__label {
        font-size: 0.98rem;
    }

    .pp-filter__from {
        font-size: 0.875rem;
    }

    /* Packages: one card per screen, swipe sideways to compare. */
    .pp-swipe-hint {
        display: block;
    }

    .pp-plan-grid {
        display: flex;
        gap: 14px;
        margin: 0 -20px;
        padding: 16px 20px 8px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .pp-plan-grid::-webkit-scrollbar {
        display: none;
    }

    .pp-plan {
        flex: 0 0 84%;
        scroll-snap-align: start;
        padding: 26px 20px 22px;
    }

    .pp-plan__audience {
        min-height: 0;
    }

    .pp-plan__features li {
        padding-block: 4px;
        font-size: 0.9rem;
    }

    .pp-packages__note {
        margin-top: 18px;
        font-size: 0.875rem;
    }

    /* Showcase: same swipe strip, the "your site" card last. */
    .pp-work__head {
        gap: 12px;
        margin-bottom: 22px;
    }

    .pp-work__head .pp-section__desc {
        font-size: 0.95rem;
    }

    .pp-showcase {
        display: flex;
        gap: 14px;
        margin: 0 -20px;
        padding: 6px 20px 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .pp-showcase::-webkit-scrollbar {
        display: none;
    }

    .pp-site {
        flex: 0 0 80%;
        scroll-snap-align: start;
    }

    .pp-site:hover {
        transform: none;
    }

    .pp-site--cta {
        flex-basis: 72%;
        padding: 28px 20px;
    }

    .pp-work__actions {
        margin-top: 24px;
    }

    .pp-work__actions .pp-btn {
        flex: 1 1 100%;
    }

    .pp-versus__head,
    .pp-versus__row {
        grid-template-columns: 1fr 1fr;
    }

    .pp-versus__head > span:first-child,
    .pp-versus__label {
        grid-column: 1 / -1;
        border-bottom: 1px solid var(--border-soft);
    }

    .pp-versus__head > span:first-child {
        display: none;
    }

    .pp-versus__head > span,
    .pp-versus__row > span {
        padding: 11px 14px;
        font-size: 0.9rem;
    }

    .pp-versus__label {
        padding-block: 8px;
    }

    .pp-faq__item summary {
        padding: 14px 16px;
        font-size: 0.95rem;
    }

    .pp-faq__item p {
        padding: 0 16px 16px;
    }

    .pp-stickybar {
        display: flex;
        padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    }

    .pp-page {
        padding-bottom: 68px;
    }

    /* Safety net: the footer sits outside .pp-page, so while the fixed bar is shown the body keeps
       room for it and the footer's last links stay tappable. */
    body:has(.pp-stickybar:not([hidden])) {
        padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    }
}

/* Very narrow phones: keep the bar on two short lines instead of wrapping the label to three. */
@media (max-width: 360px) {
    .pp-stickybar {
        gap: 8px;
        padding-inline: 10px;
    }

    .pp-stickybar__price {
        min-width: 0;
        line-height: 1.35;
    }

    .pp-stickybar__price strong {
        font-size: 0.98rem;
        white-space: nowrap;
    }

    .pp-stickybar .pp-btn {
        padding: 10px 12px;
        white-space: nowrap;
    }
}

/* ---------- Responsive: steps, numbers, final CTA ---------- */

@media (max-width: 1024px) {
    /* Steps become a vertical timeline with the line on the inline-start side. */
    .pp-steps {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .pp-steps::before,
    .pp-steps::after {
        top: 24px;
        bottom: 24px;
        inset-inline: auto;
        inset-inline-start: 23px;
        width: 2px;
        height: auto;
    }

    .pp-js .pp-steps::after {
        transform: scaleY(0);
        transform-origin: center top;
    }

    .pp-js .pp-steps.is-in::after {
        transform: scaleY(1);
    }

    .pp-step {
        display: grid;
        grid-template-columns: 48px 1fr;
        gap: 4px 18px;
        padding-bottom: 28px;
        text-align: start;
    }

    .pp-step:last-child {
        padding-bottom: 0;
    }

    .pp-step__node {
        grid-row: 1 / 3;
    }

    .pp-step__title {
        margin: 0;
        align-self: end;
    }

    .pp-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .pp-stat:nth-child(3) {
        border-inline-start: 0;
    }

    .pp-stat:nth-child(n + 3) {
        border-top: 1px solid var(--border-soft);
    }

    .pp-final__panel {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 40px 36px;
    }

    .pp-final__actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .pp-final__actions .pp-btn {
        flex: 1 1 200px;
        width: auto;
    }

    .pp-final__alt {
        flex-basis: 100%;
    }
}

@media (max-width: 768px) {
    .pp-process {
        padding: 48px 0 40px;
    }

    .pp-trust {
        padding: 0 0 48px;
    }

    .pp-stat {
        padding: 18px 10px;
    }

    .pp-stat__label {
        font-size: 0.875rem;
    }

    .pp-final {
        padding: 0 0 48px;
    }

    .pp-final__panel {
        padding: 30px 22px;
        border-radius: 18px;
    }

    .pp-final__actions .pp-btn {
        flex-basis: 100%;
    }
}

/* ---------- Responsive: comparison + FAQ at full width ---------- */

@media (max-width: 1024px) {
    .pp-faq__list {
        columns: 1;
    }
}

@media (max-width: 768px) {
    .pp-versus__head > span,
    .pp-versus__row > span {
        padding: 12px 14px;
        font-size: 0.9rem;
    }

    .pp-versus__row .pp-versus__them,
    .pp-versus__row .pp-versus__us {
        padding-inline-start: 42px;
    }

    .pp-versus__row .pp-versus__them::before,
    .pp-versus__row .pp-versus__us::before {
        inset-inline-start: 12px;
        width: 20px;
        height: 20px;
    }
}

/* ===================================================================
   Additions for the shared system (not in the Saudi reference)
   =================================================================== */

/* ---------- Matrix note ---------- */

.pp-matrix__note {
    margin: 14px 0 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted-3);
}

/* ---------- Process: monthly cycle ---------- */

.pp-steps--cycle .pp-step:last-child .pp-step__node::after {
    content: "↺";
    position: absolute;
    top: -8px;
    inset-inline-end: -8px;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--brand-gold);
    color: var(--brand-ink);
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1;
}

.pp-process__cycle {
    margin: 30px auto 0;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--pp-accent-text);
}

/* ---------- Pillars (sections/pillars.php) ---------- */

.pp-pillars {
    padding: 80px 0;
    background: var(--white);
}

.pp-pillars__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pp-pillar {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 26px 24px 22px;
    background: var(--surface-5);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.pp-pillar:hover {
    transform: translateY(-4px);
    border-color: var(--primary-bright-alpha-40);
    box-shadow: 0 16px 36px var(--shadow-08);
}

.pp-pillar__num {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--brand-ink);
    color: var(--white);
    font-weight: 800;
    font-size: 0.9rem;
    direction: ltr;
    font-variant-numeric: tabular-nums;
}

.pp-pillar__title {
    margin: 4px 0 0;
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--brand-ink);
}

.pp-pillar__text {
    flex: 1;
    margin: 0;
    font-size: 0.93rem;
    line-height: 1.85;
    color: var(--text-muted-2);
}

.pp-pillar__tag {
    align-self: flex-start;
    padding: 5px 12px;
    border-radius: 8px;
    background: var(--primary-bright-alpha-12);
    color: var(--pp-accent-text);
    font-size: 0.875rem;
    font-weight: 700;
}

/* ---------- Report band (sections/custom/seo-report.php) ---------- */

.pp-report-band {
    position: relative;
    overflow: hidden;
    padding: 88px 0;
    color: var(--white);
    background:
        radial-gradient(800px 500px at 85% 100%, var(--primary-bright-alpha-20), transparent 65%),
        var(--brand-ink);
}

.pp-report-band__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 56px;
    align-items: center;
}

.pp-report-band .pp-section__eyebrow {
    margin-inline: 0;
}

.pp-report-band .pp-section__title {
    text-align: start;
    color: var(--white);
}

.pp-report-band .pp-section__desc {
    text-align: start;
    margin: 0 0 28px;
    color: var(--white-80);
}

.pp-chapters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pp-chapter {
    display: flex;
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--white-10);
}

.pp-chapter__num {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid var(--brand-primary-bright);
    color: var(--white);
    font-weight: 800;
    font-size: 0.85rem;
}

.pp-chapter__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pp-chapter__body strong {
    font-size: 0.98rem;
    color: var(--white);
}

.pp-chapter__body span {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--white-60);
}

.pp-report-band__note {
    margin: 18px 0 0;
    font-size: 0.875rem;
    color: var(--white-60);
}

/* Example report page. */
.pp-doc {
    margin: 0;
    padding: 26px;
    border-radius: 16px;
    background: var(--white);
    color: var(--text-deep);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
    transform: perspective(1400px) rotateY(5deg);
}

.pp-doc__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 2px solid var(--brand-ink);
}

.pp-doc__head strong {
    font-size: 1.05rem;
    color: var(--brand-ink);
}

.pp-doc__badge {
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px dashed var(--border-strong);
    color: var(--text-muted-3);
    font-size: 0.74rem;
    font-weight: 700;
    white-space: nowrap;
}

.pp-doc__table {
    width: 100%;
    margin-bottom: 16px;
    border-collapse: collapse;
    font-size: 0.86rem;
}

.pp-doc__table caption {
    padding-bottom: 8px;
    text-align: start;
    font-weight: 800;
    color: var(--brand-ink);
    font-size: 0.88rem;
}

.pp-doc__table th,
.pp-doc__table td {
    padding: 8px 6px;
    border-bottom: 1px solid var(--border-soft);
    text-align: center;
}

.pp-doc__table thead th {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--text-muted-4);
}

.pp-doc__table tbody th {
    text-align: start;
    font-weight: 500;
    color: var(--text-muted-2);
}

.pp-doc__pos {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 800;
    color: var(--brand-ink);
}

.pp-doc__pos--up::after {
    content: "▲";
    font-size: 0.62rem;
    color: var(--brand-success);
}

.pp-doc__pos--down::after {
    content: "▼";
    font-size: 0.62rem;
    color: var(--brand-red-deep-1);
}

.pp-doc__cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.pp-doc__block {
    padding: 12px;
    border-radius: 10px;
    background: var(--surface-5);
}

.pp-doc__label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--brand-ink);
}

.pp-doc__block ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pp-doc__block li {
    position: relative;
    padding-inline-start: 18px;
    font-size: 0.82rem;
    line-height: 1.8;
    color: var(--text-muted-2);
}

.pp-doc__done li::before,
.pp-doc__next li::before {
    position: absolute;
    inset-inline-start: 0;
    font-weight: 800;
}

.pp-doc__done li::before {
    content: "✓";
    color: var(--brand-success);
}

.pp-doc__next li::before {
    content: "←";
    color: var(--brand-primary-bright);
}

/* ---------- Testimonials: mock label ---------- */

.pp-voice__mock {
    align-self: flex-start;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px dashed var(--border-strong);
    color: var(--text-muted-4);
    font-size: 0.8125rem;
}

/* ---------- Sticky bar: unit ---------- */

.pp-stickybar__price small {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-muted-3);
}

/* ---------- Responsive (additions) ---------- */

@media (max-width: 1024px) {
    .pp-pillars__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pp-report-band__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .pp-doc {
        transform: none;
        max-width: 620px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .pp-pillars,
    .pp-report-band {
        padding: 48px 0;
    }

    .pp-pillars__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .pp-pillar {
        padding: 20px 18px 18px;
    }

    .pp-pillar:hover {
        transform: none;
    }

    .pp-chapters {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .pp-chapter {
        padding: 12px;
    }

    .pp-doc {
        padding: 18px 16px;
    }

    .pp-doc__cols {
        grid-template-columns: 1fr;
    }

    .pp-plan__head {
        flex-wrap: wrap;
    }

    .pp-process__cycle {
        margin-top: 20px;
        text-align: start;
    }

    .pp-report__bar {
        flex-wrap: wrap;
    }

    .pp-report__kpi-label,
    .pp-report__badge {
        font-size: 0.68rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pp-report__bar-fill {
        animation: none;
    }

    .pp-pillar,
    .pp-plan,
    .pp-voice,
    .pp-btn {
        transition: none;
    }

    .pp-plan:hover,
    .pp-pillar:hover,
    .pp-voice:hover,
    .pp-btn:hover {
        transform: none;
    }
}
