/* ==========================================================================
   WHY US (/why-rachyet/): builds on how-we-work.css (hero, headings, reveal)
   ========================================================================== */

/* ---------- Reasons: alternating photo + story rows ---------- */
.wu-reasons { padding-top: 5.5rem; }
.wu-list { display: flex; flex-direction: column; gap: clamp(3rem, 6vw, 5.5rem); }
.wu-row { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; scroll-margin-top: calc(var(--nav-height) + 2rem); }
.wu-row.is-flip .wu-media { order: 2; }
.wu-media { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; background: var(--gray-100); border: 8px solid #fff; box-shadow: 0 40px 80px -42px rgba(76, 29, 149, .5), 0 18px 40px -26px rgba(15, 23, 42, .3); }
.wu-media img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease-premium); }
.wu-row.is-in .wu-media img, html:not(.js-hw) .wu-media img { transform: scale(1); }
.wu-media:hover img { transform: scale(1.03); }
.wu-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10, 11, 20, .55)); pointer-events: none; }
.wu-media-art { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 4.5rem; color: #fff; background: var(--band-aurora); }
.wu-num { position: absolute; z-index: 1; right: 1.1rem; bottom: .3rem; font-family: var(--font-heading); font-size: clamp(3.5rem, 7vw, 5rem); font-weight: 800; line-height: 1; color: rgba(255, 255, 255, .92); text-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.wu-tag { position: absolute; z-index: 1; left: 1rem; bottom: 1.1rem; display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .85rem; border-radius: 999px; font-size: .8rem; font-weight: 700; color: var(--ink); background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); box-shadow: 0 10px 24px -12px rgba(15, 23, 42, .5); max-width: calc(100% - 8rem); line-height: 1.3; }  /* stops short of the big reason number on phones */
.wu-tag i { color: #E9358F; font-size: .78rem; }
.wu-body { position: relative; }
.wu-icon { width: 54px; height: 54px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; color: #fff; background: var(--text-warm); box-shadow: 0 14px 28px -12px rgba(233, 53, 143, .6); }
.wu-kicker { display: block; margin: 1.1rem 0 .3rem; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #E9358F; }
.wu-body h3 { margin: 0 0 .75rem; font-size: clamp(1.6rem, 2.8vw, 2.15rem); letter-spacing: -.02em; line-height: 1.15; color: var(--ink); }
.wu-lead { margin: 0 0 1.5rem; max-width: 52ch; font-size: 1.08rem; line-height: 1.7; color: var(--gray-600); }
.wu-points { list-style: none; margin: 0; padding: 1.25rem 0 0; display: flex; flex-direction: column; gap: .75rem; border-top: 1px solid var(--gray-100); }
.wu-points li { display: flex; gap: .7rem; font-size: .98rem; line-height: 1.5; color: var(--gray-700); }
.wu-points i { flex-shrink: 0; width: 22px; height: 22px; margin-top: .05rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .62rem; color: #fff; background: linear-gradient(135deg, #7B3CF5, #E9358F); }

/* ---------- Comparison: one grid, the Rachyet column lit as a dark card ---------- */
.wu-compare-sec { background: var(--surface-soft, #FBFAFF); border-top: 1px solid rgba(15, 23, 42, .05); border-bottom: 1px solid rgba(15, 23, 42, .05); }
.wu-cmp { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: repeat(var(--rows, 8), auto); max-width: 1100px; margin: 1rem auto 0; padding: 0 1.5rem; border-radius: 28px; background: #fff; border: 1px solid var(--gray-200); box-shadow: 0 40px 80px -55px rgba(76, 29, 149, .5); }
.wu-cmp-row { display: contents; }
/* Absolutely placed over column 2 of the grid, so it doesn't take part in cell placement */
.wu-cmp-spot { position: absolute; grid-column: 2 / 3; grid-row: 1 / -1; inset: -18px 0; z-index: -1; border-radius: 24px; background: var(--band-aurora); box-shadow: 0 30px 60px -28px rgba(76, 29, 149, .7), 0 0 0 1px rgba(255, 255, 255, .06) inset; }
.wu-cmp-cell { display: flex; align-items: center; gap: .65rem; padding: 1.1rem 1.25rem; font-size: .95rem; line-height: 1.45; border-top: 1px solid var(--gray-100); }
.wu-cmp-head .wu-cmp-cell { border-top: 0; padding-top: 1.6rem; padding-bottom: 1.4rem; }
.wu-cmp-label, .wu-cmp-corner { grid-column: 1; }
.wu-cmp-us { grid-column: 2; }
.wu-cmp-row > .wu-cmp-other:nth-child(3) { grid-column: 3; }
.wu-cmp-row > .wu-cmp-other:nth-child(4) { grid-column: 4; }
.wu-cmp-label { font-weight: 700; color: var(--ink); }
.wu-cmp-label i { width: 36px; height: 36px; flex-shrink: 0; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; color: #7B3CF5; background: rgba(123, 60, 245, .08); }
/* Rachyet column */
.wu-cmp-us { color: #fff; font-weight: 600; border-top-color: rgba(255, 255, 255, .1); padding-left: 1.5rem; padding-right: 1.5rem; }
.wu-cmp-us > i { width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .65rem; color: #fff; background: linear-gradient(135deg, #E9358F, #FF8A2E); box-shadow: 0 6px 14px -6px rgba(233, 53, 143, .9); }
.wu-cmp-head .wu-cmp-us strong { display: block; font-family: var(--font-heading); font-size: 1.15rem; }
.wu-cmp-head .wu-cmp-us small { display: block; font-size: .75rem; font-weight: 500; color: rgba(226, 228, 245, .7); }
.wu-cmp-logo { width: 38px; height: 38px; flex-shrink: 0; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: #fff; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .5); }
/* Other columns: quieter */
.wu-cmp-other { color: var(--gray-500); }
.wu-cmp-other > i { width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .6rem; color: var(--gray-400); background: var(--gray-100); }
.wu-cmp-head .wu-cmp-other strong { font-family: var(--font-heading); font-size: 1.02rem; color: var(--gray-700); }
/* Footer row with the call to action */
.wu-cmp-foot .wu-cmp-cell { border-top-color: transparent; padding-top: 1.4rem; padding-bottom: 1.6rem; }
.wu-cmp-foot .wu-cmp-us { border-top-color: rgba(255, 255, 255, .1); }
.wu-cmp-note { font-size: .9rem; font-weight: 600; color: var(--gray-600); }
.wu-cmp-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; padding: .8rem 1rem; border-radius: 12px; font-size: .9rem; font-weight: 700; color: var(--ink); background: #fff; box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .6); transition: transform .25s var(--ease-premium), box-shadow .25s; }
.wu-cmp-btn:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 16px 28px -12px rgba(0, 0, 0, .7); }
.wu-cmp-btn i { color: #E9358F; }

/* ---------- Stats band ---------- */
.wu-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.wu-stat { padding: 1.5rem 1.4rem; border-radius: 20px; text-align: center; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); }
.wu-stat i { display: block; margin-bottom: .6rem; color: #FFB27A; }
.wu-stat strong { display: block; font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1.1; color: #fff; }
.wu-stat span { display: block; margin-top: .3rem; font-size: .9rem; color: rgba(226, 228, 245, .72); }

/* ---------- Process teaser ---------- */
.wu-process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.1rem; counter-reset: none; }
.wu-step { position: relative; padding: 1.6rem 1.5rem 1.5rem; border-radius: 22px; background: #fff; border: 1px solid var(--gray-200); box-shadow: 0 18px 40px -30px rgba(15, 23, 42, .4); transition: transform .4s var(--ease-premium), box-shadow .4s, border-color .3s; }
.wu-step:hover { transform: translateY(-4px); border-color: rgba(233, 53, 143, .25); box-shadow: 0 26px 50px -28px rgba(76, 29, 149, .4); }
.wu-step-num { position: absolute; top: 1.2rem; right: 1.3rem; font-family: var(--font-heading); font-size: 1.6rem; font-weight: 800; color: var(--gray-200); }
.wu-step-icon { width: 46px; height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--text-warm); }
.wu-step h3 { margin: 1rem 0 .4rem; font-size: 1.15rem; color: var(--ink); }
.wu-step p { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--gray-600); }
.wu-step em { display: inline-flex; align-items: center; gap: .4rem; margin-top: .9rem; font-style: normal; font-size: .78rem; font-weight: 600; color: #C2410C; }
.wu-process-more { margin: 1.5rem 0 0; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .wu-row, .wu-row.is-flip { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
    .wu-row.is-flip .wu-media { order: 0; }
    .wu-media { aspect-ratio: 16 / 10; }
}
@media (max-width: 760px) {
    /* Comparison: one card per row; the Rachyet answer sits in a dark strip */
    .wu-cmp { display: flex; flex-direction: column; gap: .9rem; padding: 0; margin-top: 0; border: 0; background: none; box-shadow: none; }
    .wu-cmp-spot, .wu-cmp-row.wu-cmp-head { display: none; }
    .wu-cmp-row { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--gray-200); box-shadow: 0 16px 34px -26px rgba(76, 29, 149, .45); }
    .wu-cmp-cell { border-top: 1px solid var(--gray-100); padding: .8rem 1rem; align-items: flex-start; }
    .wu-cmp-label { border-top: 0; padding-top: 1rem; align-items: center; font-size: 1rem; }
    .wu-cmp-us { background: var(--band-aurora); border-top: 0; padding: .9rem 1rem; }
    .wu-cmp-cell[data-col] > span::before { content: attr(data-col); }
    .wu-cmp-cell[data-col] { flex-wrap: wrap; }
    .wu-cmp-cell[data-col]::before { content: attr(data-col); flex-basis: 100%; font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--gray-400); }
    .wu-cmp-us[data-col]::before { color: rgba(255, 200, 170, .85); }
    .wu-cmp-cell[data-col] > span::before { content: none; }
    .wu-cmp-foot { border: 0; box-shadow: none; background: none; }
    .wu-cmp-foot .wu-cmp-corner, .wu-cmp-foot .wu-cmp-other { display: none; }
    .wu-cmp-foot .wu-cmp-us { background: none; padding: 0; }
    .wu-cmp-foot .wu-cmp-btn { color: #fff; background: var(--ink); }
    .wu-cmp-foot .wu-cmp-btn i { color: #FFB27A; }
}
@media (max-width: 640px) {
    .wu-reasons { padding-top: 3.5rem; }
    .wu-media { border-width: 5px; border-radius: 22px; }
    .wu-lead { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
    .wu-media img, .wu-step { transition: none; transform: none; }
}

/* ---------- Each reason is its own section card ---------- */
.wu-list { gap: clamp(1.5rem, 3vw, 2.25rem); }
.wu-row {
    position: relative; isolation: isolate;
    padding: clamp(1.5rem, 3.2vw, 2.75rem);
    border-radius: 32px; background: #ffffff;
    border: 1px solid rgba(15, 23, 42, .07);
    box-shadow: 0 30px 70px -50px rgba(76, 29, 149, .45), 0 2px 6px -2px rgba(15, 23, 42, .05);
    overflow: hidden;
}
.wu-row:nth-child(even) {
    background:
        radial-gradient(60% 80% at 100% 0%, rgba(167, 139, 250, .14), transparent 70%),
        radial-gradient(50% 70% at 0% 100%, rgba(255, 178, 94, .12), transparent 70%),
        #FCFBFF;
}
/* Thin brand line along the top of every card */
.wu-row::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #7B3CF5, #E9358F, #FF8A2E); opacity: .85; }
/* Inside a card the photo needs no white frame */
.wu-row .wu-media { border: 0; border-radius: 22px; box-shadow: 0 24px 50px -30px rgba(15, 23, 42, .45); }
@media (max-width: 640px) {
    .wu-row { border-radius: 24px; padding: 1.1rem 1.1rem 1.5rem; }
    .wu-row .wu-media { border-radius: 16px; }
}

/* ---------- Comparison: compact, balanced desktop table ---------- */
@media (min-width: 761px) {
    .wu-cmp { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); padding: 0 1rem; max-width: 1080px; }
    .wu-cmp-cell { padding: .8rem 1rem; font-size: .9rem; line-height: 1.4; gap: .6rem; }
    .wu-cmp-head .wu-cmp-cell { padding-top: 1.25rem; padding-bottom: 1.1rem; }
    .wu-cmp-us { padding-left: 1.35rem; padding-right: 1.35rem; }
    .wu-cmp-label { font-size: .92rem; }
    .wu-cmp-label i { width: 32px; height: 32px; border-radius: 10px; font-size: .8rem; }
    .wu-cmp-us > i, .wu-cmp-other > i { width: 22px; height: 22px; }
    .wu-cmp-logo { width: 34px; height: 34px; border-radius: 10px; }
    .wu-cmp-head .wu-cmp-us strong { font-size: 1.05rem; }
    .wu-cmp-head .wu-cmp-other strong { font-size: .95rem; }
    /* Divider lines run right up to the dark card */
    .wu-cmp-label, .wu-cmp-corner { margin-left: -1rem; padding-left: 2rem; }
    .wu-cmp-row > .wu-cmp-other:nth-child(4) { margin-right: -1rem; padding-right: 2rem; }
    .wu-cmp-spot { inset: -14px 0; border-radius: 22px; }
    /* Footer: one-line button, compact note */
    .wu-cmp-foot .wu-cmp-cell { padding-top: 1rem; padding-bottom: 1.15rem; }
    .wu-cmp-note { font-size: .85rem; line-height: 1.45; }
    .wu-cmp-btn { padding: .7rem .9rem; font-size: .86rem; white-space: nowrap; }
}
@media (min-width: 761px) and (max-width: 1100px) {
    .wu-cmp-cell { padding: .75rem .8rem; font-size: .86rem; }
    .wu-cmp-us { padding-left: 1.1rem; padding-right: 1.1rem; }
    .wu-cmp-label i { display: none; }
    .wu-cmp-btn { white-space: normal; }
}

/* Comparison button: warm brand gradient */
.wu-cmp-btn, .wu-cmp-foot .wu-cmp-btn { color: #fff; background: linear-gradient(100deg, #7B3CF5 0%, #E9358F 60%, #FF8A2E 100%); background-size: 160% 100%; background-position: 0% 50%; box-shadow: 0 14px 28px -12px rgba(233, 53, 143, .75); transition: background-position .5s var(--ease-premium), transform .25s var(--ease-premium), box-shadow .25s; }
.wu-cmp-btn:hover, .wu-cmp-foot .wu-cmp-btn:hover { color: #fff; background-position: 100% 50%; transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(233, 53, 143, .85); }
.wu-cmp-btn i, .wu-cmp-foot .wu-cmp-btn i { color: #fff; transition: transform .25s var(--ease-premium); }
.wu-cmp-btn:hover i { transform: translateX(3px); }
.wu-cmp-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Client reviews: empty state until real reviews exist */
.wu-reviews-empty { max-width: 680px; margin: 0 auto; padding: 2.6rem 2rem; text-align: center; border-radius: 24px; background: #fff; border: 1px dashed #D9D1F5; box-shadow: 0 24px 50px -40px rgba(43, 28, 120, .5); }
.wu-stars { display: inline-flex; gap: .35rem; font-size: 1.15rem; color: #F59E0B; }
.wu-stars i { animation: wuStar 2.4s ease-in-out infinite; }
.wu-stars i:nth-child(2) { animation-delay: .15s; } .wu-stars i:nth-child(3) { animation-delay: .3s; } .wu-stars i:nth-child(4) { animation-delay: .45s; } .wu-stars i:nth-child(5) { animation-delay: .6s; }
@keyframes wuStar { 0%, 100% { transform: none; opacity: 1; } 50% { transform: translateY(-4px) scale(1.12); opacity: .85; } }
.wu-reviews-empty h3 { margin: 1rem 0 .6rem; font-size: 1.35rem; color: var(--gray-900); }
.wu-reviews-empty p { margin: 0 auto; max-width: 540px; font-size: 1rem; line-height: 1.65; color: var(--gray-600); }
.wu-reviews-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: 1.6rem; }
@media (prefers-reduced-motion: reduce) { .wu-stars i { animation: none; } }
@media (max-width: 560px) {
    .wu-reviews-actions { flex-direction: column; align-items: stretch; }
    .wu-reviews-actions .btn { justify-content: center; }
}
