


/* ==========================================================================
   Reset & Global Custom Properties (Variables)
   ========================================================================== */
:root {
  --color-primary: #ffc302;
  --color-primary-dark: #e09900;
  --color-red: #ff0000;
  --color-red-hover: #cc0000;
  --color-text-body: #000000;
  --color-text-heading: #333333;
  --color-bg-light: #f6f6f6;
  --color-border: #eeeeee;
  --color-black: #000000;
  --color-white: #ffffff;
  --font-body: "Open Sans", Arial, sans-serif;
  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-accent: "Abril Fatface", Georgia, serif;
  --max-width: 1400px;
  --layout-width: 1400px;
  --header-height: 90px;
  --transition-speed: 0.3s;
}


/* ==========================================================================
   Base Element & Reset Styles
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



body {
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75em;
  font-weight: 500;
  color: var(--color-text-body);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p {
  font-size: 16px;
  line-height: 1.75em;
  color: var(--color-text-body);
}



#banner-phone {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

#banner-phone::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M20.01 15.38c-1.23 0-2.42-.2-3.53-.56a.977.977 0 00-1.01.24l-2.2 2.2a15.053 15.053 0 01-6.59-6.59l2.2-2.21a.96.96 0 00.25-1.01A11.36 11.36 0 018.57 3.9c0-.55-.45-1-1-1H3.99c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.52c0-.55-.45-1-1-1z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

#banner-phone::after {
  display: none !important;
}

#banner-phone:hover {
  /* removed hover padding */
}

a {
  color: #0073aa;
  text-decoration: none;
  transition: all var(--transition-speed) ease;
  -webkit-tap-highlight-color: transparent;
}

a:hover {
  opacity: 0.8;
}

h1,
h2 {
  font-family: var(--font-heading);
  color: var(--color-text-heading);
  line-height: 1.4em;
  font-weight: 700;
  padding-bottom: 10px;
}

h1 {
  font-size: 30px;
}

h2 {
  font-size: 26px;
}

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

ul,
ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  box-sizing: border-box;
}

.section {
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

.text-center {
  text-align: center !important;
}

.text-left {
  text-align: left !important;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

.yellow-divider {
  display: block;
  width: 180px;
  height: 3px;
  background-color: var(--color-primary);
  margin: 12px auto 25px auto;
  border-radius: 2px;
}


/* ==========================================================================
   Buttons & Call to Action (CTA)
   ========================================================================== */
.btn,
.btn-header-phone,
.btn-submit {
  display: inline-block;
  cursor: pointer;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-speed) ease;
}

.btn,
.btn-submit {
  font-size: 16px;
  font-weight: 600;
  padding: 10px 25px;
  line-height: 1.7em;
  border-radius: 21px;
  text-transform: uppercase;
  border: 2px solid transparent;
}

.btn-submit {
  background-color: var(--color-red);
  color: var(--color-white) !important;
}

.btn-red {
  background-color: var(--color-red);
  color: var(--color-white) !important;
}

.btn-red:hover {
  background-color: var(--color-red);
  opacity: 1;
  transform: none;
}

.btn-submit:hover {
  background-color: var(--color-red-hover);
  opacity: 1;
  transform: translateY(-2px);
}

.btn-phone-cta {
  background-color: var(--color-red);
  color: var(--color-white) !important;
  padding-left: 30px;
  padding-right: 30px;
  position: relative;
}

.btn-phone-cta:hover {
  transform: none;
  box-shadow: none;
  opacity: 1;
}


/* ==========================================================================
   Header & Navigation Menu
   ========================================================================== */
.main-header {
  background-color: var(--color-white);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  box-sizing: border-box;
}

.logo {
  display: flex;
  align-items: center;
  z-index: 10;
  outline: none;
}

.logo a {
  transition: none;
}

.logo a:hover {
  opacity: 1;
}

.logo:focus,
.logo:active {
  outline: none;
}

.logo img {
  height: 58px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links>li {
  position: relative;
}

.nav-links>li>a,
.nav-links>li>label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: #444444;
  padding: 32px 0;
  display: block;
  cursor: pointer;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.nav-links>li>a:hover,
.nav-links>li>label:hover,
.nav-links>li.current-menu-item>a,
.nav-links>li.current-menu-item>label {
  color: var(--color-primary);
}

.nav-links .dropdown>label {
  display: flex;
  align-items: center;
  gap: 2px;
  cursor: pointer;
}

.nav-links .dropdown>label::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid #555555;
  border-bottom: 2px solid #555555;
  transform: rotate(45deg);
  margin-left: 6px;
  margin-bottom: 2px;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.nav-links .dropdown:hover>label::after,
.nav-links .dropdown.current-menu-item>label::after {
  border-color: var(--color-primary);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(10px);
  background-color: var(--color-white);
  min-width: 240px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-top: 3px solid var(--color-primary-dark);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed) ease;
  z-index: 10000;
  padding: 10px 0;
}

.nav-links .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: #333333;
  padding: 10px 20px;
  display: block;
  transition: all 0.2s ease;
  text-align: left;
}

.dropdown-menu li a:hover,
.dropdown-menu li a.active {
  background-color: var(--color-bg-light);
  color: var(--color-primary-dark);
  padding-left: 25px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 10;
  flex-shrink: 0;
}

.header-cta .btn-header-phone {
  background-color: var(--color-red);
  color: var(--color-white);
  font-size: 16px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 50px;
  text-decoration: none;
  transition: all var(--transition-speed) ease;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-cta .btn-header-phone::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M20.01 15.38c-1.23 0-2.42-.2-3.53-.56a.977.977 0 00-1.01.24l-2.2 2.2a15.053 15.053 0 01-6.59-6.59l2.2-2.21a.96.96 0 00.25-1.01A11.36 11.36 0 018.57 3.9c0-.55-.45-1-1-1H3.99c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.52c0-.55-.45-1-1-1z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.header-cta .btn-header-phone:hover {
  background-color: var(--color-red);
  transform: none;
  opacity: 1;
}

.header-cta .btn-header-estimate {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 50px;
  text-decoration: none;
  transition: all var(--transition-speed) ease;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.header-cta .btn-header-estimate:hover {
  background-color: #c78800;
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: var(--color-primary-dark);
  border-radius: 2px;
  transition: all var(--transition-speed) ease;
}


/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-banner {
  position: relative;
  padding: 100px 0 110px 0;
  min-height: 540px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}



.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0);
  /* Removed dull white overlay */
  z-index: 1;
}

.hero-banner .container {
  z-index: 2;
}

.hero-content {
  margin: 0 auto;
  text-align: center;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 56px;
  line-height: 1.15em;
  font-weight: 600;
  color: var(--color-black) !important;
  margin-bottom: 15px;
  text-transform: none;
  text-align: center;
}

.hero-content .yellow-divider {
  margin: 15px auto;
}

.hero-content h2 {
  font-family: var(--font-heading);
  font-size: 25px;
  line-height: 1.6em;
  font-weight: 600;
  color: var(--color-black) !important;
  background-color: transparent;
  padding: 0;
  margin: 0 auto 25px auto;
  max-width: 700px;
  box-shadow: none;
  display: block;
  text-align: center;
}

.hero-content .btn-red {
  border-radius: 25px;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 700;
}

.inner-banner {
  padding: 110px 0;
  min-height: 340px;
}


/* ==========================================================================
   Authority Ratings & Trust Badges
   ========================================================================== */
.authority-banner {
  background-color: var(--color-white);
  padding: 25px 0;
}

.authority-banner img {
  max-width: 680px;
  width: 100%;
  height: auto;
}


/* ==========================================================================
   Services Grid & Cards
   ========================================================================== */
.services-section h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  text-align: center;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--color-text-heading);
}

.services-section .container {
  max-width: 1400px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 40px;
}

.service-card {
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
  background-color: var(--color-white);
  transition: all var(--transition-speed) ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.service-img-wrapper {
  overflow: hidden;
  position: relative;
  display: block;
}

.service-img-wrapper img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-speed) ease;
}

.service-card:hover .service-img-wrapper img {
  transform: scale(1.04);
}

.service-title {
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 48px;
  padding: 6px 12px;
  box-sizing: border-box;
  transition: background-color var(--transition-speed) ease;
}

.service-title h3 {
  margin: 0;
  padding: 0;
  width: 100%;
}

.service-title h3 a {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a !important;
  line-height: 1.25em;
  padding: 0;
  margin: 0;
  display: inline-block;
  text-align: center;
  transition: color 0.2s ease;
}

.service-title h3 a:hover {
  color: #444444 !important;
}

.service-card:hover .service-title {
  background-color: #e0a900;
}

.middle-cta {
  background-color: var(--color-primary);
  padding: 35px 0;
  text-align: center;
}

.middle-cta-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.middle-cta h4 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: #000000 !important;
  padding-bottom: 0;
  margin: 0;
  text-align: center;
  line-height: 1.3em;
}

.middle-cta .btn-phone-cta {
  background-color: #ff0000 !important;
  color: #ffffff !important;
  padding: 6px 35px;
  font-size: 22px;
  font-weight: 700;
  border-radius: 25px;
  text-decoration: none;
  box-shadow: none;
  white-space: nowrap;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.middle-cta .btn-phone-cta::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-right: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M20.01 15.38c-1.23 0-2.42-.2-3.53-.56a.977.977 0 00-1.01.24l-2.2 2.2a15.053 15.053 0 01-6.59-6.59l2.2-2.21a.96.96 0 00.25-1.01A11.36 11.36 0 018.57 3.9c0-.55-.45-1-1-1H3.99c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.52c0-.55-.45-1-1-1z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.middle-cta .btn-phone-cta:hover {
  background-color: #ff0000 !important;
  transform: none;
  box-shadow: none;
  opacity: 1;
}


/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-section {
  background-color: var(--color-white);
  padding: 60px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.testimonials-section h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 5px;
}

.avatar-wrapper {
  flex-shrink: 0;
}

.avatar-wrapper img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-primary);
}

.review-content {
  display: table-cell;
  width: 100%;
  vertical-align: middle;
  text-align: left;
}

.review-text {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65em;
  color: var(--color-text-body);
  margin-bottom: 8px;
}

.review-author {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-heading);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.review-stars {
  height: 14px;
  width: auto;
}


/* ==========================================================================
   Narrative & Content Sections
   ========================================================================== */
.narrative-block {
  background-color: var(--color-bg-light);
  line-height: 1.8em;
  padding: 60px 0;
}

.narrative-block h2,
.section-title h2,
.text-center h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: #333333;
  text-align: center;
  margin-bottom: 5px;
}

.text-center .yellow-divider,
.narrative-block .yellow-divider,
.section-title .yellow-divider {
  margin: 12px auto 25px auto;
  display: block;
}

.narrative-text,
.narrative-block p {
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

.narrative-text.text-left,
.narrative-text.text-left p,
.text-left p {
  text-align: left !important;
}

.yellow-divider.left {
  text-align: center;
}

.narrative-text p {
  margin-bottom: 1.5em;
  font-size: 16px;
  line-height: 1.85em;
  color: #444444;
  text-align: left;
}

.narrative-text p:last-child {
  margin-bottom: 0;
}

.yellow-phn {
  color: #e09900;
  font-weight: 700;
  color: #e09900 !important;
  text-decoration: underline;
}


/* ==========================================================================
   Footer Styles
   ========================================================================== */
#main-footer {
  background-color: #222222;
  color: #ffffff;
  padding: 50px 0 0 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7em;
}

#main-footer .container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

#footer-widgets {
  display: grid;
  grid-template-columns: 1.1fr 1fr 2fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-widget .title,
.footer-widget h4.title {
  color: #e09900;
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 18px;
  padding-bottom: 0;
  letter-spacing: 0.2px;
}

.footer-widget p {
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.6em;
}

.footer-widget p strong {
  color: #ffffff;
  font-weight: 700;
}

.footer-widget a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-widget a:hover {
  color: #e09900;
}

#menu-footer-links,
.menu-footer-links-container ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#menu-footer-links li,
.menu-footer-links-container ul li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 16px;
  color: #ffffff;
}

#menu-footer-links li::before,
.menu-footer-links-container ul li::before {
  content: "•";
  color: #e09900;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 16px;
  line-height: 1.2em;
}

#menu-footer-links li a,
.menu-footer-links-container ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
}

#menu-footer-links li a:hover,
.menu-footer-links-container ul li a:hover {
  color: #e09900;
}

.service-areas-links {
  line-height: 1.9em;
  font-size: 14px;
  color: #888888;
}

.service-areas-links a {
  color: #ffffff;
  text-decoration: none;
  display: inline;
}

.service-areas-links a:hover {
  color: #e09900;
}

#footer-bottom {
  background-color: #141414;
  padding: 18px 0;
  text-align: center;
  border-top: 1px solid #282828;
}

#footer-info p {
  color: #bbbbbb;
  font-size: 13px;
  text-align: center;
  margin: 0;
}


/* ==========================================================================
   Gallery, Lightbox & Media Components
   ========================================================================== */
.gallery-tabs {
  display: flex;
  flex-direction: column;
  margin-top: 30px;
}

.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 30px;
  gap: 5px;
}

.tab-btn {
  background: none;
  border: none;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 700;
  color: #666;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  display: inline-block;
}

.tab-btn:hover {
  color: var(--color-primary-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  max-width: 100%;
  margin: 0 auto;
  gap: 50px;
  width: 100%;
  box-sizing: border-box;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  background: #ffffff;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  height: 230px;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: none;
}

.gallery-item a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.gallery-item img {
  width: 100%;
  height: 230px !important;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
  z-index: 2;
}

.gallery-overlay::before {
  content: "+";
  font-family: "Open Sans", sans-serif, Arial;
  font-size: 32px;
  font-weight: 300;
  color: #ffffff;
  background-color: #2ea3f2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: none;
  transition: transform 0.3s ease;
  line-height: 1;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay::before {
  transform: scale(1.1);
}

#f-remodel:checked~.tabs-nav .label-remodel,
#f-kitchen:checked~.tabs-nav .label-kitchen,
#f-bath:checked~.tabs-nav .label-bath,
#f-basement:checked~.tabs-nav .label-basement,
#f-addition:checked~.tabs-nav .label-addition,
#f-construction:checked~.tabs-nav .label-construction,
#f-else:checked~.tabs-nav .label-else {
  color: var(--color-primary-dark);
  border-bottom-color: var(--color-primary-dark);
}

.gallery-tabs .gallery-grid .gallery-item {
  display: none;
}

.gallery-tabs .gallery-grid .filter-remodel {
  display: block;
  animation: fadeIn 0.4s ease forwards;
}



.gallery-tabs:has(#f-kitchen:target) .gallery-grid .gallery-item,
.gallery-tabs:has(#f-bath:target) .gallery-grid .gallery-item,
.gallery-tabs:has(#f-basement:target) .gallery-grid .gallery-item,
.gallery-tabs:has(#f-addition:target) .gallery-grid .gallery-item,
.gallery-tabs:has(#f-construction:target) .gallery-grid .gallery-item,
.gallery-tabs:has(#f-else:target) .gallery-grid .gallery-item,
.gallery-tabs:has(#f-remodel:target) .gallery-grid .gallery-item {
  display: none !important;
}

.gallery-tabs:has(#f-remodel:target) .gallery-grid .filter-remodel,
.gallery-tabs:has(#f-kitchen:target) .gallery-grid .filter-kitchen,
.gallery-tabs:has(#f-bath:target) .gallery-grid .filter-bath,
.gallery-tabs:has(#f-basement:target) .gallery-grid .filter-basement,
.gallery-tabs:has(#f-addition:target) .gallery-grid .filter-addition,
.gallery-tabs:has(#f-construction:target) .gallery-grid .filter-construction,
.gallery-tabs:has(#f-else:target) .gallery-grid .filter-else {
  display: block !important;
  animation: fadeIn 0.4s ease forwards;
}



.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.88);
  z-index: 999999;
  display: none;
  justify-content: center;
  align-items: center;
}

.lightbox-modal:target {
  display: flex;
}

.lightbox-content {
  max-width: 85%;
  max-height: 85%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border: 3px solid #ffffff;
  border-radius: 3px;
  border: none;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  animation: imgFade 0.2s ease-out;
}

.lightbox-caption {
  display: none;
}

.lightbox-close {
  position: fixed;
  top: 25px;
  right: 30px;
  color: #ffffff;
  font-size: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  line-height: 1;
  transition: all 0.2s ease;
  z-index: 1000000;
}

.lightbox-close:hover {
  background: #ff3b30;
  color: #ffffff;
  transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
  font-size: 28px;
  font-weight: bold;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: all 0.2s ease;
  z-index: 1000000;
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: #2ea3f2;
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.lightbox-counter {
  position: fixed;
  bottom: 28px;
  right: 34px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.55);
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  z-index: 1000001;
  pointer-events: none;
}

.testimonials-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
}

.testimonial-card {
  display: flex;
  background-color: var(--color-white);
  border: none;
  padding: 40px 20px;
  gap: 30px;
  border-radius: 0;
  box-shadow: none;
  align-items: center;
  position: relative;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -50vw;
  right: -50vw;
  background-color: inherit;
  z-index: -1;
}

.testimonial-card.alt-bg {
  background-color: #f9f9f9;
}


/* ==========================================================================
   Contact Forms & Inputs
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form-container {
  background-color: var(--color-white);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

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

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  width: 100%;
}

.contact-form label {
  display: none;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 16px;
  font-size: 14px;
  border: 1px solid #bbbbbb;
  border-radius: 0;
  font-family: inherit;
  color: #4e4e4e;
  background-color: #f7f7f7;
  transition: all 0.2s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #2d3940;
  background-color: var(--color-white);
  outline: none;
}

.contact-form textarea {
  height: 150px;
  resize: vertical;
}

.captcha-container {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text-heading);
  justify-content: flex-end;
}

.contact-form .captcha-input {
  width: 60px !important;
  padding: 8px;
  text-align: center;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
}

.btn-submit {
  background-color: var(--color-red);
  color: var(--color-white);
  font-size: 18px;
  font-weight: 600;
  padding: 10px 30px;
  border-radius: 21px;
}

.blog-layout {
  display: grid;
  grid-template-columns: 2.7fr 1fr;
  gap: 50px;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
  grid-template-columns: 2.2fr 1fr;
  gap: 40px;
}

.blog-post-card {
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid #eaeaea;
  border-bottom: 1px solid var(--color-border);
}

.blog-post-card:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.post-featured-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 25px;
  display: block;
  transition: transform var(--transition-speed) ease;
}

.entry-title {
  text-align: left;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.entry-title a {
  color: #1a1a1a;
  text-decoration: none;
}

.entry-title a:hover {
  color: #e09900;
}

.post-meta {
  text-align: left;
  font-size: 14px;
  color: #777777;
  margin-bottom: 20px;
  color: #888888;
  margin-bottom: 15px;
}

.post-meta a {
  text-decoration: none;
  color: #666666;
  transition: color 0.2s ease;
}

.inner-banner .post-meta a {
  color: inherit;
  font-weight: 500;
}

.post-meta a:hover {
  text-decoration: underline;
}

.post-excerpt p {
  font-size: 16px;
  line-height: 1.8em;
  color: #444444;
}

.blog-sidebar {
  padding-left: 10px;
  border-left: 1px solid var(--color-border);
  padding-left: 40px;
}

.search-input {
  width: 100%;
  padding: 12px 15px;
  font-size: 14px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background-color: #fcfcfc;
  outline: none;
  flex: 1;
}

.search-input:focus {
  border-color: #e09900;
  background-color: #ffffff;
}

.sidebar-widget {
  margin-bottom: 35px;
  margin-bottom: 40px;
}

.widget-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #222222;
  margin-bottom: 15px;
  padding-bottom: 0;
}

.widget-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget-list li {
  margin-bottom: 10px;
  font-size: 14.5px;
  line-height: 1.5em;
}

.widget-list li a {
  color: #555555;
  text-decoration: none;
  transition: color 0.2s ease;
}

.widget-list li a:hover {
  color: #e09900;
}

.contact-illustration {
  margin-top: 30px;
  text-align: center;
}

.contact-illustration img {
  border-radius: 4px;
}

.post-featured-image {
  margin-bottom: 20px;
  border-radius: 4px;
  overflow: hidden;
  display: block;
}

.post-featured-image:hover img {
  transform: scale(1.01);
}

.blog-post-card h2.entry-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3em;
  margin-bottom: 10px;
}

.blog-post-card h2.entry-title a {
  color: var(--color-text-heading);
}

.blog-post-card h2.entry-title a:hover {
  color: var(--color-primary-dark);
}

.post-excerpt {
  font-size: 14px;
  line-height: 1.7em;
  color: var(--color-text-body);
}

.sidebar-widget h4.widget-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary);
}

.sidebar-widget ul li {
  padding: 8px 0;
  border-bottom: 1px solid #f6f6f6;
}

.sidebar-widget ul li a {
  color: #666666;
  font-size: 14px;
}

.sidebar-widget ul li a:hover {
  color: var(--color-primary-dark);
}

.post-detail-content {
  font-size: 17px;
  line-height: 1.8em;
  color: #333333;
}

.post-detail-content p {
  margin-bottom: 1.6em;
}

.post-detail-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: #111111;
  margin: 40px 0 15px 0;
}

.mobile-only-estimate-li {
  display: none;
}

.menu-toggle-checkbox,
.sub-toggle-checkbox {
  display: none;
}

.thank-you-page .thank-you-page .section.text-center .container {
  max-width: 600px;
}

.thank-you-page .section.text-center h2 {
  font-weight: 700;
  margin-bottom: 20px;
}

.thank-you-page .section.text-center p {
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 1.8em;
}



.service-page .page-header-banner {
  background-color: var(--color-white);
  padding: 60px 0;
  border-bottom: 1px solid var(--color-border);
  background:
    linear-gradient(rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.45)),
    url("assets/images/general-contractors-in-williston-park.jpg") center center / cover no-repeat;
  padding: 140px 0;
  min-height: 340px;
  border-bottom: 1px solid #e5e5e5;
  position: relative;
}

.page-header-banner .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.page-header-banner .header-info {
  flex: none;
  min-width: auto;
}

.page-header-banner .header-info h1 {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 700;
  color: var(--color-black) !important;
  line-height: 1.2em;
  padding-bottom: 5px;
  text-transform: none;
  text-align: center;
}

.page-header-banner .header-info h2 {
  font-family: var(--font-body);
  font-size: 25px;
  font-weight: 900;
  color: #101010 !important;
  line-height: 1.5em;
  padding-bottom: 0;
  margin: 0;
  text-transform: none;
  text-align: center;
}

.page-header-banner .header-badge {
  flex: 0 0 auto;
  text-align: center;
}

.page-header-banner .header-badge img {
  max-width: 360px;
  height: auto;
}









.testi-slider-wrap {
  max-width: 100%;
  width: 100%;
  margin: 30px auto 0 auto;
  position: relative;
  overflow: hidden;
  background-color: var(--color-white);
  border-radius: 12px;
  padding: 25px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: none;
  box-sizing: border-box;
}

.testi-slides {
  display: flex;
  width: 500%;
  animation: testi-auto 25s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  margin: 0;
  padding: 0;
}

.testi-slide {
  width: 20%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 10px 40px;
  min-height: 140px;
  box-sizing: border-box;
  margin: 0;
}

.testi-img {
  flex-shrink: 0;
}

.testi-img img {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px double var(--color-primary);
  display: block;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.testi-slide:hover .testi-img img {
  transform: scale(1.06);
}

.testi-body {
  display: table-cell;
  width: 100%;
  vertical-align: middle;
  text-align: left;
}

.testi-body p {
  font-size: 14.5px;
  color: #555555;
  line-height: 1.7em;
  margin-bottom: 8px;
  padding-bottom: 0;
  font-style: italic;
}

.testi-name {
  font-weight: 700;
  color: #333333;
  font-size: 14px;
}

.review-img {
  height: 14px;
  width: auto;
  margin-left: 8px;
  vertical-align: middle;
  display: inline-block;
}

.testi-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.testi-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #e0e0e0;
  display: block;
  transition: all 0.3s ease;
}

.testi-dot:nth-child(1) {
  animation: tdot-1 25s infinite;
}

.testi-dot:nth-child(2) {
  animation: tdot-2 25s infinite;
}

.testi-dot:nth-child(3) {
  animation: tdot-3 25s infinite;
}

.testi-dot:nth-child(4) {
  animation: tdot-4 25s infinite;
}

.testi-dot:nth-child(5) {
  animation: tdot-5 25s infinite;
}

.video-hero-desktop {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #000000;
  padding: 60px 0;
  position: relative;
}

.video-hero-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.video-hero-left {
  flex: 1;
  text-align: center;
}

.sp-left-img {
  max-width: 100%;
  max-height: 650px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.video-hero-right {
  flex: 1.2;
  color: #ffffff;
}

.video-hero-right h1 {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 38px;
  line-height: 1.2em;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 0;
}

.video-hero-quote {
  color: #ffffff;
  font-size: 20px;
  line-height: 1.6em;
  margin-bottom: 30px;
  font-weight: 400;
}

.play-gif-wrap {
  text-align: center;
}

.play-gif {
  max-width: 130px;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.play-gif:hover {
  transform: scale(1.08);
}

.video-hero-mobile {
  display: none;
  background-color: #000000;
  padding: 40px 20px;
  color: #ffffff;
}

.sp-mobile-img {
  max-width: 100%;
  width: 100%;
  height: auto;
  margin: 0 auto 15px auto;
  display: block;
}

.sp-founder-text {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 15px;
  line-height: 1.4em;
}

.as-seen {
  font-size: 13px;
  opacity: 0.85;
}

.media-logos-img {
  max-width: 280px;
  width: 70%;
  height: auto;
  margin: 10px auto 20px auto;
  display: block;
}

.video-mobile-quote {
  font-size: 18px;
  line-height: 1.5em;
  color: #ffffff;
}

.highlight-red {
  color: #ff0000;
  font-weight: 700;
}

.video-player-section {
  background-color: #ffffff;
  padding: 60px 0 80px 0;
  scroll-margin-top: 110px;
}

.video-player-wrapper {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  border-radius: 16px;
  overflow: hidden;
  background-color: #000000;
}

.video-player-wrapper video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 900px;
  object-fit: contain;
  border-radius: 16px;
}

.yellow-phn:hover {
  color: #c98800 !important;
}

.page-header-banner .container .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  margin: 0 auto;
}

.header-info h1 {
  font-family: var(--font-heading);
  font-size: 65px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 6px 0;
  padding: 0;
}

.header-info h2 {
  font-family: var(--font-body);
  font-size: 30px;
  font-weight: 400;
  color: #666666;
  margin: 0;
  padding: 0;
}

.header-badge img {
  max-width: 340px;
  width: 100%;
  height: auto;
  display: block;
}

.gallery-section {
  padding: 0 20px 50px 20px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  background-color: #ffffff;
  box-sizing: border-box;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid #e5e5e5;
  margin-top: 30px;
  margin-bottom: 35px;
}

.tab-btn {
  padding: 12px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: #444444;
  cursor: pointer;
  border: none;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
  background: transparent;
  text-decoration: none;
}

.tab-btn:hover {
  color: #e09900;
  border-bottom-color: #e09900;
}

.tabs-nav .label-remodel {
  color: #e09900;
  border-bottom: 3px solid #e09900;
}

.gallery-tabs:has(:target) .tabs-nav .label-remodel {
  color: #444444;
  border-bottom-color: transparent;
}

#f-remodel:target~.tabs-nav .label-remodel,
#f-kitchen:target~.tabs-nav .label-kitchen,
#f-bath:target~.tabs-nav .label-bath,
#f-basement:target~.tabs-nav .label-basement,
#f-addition:target~.tabs-nav .label-addition,
#f-construction:target~.tabs-nav .label-construction,
#f-else:target~.tabs-nav .label-else,
#f-remodel:checked~.tabs-nav .label-remodel,
#f-kitchen:checked~.tabs-nav .label-kitchen,
#f-bath:checked~.tabs-nav .label-bath,
#f-basement:checked~.tabs-nav .label-basement,
#f-addition:checked~.tabs-nav .label-addition,
#f-construction:checked~.tabs-nav .label-construction,
#f-else:checked~.tabs-nav .label-else {
  color: #e09900 !important;
  border-bottom: 3px solid #e09900 !important;
  background-color: transparent !important;
}

.gallery-grid .gallery-item {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  background-color: #f5f5f5;
}

.gallery-grid .gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: none;
}

.gallery-grid .gallery-item a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.gallery-grid .gallery-item img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 6px;
  transition: transform 0.4s ease;
}

.gallery-grid .gallery-item:hover img {
  transform: scale(1.04);
}


/* ==========================================================================
   Keyframe Animations
   ========================================================================== */
@keyframes testimonial-rotate {

  0%,
  16% {
    transform: translateX(0);
  }

  20%,
  36% {
    transform: translateX(-20%);
  }

  40%,
  56% {
    transform: translateX(-40%);
  }

  60%,
  76% {
    transform: translateX(-60%);
  }

  80%,
  96% {
    transform: translateX(-80%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes active-dot-1 {

  0%,
  16%,
  100% {
    background-color: var(--color-primary-dark);
  }

  20%,
  96% {
    background-color: #dddddd;
  }
}

@keyframes active-dot-2 {

  0%,
  16%,
  40%,
  100% {
    background-color: #dddddd;
  }

  20%,
  36% {
    background-color: var(--color-primary-dark);
  }
}

@keyframes active-dot-3 {

  0%,
  36%,
  60%,
  100% {
    background-color: #dddddd;
  }

  40%,
  56% {
    background-color: var(--color-primary-dark);
  }
}

@keyframes active-dot-4 {

  0%,
  56%,
  80%,
  100% {
    background-color: #dddddd;
  }

  60%,
  76% {
    background-color: var(--color-primary-dark);
  }
}

@keyframes active-dot-5 {

  0%,
  76%,
  100% {
    background-color: #dddddd;
  }

  80%,
  96% {
    background-color: var(--color-primary-dark);
  }
}

@keyframes imgFade {
  from {
    opacity: 0.3;
    transform: scale(0.98);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}


/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1400px) {}

@media (max-width: 1200px) {

  .header-container,
  .container,
  .gallery-section,
  .services-section .container,
  #main-footer .container,
  .page-header-banner .container .container {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .blog-layout {
    grid-template-columns: 2.2fr 1fr;
    gap: 35px;
  }
}

@media (max-width: 1024px) {

  html {
    max-width: 100%;
  }

  body {
    max-width: 100%;
  }

  body {
    padding-top: 0;
  }

  .logo,
  .header-cta {
    position: static;
    transform: none;
  }

  body:has(.menu-toggle-checkbox:checked) {
    /* Removed overflow: hidden to prevent sticky header jumping to top */
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    margin: 0;
    background-color: var(--color-white);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0 30px 0;
    border-top: 1px solid var(--color-border);
    z-index: 99999;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .menu-toggle-checkbox:checked~.nav-menu {
    display: block !important;
  }

  .menu-toggle-checkbox:checked~.header-cta .mobile-menu-toggle .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle-checkbox:checked~.header-cta .mobile-menu-toggle .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle-checkbox:checked~.header-cta .mobile-menu-toggle .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .nav-links {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .nav-links>li {
    width: 100%;
    text-align: left;
  }

  .nav-links>li>a,
  .nav-links>li>label {
    padding: 14px 25px;
    border-bottom: 1px solid #f6f6f6;
    width: 100%;
    box-sizing: border-box;
    min-height: 44px;
    display: flex;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-links .dropdown>label::after {
    margin-left: auto;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background-color: #fafafa;
    width: 100%;
    border-top: none;
    display: none;
    padding-left: 20px !important;
  }

  .sub-toggle-checkbox:checked~.dropdown-menu {
    display: block !important;
  }

  .dropdown-menu li a:active {
    background-color: var(--color-primary-dark, #e09900) !important;
    color: var(--color-white, #ffffff) !important;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-only-estimate-li {
    display: block;
    padding: 15px 25px;
    box-sizing: border-box;
  }

  .btn-mobile-estimate {
    display: block;
    background-color: #ffb703 !important;
    color: #0c1b29 !important;
    font-weight: 700;
    text-align: center;
    padding: 15px;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 0.5px;
    width: 100%;
    box-sizing: border-box;
  }

  .hero-banner,
  .inner-banner,
  .hero-section {
    padding: 60px 0 !important;
    min-height: auto;
    text-align: center;
  }

  .hero-content h1,
  .inner-banner h1,
  .hero-banner h1 {
    font-size: 42px !important;
    line-height: 1.25em;
  }

  .hero-content h2,
  .inner-banner p {
    font-size: 20px !important;
    max-width: 100%;
    padding: 10px 0 !important;
  }

  .hero-content .btn-red {
    padding: 10px 22px;
    font-size: 14px;
  }

  .page-header-banner .container .container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .header-info h1 {
    font-size: 28px;
  }

  .header-badge img {
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .middle-cta-flex {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .middle-cta h4 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 15px;
  }

  .middle-cta .btn-phone-cta {
    font-size: 18px;
    padding: 6px 25px;
  }

  .review-content {
    text-align: center;
  }

  .review-author {
    align-items: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  #main-footer {
    padding: 40px 0 0 0;
  }

  #footer-widgets {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding-bottom: 35px;
  }

  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    border-left: none;
    padding-left: 0;
    margin-top: 40px;
  }

  .header-cta .btn-header-phone {
    font-size: 0 !important;
    width: 42px;
    height: 42px;
    padding: 0 !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .header-cta .btn-header-phone::before {
    content: "";
    width: 26px;
    height: 26px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e09900'%3E%3Cpath d='M20.01 15.38c-1.23 0-2.42-.2-3.53-.56a.977.977 0 00-1.01.24l-2.2 2.2a15.053 15.053 0 01-6.59-6.59l2.2-2.21a.96.96 0 00.25-1.01A11.36 11.36 0 018.57 3.9c0-.55-.45-1-1-1H3.99c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.52c0-.55-.45-1-1-1z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
  }

  .header-cta .btn-header-estimate {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .page-header-banner {
    padding: 40px 0;
    text-align: center;
  }

  .page-header-banner .container {
    flex-direction: column;
    gap: 20px;
  }

  .page-header-banner .header-badge {
    text-align: center;
    margin: 0 auto;
  }

  .page-header-banner .header-info h1 {
    font-size: 32px;
    text-align: center;
  }

  .page-header-banner .header-info h2 {
    font-size: 16px;
    text-align: center;
  }

  .gallery-tabs .tabs-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 25px;
  }

  .gallery-tabs .tabs-nav .tab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 10px 8px;
    font-size: 16px;
    font-weight: 600;
    color: #444;
    text-align: center;
    margin: 0;
    border-bottom: 1px solid var(--color-border);
    white-space: normal;
    transition: all 0.2s ease;
  }

  .gallery-tabs .tabs-nav .label-else {
    grid-column: span 2;
  }

  .gallery-tabs:has(:target) .tabs-nav .label-remodel {
    background-color: #fff;
    color: #444;
    border-color: var(--color-border);
    border-bottom: 1px solid var(--color-border);
  }

  #f-remodel:target~.tabs-nav .label-remodel,
  #f-kitchen:target~.tabs-nav .label-kitchen,
  #f-bath:target~.tabs-nav .label-bath,
  #f-basement:target~.tabs-nav .label-basement,
  #f-addition:target~.tabs-nav .label-addition,
  #f-construction:target~.tabs-nav .label-construction,
  #f-else:target~.tabs-nav .label-else,
  #f-remodel:checked~.tabs-nav .label-remodel,
  #f-kitchen:checked~.tabs-nav .label-kitchen,
  #f-bath:checked~.tabs-nav .label-bath,
  #f-basement:checked~.tabs-nav .label-basement,
  #f-addition:checked~.tabs-nav .label-addition,
  #f-construction:checked~.tabs-nav .label-construction,
  #f-else:checked~.tabs-nav .label-else {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    border-bottom: 1px solid var(--color-primary);
  }

  .header-container {
    padding: 10px 15px;
  }

  .logo img {
    height: 55px;
  }

  .hero-content h1,
  .inner-banner h1,
  .hero-banner h1 {
    font-size: 36px !important;
    line-height: 1.25em !important;
  }

  .hero-content h2 {
    font-size: 18px !important;
    line-height: 1.5em !important;
  }

  .services-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }

  .service-card,
  .gallery-item,
  .testimonial-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .service-card img,
  .gallery-item img,
  .service-img-wrapper img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    display: block !important;
  }

  .form-row {
    flex-direction: column;
    gap: 15px;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 15px;
  }

  .captcha-container {
    justify-content: center;
    margin: 0 auto;
  }

  .btn-submit {
    width: 100% !important;
    text-align: center;
    justify-content: center;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .testimonial-card {
    flex-direction: column;
    padding: 20px;
    text-align: center;
  }

  .narrative-text,
  .narrative-block p {
    max-width: 100% !important;
    padding: 0;
    font-size: 16px !important;
    line-height: 1.75em;
  }

  .tab-btn {
    font-size: 16px !important;
    padding: 8px 12px !important;
  }

  .lightbox-close {
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .lightbox-prev {
    left: 10px;
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .lightbox-next {
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .lightbox-counter {
    bottom: 15px;
    right: 15px;
    font-size: 12px;
  }

  .video-player-wrapper {
    border-radius: 8px;
  }
}

@media (max-width: 600px) {

  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

@media (max-width: 480px) {
  .logo img {
    height: 50px;
  }

  .header-cta .btn-header-phone {
    width: 36px;
    height: 36px;
  }

  .header-cta .btn-header-phone::before {
    width: 22px;
    height: 22px;
  }

  .inner-banner h1,
  .hero-banner h1 {
    font-size: 24px;
  }

  .gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  #footer-widgets {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: left;
  }

  .footer-widget {
    text-align: left;
  }

  .service-areas-links {
    justify-content: flex-start;
    display: flex !important;
    flex-wrap: wrap;
    gap: 6px;
  }

  .container,
  .header-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .yellow-divider {
    max-width: 80%;
  }

  .tabs-nav {
    gap: 6px;
  }

  .btn,
  .btn-submit,
  .btn-phone-cta {
    max-width: 100%;
    word-break: break-word;
  }
}

@media (max-width: 360px) {
  .logo img {
    height: 45px;
  }

  .header-cta .btn-header-phone {
    width: 32px;
    height: 32px;
  }

  .header-cta .btn-header-phone::before {
    width: 20px;
    height: 20px;
  }

  .inner-banner h1,
  .hero-banner h1 {
    font-size: 20px;
  }

  .tab-btn {
    font-size: 12px;
    padding: 6px 8px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .video-hero-desktop {
    display: none;
  }

  .video-hero-mobile {
    display: block;
  }

  .video-hero-right h1 {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .testi-slide {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@keyframes testi-auto {

  0%,
  17% {
    transform: translateX(0%);
  }

  20%,
  37% {
    transform: translateX(-20%);
  }

  40%,
  57% {
    transform: translateX(-40%);
  }

  60%,
  77% {
    transform: translateX(-60%);
  }

  80%,
  97% {
    transform: translateX(-80%);
  }

  100% {
    transform: translateX(0%);
  }
}

@keyframes tdot-1 {

  0%,
  17%,
  100% {
    background: #e09900;
    transform: scale(1.25);
  }

  20%,
  97% {
    background: #e0e0e0;
    transform: scale(1);
  }
}

@keyframes tdot-2 {

  0%,
  17%,
  40%,
  100% {
    background: #e0e0e0;
    transform: scale(1);
  }

  20%,
  37% {
    background: #e09900;
    transform: scale(1.25);
  }
}

@keyframes tdot-3 {

  0%,
  37%,
  60%,
  100% {
    background: #e0e0e0;
    transform: scale(1);
  }

  40%,
  57% {
    background: #e09900;
    transform: scale(1.25);
  }
}

@keyframes tdot-4 {

  0%,
  57%,
  80%,
  100% {
    background: #e0e0e0;
    transform: scale(1);
  }

  60%,
  77% {
    background: #e09900;
    transform: scale(1.25);
  }
}

@keyframes tdot-5 {

  0%,
  77%,
  100% {
    background: #e0e0e0;
    transform: scale(1);
  }

  80%,
  97% {
    background: #e09900;
    transform: scale(1.25);
  }
}

/* Global Utility Classes (Extracted from Inline Styles) */

/* ==========================================================================
   Global Utility Classes
   ========================================================================== */
.footer-disclaimer {
  margin-bottom: 8px;
  font-size: 13px;
}

.section-bordered {
  border-top: 1px solid var(--color-border);
  padding: 50px 0;
  background-color: #f6f6f6;
}

.icon-list-item {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  font-size: 15px;
}

.icon-bullet {
  background: var(--color-primary-dark);
  color: var(--color-white);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  font-weight: bold;
  flex-shrink: 0;
}

.footer-link-light {
  color: #eee;
  text-decoration: none;
  transition: color 0.2s;
}

.fw-400 {
  font-weight: 400;
}

.label-block {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
}



.mt-35 {
  margin-top: 35px;
}