/*
Theme Name: Restoration Rescue Custom
Theme URI: https://www.callrestorationrescue.com/
Author: WSI / Restoration Rescue
Author URI: https://www.callrestorationrescue.com/
Description: A fast, phone-first nationwide restoration theme for water, fire, mold, biohazard, storm, sewage, and commercial damage services.
Version: 0.3.0
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: restoration-rescue
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --rr-blue: #078bc7;
  --rr-blue-bright: #16a4df;
  --rr-blue-dark: #075d89;
  --rr-red: #ed2224;
  --rr-red-dark: #c91619;
  --rr-charcoal: #303236;
  --rr-navy: #122b3d;
  --rr-ink: #17191d;
  --rr-muted: #60676d;
  --rr-light: #f3f6f8;
  --rr-white: #ffffff;
  --rr-border: #dce3e8;
  --rr-shadow: 0 18px 45px rgba(18, 43, 61, .12);
  --rr-radius: 16px;
  --rr-container: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--rr-ink);
  background: var(--rr-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--rr-blue-dark); }
a:hover { color: var(--rr-red-dark); }
button, input, textarea, select { font: inherit; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  width: auto; height: auto;
  top: 8px; left: 8px; z-index: 99999;
  padding: .75rem 1rem;
  background: #fff; color: #000;
  clip: auto;
}

.rr-container {
  width: min(calc(100% - 40px), var(--rr-container));
  margin-inline: auto;
}

.rr-utility {
  color: #dfeaf0;
  background: var(--rr-navy);
  font-size: .78rem;
}
.rr-utility__inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.rr-utility ul {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rr-utility a {
  color: #fff;
  text-decoration: none;
  font-weight: 750;
}
.rr-utility a:hover { color: #bfeaff; }
.rr-utility__meta {
  display: flex;
  align-items: center;
  gap: 24px;
}
.rr-availability::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: #55d681;
  box-shadow: 0 0 0 4px rgba(85,214,129,.14);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--rr-border);
  backdrop-filter: blur(12px);
}
.admin-bar .site-header { top: 32px; }
.rr-header__inner {
  min-height: 92px;
  display: grid;
  grid-template-columns: minmax(220px, 310px) 1fr auto;
  align-items: center;
  gap: 25px;
}
.custom-logo-link,
.rr-brand { display: inline-flex; align-items: center; }
.custom-logo { width: auto; max-height: 66px; }
.rr-brand__fallback img {
  display: block;
  width: min(100%, 310px);
  max-height: 66px;
  object-fit: contain;
}
.rr-nav ul {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(13px, 1.7vw, 26px);
  margin: 0;
  padding: 0;
}
.rr-nav a {
  color: var(--rr-charcoal);
  font-size: .87rem;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
}
.rr-nav a:hover,
.rr-nav .current-menu-item > a { color: var(--rr-red); }
.rr-menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: .7rem .85rem;
  border: 1px solid var(--rr-border);
  border-radius: 10px;
  background: #fff;
  color: var(--rr-charcoal);
  font-weight: 800;
  cursor: pointer;
}

.rr-button,
.wp-element-button,
.wp-block-button__link,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: .8rem 1.25rem;
  border: 0;
  border-radius: 8px;
  background: var(--rr-red);
  color: var(--rr-white);
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(237,34,36,.22);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.rr-button:hover,
.wp-element-button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover {
  color: var(--rr-white);
  background: var(--rr-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(237,34,36,.3);
}
.rr-button--blue { background: var(--rr-blue); box-shadow: 0 10px 24px rgba(7,139,199,.23); }
.rr-button--blue:hover { background: var(--rr-blue-dark); }
.rr-button--dark { background: var(--rr-navy); box-shadow: 0 10px 24px rgba(18,43,61,.23); }
.rr-button--dark:hover { background: #091c29; }
.rr-button--full { width: 100%; }

.rr-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--rr-white);
  background:
    linear-gradient(95deg, rgba(8,38,57,.97) 0%, rgba(12,54,78,.94) 56%, rgba(5,93,137,.9) 100%),
    radial-gradient(circle at 80% 20%, rgba(22,164,223,.8), transparent 35%);
}
.rr-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .12;
  background:
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(255,255,255,.45) 23px 24px, transparent 25px 48px);
}
.rr-hero__inner {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, .65fr);
  gap: 65px;
  align-items: center;
  padding-block: 75px;
}
.rr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 17px;
  color: #c8efff;
  font-size: .82rem;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.rr-eyebrow::before {
  content: "";
  width: 34px; height: 3px;
  background: var(--rr-red);
}
.rr-hero h1 {
  max-width: 780px;
  margin: 0 0 20px;
  color: var(--rr-white);
  font-size: clamp(2.75rem, 6vw, 5.25rem);
  line-height: .98;
  letter-spacing: -.055em;
}
.rr-hero__lead {
  max-width: 700px;
  margin: 0 0 28px;
  color: #e5eff4;
  font-size: clamp(1.05rem, 2vw, 1.26rem);
}
.rr-hero__phone {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 13px 19px;
  border-radius: 8px;
  color: #fff;
  background: var(--rr-red);
  text-decoration: none;
  box-shadow: 0 18px 38px rgba(0,0,0,.2);
}
.rr-hero__phone:hover { color: #fff; background: var(--rr-red-dark); }
.rr-hero__phone span {
  padding-right: 18px;
  border-right: 1px solid rgba(255,255,255,.45);
  font-size: .86rem;
  font-weight: 900;
  text-transform: uppercase;
}
.rr-hero__phone strong {
  font-size: clamp(1.25rem, 3vw, 1.85rem);
  letter-spacing: -.025em;
}
.rr-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
  margin: 27px 0 0;
  padding: 0;
  list-style: none;
  color: #eef6f8;
  font-size: .85rem;
  font-weight: 750;
}
.rr-proof li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 20px; height: 20px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--rr-blue-bright);
  font-size: .7rem;
}

.rr-helpbox {
  padding: 30px;
  border-top: 5px solid var(--rr-red);
  border-radius: 10px;
  color: var(--rr-ink);
  background: #fff;
  box-shadow: 0 28px 70px rgba(0,0,0,.25);
}
.rr-helpbox__kicker {
  margin: 0 0 5px;
  color: var(--rr-red);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.rr-helpbox h2 {
  margin: 0 0 20px;
  color: var(--rr-charcoal);
  font-size: 1.72rem;
  line-height: 1.08;
}
.rr-helpbox p { color: var(--rr-muted); font-size: .88rem; }
.rr-helpbox__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.rr-helpbox__grid a {
  display: grid;
  place-items: center;
  min-height: 98px;
  padding: 12px;
  border: 1px solid var(--rr-border);
  border-radius: 8px;
  color: var(--rr-charcoal);
  background: var(--rr-light);
  font-size: .86rem;
  font-weight: 900;
  text-decoration: none;
}
.rr-helpbox__grid a:hover {
  border-color: var(--rr-blue);
  color: var(--rr-blue-dark);
  background: #eaf7fd;
}
.rr-helpbox__grid span { font-size: 1.5rem; }

.rr-trustbar {
  color: #fff;
  background: var(--rr-blue-dark);
}
.rr-trustbar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.rr-trustbar__grid > div {
  min-height: 100px;
  display: grid;
  place-content: center;
  padding: 17px 24px;
  border-right: 1px solid rgba(255,255,255,.18);
  text-align: center;
}
.rr-trustbar__grid > div:last-child { border-right: 0; }
.rr-trustbar strong { display: block; font-size: 1.12rem; }
.rr-trustbar span { color: #d5effa; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; }

.rr-section { padding-block: 84px; }
.rr-section--light { background: var(--rr-light); }
.rr-section--dark { color: #fff; background: var(--rr-navy); }
.rr-section__heading {
  max-width: 790px;
  margin: 0 auto 42px;
  text-align: center;
}
.rr-section__heading--left { margin-inline: 0; text-align: left; }
.rr-kicker {
  margin: 0 0 10px;
  color: var(--rr-red);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.rr-section h2,
.rr-certstrip h2,
.rr-need h2 {
  margin: 0 0 14px;
  color: var(--rr-charcoal);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -.04em;
}
.rr-section--dark h2 { color: #fff; }
.rr-section__heading p { margin: 0; color: var(--rr-muted); }
.rr-section--dark .rr-section__heading p { color: #dbe7ed; }

.rr-grid { display: grid; gap: 24px; }
.rr-grid--4 { grid-template-columns: repeat(4, 1fr); }
.rr-grid--3 { grid-template-columns: repeat(3, 1fr); }
.rr-grid--2 { grid-template-columns: repeat(2, 1fr); }

.rr-service-card {
  overflow: hidden;
  border: 1px solid var(--rr-border);
  border-radius: var(--rr-radius);
  background: #fff;
  box-shadow: var(--rr-shadow);
}
.rr-service-card__visual {
  min-height: 150px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--rr-blue), var(--rr-blue-dark));
  font-size: 4rem;
}
.rr-service-card--fire .rr-service-card__visual { background: linear-gradient(135deg, #f04a36, var(--rr-red-dark)); }
.rr-service-card--mold .rr-service-card__visual { background: linear-gradient(135deg, #466b5b, #203b31); }
.rr-service-card__body { padding: 27px; }
.rr-service-card h3 {
  margin: 0 0 6px;
  color: var(--rr-charcoal);
  font-size: 1.35rem;
}
.rr-service-card__phone {
  display: inline-block;
  margin-bottom: 13px;
  color: var(--rr-red);
  font-size: 1rem;
  font-weight: 950;
  text-decoration: none;
}
.rr-service-card p { color: var(--rr-muted); font-size: .91rem; }
.rr-text-link { font-size: .9rem; font-weight: 900; text-decoration: none; }

.rr-certstrip {
  color: #fff;
  background:
    linear-gradient(100deg, rgba(18,43,61,.98), rgba(7,93,137,.95)),
    var(--rr-navy);
}
.rr-certstrip__inner {
  min-height: 210px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.rr-certstrip h2 { max-width: 760px; color: #fff; }

.rr-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--rr-border);
  border-radius: var(--rr-radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(18,43,61,.07);
}
.rr-card__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--rr-blue);
  font-size: 1.4rem;
  font-weight: 950;
}
.rr-card:nth-child(even) .rr-card__icon { background: var(--rr-red); }
.rr-card h3 { margin: 0 0 9px; color: var(--rr-charcoal); font-size: 1.18rem; }
.rr-card p { margin: 0 0 14px; color: var(--rr-muted); font-size: .9rem; }
.rr-card a { font-size: .88rem; font-weight: 900; text-decoration: none; }

.rr-need { background: #fff; }
.rr-need__inner { text-align: center; }
.rr-need__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 900px;
  margin: 35px auto 28px;
}
.rr-need__cards a {
  min-height: 150px;
  display: grid;
  place-content: center;
  gap: 9px;
  padding: 20px;
  border: 1px solid var(--rr-border);
  border-radius: 10px;
  color: var(--rr-charcoal);
  background: var(--rr-light);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(18,43,61,.06);
}
.rr-need__cards a:hover { border-color: var(--rr-blue); color: var(--rr-blue-dark); transform: translateY(-2px); }
.rr-need__cards span { font-size: 2.3rem; }

.rr-difference__grid > div {
  padding: 23px 18px;
  text-align: center;
}
.rr-difference__grid span {
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  margin: 0 auto 17px;
  border: 2px solid rgba(255,255,255,.35);
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
}
.rr-difference__grid h3 { margin: 0 0 8px; color: #fff; font-size: 1.08rem; }
.rr-difference__grid p { margin: 0; color: #cddce4; font-size: .84rem; }

.rr-resource-card {
  overflow: hidden;
  border: 1px solid var(--rr-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(18,43,61,.07);
}
.rr-resource-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.rr-resource-card > div { padding: 24px; }
.rr-resource-card__meta {
  margin: 0 0 7px;
  color: var(--rr-red) !important;
  font-size: .72rem !important;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.rr-resource-card h3 { margin: 0 0 12px; color: var(--rr-charcoal); line-height: 1.25; }
.rr-resource-card h3 a { color: inherit; text-decoration: none; }
.rr-resource-card p { color: var(--rr-muted); font-size: .88rem; }
.rr-resource-card--placeholder { border-top: 5px solid var(--rr-blue); }

.rr-cta {
  padding-block: 64px;
  color: #fff;
  background: linear-gradient(100deg, var(--rr-red-dark), var(--rr-red));
}
.rr-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}
.rr-cta .rr-kicker { color: #fff; opacity: .78; }
.rr-cta h2 { margin: 0 0 8px; color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.rr-cta p { margin: 0; color: #fff; opacity: .92; }

.site-main { min-height: 55vh; }
.rr-content {
  width: min(calc(100% - 40px), 860px);
  margin-inline: auto;
  padding-block: 70px;
}
.rr-content h1 {
  color: var(--rr-charcoal);
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.08;
}
.rr-content h2,
.rr-content h3 { color: var(--rr-charcoal); }
.rr-page-header {
  padding-block: 68px;
  color: #fff;
  background: linear-gradient(110deg, var(--rr-navy), var(--rr-blue-dark));
}
.rr-page-header h1 { margin: 0; color: #fff; font-size: clamp(2.35rem, 5vw, 4.25rem); line-height: 1.05; }
.rr-page-header p { max-width: 760px; color: #dce7ed; }

.entry-content > .alignwide { width: min(1100px, calc(100vw - 40px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content > .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
blockquote {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  border-left: 5px solid var(--rr-blue);
  background: var(--rr-light);
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid #bec9d0;
  border-radius: 8px;
  background: #fff;
}
input:focus, textarea:focus, select:focus {
  outline: 3px solid rgba(7,139,199,.18);
  border-color: var(--rr-blue);
}

.site-footer {
  padding-block: 58px 24px;
  color: #cfd7dc;
  background: #171b1f;
}
.rr-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr .8fr .6fr;
  gap: 48px;
}
.rr-footer__logo { width: min(100%, 330px); margin-bottom: 20px; filter: brightness(0) invert(1); }
.rr-footer__phone { color: #fff !important; font-size: 1.45rem; font-weight: 950; }
.site-footer h3 { color: #fff; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #dbe4e9; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.rr-footer__bottom {
  margin-top: 46px;
  padding-top: 21px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .78rem;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.rr-mobile-call {
  display: none;
  position: fixed;
  right: 12px; bottom: 12px; left: 12px;
  z-index: 1200;
  min-height: 60px;
  border-radius: 10px;
  background: var(--rr-red);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(0,0,0,.28);
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.rr-mobile-call span { font-size: .74rem; font-weight: 900; text-transform: uppercase; }
.rr-mobile-call strong { font-size: 1.15rem; }

@media (max-width: 1080px) {
  .rr-header__inner { grid-template-columns: minmax(200px, 270px) auto auto; }
  .rr-menu-toggle { display: inline-flex; justify-self: end; }
  .rr-nav {
    display: none;
    position: absolute;
    top: 100%; right: 0; left: 0;
    padding: 15px 20px 24px;
    border-top: 1px solid var(--rr-border);
    background: #fff;
    box-shadow: 0 24px 35px rgba(0,0,0,.12);
  }
  .rr-nav.is-open { display: block; }
  .rr-nav ul { display: grid; gap: 4px; }
  .rr-nav a { display: block; padding: 12px 4px; }
  .rr-header__cta { display: none; }
  .rr-hero__inner { grid-template-columns: 1fr; min-height: 0; }
  .rr-helpbox { max-width: 660px; }
  .rr-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .rr-utility__inner { min-height: 38px; justify-content: center; }
  .rr-utility__nav,
  .rr-availability { display: none; }
  .rr-header__inner { min-height: 76px; grid-template-columns: 1fr auto; }
  .rr-brand__fallback img, .custom-logo { max-height: 52px; }
  .rr-hero__inner { padding-block: 58px; gap: 36px; }
  .rr-hero__phone { display: flex; width: 100%; justify-content: center; }
  .rr-section { padding-block: 62px; }
  .rr-grid--3,
  .rr-grid--2,
  .rr-footer__grid { grid-template-columns: 1fr; }
  .rr-trustbar__grid { grid-template-columns: 1fr 1fr; }
  .rr-trustbar__grid > div:nth-child(2) { border-right: 0; }
  .rr-trustbar__grid > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.18); }
  .rr-certstrip__inner,
  .rr-cta__inner { display: grid; }
  .rr-need__cards { grid-template-columns: 1fr; }
  .rr-footer__bottom { display: grid; }
  .rr-mobile-call { display: flex; }
  body { padding-bottom: 84px; }
}

@media (max-width: 560px) {
  body { font-size: 17px; }
  .rr-container { width: min(calc(100% - 28px), var(--rr-container)); }
  .rr-grid--4 { grid-template-columns: 1fr; }
  .rr-trustbar__grid { grid-template-columns: 1fr; }
  .rr-trustbar__grid > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .rr-trustbar__grid > div:last-child { border-bottom: 0; }
  .rr-helpbox { padding: 23px; }
  .rr-helpbox__grid { grid-template-columns: 1fr 1fr; }
  .rr-card { padding: 24px; }
  .rr-hero__phone { align-items: stretch; gap: 12px; }
  .rr-hero__phone span { display: grid; place-items: center; }
}
