/* Lead-generation landing pages (/digital-marketing). Builds on report-landing.css (.rlp). */
/* Photo hero: a dark left-to-right wash keeps the copy readable over the image.
   Swap the photo by changing --lp-hero-img. */
.lp-hero{--lp-hero-img:url("/wp-content/themes/html5blank-child/images/home-slide-1.webp");background:linear-gradient(90deg,rgb(22 24 24 / .95) 0%,rgb(22 24 24 / .84) 42%,rgb(22 24 24 / .35) 100%),var(--lp-hero-img) center/cover no-repeat,var(--rlp-dark)}
.lp-hero:before{display:none}
@media (max-width:900px){.lp-hero{--lp-hero-img:url("/wp-content/themes/html5blank-child/images/home-slide-1-mobile.webp");background:linear-gradient(180deg,rgb(22 24 24 / .8) 0%,rgb(22 24 24 / .62) 100%),var(--lp-hero-img) center/cover no-repeat,var(--rlp-dark)}}
.lp-hero .rlp-form-card{grid-row:1}
.lp-hero .rlp-hero-grid{align-items:center}

/* Clutch rating row in the hero */
.lp-rating{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:26px 0 28px;font-size:16px;color:#e9ebea}
.lp-rating a{color:#fff;font-weight:700;text-decoration:underline;text-decoration-color:var(--rlp-green)}
.lp-stars{display:inline-flex;align-items:center;gap:8px;font-weight:700;color:#fff}
.lp-stars:before{content:"";width:104px;height:20px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1.6l2.6 5.3 5.8.8-4.2 4.1 1 5.8L10 14.9l-5.2 2.7 1-5.8L1.6 7.7l5.8-.8z' fill='%23ff3d2e'/%3E%3C/svg%3E") 0 0/20.8px 20px repeat-x}
.lp-rating-sep{color:#7a807d}
.lp-hero-cta{display:none;margin-bottom:28px}

/* Form additions */
.rlp-form textarea{width:100%;font:inherit;font-size:16px;color:var(--rlp-ink);background:#fff;border:1px solid #b9bfbb;border-radius:4px;padding:12px;min-height:96px;resize:vertical}
.rlp-form textarea:focus{outline:2px solid var(--rlp-green);outline-offset:0;border-color:var(--rlp-green)}
.rlp-form textarea[aria-invalid=true]{border-color:#c0392b}
.lp-form-error{display:none;font-size:14px;line-height:1.5;color:#a52a1c;margin-top:12px}
.lp-form-error.rlp-visible{display:block}
.lp-form-error a{color:inherit;font-weight:700}
.lp-form-alt{font-size:14px;line-height:1.5;color:var(--rlp-muted);margin-top:14px;text-align:center}
.lp-form-alt a{color:var(--rlp-ink);font-weight:700;text-decoration:underline;text-decoration-color:var(--rlp-green)}

/* Client logos */
.lp-logos-section{padding:64px 0 72px}
.lp-logos{display:grid;grid-template-columns:repeat(6,1fr);gap:8px 24px;align-items:center;list-style:none;margin-top:28px}
.lp-logos img{display:block;width:100%;max-width:170px;height:auto;margin:0 auto}

/* Results: dark case cards with logo, photo and one big number */
.lp-results{background:#0f1111;color:#fff}
.lp-results .rlp-h2{color:#fff}
.lp-results .rlp-lead{color:#d7dad8}
.lp-results .rlp-btn:focus-visible,.lp-results a:focus-visible{outline-color:#fff}
.lp-cases{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:56px;list-style:none}
.lp-case{display:flex;flex-direction:column;gap:20px;height:100%;padding:22px;background:#161818;border:1px solid rgb(255 255 255 / .12);border-radius:16px;color:#fff;text-decoration:none;transition:transform .2s,border-color .2s}
.lp-case:hover,.lp-case:focus-visible{transform:translateY(-4px);border-color:var(--rlp-green)}
.lp-case-head{display:flex;align-items:center;gap:14px;min-height:70px}
.lp-case-logo{flex:0 0 104px;width:104px;height:56px;display:flex;align-items:center;justify-content:center;background:#fff;border-radius:12px;overflow:hidden}
.lp-case-logo img{width:100%;height:100%;object-fit:contain;transform:scale(1.25)}
.lp-case-logo img[src$=".svg"]{object-fit:contain;transform:none;padding:8px}
.lp-case-title{display:block;min-width:0}
.lp-case-title h3{margin:0 0 2px;font-size:20px;font-weight:700;line-height:1.2;color:#fff}
.lp-case-title span{display:block;font-size:14px;line-height:1.4;color:#b9bdbb}
.lp-case-photo{display:block;width:100%;height:auto;aspect-ratio:8 / 5;object-fit:cover;border-radius:10px}
.lp-case-stat{display:flex;align-items:center;gap:16px}
.lp-case-stat strong{font-size:clamp(40px,3.6vw,52px);font-weight:700;line-height:1;letter-spacing:-.02em;color:var(--rlp-green);white-space:nowrap}
.lp-case-stat span{font-size:15px;line-height:1.35;color:#e9ebea}
.lp-case-link{margin-top:auto;font-size:14px;font-weight:700;color:#b9bdbb}
.lp-case:hover .lp-case-link,.lp-case:focus-visible .lp-case-link{color:#fff}

/* Services */
.lp-services{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:48px;list-style:none}
.lp-services li{background:#fff;border:1px solid var(--rlp-line);border-radius:8px;padding:26px 22px}
.lp-service-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;margin-bottom:16px;border-radius:12px;background:rgb(18 198 91 / .12);color:var(--rlp-green-dark)}
.lp-services h4{font-size:18px;font-weight:700;margin-bottom:8px}
.lp-services p{font-size:15px;line-height:1.55;color:var(--rlp-muted)}
.lp-services .lp-services-cta{background:var(--rlp-dark);border-color:var(--rlp-dark);display:flex;flex-direction:column;justify-content:center;gap:14px}
.lp-services .lp-services-cta h4{color:#fff;margin:0}
.lp-services .lp-services-cta a{color:#fff;font-weight:700;text-decoration:underline;text-decoration-color:var(--rlp-green)}
.lp-services .lp-services-cta a:focus-visible{outline-color:#fff}

/* Reviews */
.lp-reviews{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;list-style:none}
.lp-reviews li{background:rgb(255 255 255 / .05);border:1px solid rgb(255 255 255 / .1);border-radius:8px;padding:26px 24px;display:flex;flex-direction:column;gap:18px}
.lp-reviews blockquote{margin:0;font-size:19px;line-height:1.5;color:#fff;flex:1}
.lp-reviews cite{font-style:normal;font-size:14px;line-height:1.45;color:#b9bdbb}
.lp-reviews cite strong{display:block;color:#fff;font-size:15px}
.lp-reviews-head{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:16px 40px;margin-bottom:40px}
.lp-reviews-head .rlp-h2{margin-bottom:0}
.lp-reviews-head .lp-rating{margin:0}

/* Process */
.lp-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;margin-top:48px;list-style:none;counter-reset:step}
.lp-steps li{counter-increment:step;border-top:4px solid var(--rlp-green);padding-top:20px}
.lp-steps li:before{content:counter(step,decimal-leading-zero);display:block;font-family:'Playfair Display',serif;font-style:italic;font-weight:900;font-size:30px;color:var(--rlp-green);margin-bottom:8px}
.lp-steps h3{font-size:19px;font-weight:700;margin-bottom:8px}
.lp-steps p{font-size:16px;line-height:1.55;color:var(--rlp-muted)}

@media (max-width:1024px){
.lp-hero .rlp-form-card{grid-row:auto}
.lp-hero-cta{display:block}
.lp-logos{grid-template-columns:repeat(4,1fr)}
.lp-services,.lp-steps{grid-template-columns:1fr 1fr}
.lp-cases{grid-template-columns:1fr 1fr}
.lp-reviews{grid-template-columns:1fr}
}
@media (max-width:640px){
.lp-logos{grid-template-columns:repeat(3,1fr);gap:4px 12px}
.lp-services,.lp-steps,.lp-cases{grid-template-columns:1fr}
.lp-rating{font-size:15px}
.lp-rating-sep{display:none}
.lp-hero-cta .rlp-btn{display:block;text-align:center}
}
@media (prefers-reduced-motion:reduce){.lp-case{transition:none}.lp-case:hover,.lp-case:focus-visible{transform:none}}
