/* Restoration RX - homepage. Builds on rrx-local.css (colors, buttons, form, service cards). */
.rxh h3{margin:0}
.rxh-sec{padding:88px 0;background:#fff}
.rxh-sec--soft{background:var(--soft)}
.rxh-head{max-width:760px;margin:0 0 36px}
.rxh-head p{margin:10px 0 0;color:var(--text)}
.rxh-h2s{margin-bottom:28px}

/* Hero: full-width photo behind the text */
.rxh-hero{position:relative;overflow:hidden;background:var(--navy-3);color:#fff}
.rxh-hero__bg{position:absolute;inset:0;width:100% !important;height:100% !important;max-width:none !important;object-fit:cover;object-position:75% 25%}
.rxh-hero__shade{position:absolute;inset:0;background:rgba(6,31,50,.72)}
.rxh-hero__in{position:relative;display:flex;flex-direction:column;gap:22px;padding-top:96px;padding-bottom:40px}
.rxh-h1{margin:0;max-width:860px;font-family:'Oswald','Arial Narrow',sans-serif;font-weight:600;text-transform:uppercase;font-size:clamp(40px,6vw,76px);line-height:1.02;color:#fff;text-wrap:balance}
.rxh-lead{margin:0;max-width:620px;color:#E4E7EA;font-size:20px;line-height:1.5}
.rxh-local{margin:-6px 0 0;display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;color:#E4E7EA;font-size:16px}
.rxh-local span{font-weight:700;color:#fff;margin-right:2px}
.rxh-local a{color:#fff !important;font-weight:600;text-decoration:underline;text-decoration-color:rgba(255,255,255,.45);text-underline-offset:4px}
.rxh-local a:hover{text-decoration-color:#fff}
.rxh-local i{font-style:normal;color:rgba(255,255,255,.5)}
.rxh-trust{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px 26px;color:#E4E7EA;font-size:15px;font-weight:600}
.rxh-trust li{display:flex;align-items:center;gap:8px}
.rxh-quick{margin-top:40px;padding-top:22px;border-top:1px solid rgba(255,255,255,.22);display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px}
.rxh-quick span{color:#fff;font-weight:700;font-size:15px;margin-right:6px}
.rxh-quick a{border:1px solid rgba(255,255,255,.5);color:#fff !important;text-decoration:none;font-weight:600;font-size:15px;padding:9px 16px;border-radius:999px;transition:background .2s ease,color .2s ease}
.rxh-quick a:hover{background:#fff;color:var(--navy) !important}

/* Two featured services */
.rxh-feature{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(460px,100%),1fr));gap:28px}
.rxh-fcard{border:1px solid var(--line);border-radius:12px;overflow:hidden;display:flex;flex-direction:column;background:#fff;transition:transform .25s ease,box-shadow .25s ease}
.rxh-fcard:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(11,11,12,.12)}
.rxh-fcard img{display:block;width:100% !important;height:280px !important;max-width:none !important;object-fit:cover}
.rxh-fcard__body{padding:28px;display:flex;flex-direction:column;gap:14px;flex-grow:1}
.rxh-fcard h3{font-size:26px;font-weight:700;color:var(--navy)}
.rxh-fcard p{margin:0;color:var(--text)}
.rxh-tags{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.rxh-tags li{background:#EEF4F8;color:var(--navy);font-size:14px;font-weight:600;padding:6px 12px;border-radius:999px}
.rxh-fcard__links{margin-top:auto !important;display:flex;flex-wrap:wrap;gap:10px 24px;font-weight:700}

/* Steps */
.rxh-steps{list-style:none;margin:36px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr));gap:28px}
.rxh-steps li{display:flex;flex-direction:column;gap:10px;padding-top:18px;border-top:3px solid var(--navy)}
.rxh-steps span{font-family:'Oswald','Arial Narrow',sans-serif;font-size:34px;font-weight:600;color:var(--red);line-height:1}
.rxh-steps h3{font-size:20px;font-weight:700}
.rxh-steps p{margin:0;font-size:16px;color:var(--text)}

/* Insurance */
.rxh-ins{background:var(--navy);color:#fff;padding:80px 0}
.rxh-ins__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(420px,100%),1fr));gap:40px 56px;align-items:center}
.rxh-ins__text{display:flex;flex-direction:column;gap:16px}
.rxh-ins__text p{margin:0;color:#D7E4EE;font-size:18px}
.rxh-btn-white{background:#fff;color:var(--navy) !important;text-decoration:none;font-weight:700;padding:14px 22px;border-radius:6px}
.rxh-ins__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.rxh-ins__list li{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);border-radius:10px;padding:20px 22px;display:flex;gap:16px;align-items:flex-start}
.rxh-ins__list svg{flex:0 0 28px;color:#fff}
.rxh-ins__list span{display:flex;flex-direction:column;gap:2px;color:#D7E4EE;font-size:15px}
.rxh-ins__list strong{color:#fff;font-size:18px}

/* Areas */
.rxh-areas{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(480px,100%),1fr));gap:32px;align-items:stretch}
.rxh-towns{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr));gap:12px}
.rxh-towns a{border:1px solid var(--line);border-radius:10px;padding:16px 18px;text-decoration:none;display:flex;flex-direction:column;gap:2px;transition:border-color .2s ease,box-shadow .2s ease}
.rxh-towns a:hover{border-color:var(--navy);box-shadow:0 10px 22px rgba(10,30,50,.08)}
.rxh-towns strong{font-size:18px;color:var(--navy)}
.rxh-towns span{font-size:14px;color:var(--muted)}
.rxh-also{margin:22px 0 10px;font-size:14px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.rxh-pills{display:flex;flex-wrap:wrap;gap:8px}
.rxh-pills a{border:1px solid #B9C1C9;color:var(--navy) !important;text-decoration:none;font-weight:600;font-size:15px;padding:8px 14px;border-radius:999px;transition:background .2s ease,color .2s ease}
.rxh-pills a:hover{background:var(--navy);color:#fff !important}
.rxh-map{min-height:340px;border-radius:12px;overflow:hidden;background:#E9EEF2}
.rxh-map iframe{display:block;width:100%;height:100%;min-height:340px;border:0}

/* Recent work and blog cards */
.rxh-work{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:20px}
.rxh-wcard{background:#fff;border-radius:10px;overflow:hidden;text-decoration:none;display:flex;flex-direction:column;transition:transform .25s ease,box-shadow .25s ease}
.rxh-wcard:hover,.rxh-bcard:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(11,11,12,.12)}
.rxh-wcard img{display:block;width:100% !important;height:200px !important;object-fit:cover}
.rxh-wcard__t{padding:16px 18px 0;font-size:16px;font-weight:600;color:var(--ink)}
.rxh-wcard__town{padding:4px 18px 16px;font-size:14px;font-weight:700;color:var(--navy)}
.rxh-blog{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:24px}
.rxh-bcard{border:1px solid var(--line);border-radius:10px;overflow:hidden;text-decoration:none;color:inherit !important;display:flex;flex-direction:column;background:#fff;transition:transform .25s ease,box-shadow .25s ease}
.rxh-bcard img{display:block;width:100% !important;height:190px !important;object-fit:cover}
.rxh-bcard__body{padding:20px 22px;display:flex;flex-direction:column;gap:8px;flex-grow:1}
.rxh-bcard__meta{font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.rxh-bcard strong{font-size:20px;line-height:1.3;color:#0B0B0C}
.rxh-bcard__x{font-size:15px;color:var(--text)}
.rxh-bcard__go{margin-top:auto;padding-top:6px;font-weight:700;font-size:15px;color:var(--navy)}

/* Reviews */
.rxh-revhead{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 32px;margin-bottom:32px}
.rxh-score{margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px}
.rxh-stars{color:#F5B301;letter-spacing:2px;font-size:20px}
.rxh-score a,.rxh-all{font-weight:700;font-size:15px}
.rxh-reviews{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));gap:22px;align-items:start}
.rxh-review{margin:0;padding:26px;border:1px solid var(--line);border-radius:10px;display:flex;flex-direction:column;gap:12px}
.rxh-review__t{margin:0;font-weight:700;color:var(--navy)}
.rxh-review__q{margin:0;padding:0;border:0;max-height:calc(16px * 1.6 * 6);overflow:hidden;position:relative}
.rxh-review__q p{margin:0 0 10px;font-size:16px;color:var(--text)}
.rxh-review.is-long:not(.is-open) .rxh-review__q::after{content:"";position:absolute;left:0;right:0;bottom:0;height:42px;background:linear-gradient(rgba(255,255,255,0),#fff)}
.rxh-review.is-open .rxh-review__q{max-height:none}
.rxh-review figcaption{font-weight:600;font-size:15px}
.rxh-press{margin-top:24px;display:inline-flex;align-items:center;gap:10px;padding:14px 18px;background:var(--soft);border-radius:8px;text-decoration:none;color:var(--ink) !important;font-size:16px}
.rxh-press svg{color:var(--navy);flex:0 0 22px}
.rxh-certs{margin-top:32px;padding-top:28px;border-top:1px solid var(--line);overflow:hidden}
.rxh-certs__track{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px}
.rxh-certs img{height:64px !important;width:auto !important}
.rxh-dup{display:none}

/* FAQ */
.rxh-faq{max-width:900px}
.rxh-faq details{background:#fff;border-radius:8px;padding:20px 24px;margin:0 0 12px}
.rxh-faq summary{cursor:pointer;font-weight:700;font-size:18px;color:var(--ink)}
.rxh-faq details p{margin:12px 0 0;font-size:16px;color:var(--text)}

/* Final call + form */
.rxh-end{background:var(--navy-2);padding:88px 0}
.rxh-end__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(420px,100%),1fr));gap:48px;align-items:center}
.rxh-end__text{display:flex;flex-direction:column;gap:18px;align-items:flex-start}
.rxh-end__text p{margin:0;color:#D7E4EE;font-size:19px}

@media (max-width:767px){
.rxh-sec,.rxh-ins,.rxh-end{padding:56px 0}
.rxh-hero__in{padding-top:56px}
.rxh-quick{margin-top:24px}
.rxh-fcard img{height:220px !important}
.rxh-swipe{display:flex !important;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px !important;margin:0 -24px;padding:0 24px 8px;scrollbar-width:none}
.rxh-swipe::-webkit-scrollbar{display:none}
.rxh-swipe>*{flex:0 0 80%;scroll-snap-align:start}
.rxh-towns{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.rxh-towns a{padding:12px 14px}
.rxh-pills a{font-size:14px;padding:6px 12px}
.rxh-hide-m{display:none !important}
.rxh-map,.rxh-map iframe{min-height:220px}
.rxh-certs__track{flex-wrap:nowrap;justify-content:flex-start;width:max-content;gap:40px;animation:rxh-marq 18s linear infinite}
.rxh-dup{display:block}
}
@keyframes rxh-marq{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){
.rxh-certs__track{animation:none !important}
.rxh-fcard,.rxh-wcard,.rxh-bcard{transition:none}
}
