/* =========================================
   TONY'S PLUMBING PHOTO GALLERY
   ========================================= */
/* =========================================================
   ROOT VARIABLES
   ========================================================= */ :root {
  --container: 1180px;
  --navy: #102d43;
  --navy-dark: #041b2b;
  --blue: #1268a8;
  --blue-dark: #084d80;
  --blue-light: #eaf5fc;
  --orange: #f6a623;
  --orange-light: #ffb43c;
  --text: #263746;
  --muted: #6c7b87;
  --gray-500: #6c7b87;
  --white: #ffffff;
  --border: #dfe7ec;
  --background: #f5f8fa;
  --shadow: 0 12px 35px rgba(16, 45, 67, .12);
  --radius: 14px;
}
/* =========================================
   RESET
   ========================================= */
* {
  box-sizing: border-box;
}
html {
  position: relative;
  z-index: 1;
  font-size: 16px; /* Fixed root size prevents rem-based footer text growing with viewport width. */
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  border: 0;
  width: 100%;
  height: 100%;
  background: #dffbff url(../images/bkghtml2.jpg) fixed center center repeat;
}
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 18px;
  line-height: 1.8;
  padding: 0;
  box-shadow: 0 0 100px rgba(0, 0, 0, .7);
}
button, a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
.site-header {
  width: 100%;
  background: var(--white);
}
.site-header .container, .header-inner, .nav-inner {
  width: min(calc(100% - 40px), var(--container));
  margin-left: auto;
  margin-right: auto;
}/* ========================================================= 
TOP BAR 
========================================================= */
.top-bar {
  width: 100%;
  background: var(--navy-dark);
  color: rgba(255, 255, 255, .86);
  font-size: .82rem;
}
.top-bar-inner {
  min-height: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
} /* TOP BAR PHONE */ .phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  text-decoration: none;
}
.phone-link .phone-label {
  color: rgba(255, 255, 255, .72);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .8px;
}
.phone-link strong {
  color: var(--white);
  font-size: .88rem;
  font-weight: 700;
}
.phone-link:hover strong {
  color: var(--orange);
}
/* ========================================================= 
TIME STAMP 
========================================================= */
@keyframes blink { 50% { visibility: hidden; } }
.service-timestamp {
  display: inline-block;
  margin-left: 0.65rem;
  font: inherit;
  color: inherit;
  white-space: normal;
}
/* ========================================================= 
MAIN HEADER INNER 
========================================================= */
.container {
  width: min(calc(100% - 40px), var(--container));
  margin-left: auto;
  margin-right: auto;
}
.header-inner {
  min-height: 100px;
  display: flex;
  align-items: center;
  gap: 20px;
}
/* ========================================================= 
LOGO 
========================================================= */
.logo-link {
  flex: 0 0 auto;
  display: block;
}
.site-logo {
  display: block;
  width: 79px;
  height: 108px;
  object-fit: contain;
}
/* ========================================================= 
COMPANY BRAND 
========================================================= */
.header-brand {
  flex: 1;
}
.company-name {
  color: var(--navy);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.1;
}
.tagline {
  margin-top: 5px;
  color: var(--gray-500);
  font-size: 14px;
  letter-spacing: 1.5px;
}
/* ========================================================= 
MAIN HEADER PHONE 
========================================================= */
.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.header-phone .phone-label {
  color: var(--gray-500);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.header-phone a {
  color: var(--blue);
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.header-phone a:hover {
  color: var(--orange);
}
.header-phone .phone-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  object-fit: contain;
  vertical-align: middle;
  flex-shrink: 0;
} 

/* ========================================================= 
NAVIGATION 
========================================================= */
.main-navigation {
  width: 100%;
  background: var(--navy-dark);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.nav-inner a {
  position: relative;
  padding: 14px 20px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .4px;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.nav-inner a:hover {
  background: var(--blue);
}
.nav-inner a.active {
  background: var(--blue);
}
.nav-inner a.active::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 3px;
  background: var(--orange);
}
/* ========================================================= 
MOBILE MENU BUTTON 
========================================================= */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 8px;
  border: 0;
  background: var(--navy);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  margin: 5px 0;
  background: var(--white);
}
/* ========================================================= 
TABLET 
========================================================= */
@media screen and (max-width: 900px) {
  .header-phone {
    display: none;
  }
  .nav-inner a {
    padding-left: 14px;
    padding-right: 14px;
  }
}
/* ========================================================= 
MOBILE 
========================================================= */
@media screen and (max-width: 700px) {
  .top-bar-inner {
    justify-content: center;
    text-align: center;
  }

  .top-bar-inner > span:first-child {
    display: none;
  }

  .service-timestamp {
    margin-left: 0;
  }

  .header-inner {
    min-height: 85px;
  }
  .site-logo {
    width: 65px;
    height: 88px;
  }
  .company-name {
    font-size: 22px;
  }
  .tagline {
    font-size: 11px;
    letter-spacing: 1px;
  }
  .menu-toggle {
    display: block;
    flex: 0 0 auto;
  }
  .main-navigation {
    display: none;
  }
  .main-navigation.open {
    display: block;
  }
  .nav-inner {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-inner a {
    padding: 14px 20px;
    text-align: center;
  }
  .nav-inner a.active::after {
    left: 30%;
    right: 30%;
  }
}
/* ========================================================= 
SMALL PHONES 
========================================================= */
@media screen and (max-width: 480px) {
  .top-bar-inner {
    min-height: 38px;
  }
  .top-bar-inner > span {
    font-size: .7rem;
  }
  .phone-link .phone-label {
    display: none;
  }
  .phone-link strong {
    font-size: .78rem;
  }
  .header-inner {
    width: min(calc(100% - 25px), var(--container));
    gap: 12px;
  }
  .site-logo {
    width: 58px;
    height: 78px;
  }
  .company-name {
    font-size: 19px;
  }
  .tagline {
    margin-top: 3px;
    font-size: 9px;
    letter-spacing: .7px;
  }
}
/* =========================================
   TOP BAR
   ========================================= */
/*Menu Alignment*/
[class*='flex-']:not([class*="-reverse"]) {
  align-items: stretch;
  align-content: space-around;
  display: flex;
}
[class*='flex-'] .auto {
  flex: 1 1 auto;
}
[class*='flex-'] .stretch {
  align-self: stretch
}
[class*='flex-'][class*='-center'] {
  justify-content: center;
}
[class*='flex-'][class*='-between'], .items-spaced .item-spacing {
  justify-content: space-between;
}
[class*='flex-'][class*='-middle'] {
  align-items: center;
}
/*flair home*/
.title-font, .title-font > strong {
  font-family: "Raleway", sans-serif;
  font-size: 1em;
  letter-spacing: 0em;
  line-height: 1.2;
  font-weight: 400;
  text-transform: none;
  display: block;
  font-style: normal;
}
.side-padding-small {
  padding-left: calc(4% * .75);
  padding-right: calc(4% * .75);
}
.bg-box {
  z-index: 1;
  position: relative;
}
.bg-box::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}
.dark-bg .bg-box.like-bg, .dark-bg.bg-box-like .bg-box, .light-bg .bg-box.unlike-bg, .light-bg.bg-box-unlike .bg-box:not(.like-bg), .light-bg.bg-box-like .bg-box.unlike-bg {
  color: #FFFFFF;
}
.dark-bg, .dark-bg .bg-box.like-bg .bg-box::before, .dark-bg.bg-box-like .bg-box .bg-box::before, .light-bg .bg-box.unlike-bg::before, .light-bg.bg-box-unlike .bg-box::before, .light-bg.bg-box-like .bg-box.unlike-bg::before {
  background-color: #2E2E2E;
  color: #FFFFFF;
}
/*--Floating Img. Guaranteed */
.wGuarStamp {
  position: fixed;
  /*	padding-top:15px; */
  z-index: 9999;
}
img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: none;
  line-height: normal;
  vertical-align: middle;
}
/*--Bar 1 Top Lt.Blue ---------------*/
.notification.v1 {
  /*padding-top:10rem;*/
  padding-bottom: 1.2rem;
  background-color: #008FC5;
}
.notification.v1 .title-font {
  font-size: 1.1rem;
  padding-left: 15.0rem;
  padding-right: 15.0rem;
}
/*--Bar 2 MENU Top Dk.Gray ----------*/
.phone-number-style {
  color: #2b92c3;
  font-size: 3.5rem;
  font-family: "Arial Black", Gadget, sans-serif;
  padding-right: 10px;
  letter-spacing: 0em;
  font-weight: 700;
  line-height: 1.5;
}
.coverageBtn {
  overflow: hidden; /* Hiding the link text */
  display: block;
  background: url(../images/day_weekClosed.jpg) no-repeat 0 0;
  width: 85px;
  height: 50px;
  margin: 18px 0px 0px 20px;
  float: right;
  cursor: pointer;
}
.right-margin-tiny {
  margin-right: .8em;
}
.b2StyBar {
  color: #2b92c3;
  font-size: 24px;
  padding-left: 55px;
}
/* =========================================
   PHONE
   ========================================= */
.phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: var(--blue);
  font-size: 20px;
  font-weight: 800;
}
.phone span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
/* =========================================
   HERO
   ========================================= */

.subpage-hero {
  --hero-image: none;
  position: relative;
  display: flex;
  min-height: 480px;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background-image:
    linear-gradient(90deg, rgba(4, 27, 43, 0.88) 0%, rgba(8, 38, 61, 0.62) 55%, rgba(5, 99, 157, 0.32) 100%),
    var(--hero-image),
    linear-gradient(110deg, var(--navy-dark) 0%, var(--navy) 55%, var(--blue-dark) 100%);
  background-position: center, center, center;
  background-size: cover, cover, cover;
  background-repeat: no-repeat;
}

.subpage-hero::after {
  position: absolute;
  z-index: 0;
  top: -180px;
  right: -120px;
  width: 500px;
  height: 500px;
  border: 70px solid rgba(255, 255, 255, 0.035);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.subpage-hero .hero-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), 1000px);
  margin: 0 auto;
  padding: 80px 0;
}

.subpage-hero .eyebrow {
  display: inline-block;
  margin-bottom: 13px;
  color: #8fd5f8;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.subpage-hero h1 {
  max-width: 850px;
  margin: 0 0 20px;
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.subpage-hero h1 span {
  display: block;
  color: var(--orange);
}

.subpage-hero p {
  max-width: 760px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1875rem;
  line-height: 1.7;
}

.subpage-hero .hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Shared heading and paragraph helpers */
.section-heading {
  max-width: 1200px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.h1 {
  margin: 0 0 24px;
  color: var(--navy);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.h2 span,
.section-heading h2 span,
.center-heading h2 span,
.gallery-heading h2 span,
.service-area h2 span,
.testimonial-box h2 span,
.final-cta h2 span {
  display: block;
  color: var(--orange);
}

.p {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--gray-500);
  font-size: 1.05rem;
  line-height: 1.7;
}
/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  transition:
    transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: #f6a623;
  color: #162d3d;
  box-shadow:
    0 7px 20px rgba(0, 0, 0, .15);
}
.btn-primary:hover {
  background: #ffb43c;
}
.btn-outline {
  border: 1px solid rgba(255, 255, 255, .55);
  color: white;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, .1);
}
/* =========================================
   GALLERY SECTION
   ========================================= */
.gallery-section {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
  padding: 75px 0 85px;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -1px;
}
.gallery-note {
  max-width: 300px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
/* =========================================
   FILTERS
   ========================================= */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}
.filter {
  border: 1px solid var(--border);
  background: white;
  padding: 10px 17px;
  border-radius: 30px;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  transition:
    background .2s, color .2s, border-color .2s;
}
.filter:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.filter.active {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}
/* =========================================
   GALLERY GRID
   ========================================= */
.gallery {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.gallery-card {
  min-width: 0;
  overflow: hidden;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow:
    0 4px 18px rgba(16, 45, 67, .05);
  transition:
    transform .25s ease, box-shadow .25s ease;
}
.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.gallery-card.hidden {
  display: none;
}
/* =========================================
   PHOTO BUTTON
   ========================================= */
.photo-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #dfe7ec;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.photo-button img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition:
    transform .45s ease;
}
.gallery-card:hover .photo-button img {
  transform: scale(1.04);
}
/* =========================================
   CARD OVERLAY
   ========================================= */
.photo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 45, 73, .65);
  opacity: 0;
  transition:
    opacity .25s ease;
}
.photo-overlay span {
  padding: 11px 17px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 30px;
  color: white;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.photo-button:hover .photo-overlay, .photo-button:focus-visible .photo-overlay {
  opacity: 1;
}
/* =========================================
   CAPTION
   ========================================= */
.photo-caption {
  padding: 17px 18px 19px;
}
.photo-caption span {
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.photo-caption h3 {
  margin: 7px 0 0;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.3;
}
/* =========================================
   DISCLAIMER
   ========================================= */
.gallery-disclaimer {
  margin-top: 35px;
  padding: 20px 23px;
  background-color: #DFFCFE;
  /*background: var(--blue-light);*/
  border-left: 4px solid var(--blue);
  border-radius: 5px;
}
.gallery-disclaimer strong {
  color: var(--navy);
}
.gallery-disclaimer p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
/* =========================================
   GALLERY SECTION HEADING
   ========================================= */

.gallery-section .section-heading .eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.gallery-section .section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
}

.gallery-section .section-heading h2 span {
  display: block;
  color: var(--orange);
}

.gallery-section .section-heading .gallery-note {
  max-width: 300px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
/* =========================================
   CTA
   ========================================= */
.cta {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 70px;
  padding: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--navy);
  color: white;
  border-radius: var(--radius);
}
.cta .eyebrow {
  color: #78c7f4;
}
.cta h2 {
  margin: 0 0 8px;
  font-size: clamp(27px, 4vw, 38px);
}
.cta p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  line-height: 1.6;
}
/* =========================================
   LIGHTBOX
   ========================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 65px 80px 50px;
  background: rgba(3, 18, 29, .96);
}
.lightbox[hidden] {
  display: none;
}
/* =========================================
   LIGHTBOX FIGURE
   ========================================= */
.lightbox figure {
  width: min(1200px, 90vw);
  height: calc(100vh - 115px);
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.lightbox img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 180px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 5px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, .4);
}
.lightbox figcaption {
  margin-top: 14px;
  color: white;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}
.photo-counter {
  margin-top: 7px;
  color: rgba(255, 255, 255, .65);
  font-size: 12px;
}
/* =========================================
   LIGHTBOX CLOSE
   ========================================= */
.lightbox-close, .lightbox-arrow {
  position: fixed;
  display: grid;
  place-items: center;
  border: 0;
  color: white;
  background: rgba(255, 255, 255, .12);
  cursor: pointer;
  transition:
    background .2s ease, transform .2s ease;
}
.lightbox-close:hover, .lightbox-arrow:hover {
  background: rgba(255, 255, 255, .24);
}
.lightbox-close {
  top: 20px;
  right: 25px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 30px;
}
/* =========================================
   LIGHTBOX ARROWS
   ========================================= */
.lightbox-arrow {
  top: 50%;
  width: 52px;
  height: 70px;
  border-radius: 8px;
  font-size: 28px;
}
.lightbox-arrow.previous {
  left: 18px;
  transform: translateY(-50%);
}
.lightbox-arrow.next {
  right: 18px;
  transform: translateY(-50%);
}
.lightbox-arrow[hidden] {
  display: none;
}
/* =========================================
   MOBILE
   ========================================= */
@media (max-width : 1490px ){
  .header-inner {
    min-height: 72px;
  }
  .brand-text small {
    display: none;
  }
  .brand-text strong {
    font-size: 15px;
  }
  .phone {
    font-size: 16px;
  }
  .hero-inner {
    padding: 60px 0 65px;
  }
  .hero-text {
    font-size: 16px;
  }
  .section-heading {
    display: block;
  }
  .gallery-note {
    margin-top: 12px;
  }
  .gallery {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
  .cta {
    align-items: flex-start;
    flex-direction: column;
  }
  .lightbox {
    padding: 60px 15px 35px;
  }
  .lightbox figure {
    width: 100%;
  }
  .lightbox-arrow {
    width: 42px;
    height: 52px;
  }
  .lightbox-arrow.previous {
    left: 8px;
  }
  .lightbox-arrow.next {
    right: 8px;
  }
}
@media (max-width: 540px) {
  .header-inner, .gallery-section, .cta, .hero-inner {
    width: min(100% - 28px, 1180px);
  }
  .phone span {
    display: none;
  }
  .phone {
    font-size: 14px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  .photo-button img {
    height: 240px;
  }
  .cta {
    padding: 30px 25px;
  }
  .cta .btn {
    width: 100%;
  }
  .lightbox {
    padding-left: 8px;
    padding-right: 8px;
  }
  .lightbox img {
    max-width: 88vw;
    max-height: calc(100vh - 190px);
  }
}
/* =========================================
   ACCESSIBILITY
   ========================================= */ :focus-visible {
  outline: 3px solid #f6a623;
  outline-offset: 3px;
}
/* =========================================================
FINAL CTA — PHOTO GALLERY
========================================================= */
.final-cta {
  padding: 70px 0;
  color: var(--white);
  background: linear-gradient(120deg, var(--blue), var(--navy));
}
.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}
/* Company Label */
.final-cta .eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
/* Main Heading */
.final-cta h2 {
  margin: 0 0 12px;
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: normal;
}
/* Orange Heading Text */
.final-cta h2 span {
  display: inline;
  color: var(--orange);
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}
/* Supporting Text */
.final-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
  line-height: 1.7;
}
/* Mobile Layout */
@media screen and (max-width: 700px) {
  .final-cta {
    padding: 55px 0;
  }
  .final-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
  .final-cta h2 {
    font-size: 30px;
  }
}

/* =========================================================
   FINAL CTA — MOBILE CENTERING FIX
   ========================================================= */

@media screen and (max-width: 700px) {

  .final-cta-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 25px;
  }

  .final-cta-inner > div:first-child {
    width: 100%;
    text-align: center;
  }

  .final-cta .cc-rockmenu {
    width: 100%;
    text-align: center;
  }

}

/* =========================================
   SOCIAL BUTTON STYLE
   ========================================= */
.cc-rockmenu {
  color: #fff;
  text-align: center;
}
.cc-rockmenu .rolling {
  display: inline-block;
  cursor: pointer;
  width: 52px;
  height: 52px;
  text-align: left;
  overflow: hidden;
  border-radius: 26px;
  background: #4a97bf;
  transition: all 0.3s ease-out;
  white-space: nowrap;
}
/* Expand button when hovered */
.cc-rockmenu .rolling:hover {
  width: 175px;
}
/* Remove default link styling */
.cc-rockmenu .rolling a {
  color: #fff;
  text-decoration: none;
  display: block;
}
/* Keep link white when hovered */
.cc-rockmenu .rolling a:hover {
  color: #fff;
  text-decoration: none;
}
/* Icon */
.cc-rockmenu .rolling .rolling_icon {
  float: left;
  z-index: 9;
  display: inline-block;
  width: 52px;
  height: 52px;
  background: #bbae79;
  border-radius: 26px;
  /*border: 0px solid #fff;*/
  box-sizing: border-box;
  margin: 0 10px 0 0;
}
/* Icon hover */
.cc-rockmenu .rolling .rolling_icon:hover {
  background: #bbae79;
}
/* Hover text */
.cc-rockmenu .rolling span {
  display: block;
  padding: 13px 0;
  color: #fff;
  font-family: "Arial Narrow Bold", sans-serif;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0.3px;
}
/* Remove underline in every link state */
.cc-rockmenu .rolling a, .cc-rockmenu .rolling a:visited, .cc-rockmenu .rolling a:hover, .cc-rockmenu .rolling a:active {
  color: #fff;
  text-decoration: none;
}

/* =========================================================
   FINAL CTA — CENTER SOCIAL BUTTONS ON MOBILE
   ========================================================= */

@media screen and (max-width: 700px) {

  .final-cta .cc-rockmenu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .final-cta .cc-rockmenu .rolling {
    flex: 0 0 52px;
  }

}

/* =========================================================
   FOOTER
   Tony's Plumbing Co. v3
   Full-width background with contained content
   ========================================================= */
.site-footer {
  width: 100%;
  color: rgba(255, 255, 255, .72);
  background: #031725;
}
/* ---------------------------------------------------------
   MAIN FOOTER GRID
   --------------------------------------------------------- */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 45px;
  padding: 70px 0;
}
/* ---------------------------------------------------------
   FOOTER BRAND
   --------------------------------------------------------- */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo img {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  object-fit: contain;
}
.footer-logo .brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}
.footer-logo .brand-text strong {
  font-size: 16px;
}
.footer-logo .brand-text small {
  font-size: 12px;
  color: cadetblue;
}
.footer-grid > div {
  min-width: 0;
}
.footer-brand p {
  max-width: 300px;
  margin: 22px 0;
}
.footer-phone {
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
}
/* ---------------------------------------------------------
   FOOTER HEADINGS
   --------------------------------------------------------- */
.site-footer h3 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 15px;
}
/* ---------------------------------------------------------
   FOOTER LINKS
   --------------------------------------------------------- */
.footer-grid > div > a {
  display: block;
  margin: 8px 0;
  font-size: 14px;
}
.footer-grid a:hover {
  color: var(--white);
}
/* ---------------------------------------------------------
   FOOTER TEXT
   --------------------------------------------------------- */
.footer-grid p {
  margin: 8px 0;
  font-size: 14px;
}
/* ---------------------------------------------------------
   FOOTER BOTTOM BAR
   Background continues full width while the text
   remains contained inside the 1180px layout.
   --------------------------------------------------------- */
.footer-bottom {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.footer-bottom-inner {
  min-height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
}
/* ---------------------------------------------------------
   MOBILE FOOTER
   --------------------------------------------------------- */
@media screen and (max-width: 850px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px;
    padding: 55px 0;
  }
  .footer-bottom-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 18px 0;
  }
}
/* =========================================================
   GALLERY PRELOADER
   ========================================================= */
.gallery-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.5s ease, visibility 0.5s ease;
}
/* Hidden state */
.gallery-preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
/* Loader content */
.gallery-loader-content {
  text-align: center;
}
/* Spinning circle */
.gallery-spinner {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  border: 5px solid #e5e7eb;
  border-top-color: #005baa;
  border-right-color: #f58220;
  border-radius: 50%;
  animation: gallerySpin 0.9s linear infinite;
}
/* Loading text */
.gallery-loading-text {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #003b70;
  letter-spacing: 0.3px;
}
/* Small text underneath */
.gallery-loading-subtext {
  margin-top: 6px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #666666;
}
/* Spinner animation */
@keyframes gallerySpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
/* =========================================
   BACK TO TOP BUTTON
   ========================================= */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1e3a5f;
  border: 2px solid #ffffff;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
  z-index: 999;
}
/* Show button when activated by JavaScript */
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* CSS arrow shaft and arrowhead */
.back-to-top-arrow {
  position: relative;
  display: block;
  width: 4px;
  height: 19px;
  background: #ffffff;
  border-radius: 3px;
}
/* Arrowhead */
.back-to-top-arrow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 4px solid #ffffff;
  border-left: 4px solid #ffffff;
  transform: translateX(-50%) rotate(45deg);
  border-radius: 2px 0 0 0;
}
/* Hover effect */
.back-to-top:hover {
  background: #f58220;
  transform: translateY(-4px);
}
/* Keyboard accessibility */
.back-to-top:focus-visible {
  outline: 3px solid #f58220;
  outline-offset: 4px;
}
/* Smaller screens */
@media (max-width: 600px) {
  .back-to-top {
    width: 44px;
    height: 44px;
    right: 15px;
    bottom: 15px;
  }
}
