/* ============================================================
   WILLECO Design System – theme.css
   Scandinavian Editorial Precision.
   Deep ink tones, warm paper textures, sharp typographic contrast.
   ============================================================ */

/* -------------------------------------------------------
   1. CSS Custom Properties (Design Tokens)
   ------------------------------------------------------- */
:root {
    /* Palette — ink & paper */
    --wc-ink:              #0A0F1C;
    --wc-ink-soft:         #1B2036;
    --wc-paper:            #F8F6F3;
    --wc-paper-warm:       #F0EDE8;
    --wc-surface:          #FFFFFF;
    --wc-terracotta:       #C9452B;
    --wc-terracotta-hover: #E05038;
    --wc-navy:             #1A3A5C;
    --wc-gold:             #C4956A;
    --wc-gold-soft:        rgba(196, 149, 106, 0.15);
    --wc-border:           rgba(10, 15, 28, 0.08);
    --wc-border-strong:    rgba(10, 15, 28, 0.14);

    /* Legacy aliases (Elementor widgets that reference old vars) */
    --wc-primary:          var(--wc-ink);
    --wc-secondary:        var(--wc-navy);
    --wc-bg-light:         var(--wc-paper);
    --wc-text-dark:        var(--wc-ink);
    --wc-text-light:       var(--wc-paper);
    --wc-accent:           var(--wc-terracotta);
    --wc-accent-hover:     var(--wc-terracotta-hover);
    --wc-card-bg:          var(--wc-surface);

    /* Typography */
    --wc-font-headline:    'Instrument Serif', Georgia, serif;
    --wc-font-body:        'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Elementor Global Typography Variables */
    --e-global-typography-primary-font-family:    'Instrument Serif';
    --e-global-typography-primary-font-weight:    400;
    --e-global-typography-secondary-font-family:  'DM Sans';
    --e-global-typography-secondary-font-weight:  400;
    --e-global-typography-text-font-family:       'DM Sans';
    --e-global-typography-text-font-weight:       400;
    --e-global-typography-text-font-size:         17px;
    --e-global-typography-text-line-height:        1.65em;
    --e-global-typography-accent-font-family:     'Instrument Serif';
    --e-global-typography-accent-font-weight:     400;

    /* Custom WILLECO typography presets */
    --e-global-typography-willeco_h1-font-family:  'Instrument Serif';
    --e-global-typography-willeco_h1-font-weight:  400;
    --e-global-typography-willeco_h1-font-size:    64px;
    --e-global-typography-willeco_h1-line-height:  1.05em;
    --e-global-typography-willeco_h2-font-family:  'Instrument Serif';
    --e-global-typography-willeco_h2-font-weight:  400;
    --e-global-typography-willeco_h2-font-size:    46px;
    --e-global-typography-willeco_h2-line-height:  1.08em;
    --e-global-typography-willeco_h3-font-family:  'Instrument Serif';
    --e-global-typography-willeco_h3-font-weight:  400;
    --e-global-typography-willeco_h3-font-size:    30px;
    --e-global-typography-willeco_h3-line-height:  1.15em;
    --e-global-typography-willeco_body-font-family: 'DM Sans';
    --e-global-typography-willeco_body-font-weight: 400;
    --e-global-typography-willeco_body-font-size:   17px;
    --e-global-typography-willeco_body-line-height:  1.65em;
    --e-global-typography-willeco_small-font-family: 'DM Sans';
    --e-global-typography-willeco_small-font-weight: 500;
    --e-global-typography-willeco_small-font-size:   13px;
    --e-global-typography-willeco_small-line-height:  1.5em;
    --e-global-typography-willeco_button-font-family: 'DM Sans';
    --e-global-typography-willeco_button-font-weight: 600;
    --e-global-typography-willeco_button-font-size:   15px;
    --e-global-typography-willeco_button-line-height:  1.2em;

    /* Spacing */
    --wc-section-pad:      112px;
    --wc-section-pad-mob:  64px;
    --wc-container-max:    1120px;
    --wc-gap-lg:           72px;
    --wc-gap-md:           44px;
    --wc-gap-sm:           24px;
    --wc-gap-xs:           12px;

    /* Buttons */
    --wc-btn-radius:       6px;
    --wc-btn-pad:          15px 32px;
    --wc-btn-weight:       600;

    /* Motion */
    --wc-ease:             cubic-bezier(0.22, 1, 0.36, 1);
    --wc-duration:         0.5s;
    --wc-duration-fast:    0.25s;
}

/* -------------------------------------------------------
   2. Base Typography
   ------------------------------------------------------- */
body.willeco-theme {
    font-family: var(--wc-font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--wc-ink);
    background: var(--wc-paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.willeco-theme h1,
.willeco-theme h2,
.willeco-theme h3,
.willeco-theme h4 {
    font-family: var(--wc-font-headline);
    color: var(--wc-ink);
    font-weight: 400;
    line-height: 1.08;
    margin-bottom: 0.35em;
    letter-spacing: -0.01em;
}

h1, .willeco-theme h1 { font-size: 64px; line-height: 1.05; }
h2, .willeco-theme h2 { font-size: 46px; }
h3, .willeco-theme h3 { font-size: 30px; line-height: 1.15; }
h4, .willeco-theme h4 { font-size: 22px; }

@media (max-width: 767px) {
    :root {
        --e-global-typography-willeco_h1-font-size: 38px;
        --e-global-typography-willeco_h2-font-size: 30px;
        --e-global-typography-willeco_h3-font-size: 22px;
        --e-global-typography-text-font-size: 16px;
    }
    h1, .willeco-theme h1 { font-size: 38px; }
    h2, .willeco-theme h2 { font-size: 30px; }
    h3, .willeco-theme h3 { font-size: 22px; }
    body.willeco-theme     { font-size: 16px; }
}

/* -------------------------------------------------------
   3. Links
   ------------------------------------------------------- */
.willeco-theme a {
    color: var(--wc-terracotta);
    text-decoration: none;
    transition: color var(--wc-duration-fast) var(--wc-ease);
}
.willeco-theme a:hover {
    color: var(--wc-terracotta-hover);
}

/* -------------------------------------------------------
   4. Section Helpers
   ------------------------------------------------------- */
.apx-section {
    padding: var(--wc-section-pad) 0;
    position: relative;
}
.apx-section--dark {
    background: var(--wc-ink);
    color: var(--wc-paper);
}
.apx-section--dark h1,
.apx-section--dark h2,
.apx-section--dark h3,
.apx-section--dark h4 {
    color: var(--wc-paper);
}
.apx-section--blue {
    background: var(--wc-ink);
    color: var(--wc-paper);
}
.apx-section--blue h1,
.apx-section--blue h2,
.apx-section--blue h3,
.apx-section--blue h4 {
    color: var(--wc-paper);
}
.apx-section--light {
    background: var(--wc-paper);
}
.apx-section--warm {
    background: var(--wc-paper-warm);
}
.apx-section--white {
    background: var(--wc-surface);
}

@media (max-width: 767px) {
    .apx-section {
        padding: var(--wc-section-pad-mob) 0;
    }
}

/* -------------------------------------------------------
   5. Container Helper
   ------------------------------------------------------- */
.apx-container {
    max-width: var(--wc-container-max);
    margin: 0 auto;
    padding: 0 28px;
}

/* -------------------------------------------------------
   6. Hero / Stat Block
   ------------------------------------------------------- */
.apx-hero {
    padding: var(--wc-section-pad) 0;
    background: var(--wc-ink);
    color: var(--wc-paper);
    position: relative;
    overflow: hidden;
}
.apx-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(196, 149, 106, 0.06), transparent),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(201, 69, 43, 0.04), transparent);
    pointer-events: none;
}

@media (max-width: 767px) {
    .apx-hero { padding: var(--wc-section-pad-mob) 0; }
}

.apx-stat {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: var(--wc-gap-sm);
}
.apx-stat__number {
    font-family: var(--wc-font-headline);
    font-size: 80px;
    font-weight: 400;
    line-height: 1;
    color: var(--wc-paper);
    font-style: italic;
}
.apx-stat__label {
    font-family: var(--wc-font-body);
    font-size: 13px;
    font-weight: 500;
    opacity: 0.55;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
@media (max-width: 767px) {
    .apx-stat__number { font-size: 52px; }
}

/* -------------------------------------------------------
   7. Highlight Text (accent keyword)
   ------------------------------------------------------- */
.apx-highlight {
    color: var(--wc-terracotta);
}
.apx-highlight--italic {
    color: var(--wc-terracotta);
    font-family: var(--wc-font-headline);
    font-style: italic;
}
.apx-highlight--gold {
    color: var(--wc-gold);
}

/* -------------------------------------------------------
   8. Metric Row (Results section)
   ------------------------------------------------------- */
.apx-metrics {
    display: flex;
    gap: var(--wc-gap-lg);
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}
.apx-metric {
    flex: 1 1 200px;
    max-width: 260px;
    position: relative;
}
.apx-metric::after {
    content: '';
    position: absolute;
    right: calc(var(--wc-gap-lg) / -2);
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 48px;
    background: var(--wc-border-strong);
}
.apx-metric:last-child::after {
    display: none;
}
.apx-metric__value {
    font-family: var(--wc-font-headline);
    font-size: 56px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.1;
    color: var(--wc-terracotta);
    margin-bottom: 8px;
}
.apx-metric__label {
    font-family: var(--wc-font-body);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--wc-ink);
    opacity: 0.5;
}
@media (max-width: 767px) {
    .apx-metric__value { font-size: 40px; }
    .apx-metrics { gap: var(--wc-gap-md); }
    .apx-metric::after { display: none; }
}

/* -------------------------------------------------------
   9. Cards (Solution section)
   ------------------------------------------------------- */
.apx-card {
    background: var(--wc-surface);
    border: 1px solid var(--wc-border);
    border-radius: 3px;
    padding: var(--wc-gap-md) var(--wc-gap-md) var(--wc-gap-md);
    transition: border-color var(--wc-duration-fast) var(--wc-ease),
                box-shadow var(--wc-duration) var(--wc-ease);
    position: relative;
}
.apx-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--wc-terracotta);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--wc-duration) var(--wc-ease);
}
.apx-card:hover {
    border-color: var(--wc-border-strong);
    box-shadow: 0 16px 48px rgba(10, 15, 28, 0.06);
}
.apx-card:hover::before {
    transform: scaleX(1);
}
.apx-card__step {
    font-family: var(--wc-font-headline);
    font-size: 52px;
    font-style: italic;
    color: var(--wc-gold);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 16px;
}
.apx-card__title {
    font-family: var(--wc-font-headline);
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 14px;
    color: var(--wc-ink);
}
.apx-card__text {
    font-size: 16px;
    line-height: 1.65;
    color: var(--wc-ink);
    opacity: 0.7;
}

/* -------------------------------------------------------
   10. Buttons
   ------------------------------------------------------- */
.apx-pill {
    display: inline-block;
    font-family: var(--wc-font-body);
    font-size: 15px;
    font-weight: var(--wc-btn-weight);
    padding: var(--wc-btn-pad);
    border-radius: var(--wc-btn-radius);
    text-decoration: none;
    transition: all var(--wc-duration-fast) var(--wc-ease);
    cursor: pointer;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.apx-pill--primary {
    background: var(--wc-terracotta);
    color: #FFFFFF;
    border: none;
}
.apx-pill--primary:hover {
    background: var(--wc-terracotta-hover);
    box-shadow: 0 4px 20px rgba(201, 69, 43, 0.25);
    color: #FFFFFF;
    transform: translateY(-1px);
}
.apx-pill--ghost {
    background: transparent;
    color: var(--wc-paper);
    border: 1px solid rgba(248, 246, 243, 0.25);
}
.apx-pill--ghost:hover {
    background: rgba(248, 246, 243, 0.08);
    border-color: rgba(248, 246, 243, 0.5);
    color: #FFFFFF;
}
.apx-pill--accent {
    background: var(--wc-ink);
    color: var(--wc-paper);
    border: none;
}
.apx-pill--accent:hover {
    background: var(--wc-ink-soft);
    color: var(--wc-paper);
    transform: translateY(-1px);
}

/* -------------------------------------------------------
   11. Problem List
   ------------------------------------------------------- */
.apx-problem-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.apx-problem-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 18px;
    font-size: 17px;
    line-height: 1.65;
}
.apx-problem-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    background: var(--wc-terracotta);
}

/* -------------------------------------------------------
   12. Eyebrow / Label
   ------------------------------------------------------- */
.apx-eyebrow {
    font-family: var(--wc-font-body);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--wc-gold);
    margin-bottom: 16px;
    display: block;
}
.apx-eyebrow--light {
    color: var(--wc-gold);
    opacity: 0.8;
}

/* -------------------------------------------------------
   13. Divider
   ------------------------------------------------------- */
.apx-divider {
    width: 48px;
    height: 2px;
    background: var(--wc-terracotta);
    border: none;
    margin: var(--wc-gap-md) 0;
}
.apx-divider--gold {
    background: var(--wc-gold);
}

/* -------------------------------------------------------
   14. Scroll Reveal Animations
   ------------------------------------------------------- */
@keyframes wc-fade-up {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes wc-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes wc-slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-32px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.wc-animate {
    opacity: 0;
    animation: wc-fade-up var(--wc-duration) var(--wc-ease) forwards;
}
.wc-animate--delay-1 { animation-delay: 0.1s; }
.wc-animate--delay-2 { animation-delay: 0.2s; }
.wc-animate--delay-3 { animation-delay: 0.3s; }
.wc-animate--delay-4 { animation-delay: 0.4s; }
.wc-animate--delay-5 { animation-delay: 0.5s; }

/* -------------------------------------------------------
   15. Grain Overlay (atmosphere)
   ------------------------------------------------------- */
.apx-grain::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.025;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* -------------------------------------------------------
   16. Utility Classes
   ------------------------------------------------------- */
.wc-text-center { text-align: center; }
.wc-text-light  { color: var(--wc-paper); }
.wc-text-dark   { color: var(--wc-ink); }
.wc-bg-primary  { background: var(--wc-ink); }
.wc-bg-light    { background: var(--wc-paper); }
.wc-mt-sm       { margin-top: var(--wc-gap-sm); }
.wc-mt-md       { margin-top: var(--wc-gap-md); }
.wc-mt-lg       { margin-top: var(--wc-gap-lg); }
.wc-mb-sm       { margin-bottom: var(--wc-gap-sm); }
.wc-mb-md       { margin-bottom: var(--wc-gap-md); }
.wc-mb-lg       { margin-bottom: var(--wc-gap-lg); }

/* -------------------------------------------------------
   17. Editorial Pull Quote
   ------------------------------------------------------- */
.apx-pullquote {
    font-family: var(--wc-font-headline);
    font-size: 36px;
    font-style: italic;
    line-height: 1.25;
    color: var(--wc-ink);
    border-left: 3px solid var(--wc-gold);
    padding-left: var(--wc-gap-md);
    margin: var(--wc-gap-lg) 0;
    max-width: 640px;
}
@media (max-width: 767px) {
    .apx-pullquote { font-size: 26px; }
}

/* -------------------------------------------------------
   18. Selection Styling
   ------------------------------------------------------- */
.willeco-theme ::selection {
    background: var(--wc-gold-soft);
    color: var(--wc-ink);
}

/* -------------------------------------------------------
   19. Product Page – How It Works (numbered steps)
   ------------------------------------------------------- */
.apx-steps {
    display: flex;
    gap: var(--wc-gap-md);
    flex-wrap: wrap;
    counter-reset: step;
}
.apx-step {
    flex: 1 1 280px;
    position: relative;
    padding: var(--wc-gap-md);
    background: var(--wc-surface);
    border: 1px solid var(--wc-border);
    border-radius: 3px;
    counter-increment: step;
    transition: border-color var(--wc-duration-fast) var(--wc-ease),
                box-shadow var(--wc-duration) var(--wc-ease);
}
.apx-step::before {
    content: counter(step, decimal-leading-zero);
    font-family: var(--wc-font-headline);
    font-size: 52px;
    font-style: italic;
    color: var(--wc-gold);
    opacity: 0.3;
    line-height: 1;
    display: block;
    margin-bottom: 16px;
}
.apx-step:hover {
    border-color: var(--wc-border-strong);
    box-shadow: 0 16px 48px rgba(10, 15, 28, 0.06);
}
.apx-step__title {
    font-family: var(--wc-font-headline);
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 14px;
    color: var(--wc-ink);
}
.apx-step__text {
    font-size: 16px;
    line-height: 1.65;
    color: var(--wc-ink);
    opacity: 0.7;
}

/* -------------------------------------------------------
   20. Product Page – Testimonial Block
   ------------------------------------------------------- */
.apx-testimonial {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.apx-testimonial__quote {
    font-family: var(--wc-font-headline);
    font-size: 30px;
    font-style: italic;
    line-height: 1.35;
    color: var(--wc-ink);
    margin-bottom: var(--wc-gap-sm);
}
.apx-testimonial__quote::before {
    content: '\201C';
    display: block;
    font-size: 64px;
    line-height: 0.5;
    color: var(--wc-gold);
    margin-bottom: 16px;
}
.apx-testimonial__author {
    font-family: var(--wc-font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--wc-ink);
    opacity: 0.6;
}
@media (max-width: 767px) {
    .apx-testimonial__quote { font-size: 22px; }
}

/* -------------------------------------------------------
   21. Product Page – Feature Grid with Icons
   ------------------------------------------------------- */
.apx-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--wc-gap-md);
}
.apx-feature {
    padding: var(--wc-gap-md);
    border-bottom: 1px solid var(--wc-border);
}
.apx-feature__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--wc-gold-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.apx-feature__icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--wc-gold);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.apx-feature__title {
    font-family: var(--wc-font-headline);
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 10px;
    color: var(--wc-ink);
}
.apx-feature__text {
    font-size: 16px;
    line-height: 1.65;
    color: var(--wc-ink);
    opacity: 0.7;
}

/* -------------------------------------------------------
   22. Product Page – Compact Stat Row
   ------------------------------------------------------- */
.apx-stat-row {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    border-top: 1px solid var(--wc-border);
    border-bottom: 1px solid var(--wc-border);
}
.apx-stat-item {
    flex: 1 1 200px;
    text-align: center;
    padding: var(--wc-gap-md) var(--wc-gap-sm);
    border-right: 1px solid var(--wc-border);
}
.apx-stat-item:last-child {
    border-right: none;
}
.apx-stat-item__value {
    font-family: var(--wc-font-headline);
    font-size: 42px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.1;
    color: var(--wc-terracotta);
    margin-bottom: 6px;
}
.apx-stat-item__label {
    font-family: var(--wc-font-body);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--wc-ink);
    opacity: 0.5;
}
@media (max-width: 767px) {
    .apx-stat-item { border-right: none; border-bottom: 1px solid var(--wc-border); }
    .apx-stat-item:last-child { border-bottom: none; }
    .apx-stat-item__value { font-size: 32px; }
}

/* -------------------------------------------------------
   23. Product Page – Use-Case / Ideal-For Block
   ------------------------------------------------------- */
.apx-usecases {
    display: flex;
    gap: var(--wc-gap-sm);
    flex-wrap: wrap;
    margin-top: var(--wc-gap-md);
}
.apx-usecase-tag {
    font-family: var(--wc-font-body);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 20px;
    background: var(--wc-gold-soft);
    color: var(--wc-ink);
    border-radius: 999px;
    letter-spacing: 0.02em;
}

/* -------------------------------------------------------
   24. Case Study – Before/After Stats
   ------------------------------------------------------- */
.apx-case-stats {
    display: flex;
    gap: var(--wc-gap-md);
    flex-wrap: wrap;
    justify-content: center;
}
.apx-case-stat {
    flex: 1 1 260px;
    max-width: 320px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(248,246,243,0.08);
    border-radius: 3px;
    padding: 28px 24px 20px;
    position: relative;
}
.apx-case-stat__before,
.apx-case-stat__after {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.apx-case-stat__label {
    font-family: var(--wc-font-body);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(248,246,243,0.4);
}
.apx-case-stat__val {
    font-family: var(--wc-font-headline);
    font-size: 32px;
    font-style: italic;
    font-weight: 400;
    color: var(--wc-paper);
    line-height: 1.1;
}
.apx-case-stat__val--muted {
    color: rgba(248,246,243,0.3);
    text-decoration: line-through;
    text-decoration-color: var(--wc-terracotta);
}
.apx-case-stat__arrow {
    font-size: 24px;
    color: var(--wc-gold);
    opacity: 0.6;
}
.apx-case-stat__caption {
    width: 100%;
    text-align: center;
    font-family: var(--wc-font-body);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(248,246,243,0.45);
    margin-top: 4px;
}
@media (max-width: 767px) {
    .apx-case-stat__val { font-size: 24px; }
    .apx-case-stat { padding: 20px 16px 16px; }
}

/* Case Funnel Image */
.apx-case-funnel {
    max-width: 800px;
    margin: 0 auto;
    background: var(--wc-surface);
    border-radius: 6px;
    padding: 24px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}
.apx-case-funnel__img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 3px;
}

/* Dark-section metric divider override */
.apx-section--dark .apx-metric::after {
    background: rgba(248,246,243,0.12);
}

/* -------------------------------------------------------
   25. Testimonials Grid
   ------------------------------------------------------- */
.apx-testimonials-header {
    text-align: center;
    margin-bottom: var(--wc-gap-lg);
}
.apx-testimonials-header h2 {
    margin: 0 auto;
}
.apx-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: var(--wc-gap-sm);
}
/* Large cards span more visual weight via content */
.apx-testimonial-card {
    background: var(--wc-surface);
    border: 1px solid var(--wc-border);
    border-radius: 3px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: border-color var(--wc-duration-fast) var(--wc-ease),
                box-shadow var(--wc-duration) var(--wc-ease);
}
.apx-testimonial-card:hover {
    border-color: var(--wc-border-strong);
    box-shadow: 0 16px 48px rgba(10, 15, 28, 0.06);
}
.apx-testimonial-card__quote {
    font-family: var(--wc-font-headline);
    font-size: 19px;
    font-style: italic;
    line-height: 1.5;
    color: var(--wc-ink);
    margin: 0;
    padding: 0;
    border: none;
    flex: 1;
}
.apx-testimonial-card__quote::before {
    content: '\201C';
    display: block;
    font-family: var(--wc-font-headline);
    font-size: 56px;
    line-height: 0.5;
    color: var(--wc-gold);
    opacity: 0.35;
    margin-bottom: 16px;
}
.apx-testimonial-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: var(--wc-gap-sm);
    margin-top: var(--wc-gap-sm);
    border-top: 1px solid var(--wc-border);
}
.apx-testimonial-card__author {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.apx-testimonial-card__name {
    font-family: var(--wc-font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--wc-ink);
}
.apx-testimonial-card__role {
    font-family: var(--wc-font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--wc-ink);
    opacity: 0.45;
}
.apx-testimonial-card__logo {
    max-height: 24px;
    max-width: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.45;
    filter: grayscale(1);
    flex-shrink: 0;
    transition: opacity var(--wc-duration-fast) var(--wc-ease),
                filter var(--wc-duration-fast) var(--wc-ease);
}
.apx-testimonial-card:hover .apx-testimonial-card__logo {
    opacity: 0.75;
    filter: grayscale(0);
}
.apx-testimonial-card__company {
    font-family: var(--wc-font-headline);
    font-size: 16px;
    font-style: italic;
    color: var(--wc-ink);
    opacity: 0.35;
    white-space: nowrap;
}
@media (max-width: 767px) {
    .apx-testimonials-grid {
        grid-template-columns: 1fr;
    }
    .apx-testimonial-card {
        padding: 28px;
    }
    .apx-testimonial-card__quote {
        font-size: 17px;
    }
}

/* -------------------------------------------------------
   26. WooCommerce e-conomic Product Page
   ------------------------------------------------------- */

/* --- Hero stats row --- */
.wce-hero-stats {
    display: flex;
    gap: var(--wc-gap-lg);
    margin-top: 48px;
}
.wce-hero-stat {
    text-align: center;
}
.wce-hero-stat__value {
    font-family: var(--wc-font-headline);
    font-size: 42px;
    font-style: italic;
    color: var(--wc-gold);
    line-height: 1.1;
}
.wce-hero-stat__label {
    font-family: var(--wc-font-body);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(248, 246, 243, 0.5);
    margin-top: 4px;
}
@media (max-width: 767px) {
    .wce-hero-stats {
        flex-direction: column;
        gap: var(--wc-gap-sm);
        align-items: flex-start;
    }
    .wce-hero-stat__value { font-size: 32px; }
}

/* --- Problem cards --- */
.wce-problems {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--wc-gap-sm);
    margin-top: var(--wc-gap-md);
}
.wce-problem {
    background: var(--wc-surface);
    border: 1px solid var(--wc-border);
    border-radius: 3px;
    padding: 32px;
    transition: border-color var(--wc-duration-fast) var(--wc-ease),
                box-shadow var(--wc-duration) var(--wc-ease);
}
.wce-problem:hover {
    border-color: var(--wc-border-strong);
    box-shadow: 0 8px 32px rgba(10, 15, 28, 0.06);
}
.wce-problem__icon {
    font-size: 28px;
    margin-bottom: 16px;
    display: block;
}
.wce-problem__title {
    font-family: var(--wc-font-headline);
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--wc-ink);
}
.wce-problem__text {
    font-size: 15px;
    line-height: 1.65;
    color: var(--wc-ink);
    opacity: 0.65;
}
@media (max-width: 767px) {
    .wce-problems { grid-template-columns: 1fr; }
}

/* --- Feature steps --- */
.wce-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--wc-gap-sm);
    margin-top: var(--wc-gap-md);
}
.wce-step {
    text-align: center;
    padding: 40px 28px;
}
.wce-step__num {
    font-family: var(--wc-font-headline);
    font-size: 64px;
    font-style: italic;
    color: var(--wc-gold);
    opacity: 0.25;
    line-height: 1;
    margin-bottom: 16px;
}
.wce-step__title {
    font-family: var(--wc-font-headline);
    font-size: 22px;
    color: var(--wc-paper);
    margin-bottom: 12px;
}
.wce-step__title--dark {
    color: var(--wc-ink);
}
.wce-step__text {
    font-size: 15px;
    line-height: 1.65;
    color: rgba(248, 246, 243, 0.6);
}
.wce-step__text--dark {
    color: var(--wc-ink);
    opacity: 0.65;
}
.wce-step__num--dark {
    color: var(--wc-terracotta);
    opacity: 0.2;
}
.wce-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--wc-gap-xs) var(--wc-gap-sm);
    margin-top: var(--wc-gap-md);
    padding-top: var(--wc-gap-md);
    border-top: 1px solid rgba(248, 246, 243, 0.1);
}
.wce-feature {
    font-size: 15px;
    color: rgba(248, 246, 243, 0.7);
    padding: 8px 0;
}
.wce-feature--dark {
    color: var(--wc-ink);
    opacity: 0.7;
}
.wce-features--light {
    border-top-color: var(--wc-border);
}
.wce-feature::before {
    content: '\2713';
    color: var(--wc-gold);
    margin-right: 10px;
    font-weight: 700;
}
@media (max-width: 767px) {
    .wce-steps { grid-template-columns: 1fr; }
    .wce-features { grid-template-columns: 1fr 1fr; }
    .wce-step__num { font-size: 48px; }
}

/* --- Pricing section --- */
.wce-pricing {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--wc-gap-sm);
    margin-top: var(--wc-gap-md);
    align-items: start;
}
.wce-pricing-main {
    background: var(--wc-surface);
    border: 2px solid var(--wc-terracotta);
    border-radius: 3px;
    padding: 48px 40px;
    position: relative;
}
.wce-pricing-main__badge {
    position: absolute;
    top: -14px;
    left: 32px;
    background: var(--wc-terracotta);
    color: #fff;
    font-family: var(--wc-font-body);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 16px;
    border-radius: 3px;
}
.wce-pricing-main__price {
    font-family: var(--wc-font-headline);
    font-size: 72px;
    font-style: italic;
    color: var(--wc-ink);
    line-height: 1;
}
.wce-pricing-main__price span {
    font-size: 28px;
    font-style: normal;
    opacity: 0.5;
}
.wce-pricing-main__sub {
    font-size: 17px;
    color: var(--wc-ink);
    opacity: 0.6;
    margin-top: 8px;
    margin-bottom: 24px;
}
.wce-pricing-main__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.wce-pricing-main__list li {
    font-size: 15px;
    color: var(--wc-ink);
    padding: 8px 0;
    border-bottom: 1px solid var(--wc-border);
}
.wce-pricing-main__list li::before {
    content: '\2713';
    color: var(--wc-terracotta);
    margin-right: 10px;
    font-weight: 700;
}
.wce-pricing-main__list li:last-child {
    border-bottom: none;
}
.wce-pricing-main__cta {
    margin-top: 28px;
}

.wce-pricing-side {
    display: flex;
    flex-direction: column;
    gap: var(--wc-gap-sm);
}
.wce-pricing-addon {
    background: var(--wc-surface);
    border: 1px solid var(--wc-border);
    border-radius: 3px;
    padding: 32px;
}
.wce-pricing-addon__label {
    font-family: var(--wc-font-body);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--wc-gold);
    margin-bottom: 8px;
}
.wce-pricing-addon__price {
    font-family: var(--wc-font-headline);
    font-size: 36px;
    font-style: italic;
    color: var(--wc-ink);
    line-height: 1.1;
}
.wce-pricing-addon__price span {
    font-size: 16px;
    font-style: normal;
    opacity: 0.5;
}
.wce-pricing-addon__text {
    font-size: 14px;
    color: var(--wc-ink);
    opacity: 0.6;
    margin-top: 8px;
    line-height: 1.5;
}

.wce-pricing-note {
    margin-top: var(--wc-gap-sm);
    padding: 20px 28px;
    background: rgba(196, 149, 106, 0.08);
    border-left: 3px solid var(--wc-gold);
    border-radius: 0 3px 3px 0;
    font-size: 15px;
    color: var(--wc-ink);
    opacity: 0.75;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .wce-pricing {
        grid-template-columns: 1fr;
    }
    .wce-pricing-main { padding: 32px 24px; }
    .wce-pricing-main__price { font-size: 56px; }
}

/* --- Comparison table --- */
.wce-compare {
    width: 100%;
    border-collapse: collapse;
    margin-top: var(--wc-gap-md);
    font-size: 15px;
}
.wce-compare th {
    font-family: var(--wc-font-body);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 16px 20px;
    text-align: left;
    border-bottom: 2px solid var(--wc-border-strong);
    color: var(--wc-ink);
}
.wce-compare td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--wc-border);
    color: var(--wc-ink);
    vertical-align: middle;
}
.wce-compare tbody tr:last-child td {
    border-bottom: none;
}
.wce-compare__highlight {
    background: rgba(201, 69, 43, 0.04);
    font-weight: 600;
}
.wce-compare__highlight td:first-child {
    color: var(--wc-terracotta);
    font-weight: 700;
}
.wce-compare__check {
    color: var(--wc-terracotta);
    font-weight: 700;
}
.wce-compare__muted {
    opacity: 0.45;
}
@media (max-width: 767px) {
    .wce-compare { font-size: 13px; }
    .wce-compare th,
    .wce-compare td { padding: 10px 12px; }
}

/* --- Contact form --- */
.wce-form {
    max-width: 540px;
    margin: var(--wc-gap-md) auto 0;
}
.wce-form__row {
    margin-bottom: 16px;
}
.wce-form__label {
    display: block;
    font-family: var(--wc-font-body);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(248, 246, 243, 0.5);
    margin-bottom: 6px;
}
.wce-form__input,
.wce-form__textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--wc-font-body);
    font-size: 16px;
    color: var(--wc-paper);
    background: rgba(248, 246, 243, 0.06);
    border: 1px solid rgba(248, 246, 243, 0.15);
    border-radius: 3px;
    transition: border-color var(--wc-duration-fast) var(--wc-ease);
    box-sizing: border-box;
}
.wce-form__input:focus,
.wce-form__textarea:focus {
    outline: none;
    border-color: var(--wc-gold);
}
.wce-form__textarea {
    min-height: 100px;
    resize: vertical;
}
.wce-form__submit {
    margin-top: 8px;
}
.wce-form__success {
    background: rgba(196, 149, 106, 0.12);
    border: 1px solid var(--wc-gold);
    border-radius: 3px;
    padding: 20px 28px;
    color: var(--wc-paper);
    font-size: 16px;
    text-align: center;
    margin-top: var(--wc-gap-sm);
}

/* -------------------------------------------------------
   27. Reduced Motion
   ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .wc-animate,
    .apx-card::before,
    .apx-pill,
    .apx-step {
        animation: none !important;
        transition: none !important;
    }
}
