/* Compare pages, visual layer (2026-11-16).
   Hero photo mosaic of real clients, "A week with Serve.Love" screenshot strip,
   photo row in the price band, hours screenshots by the table, and a closing CTA.
   Uses the site theme variables so light and dark both read. Prefix: cv-. */

.cv-hero {
    max-width: 1200px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
    text-align: left;
    padding: 48px 24px 40px;
}
.cv-hero h1 { font-size: clamp(32px, 4vw, 46px); line-height: 1.12; }
.cv-hero p { font-size: 19px; max-width: none; margin: 0; }
.cv-hero .cta-button { margin-bottom: 8px; }

/* Real-client photo mosaic: one wide photo over two */
.cv-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 560px; width: 100%; margin: 0 auto; }
.cv-mosaic figure, .cv-photos figure { margin: 0; position: relative; border-radius: 18px; overflow: hidden; background: var(--border); }
.cv-mosaic img, .cv-photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.cv-mosaic__big { grid-column: 1 / -1; }
.cv-mosaic__big img { aspect-ratio: 16 / 10; }
.cv-mosaic figcaption, .cv-photos figcaption {
    position: absolute; left: 10px; bottom: 10px;
    background: rgba(20, 26, 34, .76); color: #fff;
    font-size: 13px; font-weight: 700; line-height: 1.3;
    padding: 4px 10px; border-radius: 999px;
    max-width: calc(100% - 20px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* A week with Serve.Love */
.cv-week { max-width: 1200px; margin: 0 auto; padding: 40px 24px 56px; }
.cv-week__head { text-align: center; max-width: 720px; margin: 0 auto 28px; }
.cv-eyebrow { display: inline-block; font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.cv-week__head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.2; color: var(--text-primary); margin: 0 0 10px; }
.cv-week__head p { font-size: 18px; color: var(--text-secondary); line-height: 1.6; margin: 0; }

.cv-week__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.cv-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.cv-card__shot {
    height: 184px; background: var(--accent-dim); overflow: hidden;
    display: flex; justify-content: center; align-items: flex-end; padding: 18px 14px 0;
}
.cv-card__shot img { display: block; height: auto; background: #fff; box-shadow: 0 14px 30px -14px rgba(20, 26, 34, .5); }
.cv-card__shot--lap img { width: 100%; border: 6px solid #232a33; border-bottom: 0; border-radius: 10px 10px 0 0; }
.cv-card__shot--phone { align-items: flex-start; }
.cv-card__shot--phone img { width: 48%; border: 6px solid #232a33; border-bottom: 0; border-radius: 18px 18px 0 0; }
.cv-card__shot--card { align-items: center; padding: 14px; }
.cv-card__shot--card img { width: 92%; border-radius: 12px; }
.cv-card__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.cv-card__when { font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); }
.cv-card__body h3 { font-size: 18px; font-weight: 700; line-height: 1.25; color: var(--text-primary); margin: 0; }
.cv-card__body p { font-size: 15px; line-height: 1.5; color: var(--text-secondary); margin: 0; }

.cv-week__end { max-width: 720px; margin: 32px auto 0; text-align: center; }
.cv-week__end p { font-size: 19px; line-height: 1.6; color: var(--text-primary); font-weight: 600; margin: 0 0 18px; }
.cv-week__end .cta-button { margin-right: 0; }
.cv-week__note { text-align: center; font-size: 13px; color: var(--text-secondary); margin: 14px 0 0; }

/* Hours screens beside the walkthrough links */
.cv-proof {
    display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center;
    max-width: 860px; margin: 32px auto 0; padding: 24px;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px;
}
.cv-proof__pics { display: flex; align-items: flex-end; gap: 12px; }
.cv-proof__pics img { display: block; height: 230px; width: auto; background: #fff; border-radius: 10px; box-shadow: 0 14px 30px -14px rgba(20, 26, 34, .5); }
.cv-proof__pics .cv-proof__phone { border: 5px solid #232a33; border-radius: 16px; }
.cv-proof__copy h3 { font-size: 21px; font-weight: 700; color: var(--text-primary); margin: 0 0 8px; }
.cv-proof__copy p { font-size: 17px; line-height: 1.6; color: var(--text-secondary); margin: 0 0 10px; }
.cv-proof__copy p:last-child { margin-bottom: 0; }
.cv-proof__copy a { color: var(--accent); }

/* Real-people photo row in the price band */
.cv-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; }
.cv-photos figure { border-radius: 14px; }
.cv-photos figcaption { font-size: 12px; left: 8px; bottom: 8px; max-width: calc(100% - 16px); }

/* Closing CTA extras */
.cv-support, .compare-cta .cv-support { font-size: 18px; line-height: 1.6; color: var(--text-primary); font-weight: 600; margin: 0 0 22px; }
.cv-free, .compare-cta .cv-free, .hub-cta .cv-free { font-size: 15px; line-height: 1.5; color: var(--text-secondary); margin: 16px auto 0; max-width: 520px; }

/* Hub hero */
.cv-hub-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; text-align: left; padding: 48px 0 40px; }
.cv-hub-hero p { font-size: 19px; margin: 0; max-width: none; }
.cv-hub-hero h1 { font-size: clamp(32px, 4vw, 46px); line-height: 1.12; }
.cv-hub-week { padding: 8px 0 48px; }

/* Dark theme: frame the screenshots so they don't float */
:root[data-theme="dark"] .cv-card__shot img,
:root[data-theme="dark"] .cv-proof__pics img { box-shadow: 0 0 0 1px #475569, 0 14px 30px -14px rgba(0, 0, 0, .7); }
:root[data-theme="dark"] .cv-card__shot--lap img,
:root[data-theme="dark"] .cv-card__shot--phone img,
:root[data-theme="dark"] .cv-proof__phone { border-color: #0b1220; }

@media (max-width: 1100px) {
    /* Week strip becomes a swipe row */
    .cv-week__row {
        display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
        padding: 0 4px 12px; margin: 0 -4px;
    }
    .cv-card { flex: 0 0 260px; scroll-snap-align: start; }
}

@media (max-width: 900px) {
    .cv-hero, .cv-hub-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 32px; }
    .cv-hero h1 { font-size: 32px; letter-spacing: -.5px; }
    .cv-hero p, .cv-hub-hero p { font-size: 17px; }
    .cv-proof { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
}

@media (max-width: 560px) {
    .cv-hero { padding: 24px 16px 32px; }
    .cv-week { padding: 32px 16px 44px; }
    .cv-card { flex-basis: 78%; }
    .cv-mosaic { gap: 8px; }
    .cv-mosaic figcaption { font-size: 12px; left: 8px; bottom: 8px; padding: 3px 8px; }
    .cv-proof { padding: 18px 14px; }
    .cv-proof__pics img { height: 180px; }
    .cv-photos { gap: 6px; }
    .cv-photos figcaption { display: none; } /* the client line right below names them */
}
