/* Wingate's Air Conditioning — reviews carousel + contact-form width fix.
   Scoped under .wg-reviews-section / #wg-reviews to avoid clashing with Duda CSS. */

.wg-reviews-section {
  background: #f6f4ef;
  padding: 68px 16px 76px;
  overflow: hidden;
}
.wg-reviews-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.wg-reviews-head {
  text-align: center;
  margin-bottom: 40px;
}
.wg-reviews-eyebrow {
  display: inline-block;
  font-family: Lato, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 13px;
  color: rgb(105, 13, 17);
  margin: 0 0 12px;
}
.wg-reviews-title {
  font-family: Amiri, Georgia, serif;
  font-weight: 700;
  color: rgb(0, 50, 153);
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.12;
  margin: 0 0 10px;
}
.wg-reviews-sub {
  font-family: Lato, Arial, sans-serif;
  color: #55565b;
  font-size: 16px;
  margin: 0;
}
.wg-reviews-sub strong { color: rgb(0, 50, 153); }

/* Carousel frame */
.wg-rev-frame {
  position: relative;
  padding: 0 8px;
}
.wg-rev-viewport {
  overflow: hidden;
}
.wg-rev-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

/* Cards */
.wg-rev-card {
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
  padding: 12px 14px;
  box-sizing: border-box;
  display: flex;
}
.wg-rev-card * { box-sizing: border-box; }
.wg-rev-card-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #ffffff;
  border: 1px solid #ece9e2;
  border-radius: 16px;
  padding: 28px 26px 26px;
  box-shadow: 0 24px 48px -30px rgba(0, 20, 70, 0.4);
}
.wg-rev-stars {
  color: #f5a623;
  font-size: 19px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.wg-rev-text {
  margin: 0 0 8px;
  font-family: Lato, Arial, sans-serif;
  color: #33343a;
  font-size: 15.5px;
  line-height: 1.62;
  /* Clamp to 6 lines so every card is the same height (symmetrical). */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  overflow: hidden;
}
.wg-rev-text.is-expanded {
  -webkit-line-clamp: unset;
  display: block;
  overflow: visible;
}
.wg-rev-more {
  align-self: flex-start;
  margin: 0 0 16px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  font-family: Lato, Arial, sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  color: rgb(105, 13, 17);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.wg-rev-more:hover { color: rgb(140, 20, 26); }
/* Push name/source to the bottom so equal-height cards stay aligned */
.wg-rev-name { margin-top: auto; }
.wg-rev-name {
  font-family: Amiri, Georgia, serif;
  font-weight: 700;
  color: rgb(0, 50, 153);
  font-size: 17px;
  margin-bottom: 3px;
}
.wg-rev-source {
  font-family: Lato, Arial, sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: #8a8b90;
}

/* Arrows */
.wg-rev-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgb(105, 13, 17);
  color: #fff;
  font-size: 20px;
  line-height: 46px;
  cursor: pointer;
  box-shadow: 0 8px 18px -6px rgba(105, 13, 17, 0.6);
  transition: background 0.2s ease, transform 0.2s ease;
}
.wg-rev-arrow:hover { background: rgb(140, 20, 26); }
.wg-rev-arrow:active { transform: translateY(-50%) scale(0.94); }
.wg-rev-arrow--prev { left: -6px; }
.wg-rev-arrow--next { right: -6px; }

/* Dots */
.wg-rev-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.wg-rev-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #c9cbd2;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.wg-rev-dot:hover { background: #9aa0ad; }
.wg-rev-dot.is-active {
  background: rgb(0, 50, 153);
  transform: scale(1.25);
}
.wg-rev-counter {
  font-family: Lato, Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: rgb(0, 50, 153);
  background: #ffffff;
  border: 1px solid #e4e1d9;
  border-radius: 999px;
  padding: 6px 16px;
}

@media (max-width: 1023px) {
  .wg-rev-card { flex-basis: 50%; max-width: 50%; }
}
@media (max-width: 639px) {
  .wg-reviews-section { padding: 52px 12px 60px; }
  .wg-rev-card { flex-basis: 100%; max-width: 100%; }
  .wg-rev-arrow--prev { left: -2px; }
  .wg-rev-arrow--next { right: -2px; }
}

/* --- Contact section: form now full width after reviews were split out.
   Cap the form column so inputs don't stretch across the full-bleed section. --- */
.u_1196026326 .dmRespColsWrapper {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* =====================================================================
   SITE-WIDE OVERRIDES  (loaded on every page after the inline Duda CSS)
   ===================================================================== */

/* --- Sticky header on scroll ---
   Applied to .dmHeaderContainer (the header's wrapper) because its parent
   .dmLayoutWrapper spans the full page, so sticky travels the whole scroll.
   (Sticky on the inner .dmHeaderResp fails: its wrapper is only header-tall.) */
.dmHeaderContainer {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 99999 !important;
}

/* --- Main desktop nav: shrink font + padding so it stays on ONE row --- */
.u_1681048926 .unifiednav__container.unav-top {
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}
.u_1681048926 .unifiednav__item-wrap { margin: 0 !important; }
.u_1681048926 a.unav-top-item {
  padding-left: 9px !important;
  padding-right: 9px !important;
  font-size: 15px !important;
  letter-spacing: 0 !important;
}
.u_1681048926 a.unav-top-item .nav-item-text { font-size: 15px !important; }

/* --- FAQ page: accordion titles were white on a light bar (unreadable) --- */
#dmRoot[data-page-alias="faqs"] [data-grab="accordion-item-title"],
#dmRoot[data-page-alias="faqs"] [data-auto="accordion-item-title"],
#dmRoot[data-page-alias="faqs"] [data-grab="accordion-item-title"] span {
  color: rgb(0, 50, 153) !important;
}

/* --- Hero background swaps (new Wingate photos), per page ---
   Higher specificity than Duda's `#dm .dmBody div.u_xxxx {…!important}` so we win,
   plus a dark overlay to keep the hero headline legible on any photo. --- */
html #dmRoot[data-page-alias="home"] div.u_1360571476,
html #dmRoot[data-page-alias="contact-us"] div.u_1060609606,
html #dmRoot[data-page-alias="about-us"] div.u_1060609606,
html #dmRoot[data-page-alias="ac-installation"] div.u_1060609606,
html #dmRoot[data-page-alias="ac-repair"] div.u_1060609606,
html #dmRoot[data-page-alias="ac-service"] div.u_1060609606,
html #dmRoot[data-page-alias="heat-pumps"] div.u_1060609606,
html #dmRoot[data-page-alias="hvac-repair"] div.u_1060609606,
html #dmRoot[data-page-alias="faqs"] div.u_1060609606,
html #dmRoot[data-page-alias="cantonment-fl"] div.u_1060609606,
html #dmRoot[data-page-alias="gulf-breeze-fl"] div.u_1060609606,
html #dmRoot[data-page-alias="milton-fl"] div.u_1060609606,
html #dmRoot[data-page-alias="navarre-fl"] div.u_1060609606,
html #dmRoot[data-page-alias="pace-fl"] div.u_1060609606 {
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center !important;
}

html #dmRoot[data-page-alias="home"] div.u_1360571476 {
  background-image: linear-gradient(rgba(0,0,0,0.40), rgba(0,0,0,0.40)), url(/assets/img/wingate-team-vans.webp) !important;
}
html #dmRoot[data-page-alias="contact-us"] div.u_1060609606 {
  background-image: url(/assets/img/wingate-team-vans.webp) !important;
}
html #dmRoot[data-page-alias="about-us"] div.u_1060609606 {
  background-image: url(/assets/img/rooftop-package-unit-service.webp) !important;
}
html #dmRoot[data-page-alias="ac-installation"] div.u_1060609606 {
  background-image: url(/assets/img/mini-split-install-commercial.webp) !important;
}
html #dmRoot[data-page-alias="ac-repair"] div.u_1060609606 {
  background-image: url(/assets/img/fujitsu-rooftop-refrigerant-service.webp) !important;
}
html #dmRoot[data-page-alias="ac-service"] div.u_1060609606 {
  background-image: url(/assets/img/rooftop-unit-service.webp) !important;
}
html #dmRoot[data-page-alias="heat-pumps"] div.u_1060609606 {
  background-image: url(/assets/img/ac-condenser-installation.webp) !important;
}
html #dmRoot[data-page-alias="hvac-repair"] div.u_1060609606 {
  background-image: url(/assets/img/wingate-team-vans.webp) !important;
}
html #dmRoot[data-page-alias="faqs"] div.u_1060609606 {
  background-image: url(/assets/img/rooftop-exhaust-fan-service.webp) !important;
}
html #dmRoot[data-page-alias="cantonment-fl"] div.u_1060609606 {
  background-image: url(/assets/img/wingate-team-vans-closeup.webp) !important;
}
html #dmRoot[data-page-alias="gulf-breeze-fl"] div.u_1060609606 {
  background-image: url(/assets/img/mini-split-install-commercial.webp) !important;
}
html #dmRoot[data-page-alias="milton-fl"] div.u_1060609606 {
  background-image: url(/assets/img/fujitsu-rooftop-refrigerant-service.webp) !important;
}
html #dmRoot[data-page-alias="navarre-fl"] div.u_1060609606 {
  background-image: url(/assets/img/ac-condenser-installation.webp) !important;
}
html #dmRoot[data-page-alias="pace-fl"] div.u_1060609606 {
  background-image: url(/assets/img/rooftop-exhaust-fan-service.webp) !important;
}

/* --- Home hero: raise focal point so the team's faces aren't cropped --- */
html #dmRoot[data-page-alias="home"] div.u_1360571476 {
  background-position: center 22% !important;
}

/* --- Homepage service cards: equal image heights, keep people in frame --- */
#dmRoot[data-page-alias="home"] .u_1943589552 img,
#dmRoot[data-page-alias="home"] .u_1681593814 img,
#dmRoot[data-page-alias="home"] .u_1971417102 img {
  width: 100% !important;
  height: 300px !important;
  object-fit: cover !important;
  object-position: center 20% !important;
}

/* --- Nav dropdown: match the parent (15px, no extra letter-spacing) --- */
.u_1681048926 .unav-sub .unav-item,
.u_1681048926 .unav-sub .unav-item .nav-item-text {
  font-size: 15px !important;
  letter-spacing: normal !important;
}

/* --- Reviews: continuous marquee has no step controls --- */
#wg-reviews .wg-rev-arrow,
#wg-reviews .wg-rev-dots { display: none !important; }

/* --- About Us: taller intro image --- */
html #dmRoot[data-page-alias="about-us"] div.u_1060609606 {
  height: 500px !important;
  min-height: 500px !important;
}

/* --- About Us intro: vertically center the text against the 500px image --- */
html #dmRoot[data-page-alias="about-us"] div[id="1519227915"] {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
}

/* --- AC Repair intro: 500px image + vertically centered text --- */
html #dmRoot[data-page-alias="ac-repair"] div.u_1060609606 {
  height: 500px !important;
  min-height: 500px !important;
}
html #dmRoot[data-page-alias="ac-repair"] div[id="1519227915"] {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
}

/* --- AC Service intro: 650px image + vertically centered text --- */
html #dmRoot[data-page-alias="ac-service"] div.u_1060609606 {
  height: 650px !important;
  min-height: 650px !important;
}
html #dmRoot[data-page-alias="ac-service"] div[id="1519227915"] {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
}

/* --- FAQ / Milton / Pace intros: 500px image + vertically centered text --- */
html #dmRoot[data-page-alias="faqs"] div.u_1060609606,
html #dmRoot[data-page-alias="milton-fl"] div.u_1060609606,
html #dmRoot[data-page-alias="pace-fl"] div.u_1060609606 {
  height: 500px !important;
  min-height: 500px !important;
}
html #dmRoot[data-page-alias="faqs"] div[id="1519227915"],
html #dmRoot[data-page-alias="milton-fl"] div[id="1519227915"],
html #dmRoot[data-page-alias="pace-fl"] div[id="1519227915"] {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
}

/* --- Gulf Breeze intro: shift focal point up so the person isn't cropped --- */
html #dmRoot[data-page-alias="gulf-breeze-fl"] div.u_1060609606 {
  background-position: center 15% !important;
}
