/* Footer wrapper */
.site-footer {
    position: relative;
    margin: 0;
    padding: 0;
    color: #fff;
}

.footer-nav--utility .footer-menu a:hover, .footer-social-link svg:hover, .footer-social-link i:hover{
    color: rgb(194, 0, 0) !important;
}

/* Background (use your existing footer background image/gradient setup if you have one) */
.site-footer .footer-inner {
    padding: 50px 0 0;
    /* Example background hooks; replace with your theme's approach */
    /* background: var(--color-navy); */
    background: var(--primaryBg);
}

.site-footer .footer-bottom-wrapper{
	background: black;
}

/* Top area: 3 columns */
.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr;
    grid-template-columns: 0.72fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Columns */
.footer-col--left {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.footer-col--middle {
    display: flex;
    justify-content: center;
}
/*
.footer-col--right {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 50px;
	padding-bottom: 150px;
	background: url(https://hvea.sandbox1.nikijones.com/wp-content/uploads/2026/03/Bridge.svg);
  	background-repeat: no-repeat;
  	background-size: contain;
  	background-position-y: bottom;
}
    */

.footer-col--right {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 50px;
  padding-bottom: 150px;
  font-family: Helvetica !important;
  
  /* Crucial additions for stacking layers */
  position: relative;
  z-index: 1;
}

.footer-col--right::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  /* Your exact SVG and background rules moved here */
  background: url(https://hvea.sandbox1.nikijones.com/wp-content/uploads/2026/03/Bridge.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position-y: bottom;

  filter: brightness(0.9);
  opacity: 0.5;
  
  /* Sets the SVG background to 50% opacity */
  opacity: 0.5; 
  
  /* Places the background layer behind your text and gap layout */
  z-index: -1; 
}

/* Logo */
.footer-logo img {
    /*
    width: 400px;
    max-width: 100%;
    height: auto; */
    height: 92px;
    width: auto;
    max-width: none;
    display: block;
}

/* Address */
.footer-address {
    font-size: 20px;
    line-height: 32px;
    opacity: 0.95;
}
.footer-address-line {
    margin: 0;
}

/* Primary footer menu (middle) */
.footer-nav--primary .footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.footer-nav--primary .footer-menu li {
    margin: 0;
    padding: 0;
}

.footer-nav--primary .footer-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 19px;
    font-family: "MicrogrammaDBolExt",var(--font-MDExtBold) , sans-serif;
}

.footer-nav--primary .footer-menu a:hover,
.footer-nav--primary .footer-menu a:focus {
    color: var(--color-orange);
}

/* Right CTA */
.footer-cta{
    text-align: right;
    font-family: var(--font-MDExtBold);
}
.footer-cta-label {
    font-weight: 400;
    text-align: right;
    font-size: 20px;
}

.footer-phone {
    display: inline-block;
    margin-top: 6px;
    font-size: 31px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #fff;
    text-decoration: none;
}

.footer-phone:hover,
.footer-phone:focus {
    color: var(--color-orange);
}

/* Social icons */
.footer-social {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: flex-end;
    margin-top: 8px;
}

.footer-social-link {
  width: 48px;                 /* adjust to taste */
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
}

.footer-social-link:hover,
.footer-social-link:focus {
    border-color: var(--color-orange);
}

.footer-social-link svg,
.footer-social-link i{
  color: var(--color-darkBlue);
  fill: var(--color-darkBlue);
  font-size: 30px;
}

.footer-social-link:hover svg,
.footer-social-link:hover i{
  color: white;
  fill: var(--color-orange);
}

.footer-social-link:hover{
    background: var(--color-orange);
}

/* 
.footer-social-link svg,
.footer-social-link img {
    width: 20px;
    height: 20px;
    display: block;
} */

/* Orange divider line */
.footer-divider {
    margin: 40px 0 32px;
    height: 2px;
    background: var(--color-orange);
    opacity: 0.95;
}

/* Bottom row */
.footer-bottom {
    display: grid;
    grid-template-columns: 2fr 2fr auto;
    gap: 20px;
    align-items: center;
	padding: 15px 0;
}

.footer-copyright {
    font-size: 17px;
    opacity: 0.95;
    line-height: 23px;
    letter-spacing:2px;
}

.footer-copyright a {
    color: #fff;
    text-decoration: none;
}

.footer-copyright a:hover,
.footer-copyright a:focus {
    color: var(--color-orange);
}

.footer-bottom, .footer-bottom a{
    color: var(--white);
    font-family: "Archivo Black";
}

.footer-bottom a:hover{
    color: var(--white);
}

/* Utility menu (bottom right) */
.footer-nav--utility .footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 48px;
    align-items: center;
}

.footer-nav--utility .footer-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 17px;
    opacity: 0.95;
    line-height: 23px;
    letter-spacing: 2px;
}

.footer-nav--utility .footer-menu a:hover,
.footer-nav--utility .footer-menu a:focus {
    color: var(--color-orange);
}

/* Footer wave overlay (50% opacity) */
.site-footer .footer-inner{
  position: relative;
  overflow: hidden; /* keeps the wave from spilling out */
}

.site-footer .footer-inner::before{
  content: "";
  position: absolute;
  inset: 0;

  /* comes from the inline CSS variable in footer.php */
  background-image: var(--footer-wave-url);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 120% auto; /* tweak if needed */

  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

/* Keep footer content above the wave */
.site-footer .footer-inner > .container{
  position: relative;
  z-index: 1;
}

.footer-contact-text{
	display: block;
}

a[href^="tel:"] {
  font-weight: 700;
}

.footer-col--right{
    font-family: Helvetica !important;
    letter-spacing: 2px !important;
}

footer h2{
	font-family: Archivo Black;
	font-size: 30px;
	line-height: 38px;
	font-weight: regular;
    padding-bottom: 15px;
}

.footer-contact-icons {
  gap: 14px;
  display: flex;
  flex-direction: column;
  padding-top: 5px;
}


/* Responsive */
@media (max-width: 1200px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .footer-col--middle {
        justify-content: center;
    }

    .footer-col--right {
        align-items: center;
        justify-content: center;
    }

    .footer-cta-label {
        text-align: center;
    }

    .footer-phone {
        font-size: 32px;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
        gap: 50px;
    }

    .footer-nav--utility .footer-menu {
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px 22px;
        flex-direction: column;
    }

    .site-footer .footer-inner::before {
        background-position: center center;
        background-size: cover;
    }

    body:not(.home) footer .common-title {
        padding-bottom: 38px;
    }
}

@media (max-width: 993px) {
    .footer-col--right{
        flex-direction: column;
    }
    .footer-bottom{
        padding: 50px 0;
    }
}

@media (max-width: 576px) {
    .site-footer .footer-inner {
        padding: 55px 0 30px;
        padding: 55px 0 0;
    }

    .footer-logo img {
        max-width: 260px;
        margin: 0 auto;
    }

    .footer-phone {
        font-size: 28px;
    }

    .footer-nav--primary .footer-menu a {
        font-size: 19px;
    }

    .footer-nav--primary .footer-menu{
        text-align: center;
    }
}
