/* ── WordPress Design Service Page ───────────────────────── */

.sp-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-md);
}


/* ── HERO ─────────────────────────────────────────────────── */
.sp-hero {
    padding: var(--space-xl) 0 0;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.sp-hero-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: flex-start;
}

.sp-hero-h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: var(--space-sm);
}

.sp-hero-h1 em {
    color: var(--color-pink);
    font-style: italic;
}

.sp-hero-sub {
    font-size: var(--text-lg);
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: var(--space-md);
    max-width: 440px;
}

.sp-hero-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ── HERO MOCKUP ──────────────────────────────────────────── */
.hero-mockup {
    position: relative;
    height: 520px;
    border-radius: 14px 14px 0 0;
    overflow: hidden;
    box-shadow: 0 30px 80px -20px rgb(0 0 0 / 18%), 0 0 0 1px rgb(0 0 0 / 6%);
    background: #fff;
    align-self: flex-end;
}

.hero-mockup::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--bg));
    pointer-events: none;
    z-index: 5;
}

.hero-mockup-bar {
    height: 22px;
    background: #ebe8e3;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    border-bottom: 1px solid rgb(0 0 0 / 5%);
    position: sticky;
    top: 0;
    z-index: 4;
}

.hero-mockup-bar span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgb(0 0 0 / 18%);
}

.hero-mockup-scroll {
    animation: wpsScrollY 28s linear infinite;
    will-change: transform;
}

@keyframes wpsScrollY {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-mockup-scroll { animation: none; }
}

/* URL bar (SEO page mockup only) */
.hero-mockup-url {
    flex: 1;
    margin-left: var(--space-sm);
    height: 16px;
    background: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 0 8px;
    font-size: 10px;
    color: #888;
    letter-spacing: 0;
}

/* SERP wireframe (SEO page hero) */
.serp-wf {
    padding: 22px 26px;
}

.serp-wf-search {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.serp-wf-logo {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: var(--text-base);
    flex-shrink: 0;
}

.serp-wf-logo span:nth-child(1) { color: #4285f4; }
.serp-wf-logo span:nth-child(2) { color: #ea4335; }
.serp-wf-logo span:nth-child(3) { color: #fbbc05; }
.serp-wf-logo span:nth-child(4) { color: #4285f4; }
.serp-wf-logo span:nth-child(5) { color: #34a853; }
.serp-wf-logo span:nth-child(6) { color: #ea4335; }

.serp-wf-input {
    flex: 1;
    border: 1px solid #dfe1e5;
    border-radius: 24px;
    padding: 7px 14px;
    display: flex;
    align-items: center;
}

.serp-wf-query {
    width: 120px;
    height: 8px;
    background: #d4d1cb;
    border-radius: 3px;
}

.serp-wf-result {
    padding: 16px 0;
}

.serp-wf-result-featured {
    border-left: 3px solid var(--color-green);
    padding-left: 14px;
    margin-left: -14px;
}

.serp-wf-bar {
    display: block;
    height: 8px;
    background: #e5e2dd;
    border-radius: 3px;
    margin-top: 4px;
}

.serp-wf-bar:first-child {
    background: #d4d1cb;
    margin-top: 0;
}

.serp-wf-bar-title {
    height: 14px;
    margin-top: 6px;
}

.serp-wf-bar-accent {
    background: var(--color-green);
}

/* Wireframe elements */
.wf {
    padding: 20px 18px;
    border-bottom: 1px solid #f0ede8;
    background: #fff;
}

.wf-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background: #faf8f5;
    border-bottom: 1px solid #f0ede8;
}

.wf-logo {
    width: 32px;
    height: 10px;
    background: var(--color-green);
    border-radius: 2px;
}

.wf-nav-links {
    display: flex;
    gap: 8px;
}

.wf-h {
    height: 12px;
    background: #c8c4be;
    border-radius: 3px;
    margin-bottom: 8px;
}

.wf-h.sm { width: 55%; }
.wf-h.md { width: 75%; }
.wf-h.lg { width: 90%; }

.wf-bar {
    height: 7px;
    background: #e4e1db;
    border-radius: 2px;
    margin-bottom: 6px;
}

.wf-bar.sm { width: 60%; }
.wf-bar.md { width: 85%; }
.wf-bar.full { width: 100%; }

.wf-img {
    height: 80px;
    border-radius: 4px;
    background-color: var(--bg-cream);
    background-image:
        linear-gradient(rgb(28 28 28 / 7%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(28 28 28 / 7%) 1px, transparent 1px);
    background-size: 18px 18px;
    background-position: -0.5px -0.5px;
    border: 1px solid rgb(28 28 28 / 6%);
    margin-bottom: 8px;
}

.wf-img.tall { height: 120px; }

.wf-3up {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 8px;
}

.wf-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: center;
}

.wf-btn {
    display: inline-block;
    height: 10px;
    width: 80px;
    background: var(--color-blue);
    border-radius: 3px;
    margin-top: 8px;
    opacity: 0.7;
}

.wf-green-block {
    background: var(--color-green);
    height: 50px;
    border-radius: 8px;
}

.wf-pink-block {
    background: var(--color-pink);
    height: 10px;
    width: 80px;
    border-radius: 8px;
}

.wf-testimonial {
    background: #f5f3ef;
    border-radius: 8px;
    padding: 12px;
}

/* ── TRUST STRIP ──────────────────────────────────────────── */
.sp-trust {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border);
}

.sp-trust-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.sp-trust-stat {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.sp-trust-num {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    line-height: 1;
}

.sp-trust-label {
    font-size: 12px;
    color: var(--muted);
}

.sp-trust-divider {
    width: 1px;
    height: 28px;
    background: var(--border);
}

.sp-trust-stars {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sp-trust-stars-row {
    display: flex;
    gap: 2px;
}

.sp-trust-quote {
    font-size: 13px;
    color: var(--muted);
    font-style: italic;
    max-width: 280px;
}

/* ── WHAT YOU GET ─────────────────────────────────────────── */
.sp-what {
    padding: var(--space-xl) 0;
    border-bottom: 1px solid var(--border);
}

.sp-what-grid {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.sp-what-h2 {
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.15;
    position: sticky;
    top: 80px;
}

.sp-what-list {
    list-style: none;
}

.sp-what-list li {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    color: var(--text);
    display: flex;
    gap: 12px;
    align-items: flex-start;
    line-height: 1.5;
}

.sp-what-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-green);
    flex-shrink: 0;
    margin-top: 6px;
}

.sp-what-list li:first-child { border-top: 1px solid var(--border); }

/* ── RECENT WORK ──────────────────────────────────────────── */
.sp-work {
    padding: var(--space-xl) 0;
}

.sp-work-header {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-md);
    margin-bottom: var(--space-md);
}

.sp-work-h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 400;
    letter-spacing: -0.02em;
}

.work-d-list {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    flex-direction: column;
}

.work-d-row {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: var(--space-md);
    align-items: center;
    padding: var(--space-md) 0;
    border-top: 1px solid var(--border);
}

.work-d-row.alt {
    grid-template-columns: 1fr 1.6fr;
}

.work-d-row.alt .work-d-text {
    order: -1;
}

.work-d-num {
    color: var(--color-blue);
}

.work-d-title {
    font-size: clamp(1.4rem, 2vw, 1.75rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
    color: var(--text);
}

.work-d-type {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 14px;
}

.work-d-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.work-d-tag {
    font-size: 11px;
    background: rgb(28 28 28 / 5%);
    color: var(--muted);
    border-radius: 100px;
    padding: 3px 10px;
}

.work-d-img {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--color-off-white);
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-d-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* ── HOW IT WORKS ─────────────────────────────────────────── */
.sp-process {
    padding: var(--space-xl) 0;
    border-bottom: 1px solid var(--border);
}

.sp-process-grid {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.sp-process-h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.15;
    position: sticky;
    top: 80px;
}

.sp-process-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sp-process-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: var(--space-md) 0;
    border-top: 1px solid var(--border);
}

.sp-process-step:last-child {
    border-bottom: 1px solid var(--border);
}

.sp-process-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--color-blue);
    color: var(--color-blue);
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0.05em;
}

.sp-process-body {}

.sp-process-title {
    /* font-family: var(--font-serif); */
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 6px;
}

.sp-process-desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
}

/* ── PRICING BLOCK ────────────────────────────────────────── */
/* ── V4 pricing strip ── */
.pricing-section {
    background: var(--bg-cream);
    padding: 80px 64px;
    font-family: var(--font-sans);
    color: var(--text);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.pricing-section__grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 64px;
    align-items: center;
    max-width: var(--max-w);
    margin: 0 auto;
}

.pricing-section__eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-green);
    margin-bottom: 8px;
}

.pricing-section__from {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}

.pricing-section__stripe {
    display: grid;
    grid-template-columns: repeat(20, 14px);
    grid-template-rows: 14px;
    gap: 2px;
    margin-bottom: 28px;
}

.pricing-section__stripe .tc {
    border-radius: 1px;
    background: transparent;
}
.pricing-section__stripe .tc.g { background: var(--color-green); }
.pricing-section__stripe .tc.p { background: var(--color-pink); }
.pricing-section__stripe .tc.y { background: var(--color-yellow); }
.pricing-section__stripe .tc.b { background: var(--color-blue); }

.pricing-section__price {
    font-family: var(--font-serif);
    font-size: 96px;
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: 0.02em;
    color: var(--text);
    margin-bottom: 28px;
}

.pricing-section__sub {
    font-size: 15px;
    line-height: 1.55;
    color: var(--muted);
    max-width: 48ch;
    margin-bottom: 8px;
}

.pricing-section__cta-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}


.pricing-section__included {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
}

.pricing-section__reply {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
}
.pricing-section__reply::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--color-green);
    border-radius: 1px;
    flex-shrink: 0;
}

/* ── FINAL CTA ────────────────────────────────────────────── */
.sp-cta {
    padding: var(--space-xl) 0;
    text-align: center;
}

.sp-cta-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.sp-cta-h {
    margin-bottom: var(--space-md);
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 3.5rem);
}

.sp-cta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 860px) {
    .sp-trust-inner {
        flex-wrap: wrap;
        gap: var(--space-sm) var(--space-md);
    }

    .sp-trust-divider { display: none; }

    .sp-trust-stars {
        flex-basis: 100%;
    }

    .sp-trust-quote { max-width: 100%; }
}

@media (max-width: 768px) {

    .sp-hero{
        padding: var(--space-md) 0;
    }
    .sp-hero-inner {
        grid-template-columns: 1fr;
        padding-bottom: 0;
    }

    .hero-mockup { display: none; }

    .sp-what-grid,
    .sp-process-grid { grid-template-columns: 1fr; gap: var(--space-md); }

    .sp-what-h2,
    .sp-process-h2 { position: static; }

    .work-d-row,
    .work-d-row.alt {
        grid-template-columns: 1fr;
    }

    .work-d-row.alt .work-d-text { order: 0; }

    .sp-what,
    .sp-work,
    .sp-process,
    .sp-cta          { padding: var(--space-md) 0; }

    .sp-trust-inner {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm) var(--space-md);
        align-items: start;
    }

    .sp-trust-stars {
        grid-column: 1 / -1;
        flex-direction: column;
        align-items: flex-start;
    }

    .sp-trust-quote { max-width: 100%; }

    .sp-trust-divider { display: none; }

    .pricing-section {
        padding: var(--space-md);
    }
    .pricing-section__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .pricing-section__cta-col { align-items: flex-start; }
    .pricing-section__price { font-size: 64px; }
    .pricing-section__stripe {
        grid-template-columns: repeat(20, 10px);
        grid-template-rows: 10px;
    }
}

/* ── WooCommerce Shop Wireframe Mockup ────────────────────── */
.wf-shop {
    background: #fff;
}

.wf-row {
    padding: 20px 24px;
    border-bottom: 1px solid #f0ede8;
}

.wf-shop .wf-h {
    background: #d4d1cb;
    border-radius: 4px;
    height: 18px;
    margin-bottom: 8px;
}

.wf-shop .wf-bar {
    background: #e5e2dd;
    border-radius: 3px;
    height: 10px;
}

.wf-bar-dark {
    background: #555;
    height: 8px;
}

.wf-shop .wf-img {
    height: 110px;
    margin-bottom: 8px;
}

.wf-row-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
}

.wf-row-right {
    display: flex;
    gap: 10px;
    align-items: center;
}

.wf-cart {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: var(--color-blue);
}

.wf-row-header { padding: 24px; }

.wf-row-filters {
    display: flex;
    gap: 8px;
    padding: 12px 24px;
}

.wf-chip {
    width: 50px;
    height: 20px;
    border-radius: 100px;
    border: 1px solid #e5e2dd;
    background: transparent;
}

.wf-chip-active {
    background: var(--color-green);
    border-color: var(--color-green);
}

.wf-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 20px 24px;
}

.wf-product {
    display: flex;
    flex-direction: column;
}

.wf-product-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
}

.wf-price {
    width: 30px;
    height: 8px;
    background: var(--color-green);
    border-radius: 3px;
}

.wf-add {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: var(--color-blue);
}

.wf-row-pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    padding: 16px 24px;
}

.wf-page {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid #e5e2dd;
}

.wf-page-active {
    background: var(--color-blue);
    border-color: var(--color-blue);
}

.wf-row-footer {
    display: flex;
    justify-content: space-between;
    padding: 20px 24px;
    background: #2a2a2a;
    border-bottom: none;
}

/* ── WHO IT'S FOR (angled grid) ──────────────────────────── */
.who-section {
    position: relative;
    background: var(--bg-cream);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: var(--space-xl) 0;
    overflow: hidden;
}

/* Bottom-left corner sits inside the section; grid bleeds off the top-right. No mask. */
.who-grid {
    position: absolute;
    width: 700px;
    height: 700px;
    right: -200px;
    bottom: 50px;
    transform: rotate(10deg);
    transform-origin: bottom left;
    pointer-events: none;
}

.who-grid svg {
    display: block;
    width: 100%;
    height: 100%;
}

.who-inner {
    position: relative;
    z-index: 1;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-md);
    text-align: left;
}

.who-text {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.4rem, 2.5vw, 1.75rem);
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-top: var(--space-sm);
    max-width: 640px;
}

@media (max-width: 768px) {
    .who-section { padding: var(--space-md) 0; }

    .who-grid {
        width: 420px;
        height: 420px;
        right: -180px;
        bottom: -120px;
    }
    .who-text { font-size: var(--text-xl); }
}

/* ——————————————————————————————————————————
   "SEE MORE WORK" CTA ROW
   Full-width clickable band between work showcase and Who It's For.
   One top border only — no bottom (who-section provides its own).
—————————————————————————————————————————— */
.work-cta-row {
    display: block;
    /* background: var(--bg); */
    text-decoration: none;
    color: var(--text);
    transition: background 0.2s var(--ease);
}
.work-cta-row:hover,
.work-cta-row:focus-visible {
    background: var(--color-blue);
    outline: none;
}

.work-cta-row__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: var(--space-md) var(--space-md) var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

@media (prefers-reduced-motion: no-preference) {
    .work-cta-row__inner { transition: padding-left 0.2s var(--ease); }
    .work-cta-row:hover .work-cta-row__inner,
    .work-cta-row:focus-visible .work-cta-row__inner {
        padding-left: calc(var(--space-md) + 12px);
    }
    .work-cta-row__arrow { transition: color 0.2s var(--ease), transform 0.2s var(--ease); }
    .work-cta-row:hover .work-cta-row__arrow { transform: translateX(8px); }
}

.work-cta-row__label {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
    transition: color 0.2s var(--ease);
}
.work-cta-row__title {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--text);
    transition: color 0.2s var(--ease);
}
.work-cta-row:hover .work-cta-row__label,
.work-cta-row:hover .work-cta-row__title { color: #fff; }

.work-cta-row__arrow {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    color: var(--color-blue);
    transition: color 0.2s var(--ease);
}
.work-cta-row__arrow svg { width: 100%; height: 100%; display: block; }
.work-cta-row:hover .work-cta-row__arrow { color: #fff; }

@media (max-width: 768px) {
    .work-cta-row__inner { padding: var(--space-md); }
    .work-cta-row__title { font-size: var(--text-xl); }
}
