/* =========================
   Hero
   ========================= */
.sa-hero-text { flex: 1; min-width: 300px; padding: 0 15px; }
.sa-hero-text h1 { font-size: 2.25rem; line-height: 1.3; color: #66ccff; margin-bottom: .5rem; font-weight: 800; }
.sa-hero-text h2 { font-size: 1.25rem; padding-bottom: 1rem; font-weight: 600; }


.main-hero-benefits-list { list-style: none; padding: 0; }
.main-hero-benefits-list li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.75rem; line-height: 1.5; }
.main-hero-benefits-list .icon--check { color: #569cd6; width: 1.4rem; height: 1.4rem; flex-shrink: 0; top: 2px; }
.main-hero-benefits-list p { margin: 0; font-size: 1rem; color: #f3f8fc; }
.main-hero-benefits-list strong { color: #fff; }

@media (max-width: 900px) {
  .sa-hero { padding: 3rem 0 .5rem; }
}
@media (max-width: 768px) {
  .sa-hero-inner { flex-direction: column; align-items: center; gap: 0; }
  .sa-hero-text { margin-bottom: 1.25rem; text-align: left; }
  .sa-hero-text h1 { line-height: 1.2; font-size: 1.7rem; margin-bottom: 0; }
  .sa-hero-text h2 { font-size: 1.1rem; padding: 12px 0 16px; }
}


.hero-trustindex-pill{
  display:inline-flex;
  flex-direction:column;
  align-items:flex-start;
  background:transparent;
  border: white solid 1px;
  border-radius: 12px;
  padding: 6px 14px;
  margin-top: 5px;
  box-shadow:0 10px 28px rgba(0,0,0,.18);
  width:fit-content;
}

.hero-trustindex-pill__top{
  display:flex;
  align-items:center;
  flex-wrap:nowrap;
  gap:.5rem;
  line-height:1;
}

.hero-trustindex-pill__label{
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  color: white;
  font-size:.85rem;
}

.hero-trustindex-pill__stars{
  display:flex;
  align-items:center;
  gap:3px;
  line-height:1;
}

.hero-trustindex-pill__star{
  width:1.1rem;
  height:1.1rem;
  color:#fbc02d;
  display:inline-block;
}

.hero-trustindex-pill__bottom{
  display:flex;
  align-items:center;
  flex-wrap:nowrap;
  gap:.5rem;
  margin-top:6px;
  line-height:1;
}

.hero-trustindex-pill__logo{
  height:16px;
  width:auto;
  object-fit:contain;
  flex-shrink:0;
}

.hero-trustindex-pill__reviews{
  color: white;
  font-size:.95rem;
  font-weight:600;
  white-space:nowrap;
}


@media (max-width:768px){
  .hero-trustindex-pill__logo{ height:15px; }
  .hero-trustindex-pill__reviews{ font-size:.92rem; }
  .hero-trustindex-pill{
    display: flex;          
    margin: 25px auto 0;    
    width: fit-content;     
  }
}

/* WP Form Style*/
/* Style input, textarea, and select fields */
.wpforms-form input,
.wpforms-form textarea,
.wpforms-form select {
  background-color: rgba(255,255,255,0.1) !important;
  color: #fff !important;
  border: 1px solid #444 !important;
  border-radius: 6px !important;
  padding: 10px 12px !important;
  font-size: 16px !important;
  width: 100% !important;
  display: block !important;
  box-sizing: border-box !important;
}

/* Style placeholder text */
.wpforms-form input::placeholder,
.wpforms-form textarea::placeholder {
  color: #bbb !important;
}

.wpforms-form .wpforms-submit-container {
  text-align: center;
}

.wpforms-form button[type="submit"] {
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: #66ccffe5 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  font-size: 1rem !important;
  font-weight: bold !important;
  cursor: pointer !important;
  transition: background-color 0.3s ease !important;
  display: inline-block;
  text-align: center;
}

.wpforms-form button[type="submit"]:hover {
  background: #4da3e1 !important;
}

/* Base icon field container */
.wpforms-form .sa-input-icon {
  position: relative;
}

/* Style the icon */
.wpforms-form .sa-input-icon::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: #bbb;
  font-size: 1rem;
  pointer-events: none;
}

/* Push input to make room for icon */
.wpforms-form .sa-input-icon input,
.wpforms-form .sa-input-icon textarea {
  padding-left: 2.25rem !important;
}

/* Specific icons per field (match field ID or field-specific class) */
.wpforms-form .sa-input-icon.name::before {
  content: "\f007"; /* fa-user */
}

.wpforms-form .sa-input-icon.phone::before {
  content: "\f879"; /* fa-phone-alt */
}

.wpforms-form .sa-input-icon.email::before {
  content: "\f0e0"; /* fa-envelope */
}

.wpforms-form .sa-input-icon.zip::before {
  content: "\f276"; /* fa-map-pin */
}

.wpforms-form .sa-input-icon.message::before {
  content: "\f4ad"; /* fa-comment-dots */
}

/* Reduce vertical spacing between form fields */
.wpforms-form .wpforms-field {
  margin-bottom: 1rem !important; /* reduce from WPForms default 1.5-2rem */
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* =========================
   eRoof Hub (Icon + Text)
   ========================= */
.eroof-hub {
  padding: 14px 0;
  background: white;
}

.eroof-hub__container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.eroof-hub__row {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 8px;
  -webkit-overflow-scrolling: touch;

  scroll-snap-type: x mandatory;
  scroll-padding-left: 2px;
}

.eroof-hub__row::-webkit-scrollbar { height: 0; }
.eroof-hub__row { scrollbar-width: none; }

.eroof-hub__item {
  scroll-snap-align: start;
  flex: 0 0 120px;           /* smaller than 140px */
  text-decoration: none;
  color: #111;
  text-align: center;

  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 10px 6px;
  transition: transform 0.12s ease, opacity 0.12s ease;
}

.eroof-hub__item:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.eroof-hub__icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 6px;
  color: #66ccff;
}

.eroof-hub__label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.1;
  color: #111;
}

/* Mobile: 3 visible + peek 4th */
@media (max-width: 768px) {
  .eroof-hub__item {
    flex: 0 0 calc(100% / 3.5);
    padding: 10px 4px;
  }

  .eroof-hub__icon {
    width: 46px;
    height: 46px;
  }

  .eroof-hub__label {
    font-size: 0.88rem;
  }
}

.eroof-hub__item:focus-visible {
  outline: 3px solid rgba(102,204,255,0.85);
  outline-offset: 3px;
}

/* =========================
    Cred Section
    ========================= */

.cred-section{
    background:white;
    color:#222;
    padding:60px 16px;
}
.cred-wrap{
    max-width:1100px;
    margin:0 auto;
    text-align:center;
}
.cred-eyebrow{
    text-transform:uppercase;
    letter-spacing:.1em;
    font-weight:700;
    font-size:.9rem;
    color:#0f2030;
    opacity:.8;
    margin-bottom:6px;
}
.cred-title{
    font-size:clamp(22px,3vw,32px);
    font-weight:800;
    margin:0 0 10px;
    color:#0f2030;
}
.cred-copy{
    max-width:820px;
    margin:0 auto 22px;
    font-size:1rem;
    line-height:1.65;
    color:#334;
}

/* Benefits grid */
.cred-grid{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap:18px;
    margin:22px auto 0;
    max-width:1100px;
}
.cred-item{
    background:#fff;
    border:1px solid #e7eef7;
    border-radius:10px;
    padding:16px;
    display:flex;
    align-items:center;
    gap:10px;
    box-shadow:0 6px 18px rgba(0,0,0,.05);
    text-align:left;
}
.cred-icon{
    flex:0 0 22px;
    width:22px; height:22px;
}
.cred-item strong{
    font-weight:700;
    color:#0f2030;
}
.cred-item span{
    display:block;
    font-size:.95rem;
    color:#425262;
}

@media (max-width:768px){
    .cred-section{ padding:28px 14px; }
    .cred-grid{ grid-template-columns:1fr; }
}

/* =========================
    Home Page Services
    ========================= */

.eroof-services-section {
  background-color: #f7f7f7;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='320'%20height='320'%20viewBox='0%200%20320%20320'%3E%3Cg%20fill='none'%20stroke='%2366ccff'%20stroke-opacity='0.09'%20stroke-width='3'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3C!--%20House%20A%20--%3E%3Cg%20transform='translate(22%2C34)%20rotate(-12)'%3E%3Cpath%20d='M0%2045%20L35%2015%20L70%2045'%20/%3E%3Cpath%20d='M12%2045%20V72%20H58%20V45'%20/%3E%3C%2Fg%3E%3C!--%20House%20B%20(upside-down%20+%20lower)%20--%3E%3Cg%20transform='translate(246%2C118)%20rotate(190)'%3E%3Cpath%20d='M0%2045%20L35%2015%20L70%2045'%20/%3E%3Cpath%20d='M12%2045%20V72%20H58%20V45'%20/%3E%3C%2Fg%3E%3C!--%20House%20C%20(smaller)%20--%3E%3Cg%20transform='translate(252%2C132)%20rotate(-18)'%3E%3Cpath%20d='M0%2028%20L22%2010%20L44%2028'%20/%3E%3Cpath%20d='M8%2028%20V46%20H36%20V28'%20/%3E%3C%2Fg%3E%3C!--%20House%20D%20--%3E%3Cg%20transform='translate(66%2C168)%20rotate(8)'%3E%3Cpath%20d='M0%2045%20L35%2015%20L70%2045'%20/%3E%3Cpath%20d='M12%2045%20V72%20H58%20V45'%20/%3E%3C%2Fg%3E%3C!--%20House%20E%20(smaller)%20--%3E%3Cg%20transform='translate(18%2C260)%20rotate(16)'%3E%3Cpath%20d='M0%2028%20L22%2010%20L44%2028'%20/%3E%3Cpath%20d='M8%2028%20V46%20H36%20V28'%20/%3E%3C%2Fg%3E%3C!--%20House%20F%20--%3E%3Cg%20transform='translate(168%2C236)%20rotate(-6)'%3E%3Cpath%20d='M0%2045%20L35%2015%20L70%2045'%20/%3E%3Cpath%20d='M12%2045%20V72%20H58%20V45'%20/%3E%3C%2Fg%3E%3C%2Fg%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 300px 300px;
  padding: 4rem 1rem;
  text-align: center;
}

.eroof-services-section a {
  text-decoration: none;
}

.eroof-services-container {
  max-width: 1100px;
  margin: 0 auto;
}

.eroof-services-heading {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  font-weight: 700;
  color: #222;
}

.eroof-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.eroof-service-card {
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: inherit;
  text-decoration: none;
}

.eroof-service-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-6px);
}

.eroof-service-card:focus {
  outline: 2px solid #4eb8e6;
  outline-offset: 4px;
}

.eroof-service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #66ccff;
}

.eroof-service-card h3 {
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
  font-weight: 600;
  color: #66ccff;
  text-decoration: none;
}

.eroof-service-card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  flex-grow: 1;
  text-decoration: none;
}

.eroof-service-link {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.6rem 1.25rem;
  background-color: #66ccff;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.eroof-service-link:hover {
  background-color: #4bb9e8;
}


@media (max-width: 768px) {
  .eroof-services-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 1rem;
    padding: 18px 1rem 22px;
    gap: 0;
    align-items: stretch; 
  }

  .eroof-services-grid::-webkit-scrollbar { height: 0; }
  .eroof-services-grid { scrollbar-width: none; }

  .eroof-services-grid .eroof-service-card {
    scroll-snap-align: start;
    flex: 0 0 86%;
    max-width: 420px;
    margin-right: 14px;
    display: flex;
    align-self: stretch;
    padding: 1.6rem 1.25rem;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(0,0,0,0.12);
    min-height: 430px;
  }

  .eroof-services-grid .eroof-service-card:last-child {
    margin-right: 0;
  }
}

@media (max-width: 600px) {
  .eroof-services-grid {
    padding: 16px 1rem 20px;
  }

  .eroof-services-grid .eroof-service-card {
    flex-basis: 88%;
    margin-right: 12px;

    padding: 1.4rem 1rem;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);

    min-height: auto;
  }
}

/* =========================
    eRoof Process
    ========================= */

.eroof-process{
    padding:56px 16px;
    background:#f7f7f7; 
    color:#111;
    border-top: 1px solid rgba(0,0,0,.06);
    border-bottom: 1px solid rgba(0,0,0,.06);
}
.eroof-process__wrap{
    max-width:1100px;
    margin:0 auto;
}

.eroof-process__eyebrow{
    text-transform:uppercase;
    letter-spacing:.1em;
    font-weight:800;
    font-size:.85rem;
    color:#0f2030;
    opacity:.75;
    margin:0 0 8px;
    text-align:center;
}
.eroof-process__title{
    margin:0 0 10px;
    font-size:clamp(22px,3vw,34px);
    font-weight:900;
    color:#0f2030;
    text-align:center;
}
.eroof-process__sub{
    margin:0 auto 22px;
    max-width:820px;
    color:#334;
    line-height:1.65;
    font-size:1rem;
    text-align:center;
}

/* Desktop: 3 x 2 grid */
.eroof-process__steps{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    align-items:stretch;
    margin-top:18px;
    column-gap:14px;
    row-gap:14px;
}

.eroof-process__step{
    background:#fff; 
    border:1px solid rgba(0,0,0,.10);
    border-radius:14px;
    padding:18px 16px 16px;
    position:relative;
    overflow:hidden;
    transition:border-color .15s ease, transform .15s ease;
}

/* subtle accent line */
.eroof-process__step::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:3px;
    background:#66ccff;
    opacity:.9;
}

@media (hover:hover){
    .eroof-process__step:hover{
    border-color:rgba(102,204,255,.55);
    transform:translateY(-1px);
    }
}

.eroof-process__top{
    display:flex;
    align-items:center;
    margin-bottom:10px;
}

.eroof-process__num{
    width:34px;
    height:34px;
    border-radius:999px;
    background:rgba(102,204,255,.16);
    border:1px solid rgba(102,204,255,.35);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-weight:900;
    color:#0f2030;
    flex:0 0 auto;
    margin-right:10px;
}

.eroof-process__name{
    margin:0;
    font-size:1rem;
    font-weight:900;
    color:#0f2030;
    line-height:1.2;
}

.eroof-process__list{
    margin:0;
    padding:0;
    list-style:none;
    color:#425262;
    font-size:.95rem;
    line-height:1.55;
}
.eroof-process__list li{
    position:relative;
    padding-left:14px;
}
.eroof-process__list li:before{
    content:"•";
    position:absolute;
    left:0;
    top:0;
    color:#66ccff;
    font-weight:900;
}

@media (max-width:900px){
    .eroof-process{
    padding:34px 16px;
    }

    .eroof-process__steps{
    display:flex;
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x mandatory;
    padding:10px 2px 14px;
    margin-top:14px;
    }
    .eroof-process__steps::-webkit-scrollbar{ height:0; }
    .eroof-process__steps{ scrollbar-width:none; }

    .eroof-process__step{
    scroll-snap-align:start;
    flex:0 0 76%;
    max-width:480px;
    margin-right:12px;
    }
    .eroof-process__step:last-child{ margin-right:0; }
}

@media (max-width:600px){
    .eroof-process__step{ flex-basis:82%; }
}

/* =========================
    Service Area Coverage
    ========================= */
    
.eroof-coverage{
    padding: 48px 16px;
    color: #111;
    position: relative;
    overflow: hidden;
    background-image: url("/wp-content/uploads/2026/01/map-background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.eroof-coverage::before{
    content:"";
    position:absolute;
    inset:0;
    background: rgba(255, 255, 255, 0.6);
    pointer-events:none;
    z-index: 0;
}

.eroof-coverage__wrap{
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.eroof-coverage__title{
    margin: 0 0 18px;
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 900;
    color: #0f2030;
}


.eroof-coverage__grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
}


.eroof-coverage__card{ margin: 0; }
.eroof-coverage__grid > .eroof-coverage__card:first-child{
    margin-right: 14px;
}

.eroof-coverage__card{
    text-align: left;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 14px;
    padding: 18px 16px 16px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}


.eroof-coverage__card::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:3px;
    background:#66ccff;
    opacity:.9;
}

.eroof-coverage__top{
    display:flex;
    align-items:center;
    margin: 6px 0 10px;
}

.eroof-coverage__icon{
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(102,204,255,.14);
    border: 1px solid rgba(102,204,255,.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin-right: 12px;
    color: #0f2030;
}

.eroof-coverage__icon i{
    font-size: 20px;
    line-height: 1;
}

.eroof-coverage__label{
    margin: 0;
    font-size: 1.05rem;
    font-weight: 900;
    color: #0f2030;
    line-height: 1.2;
}

.eroof-coverage__bigline{
    margin: 0 0 10px;
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f2030;
}

.eroof-coverage__copy{
    margin: 0 0 14px;
    color: #556;
    line-height: 1.6;
    font-size: .98rem;
}

.eroof-coverage__btn{
    display: inline-block;
    padding: 10px 16px;
    background: #66ccff;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color .15s ease, transform .15s ease;
}

.eroof-coverage__btn:hover{
    background:#4bb9e8;
    transform: translateY(-1px);
}

.eroof-coverage__btn:focus-visible{
    outline: 3px solid rgba(102,204,255,.85);
    outline-offset: 3px;
}


@media (max-width: 768px){
    .eroof-coverage{
    padding: 34px 16px;
    }

    .eroof-coverage__grid{
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 10px 2px 14px;
    margin-top: 0;
    }

    .eroof-coverage__grid::-webkit-scrollbar{ height:0; }
    .eroof-coverage__grid{ scrollbar-width:none; }

    .eroof-coverage__card{
    scroll-snap-align: start;
    flex: 0 0 82%;       
    max-width: 520px;
    margin-right: 12px;
    }

    .eroof-coverage__grid > .eroof-coverage__card:first-child{
    margin-right: 12px;
    }

    .eroof-coverage__card:last-child{
    margin-right: 0;
    }
}