/* Client Reviews page. Header, footer, contact and reveal styles come from global.css and projects.css. */

/* Same content width as the Projects and Services pages. */
.client-reviews-page .portfolio-new-inner{ max-width: 90%; }

.cr-eyebrow{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(17,17,17,.55);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.cr-eyebrow-dark{ color: rgba(17,17,17,.7); }

.cr-stars{
    color: #f5ba29;
    letter-spacing: .08em;
}

.cr-actions{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.cr-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 26px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -.01em;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

.cr-btn svg{ flex-shrink: 0; }

.cr-btn:focus-visible{ outline: 2px solid #111; outline-offset: 3px; }

.cr-btn-primary{ background: #f5ba29; color: #111; }

.cr-btn-primary:hover,
.cr-btn-primary:focus-visible{ background: #111; color: #fff; }

.cr-btn-dark{ background: #111; color: #fff; }

.cr-btn-dark:hover,
.cr-btn-dark:focus-visible{ background: #1dbf73; color: #fff; }

.cr-btn-ghost{
    border: 1px solid rgba(17,17,17,.2);
    color: #111;
}

.cr-btn-ghost:hover,
.cr-btn-ghost:focus-visible{ border-color: #111; background: #111; color: #fff; }

.cr-avatar{
    display: grid;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    place-items: center;
    border-radius: 50%;
    background: #111;
    color: #f5ba29;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
}

.cr-avatar-fiverr{ background: #1dbf73; color: #fff; }

.cr-avatar-direct{ background: #f5ba29; color: #111; }

.cr-who strong{
    display: block;
    font-size: 15px;
    font-weight: 700;
}

.cr-who > span{
    display: block;
    margin-top: 2px;
    color: rgba(17,17,17,.5);
    font-size: 13px;
    font-weight: 600;
}

/* Hero */
.cr-hero{
    position: relative;
    z-index: 5;
    padding: clamp(56px, 7vw, 120px) 0 clamp(40px, 4vw, 64px);
    overflow: clip;
    background: #f5f5f3;
    isolation: isolate;
}

.cr-glow{
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}

.cr-glow-a{
    top: -18%;
    left: 50%;
    width: clamp(420px, 46vw, 820px);
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(245,186,41,.42), rgba(245,186,41,0) 65%);
    transform: translateX(-50%);
}

.cr-glow-b{
    right: -8%;
    bottom: 10%;
    width: clamp(260px, 26vw, 460px);
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(17,17,17,.08), rgba(17,17,17,0) 65%);
}

.cr-grid-bg{
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(17,17,17,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17,17,17,.05) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%);
    mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%);
    pointer-events: none;
}

.cr-hero-inner{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cr-rating-pill{
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 6px 16px 6px 6px;
    border: 1px solid rgba(17,17,17,.08);
    border-radius: 999px;
    background: rgba(255,255,255,.75);
    box-shadow: 0 10px 30px rgba(17,17,17,.06);
    backdrop-filter: blur(10px);
    color: rgba(17,17,17,.7);
    font-size: 14px;
    font-weight: 500;
    transition: box-shadow .25s ease, background-color .25s ease;
}

.cr-rating-pill:hover,
.cr-rating-pill:focus-visible{ background: #fff; box-shadow: 0 16px 36px rgba(17,17,17,.1); }

.cr-rating-text{
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cr-rating-pill .cr-stars{ display: inline-flex; gap: 1px; color: #1dbf73; }

.cr-rating-sep{
    width: 1px;
    height: 16px;
    background: rgba(17,17,17,.15);
}


.cr-rating-pill strong{ color: #111; font-weight: 700; }

.cr-avatars{ display: inline-flex; }

.cr-avatars span{
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    margin-left: -8px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.cr-avatars span:first-child{ margin-left: 0; }

.cr-avatars span:nth-child(even){ background: #1dbf73; }

.cr-hero h1{
    margin: 28px 0 0;
    max-width: 14ch;
    font-family: var(--font-display);
    font-size: clamp(52px, 7vw, 132px);
    font-weight: 600;
    line-height: .92;
    letter-spacing: -.065em;
}

.cr-gradient-text{
    background: linear-gradient(100deg, #111 10%, #b07d0a 45%, #f5ba29 70%, #111 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: cr-shine 7s ease-in-out infinite alternate;
}

@keyframes cr-shine {
    from { background-position: 100% 0; }
    to { background-position: 0 0; }
}

.cr-lead{
    margin: 28px auto 34px;
    max-width: 58ch;
    color: rgba(17,17,17,.62);
    font-size: clamp(17px, 1.25vw, 20px);
    line-height: 1.55;
}

.cr-hero .cr-actions{ justify-content: center; }

/* Review snippet marquee */
.cr-marquee{
    display: grid;
    gap: 14px;
    margin-top: clamp(56px, 6vw, 96px);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.cr-marquee-row{ overflow: hidden; }

.cr-marquee-track{
    display: flex;
    gap: 14px;
    width: max-content;
    animation: cr-marquee 90s linear infinite;
}

.cr-marquee-row-reverse .cr-marquee-track{ animation-direction: reverse; animation-duration: 110s; }

.cr-marquee:hover .cr-marquee-track{ animation-play-state: paused; }

@keyframes cr-marquee {
    to { transform: translateX(-50%); }
}

.cr-snippet{
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border: 1px solid rgba(17,17,17,.07);
    border-radius: 999px;
    background: rgba(255,255,255,.8);
    color: rgba(17,17,17,.78);
    font-size: 15px;
    white-space: nowrap;
}

.cr-snippet .cr-stars{ display: inline-flex; gap: 2px; }

.cr-snippet b{
    color: #111;
    font-size: 13px;
    font-weight: 700;
}

.cr-snippet b::before{ content: "\2014\00a0"; color: rgba(17,17,17,.35); font-weight: 400; }

/* Bento highlights */
.cr-bento-section{
    padding: clamp(40px, 4vw, 72px) 0 clamp(70px, 7vw, 130px);
    background: #f5f5f3;
}

.cr-bento{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(200px, auto);
    gap: clamp(14px, 1.4vw, 20px);
}

.cr-tile{
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: clamp(24px, 2.4vw, 38px);
    border: 1px solid rgba(17,17,17,.07);
    border-radius: 28px;
    background: #fff;
    overflow: hidden;
    transition: box-shadow .4s ease;
}

.cr-tile:hover{ box-shadow: 0 28px 60px rgba(17,17,17,.09); }

.cr-tile-quote{ grid-column: span 2; grid-row: span 2; justify-content: space-between; }

.cr-tile-trustpilot{
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cr-tile-label{
    color: rgba(17,17,17,.5);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* Fiverr rating tile */
.cr-tile-rating{
    border-color: #111;
    background: #111;
    color: #fff;
}

.cr-tile-top{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cr-tile-logo{ display: block; width: 84px; height: auto; }

.cr-tile-arrow{
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    transition: background-color .25s ease, border-color .25s ease;
}

.cr-tile-rating:hover .cr-tile-arrow,
.cr-tile-rating:focus-visible .cr-tile-arrow{ border-color: #1dbf73; background: #1dbf73; }

.cr-rating-big{
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: auto;
    padding-top: 26px;
}

.cr-rating-big strong{
    font-family: var(--font-display);
    font-size: clamp(64px, 5.6vw, 100px);
    font-weight: 600;
    line-height: .85;
    letter-spacing: -.07em;
}

.cr-rating-big span{
    color: rgba(255,255,255,.45);
    font-size: 20px;
    font-weight: 600;
}

.cr-rating-stars{
    display: flex;
    gap: 4px;
    margin-top: 16px;
}

.cr-rating-stars i{
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 7px;
    background: #1dbf73;
    color: #fff;
}

.cr-rating-stars svg{ display: block; }

.cr-tile-caption{
    margin-top: 14px;
    color: rgba(255,255,255,.6);
    font-size: 14px;
    line-height: 1.45;
}

/* Track record tile */
.cr-tile-stats{
    border-color: #1dbf73;
    background: #1dbf73;
    color: #fff;
}

.cr-tile-stats .cr-tile-label{ color: rgba(255,255,255,.75); }

.cr-stat-list{
    display: grid;
    margin: auto 0 0;
    padding: 18px 0 0;
    list-style: none;
}

.cr-stat-list li{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,.25);
}

.cr-stat-list li:last-child{ border-bottom: 0; padding-bottom: 0; }

.cr-stat-list strong{
    font-family: var(--font-display);
    font-size: clamp(30px, 2.6vw, 44px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.05em;
}

.cr-stat-list span{
    color: rgba(255,255,255,.85);
    font-size: 14px;
    font-weight: 600;
    text-align: right;
}

.cr-tile-trustpilot p{
    margin: 10px 0 0;
    max-width: 34ch;
    font-family: var(--font-display);
    font-size: clamp(18px, 1.4vw, 22px);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -.025em;
}

.cr-tile-widget{
    flex: 0 0 min(320px, 50%);
    height: 78px;
    overflow: hidden;
}

/* The Review Collector button has a fixed size inside its iframe, so scale it up to fill the slot. */
.cr-tile-widget .trustpilot-widget{
    height: 52px;
    margin-top: 25px;
    transform: scale(1.5);
    transform-origin: center;
}

.cr-tile-widget .trustpilot-widget > a{ color: #111; font-size: 14px; }

.cr-tile-quote blockquote{
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(22px, 2vw, 34px);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -.03em;
}

.cr-quote-head{
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(17,17,17,.14);
}

.cr-quote-stars{
    display: inline-flex;
    gap: 3px;
    color: #1dbf73;
}

.cr-quote-stars .is-off{ color: #dadbdd; }

.cr-quote-label{
    color: rgba(17,17,17,.5);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.cr-quote-source{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    font-size: 14px;
    font-weight: 600;
}

.cr-quote-source .cr-fiverr-logo{ width: 76px; }

.cr-company-logo{
    display: block;
    margin-left: auto;
    border-radius: 50%;
}

.cr-company-logo img{
    display: block;
    width: 72px;
    height: 72px;
    object-fit: contain;
}

a.cr-company-logo:focus-visible{ outline: 2px solid #111; outline-offset: 4px; }

.cr-tile-quote figcaption{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 16px;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid rgba(17,17,17,.14);
}

/* Review wall */
.cr-wall{
    padding: clamp(70px, 7vw, 130px) 0;
    background: #ebeae5;
}

.cr-section-head{
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    align-items: end;
    gap: 24px 60px;
    margin-bottom: clamp(36px, 4vw, 64px);
}

.cr-section-head h2{
    margin: 16px 0 0;
    font-family: var(--font-display);
    font-size: clamp(40px, 4.4vw, 76px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.055em;
}

.cr-section-head p{
    margin: 0;
    color: rgba(17,17,17,.62);
    font-size: 16px;
    line-height: 1.55;
}

.cr-section-head a{
    color: #111;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.cr-wall-grid{
    columns: 3 320px;
    column-gap: clamp(16px, 1.6vw, 24px);
}

/* Review cards styled after the platform each review came from (Fiverr by default). */
.cr-review{
    display: inline-block;
    width: 100%;
    margin: 0 0 clamp(16px, 1.6vw, 24px);
    padding: 24px;
    break-inside: avoid;
    border: 1px solid #e4e5e7;
    border-radius: 16px;
    background: #fff;
    color: #404145;
    transition: box-shadow .3s ease, border-color .3s ease;
}

.cr-review:hover{ border-color: #c5c6c9; box-shadow: 0 16px 40px rgba(17,17,17,.07); }

.cr-review-head{
    display: flex;
    align-items: center;
    gap: 12px;
}

.cr-review-avatar{
    display: grid;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    place-items: center;
    border-radius: 50%;
    background: #222325;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.cr-review-fiverr .cr-review-avatar{ background: #1dbf73; }

.cr-review-trustpilot .cr-review-avatar{ background: #191919; }

.cr-review-direct .cr-review-avatar{ background: #f5ba29; color: #111; }

.cr-review-who{
    display: grid;
    min-width: 0;
    gap: 2px;
}

.cr-review-who strong{
    color: #222325;
    font-size: 16px;
    font-weight: 700;
}

.cr-review-who span{
    overflow: hidden;
    color: #74767e;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cr-review-source{
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 6px;
    margin-left: auto;
    padding: 5px 10px 5px 6px;
    border: 1px solid #e4e5e7;
    border-radius: 999px;
    color: #222325;
    font-size: 13px;
    font-weight: 600;
}

.cr-review-fiverr .cr-review-source{ padding: 7px 12px; }

.cr-fiverr-logo{ display: block; width: 68px; height: auto; }

a.cr-review-source:hover,
a.cr-review-source:focus-visible{ border-color: #222325; }

.cr-review-rating{
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #efeff0;
}

.cr-review-stars{
    display: inline-flex;
    gap: 2px;
    font-size: 16px;
    line-height: 1;
}

.cr-review-stars i{
    color: #dadbdd;
    font-style: normal;
}

.cr-review-stars i.is-on{ color: #222325; }

.cr-review-stars-svg{ color: #222325; }

.cr-review-stars-svg .is-off{ color: #dadbdd; }

.cr-review-direct .cr-review-stars-svg{ color: #f5ba29; }

/* Trustpilot shows stars as white stars on green squares. */
.cr-review-trustpilot .cr-review-stars i{
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    background: #dcdce6;
    color: #fff;
    font-size: 13px;
}

.cr-review-trustpilot .cr-review-stars i.is-on{ background: #00b67a; color: #fff; }

.cr-review-rating b{
    color: #222325;
    font-size: 15px;
    font-weight: 700;
}

.cr-review-date{
    color: #74767e;
    font-size: 14px;
}

.cr-review-date::before{ content: "·"; margin-right: 8px; }

.cr-review-text{
    margin: 14px 0 0;
    color: #404145;
    font-size: 16px;
    line-height: 1.6;
}

.cr-review-foot{
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #efeff0;
    font-size: 14px;
}

.cr-review-foot span{ color: #74767e; }

.cr-review-foot strong{ color: #222325; font-weight: 600; }

/* Trustpilot steps */
.cr-steps{
    padding: clamp(70px, 7vw, 130px) 0;
    background: #f5ba29;
}

.cr-steps-grid{
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: center;
    gap: clamp(36px, 5vw, 96px);
}

.cr-steps-head h2{
    margin: 16px 0 0;
    font-family: var(--font-display);
    font-size: clamp(40px, 4.2vw, 76px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.055em;
}

.cr-steps-head p{
    margin: 22px 0 32px;
    max-width: 58ch;
    color: rgba(17,17,17,.75);
    font-size: 18px;
    line-height: 1.5;
}

.cr-steps-list{
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cr-steps-list li{
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: clamp(20px, 2vw, 28px);
    border-radius: 22px;
    background: rgba(255,255,255,.55);
}

.cr-steps-list span{
    display: grid;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    place-items: center;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.cr-steps-list strong{
    display: block;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -.03em;
}

.cr-steps-list p{
    margin: 6px 0 0;
    color: rgba(17,17,17,.7);
    font-size: 14px;
    line-height: 1.5;
}

.cr-steps .cr-btn-ghost{ border-color: rgba(17,17,17,.35); }

@media (max-width: 1080px) {
.cr-bento{ grid-template-columns: repeat(2, minmax(0, 1fr)); }

.cr-section-head{ grid-template-columns: 1fr; }

.cr-steps-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
.client-reviews-page .portfolio-new-inner{ max-width: 100%; }

.cr-hero h1{ font-size: 48px; }

.cr-rating-pill{ gap: 8px; font-size: 12px; white-space: nowrap; }

.cr-avatars span:nth-child(n+4){ display: none; }

.cr-actions{ display: grid; width: 100%; }

.cr-btn{ width: 100%; }

.cr-snippet{ font-size: 13px; padding: 11px 16px; }

.cr-bento{ grid-template-columns: 1fr; grid-auto-rows: auto; }

.cr-tile-quote,
.cr-tile-trustpilot{ grid-column: auto; grid-row: auto; }

.cr-tile-trustpilot{ flex-direction: column; align-items: stretch; }

.cr-tile-widget{ flex-basis: auto; }

.cr-steps-list{ grid-template-columns: 1fr; }

.cr-steps-head p{ font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
.cr-marquee-track,
.cr-gradient-text{ animation: none; }
}
