:root {
  --dark: #0F172A;
  --dark2: #1E3A5F;
  --brown: #4A90E2;   
  --brown2: #BFDFFF;  
  --gold: #f7954f;   
  --cream: #F8FAFC;   
  --muted: #64748B;
  --white: #FFFFFF;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  color: var(--dark);
  background: var(--cream);
  overflow-x: hidden;
  cursor: auto;
}

h1,
h2,
h3,
h4,
.brand,
.nav-link {
  font-family: 'Marcellus', serif;
  letter-spacing: .3px;
}

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

img {
  max-width: 100%;
  display: block
}

/* Custom Cursor */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
}

/* .cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  box-shadow: 0 0 16px rgba(249, 115, 22, .45);
}

.cursor-ring {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(249, 115, 22, .90);
  transition: width .28s ease, height .28s ease, background .28s ease, border .28s ease, opacity .28s ease;
  mix-blend-mode: difference;
  backdrop-filter: invert(1);
}

.cursor-ring.active {
  width: 86px;
  height: 86px;
  background: rgba(249, 115, 22, .14);
  border-color: rgba(249, 115, 22, .26);
} */

/* Loader */
.loader {
  position: fixed;
  inset: 0;
  background: #0F172A;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: .8s ease;
}

.loader.hide {
  opacity: 0;
  visibility: hidden
}

.loader span {
  font-family: 'Marcellus', serif;
  font-size: 42px;
  color: var(--gold);
  animation: pulse 1.4s infinite alternate;
}

@keyframes pulse {
  to {
    opacity: .35;
    letter-spacing: 8px
  }
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.205);
  transition: .35s ease;
  background: #4a91e288;
  backdrop-filter: blur(14px);
  padding: 13px 0;
}

.site-header.scrolled {
  background: #4a91e2da;
  backdrop-filter: blur(14px);
  padding: 13px 0;
}

.brand {
  color: #fff;
  font-size: 26px;
  text-transform: uppercase;
  line-height: 1;
}

.brand small {
  display: block;
  font-family: 'Outfit';
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 4px;
  margin-top: 6px
}

.navbar-nav {
  gap: 18px;
  align-items: center
}

.nav-link {
  color: #fff !important;
  font-size: 15px;
  padding: 0 !important;
  position: relative;
}

.nav-link:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: .35s ease;
}

.nav-link:hover:after {
  width: 100%
}

.navbar .nav-link.active {
  color: var(--gold) !important;
}

.menu-btn {
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  border-radius: 0;
  padding: 10px 16px;
  background: transparent
}

/* Hero */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0F172A;
}



.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../img/hero.webp') center/cover no-repeat;
}

.hero-repair {
  position: absolute;
  inset: 0;
  background: url('../img/hero-repair.webp') center/cover no-repeat;
}

.hero-install {
  position: absolute;
  inset: 0;
  background: url('../img/hero-installation.webp') center/cover no-repeat;
}

.hero-replace {
  position: absolute;
  inset: 0;
  background: url('../img/hero-replace.webp') center/cover no-repeat;
}

.hero-tankless {
  position: absolute;
  inset: 0;
  background: url('../img/hero-tankless.webp') center/cover no-repeat;
}


.hero-tankless2 {
  position: absolute;
  inset: 0;
  background: url('../img/hero-tankless2.webp') center/cover no-repeat;
}

.hero-gas {
  position: absolute;
  inset: 0;
  background: url('../img/hero-gas.webp') center/cover no-repeat;
}

.hero-electric {
  position: absolute;
  inset: 0;
  background: url('../img/hero-electric.webp') center/cover no-repeat;
}

.hero-main {
  position: absolute;
  inset: 0;
  background: url('../img/hero-main.webp') center/cover no-repeat;
}

.hero-commercial {
  position: absolute;
  inset: 0;
  background: url('../img/hero-commercial.webp') center/cover no-repeat;
}



/* Static hero images: no zoom or parallax */
.hero-bg,
.hero-install,
.parts,
.springs,
.open,
.emergency,
.main,
.repair,
.commercial,
.res {
  transform: none !important;
  animation: none !important;
  background-attachment: scroll !important;
}

@keyframes heroZoom {
  from { transform: none; }
  to { transform: none; }
}

.hero:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,23,42,.58), rgba(15,23,42,.20), rgba(15,23,42,.06));
  z-index: 1;
}

.hero:after {
  
  position: absolute;
  left: -400px;
  bottom: 40px;
  z-index: 1;

  color: rgba(255, 255, 255, 0.123);
  font-family: 'Marcellus';
  font-size: 145px;
  letter-spacing: 8px;
  white-space: nowrap;

  transform: rotate(90deg);
  transform-origin: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding-top: 80px
}

.eyebrow {
  color: var(--gold);
  letter-spacing: 5px;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 16px
}

.eyebrow:before {
  content: '';
  width: 70px;
  height: 1px;
  background: var(--gold)
}

.hero h1 {
  font-size: clamp(50px, 8vw, 80px);
  line-height: .95;
  margin: 0 0 25px;
  text-transform: uppercase;
  max-width: 930px
}

.hero p {
  font-size: 18px;
  line-height: 1.8;
  color: #e6ded4;
  max-width: 720px;
  margin-bottom: 38px
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 17px 27px;
  background: var(--brown);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 35px;
  font-weight: 700;
  transition: .35s ease;
  position: relative;
  overflow: hidden;
  border: none;
}

.hero-btn:before {
  content: '';
  position: absolute;
  inset: 0;
  background: #fff;
  transform: translateX(-101%);
  transition: .4s ease;
  z-index: 0
}

.hero-btn span,
.hero-btn i {
  position: relative;
  z-index: 1
}

.hero-btn:hover {
  color: #0F172A
}

.hero-btn:hover:before {
  transform: translateX(0)
}





.theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 17px 27px;
  background: var(--brown);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 15px;
  font-weight: 700;
  transition: .35s ease;
  position: relative;
  overflow: hidden;
  border: none;
}

.theme-btn:before {
  content: '';
  position: absolute;
  inset: 0;
  background: #fff;
  transform: translateX(-101%);
  transition: .4s ease;
  z-index: 0
}

.theme-btn span,
.theme-btn i {
  position: relative;
  z-index: 1
}

.theme-btn:hover {
  color: #0F172A
}

.theme-btn:hover:before {
  transform: translateX(0)
}

.scroll-down {
  position: absolute;
  z-index: 3;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  writing-mode: vertical-rl
}

.scroll-down:after {
  content: '';
  display: block;
  width: 1px;
  height: 80px;
  background: var(--gold);
  margin: 15px auto 0;
  animation: lineMove 1.6s infinite
}

@keyframes lineMove {
  0% {
    transform: scaleY(0);
    transform-origin: top
  }

  50% {
    transform: scaleY(1);
    transform-origin: top
  }

  51% {
    transform-origin: bottom
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom
  }
}

/* Sections */
section {
  position: relative;
  padding: 115px 0
}

.section-dark {
  background: #4A90E2;
  color: #fff
}

.section-title .small-title {
  color: var(--gold);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 14px;
  display: block
}


.section-title h2 {
  font-size: clamp(38px, 5vw, 40px);
  line-height: 1.03;
  margin-bottom: 24px;
  text-transform: uppercase
}

.section-title p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
  max-width: 780px
}

.section-dark .section-title p {
  color: #CBD5E1
}

.opener h2 {
  font-size: clamp(38px, 5vw, 40px);
  line-height: 1.03;
  margin-bottom: 24px;
  text-transform: uppercase;
  color: var(--dark);
}

/* Image panels */
.image-stack {
  position: relative;
  min-height: 610px
}

.image-stack .main-img {
  height: 520px;
  width: 78%;
  object-fit: cover;
  filter: none
}

.image-stack .sub-img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  height: 310px;
  object-fit: cover;
  border: 14px solid var(--cream)
}

.section-dark .image-stack .sub-img {
  border-color: var(--dark)
}

.brown-filter {
  filter:none
}

.number-card {
  position: absolute;
  left: 32px;
  bottom: 42px;
  background: var(--brown);
  color: #fff;
  padding: 28px 32px;
  z-index: 2;
  min-width: 170px
}

.number-card strong {
  font-family: 'Marcellus';
  font-size: 54px;
  display: block;
  line-height: 1
}

.number-card span {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 15px
}


/* Cleaner water-heater layout: one main image instead of stacked photos */
.image-stack {
  min-height: 520px;
}

.image-stack .main-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 18px;
}

.image-stack .sub-img {
  display: none;
}

.number-card {
  left: 24px;
  bottom: -52px;
}

/* Services */
.service-card {
  min-height: 430px;
  position: relative;
  overflow: hidden;
  background: #0F172A;
  color: #fff;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-bottom: 24px;
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 1s ease;
  filter:none
}

.service-card:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,.02), rgba(15,23,42,.32));
  z-index: 1
}

.service-card:hover img {
  transform: scale(1.03)
}

.service-card .content {
  position: relative;
  z-index: 2;
  transform: translateY(20px);
  transition: .4s ease
}

.service-card:hover .content {
  transform: translateY(0)
}

.service-card .icon {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, .28);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--gold);
  font-size: 25px
}

.service-card h3 {
  font-size: 29px;
  margin-bottom: 15px;
  text-transform: uppercase
}

.service-card p {
  color: #E2E8F0;
  line-height: 1.75;
  margin: 0;
  opacity: .9
}

/* Split highlight */
.split-img {
  min-height: 640px;
  background: center/cover no-repeat;
  background-attachment: scroll;
  position: relative
}

.split-img:before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(14, 10, 7, .45)
}

.content-box {
  background: #fff;
  padding: 68px 58px;
  margin-left: -100px;
  position: relative;
  z-index: 2;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .12)
}

.feature-list {
  padding: 0;
  margin: 30px 0 0;
  list-style: none
}

.feature-list li {
  display: flex;
  gap: 14px;
  margin-bottom: 17px;
  color: #475569;
  font-size: 17px
}

.feature-list i {
  color: var(--brown);
  margin-top: 4px
}

/* FAQ */
#faq{
  background: #4a91e21c;
}
.accordion-item {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, .15);
  border-radius: 0 !important
}

.accordion-button {
  background: transparent !important;
  box-shadow: none !important;
  padding: 26px 0;
  font-family: 'Marcellus';
  font-size: 24px;
  color: #0F172A !important
}

.accordion-button:not(.collapsed) {
  color: var(--brown) !important
}

.accordion-body {
  padding: 0 0 28px;
  color: #64748B;
  line-height: 1.8;
  font-size: 16px
}

/* CTA */
.cta{
    background: url('../img/water-heater-back.webp') center/cover fixed no-repeat;
    color: #fff;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.cta::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.699); 
    z-index: 1;
}

.cta .container{
    position: relative;
    z-index: 2;
}


.cta h2 {
  font-size: clamp(42px, 6vw, 86px);
  text-transform: uppercase;
  margin-bottom: 25px
}

/* Footer */
footer {
  background: #0F172A;
  color: #bbb;
  padding: 70px 0 28px
}

footer h4 {
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 25px
}

footer a {
  display: block;
  color: #bbb;
  margin-bottom: 12px;
  transition: .3s
}

footer a:hover {
  color: var(--gold);
  padding-left: 5px
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 50px;
  padding-top: 24px;
  color: #777
}


@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *:before,
  *:after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media(max-width:991px) {
  body {
    cursor: auto
  }

  .cursor-dot,
  .cursor-ring {
    display: none
  }

  .navbar-collapse {
    background: #0F172A;
    margin-top: 20px;
    padding: 25px
  }

  .navbar-nav {
    align-items: flex-start
  }

  .hero h1 {
    font-size: 54px
  }

  .hero:after {
  display: none;
}

  .content-box {
    margin-left: 0;
    margin-top: 30px
  }

  .image-stack {
    min-height: auto
  }

  .image-stack .main-img,
  .image-stack .sub-img {
    position: relative;
    width: 100%;
    height: 360px;
    right: auto;
    bottom: auto;
    border: 0;
    margin-bottom: 20px
  }

  .number-card {
    position: relative;
    left: auto;
    bottom: auto;
    display: inline-block
  }

  .split-img {
    min-height: 380px;
    background-attachment: scroll
  }

  section {
    padding: 78px 0
  }
}


.coupon-card {
  background: linear-gradient(135deg, #2563EB, #1E3A5F);
  color: #fff;
  border-radius: 22px;
  padding: 45px 35px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 20px 45px rgba(0,0,0,.35);
  border: 2px dashed rgba(255,255,255,.65);
  text-align: center;
}

.coupon-card h3 {
  font-size: 64px;
  font-weight: 800;
  margin: 15px 0;
  color: #fff;
}

.coupon-card p {
  font-size: 22px;
  margin-bottom: 20px;
  color: #EFF6FF;
}

.coupon-card strong {
  font-size: 26px;
  color: #fff;
}

.coupon-card small {
  margin-top: 8px;
  font-size: 16px;
  color: #DBEAFE;
}

.coupon-label {
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 700;
  color: #FED7AA;
}

.coupon-card-small {
  min-height: 230px;
  padding: 30px 25px;
}

.coupon-card-small h3 {
  font-size: 42px;
}

.coupon-card-small p {
  font-size: 17px;
}


/* form */
.CUS{
    padding:0;
}

.CUS .form-row{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.CUS .form-row p{
    flex:1;
    margin:0;
}

.CUS label{
    display:block;
    font-size:14px;
    margin-bottom:6px;
    color:#666;
    font-weight:500;
}

.CUS input,
.CUS select,
.CUS textarea{
    width:100%;
    padding:10px 20px;
    border:1px solid #2563EB;
    border-radius:15px;
    background:#fff;
    font-size:15px;
    color:#222;
    transition:.3s ease;
    box-sizing:border-box;
    margin: 2px;
}

.CUS textarea{
    min-height:140px;
    resize:none;
}

.CUS input::placeholder,
.CUS textarea::placeholder{
    color:#a0a0a0;
    
}

.CUS input:focus,
.CUS select:focus,
.CUS textarea:focus{
    border-color:#1e88e5;
    box-shadow:0 10px 25px rgba(30,136,229,.12);
    outline:none;
    transform:translateY(-2px);
}

.CUS .submit{
    background:#1e88e5;
    color:#fff;
    border:none;
    border-radius:15px;
    padding:16px 35px;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.CUS .submit:hover{
    background:#1565c0;
    transform:translateY(-2px);
}

form.CUS,
.CUS fieldset{
    border:none;
    padding:0;
}

@media(max-width:500px){
    .CUS .form-row{
        flex-direction:column;
    }
}


/* locations */
.service-areas{
 
    background: var(--cream);
}

.area-card{
    background:#fff;
    padding:25px 15px;
    text-align:center;
    border-radius:12px;
    height:100%;
    transition:.3s;
    box-shadow:0 10px 25px rgba(0,0,0,.05);
}

.area-card:hover{
    transform:translateY(-5px);
}



.area-card i{
    font-size:32px;
    color: var(--gold);
    margin-bottom:12px;
    display:block;
}

.area-card h5{
    margin:0;
    font-size:18px;
}

.logos-slider {
  overflow: hidden;
  width: 100%;
}

.logos-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: scrollLogos 25s linear infinite;
}

.logos-track img {
  width: 120px;
  flex-shrink: 0;
}

@keyframes scrollLogos {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}


/* Show dropdown on hover */
@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu{
        display: block;
        margin-top: 0;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .navbar .dropdown-menu{
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all .3s ease;
    }
}

/* Remove Bootstrap arrow */
.dropdown-toggle::after{
    display: none;
}

/* Remove underline/border */
.navbar .nav-link,
.navbar .dropdown-toggle{
    border: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.navbar .nav-link::before,
.navbar .nav-link::after,
.navbar .dropdown-toggle::before,
.navbar .dropdown-toggle::after{
    border: none !important;
}

/* Dropdown style */
.navbar .dropdown-menu{
    border: 0;
    border-radius: 12px;
    padding: 10px 0;
    min-width: 250px;
    box-shadow: 0 15px 35px rgba(0,0,0,.15);
}

.navbar .dropdown-item{
    padding: 10px 18px;
    transition: .3s;
}

.navbar .dropdown-item:hover{
    background: #3B82F6;
    color: #fff;
}