html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--sm-color-text);
  background: var(--sm-color-bg);
  font-family: var(--sm-font-family);
  font-size: 16px;
  line-height: 1.9;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

main.sm-home,
main.sm-page {
  display: block;
}

.sm-container {
  width: min(calc(100% - 48px), var(--sm-container));
  margin: 0 auto;
}

.sm-site-header {
  position: relative;
  z-index: 50;
  background: #fff;
}

.sm-info-bar {
  height: 28px;
  background: var(--sm-color-bg-soft);
  border-bottom: 1px solid var(--sm-color-border-light);
}

.sm-info-bar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: var(--sm-color-text-muted);
}

.sm-info-bar__copy,
.sm-info-bar__operator {
  margin: 0;
}

.sm-main-header {
  border-bottom: 1px solid var(--sm-color-border-light);
}

.sm-main-header__inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: 250px 1fr 310px;
  align-items: center;
  gap: 24px;
}

.sm-main-header__logo a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--sm-color-primary);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.sm-main-header__logo img {
  display: block;
  width: 210px;
  max-width: 100%;
  max-height: 55px;
  height: auto;
}

.sm-main-header__contact {
  justify-self: end;
  text-align: right;
}

.sm-main-header__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.sm-main-header__phone svg,
.sm-button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.sm-main-header__hours {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--sm-color-text-muted);
}

.sm-main-header__cta {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.sm-main-header__cta .sm-button {
  min-width: 151px;
}

.sm-main-header__mobile-actions,
.sm-fixed-cta {
  display: none;
}

.sm-global-nav {
  overflow-x: hidden;
  border-bottom: 1px solid var(--sm-color-border);
  background: #fff;
}

.sm-global-nav__list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.sm-global-nav__item {
  position: relative;
  border-left: 1px solid var(--sm-color-border-light);
}

.sm-global-nav__item:last-child {
  border-right: 1px solid var(--sm-color-border-light);
}

.sm-global-nav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 12px;
  box-sizing: border-box;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  gap: 11px;
  transition: background-color .22s ease, color .22s ease;
}

.sm-global-nav__caret {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transform-origin: center;
  margin-left: 0;
  margin-top: -4px;
  transition: color .22s ease, transform .2s ease;
}

.sm-global-nav__item.is-active .sm-global-nav__link {
  background: #fff;
  color: var(--sm-color-primary);
}

.sm-global-nav__item:hover .sm-global-nav__link,
.sm-global-nav__item:focus-within .sm-global-nav__link,
.sm-global-nav__item.is-open .sm-global-nav__link {
  background: #0B5738;
  color: #fff;
  font-weight: 700;
}

.sm-global-nav__item.is-open .sm-global-nav__caret {
  transform: rotate(225deg);
  margin-top: 4px;
}

@media (min-width: 1024px) {
  .sm-site-header .sm-global-nav__item:hover .sm-global-nav__link,
  .sm-site-header .sm-global-nav__item:focus-within .sm-global-nav__link,
  .sm-site-header .sm-global-nav__item.is-open .sm-global-nav__link {
    background-color: #0B5738 !important;
    color: #fff !important;
  }
}

.sm-mega-menu-layer {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 60;
  pointer-events: auto;
}

.sm-mega-menu {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 1;
  display: none;
  background: #fff;
  border: 1px solid var(--sm-color-border);
  border-top: 3px solid var(--sm-color-primary);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: #fff;
  border-bottom: 1px solid #d8dedb;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
  transition: opacity 120ms ease;
}

.sm-mega-menu.is-open {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sm-mega-menu__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.15fr) minmax(210px, 0.8fr);
  gap: 52px;
  padding: 32px 40px 36px;
}

.sm-mega-menu__close {
  position: absolute;
  top: 24px;
  right: 40px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px;
  border: 0;
  background: transparent;
  color: #0B5738;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.sm-mega-menu__close span:last-child {
  font-size: 20px;
  line-height: 1;
  transition: transform .2s ease;
}

.sm-mega-menu__close:hover { color: #08452d; }
.sm-mega-menu__close:hover span:last-child { transform: rotate(90deg); }
.sm-mega-menu__close:focus-visible { outline: 2px solid #0B5738; outline-offset: 3px; }

.sm-mega-menu__column {
  min-width: 0;
}

.sm-mega-menu__column.is-primary {
  padding-right: 8px;
}

.sm-mega-menu__heading {
  margin: 0 0 10px;
  padding: 0 0 10px;
  border-bottom: 2px solid var(--sm-color-primary);
  color: var(--sm-color-primary);
  font-size: 14px;
  font-weight: 700;
}

.sm-mega-menu__links,
.sm-sidebar__links,
.sm-related-links ul,
.sm-area-group__region ul,
.sm-site-footer__nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sm-mega-menu__links a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 6px;
  border-bottom: 1px solid #eeeeee;
  font-size: 14px;
  line-height: 1.5;
}

.sm-mega-menu__links a:hover,
.sm-mega-menu__links a:focus-visible {
  background: var(--sm-color-primary-pale);
  color: var(--sm-color-primary);
}

.sm-mega-menu--cost .sm-mega-menu__column:nth-child(-n + 2) .sm-mega-menu__links a,
.sm-mega-menu--works .sm-mega-menu__column.is-primary .sm-mega-menu__links a {
  border: 1px solid var(--sm-color-border-light);
  margin-bottom: 8px;
  padding: 10px 12px;
}

.sm-mega-menu--cost .sm-mega-menu__column:nth-child(-n + 2) .sm-mega-menu__links a:first-child,
.sm-mega-menu--works .sm-mega-menu__column.is-primary .sm-mega-menu__links a:first-child {
  background: var(--sm-color-primary-pale);
  border-color: #c8ddd3;
  color: var(--sm-color-primary);
  font-weight: 700;
}

.sm-mega-menu--works .sm-mega-menu__column.is-primary .sm-mega-menu__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

/* Approved V2.4 PC mega-menu presentation. */
.sm-mega-menu--v24 { border-color: #d9e1dc; border-top: 3px solid #0b5738; box-shadow: none; }
.sm-mega-menu--v24 .sm-mega-menu__inner { display: block; width: min(calc(100% - 48px), var(--sm-container)); margin:0 auto; padding:28px 0 34px; }
.sm-mega-menu--v24 .sm-mega-menu__close { right:0; }
.sm-mega-menu__titlebar { margin-bottom: 22px; }
.sm-mega-menu__titlebar h2 { margin: 0; color: #0b5738; font-size: 24px; }
.sm-mega-menu__visuals { display: grid; gap: 14px; margin-bottom: 24px; }
.sm-mega-menu__visuals--roof, .sm-mega-menu__visuals--exterior { grid-template-columns: repeat(3, 1fr); }
.sm-mega-menu__visuals--leak, .sm-mega-menu__visuals--works, .sm-mega-menu__visuals--about { grid-template-columns: repeat(4, 1fr); }
.sm-mega-menu__visuals--cost { grid-template-columns: repeat(2, 1fr); }
.sm-mega-menu__visual-card { display: grid; grid-template-columns: 116px 1fr; min-height: 104px; border: 1px solid #d9e1dc; background: #fff; overflow: hidden; }
.sm-mega-menu__visual-card img { width: 116px; height: 100%; object-fit: cover; }
.sm-mega-menu__visual-card span { padding: 14px 12px 4px; font-size: 15px; font-weight: 700; }
.sm-mega-menu__visual-card b { padding: 0 12px 12px; color: #0b5738; font-size: 12px; }
.sm-mega-menu__visual-card:hover, .sm-mega-menu__visual-card:focus-visible { background: #d8e9df; border-color: #86a997; color: #063f29; }
.sm-mega-menu__columns { display: grid; grid-template-columns: 1.15fr 1.15fr .8fr; gap: 30px; }
.sm-mega-menu--v24 .sm-mega-menu__column { padding: 0; }
.sm-mega-menu--v24 .sm-mega-menu__links a { padding: 11px 4px; min-height: 0; border-bottom-color: #e9efeb; }
.sm-mega-menu--v24 .sm-mega-menu__links a:hover, .sm-mega-menu--v24 .sm-mega-menu__links a:focus-visible { background: #d8e9df; color: #063f29; }
.sm-mega-menu__areas { margin-top: 22px; border: 1px solid #d9e1dc; padding: 14px; display: flex; gap: 14px; flex-wrap: wrap; }
.sm-mega-menu__areas h3 { width: 100%; margin: 0; color: #0b5738; font-size: 16px; }
.sm-mega-menu__areas div { flex: 1 1 240px; }
.sm-mega-menu__areas strong { display: block; margin-bottom: 7px; color: #0b5738; font-size: 13px; }
.sm-mega-menu__areas a { display: inline-flex; margin: 0 4px 4px 0; padding: 7px 10px; border: 1px solid #d9e1dc; font-size: 12px; }
.sm-mega-menu__areas a:hover, .sm-mega-menu__areas a:focus-visible { background: #c7dfd0; color: #063f29; }

.sm-mega-menu--works .sm-mega-menu__column.is-primary .sm-mega-menu__links a {
  height: 100%;
  margin: 0;
}

.sm-home-fv {
  background: #f4f7f5;
}

.sm-home-fv__inner {
  min-height: 460px;
  display: grid;
  grid-template-columns: 56% 44%;
  align-items: center;
}

.sm-home-fv__body {
  padding: 32px 48px 32px 0;
}

.sm-home-fv__eyebrow {
  margin: 0 0 16px;
  color: var(--sm-color-primary);
  font-size: 14px;
  font-weight: 700;
}

.sm-home-fv h1 {
  margin: 0;
  font-size: 40px;
  line-height: 1.45;
}

.sm-home-fv__lead {
  margin: 18px 0 0;
  font-size: 17px;
}

.sm-home-fv__actions {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.sm-home-fv__sub {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--sm-color-text-muted);
}

.sm-home-fv__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.sm-home-section {
  padding: 72px 0 0;
}

.sm-home-section:last-child {
  padding-bottom: 72px;
}

.sm-home-section--soft {
  background: var(--sm-color-bg-soft);
  padding-bottom: 72px;
}

.sm-section-heading {
  margin-bottom: 28px;
}

.sm-section-heading h2 {
  margin: 0;
}

.sm-page {
  padding-bottom: 72px;
}

.sm-breadcrumb {
  padding: 16px 0 4px;
  font-size: 13px;
}

.sm-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sm-breadcrumb li:not(:last-child)::after {
  content: ">";
  margin-left: 8px;
  color: var(--sm-color-text-muted);
}

.sm-page-header {
  margin-top: 0;
  border-top: 1px solid var(--sm-color-border-light);
  border-bottom: 1px solid var(--sm-color-border-light);
  background: var(--sm-color-bg-soft);
}

.sm-page-header__grid {
  padding: 36px 0 40px;
}

.sm-page-header__grid.has-image {
  display: grid;
  grid-template-columns: 65% 35%;
  gap: 28px;
  align-items: center;
}

.sm-page-header__label {
  margin: 0 0 10px;
  color: var(--sm-color-primary);
  font-size: 13px;
  font-weight: 700;
}

.sm-page-header__title {
  margin: 0;
  font-size: 36px;
  line-height: 1.4;
}

.sm-page-header__lead {
  max-width: 780px;
  margin: 16px 0 0;
}

.sm-page-header__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.sm-page-grid {
  display: grid;
  grid-template-columns: minmax(0, var(--sm-main-width)) var(--sm-sidebar-width);
  gap: var(--sm-gap);
  align-items: start;
  margin-top: 40px;
}

.sm-page-grid--one-column {
  grid-template-columns: minmax(0, 1fr);
}

.sm-main-content {
  min-width: 0;
}

.sm-site-footer {
  background: var(--sm-color-footer);
  color: #fff;
  padding: 52px 0 28px;
}

.sm-site-footer__brand h2 {
  margin: 0;
  font-size: 28px;
  text-align: center;
}

.sm-site-footer__brand h2 img {
  display: block;
  max-width: 230px;
  height: auto;
  margin: 0 auto;
  filter: brightness(0) invert(1);
}

.sm-site-footer__brand p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.sm-site-footer__brand {
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.sm-site-footer__nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.sm-site-footer__nav h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.sm-site-footer__nav li + li {
  margin-top: 8px;
}

.sm-site-footer__nav a {
  color: rgba(255, 255, 255, 0.8);
}

.sm-site-footer__nav a:hover {
  color: #fff;
}

.sm-site-footer__secondary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.sm-site-footer__secondary a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  text-decoration: none;
}

.sm-site-footer__secondary a:hover {
  color: #fff;
}

.sm-site-footer__copyright {
  margin-top: 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}
