@font-face{font-family:Syne;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/syne-bold.ttf) format("truetype")}
/* ========================================
   Generation Builders USA - pSEO Templates
   Pixel-perfect clone of the main homepage
   ======================================== */
/* Google Fonts loaded via preconnect + link in HTML head for performance */

:root {
  --yellow: #E3B229;
  --dark: #111111;
  --black: #000000;
  --white: #FFFFFF;
  --offwhite: #F3F3F3;
  --text-body: #555555;
  --text-dark: #242528;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.15;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* BUTTONS */
.btn-yellow {
  display: inline-block;
  padding: 14px 36px;
  background-color: var(--yellow);
  color: var(--black);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-yellow:hover {
  background-color: #cfa020;
  transform: translateY(-2px);
}

/* Pulse animation for CTA buttons */
.btn-pulse {
  animation: pulse 2s infinite;
  box-shadow: 0 0 0 0 rgba(227, 178, 41, 0.7);
}

.btn-pulse:hover {
  animation: none;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(227, 178, 41, 0.7);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(227, 178, 41, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(227, 178, 41, 0);
  }
}

/* =====================
   TOP BAR
   ===================== */
.top-bar {
  background-color: var(--black);
  color: var(--yellow);
  text-align: center;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* =====================
   HEADER — Transparent over hero, pill-shaped nav
   ===================== */
.main-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  background: transparent;
  /* offset below the top-bar (~37px) so header sits visually separated */
  margin-top: 37px;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo-img {
  height: 56px;
  width: auto;
}

/* Pill-shaped nav container */
.nav-pill {
  display: flex;
  gap: 0;
  list-style: none;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 50px;
  padding: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
}

.nav-pill li a {
  display: block;
  padding: 11px 30px;
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.8px;
  transition: all 0.3s;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

.nav-pill li:last-child a {
  border-right: none;
}

.nav-pill li a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--yellow);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--yellow);
  color: var(--black);
  padding: 11px 26px;
  border-radius: 50px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-phone:hover {
  background-color: #cfa020;
}

/* =====================
   HERO
   ===================== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-color: var(--dark);
  overflow: hidden;
  /* push content below top-bar so header doesn't overlap text */
  padding-top: 140px;
}

.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-inner {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  width: 100%;
}

.hero-text {
  flex: 1;
  color: var(--white);
}

.hero-text h1 {
  font-size: 52px;
  color: var(--yellow);
  margin-bottom: 15px;
}

.hero-text .hero-subtitle {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #fff;
  font-family: 'Syne', sans-serif;
}

.hero-text p {
  font-size: 16px;
  color: #ccc;
  max-width: 500px;
}

.hero-form-card {
  flex: 0 0 380px;
  background: rgba(0, 0, 0, 0.75);
  scroll-margin-top: 70px;
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 35px 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.hero-form-card h3 {
  color: var(--white);
  font-size: 22px;
  margin-bottom: 20px;
  text-align: center;
}

.hero-form-card input,
.hero-form-card select {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 13px 16px;
  margin-bottom: 12px;
  border: 1px solid #444;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 14px;
  font-family: Arial, sans-serif;
  line-height: 1.4;
  min-height: 46px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  vertical-align: top;
}

.hero-form-card select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffffff' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.hero-form-card select option {
  background: #1a1a1a;
  color: #fff;
}

.hero-form-card input::placeholder {
  color: #999;
}

.hero-form-card .btn-yellow {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  border-radius: 50px;
  margin-top: 5px;
}

/* =====================
   BRAND SECTION (Dark) — 2 columns text + rotating photos below
   ===================== */
.brand-section {
  background-color: var(--dark);
  padding: 80px 0 40px;
}

.brand-top {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  margin-bottom: 50px;
}

.brand-left {
  flex: 1;
}

.brand-left h2 {
  font-size: 52px;
  color: var(--yellow);
  margin-bottom: 20px;
  line-height: 1.05;
}

.brand-left .brand-desc {
  color: #aaa;
  font-size: 15px;
  margin-bottom: 15px;
  line-height: 1.7;
}

.brand-left .license-text {
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 14px;
}

.brand-right {
  flex: 1;
}

.brand-right p {
  color: #ccc;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 25px;
}

.brand-right .bold-text {
  font-weight: 700;
  color: var(--white);
}

.brand-right hr {
  border: none;
  border-top: 2px solid #444;
  width: 60px;
  margin-bottom: 25px;
}

/* Rotating Company photos */
.company-slider-wrapper {
  position: relative;
  padding: 20px 0 40px;
  overflow: hidden;
}

.company-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.55);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 50%;
  z-index: 10;
  transition: background 0.2s;
  line-height: 1;
}

.company-slider-btn:hover {
  background: var(--yellow);
  color: var(--black);
}

.company-slider-btn.prev { left: 8px; }
.company-slider-btn.next { right: 8px; }

.company-photos {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  padding: 10px 50px 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.company-photos::-webkit-scrollbar { display: none; }

.company-photos img {
  flex-shrink: 0;
  width: 220px;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s;
}

.company-photos img:nth-child(1) {
  transform: rotate(-6deg);
}

.company-photos img:nth-child(2) {
  transform: rotate(-3deg) translateY(-10px);
}

.company-photos img:nth-child(3) {
  transform: rotate(2deg) translateY(-20px);
}

.company-photos img:nth-child(4) {
  transform: rotate(5deg) translateY(-5px);
}

.company-photos img:nth-child(5) {
  transform: rotate(-4deg) translateY(-15px);
}

.company-photos img:nth-child(6) {
  transform: rotate(3deg);
}

.company-photos img:nth-child(7) {
  transform: rotate(-2deg) translateY(-10px);
}

.company-photos img:hover {
  transform: rotate(0deg) scale(1.05) translateY(-10px);
  z-index: 2;
}

/* =====================
   ABOUT US SECTION - Contained banner card
   ===================== */
.about-section {
  background: var(--white);
  padding: 60px 20px;
  overflow: hidden;
}

.about-inner-split {
  display: flex;
  min-height: 420px;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
  align-items: stretch;
}

.about-text-side {
  flex: 0 0 48%;
  background-color: var(--white);
  padding: 50px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-image-side {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.about-image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.about-text-side .about-label {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #999;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.about-text-side h2 {
  font-size: 40px;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.05;
}

.about-text-side h2 em {
  font-style: normal;
  font-weight: 400;
  display: block;
}

.about-text-side h2 strong {
  font-weight: 800;
  display: block;
}

.about-text-side .about-description {
  color: var(--text-body);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 420px;
}

.about-signature-img {
  width: 180px;
  margin-bottom: 15px;
  filter: grayscale(1) contrast(1.2);
  /* Match the visual look */
}

.about-ceo-info {
  border-top: 1px solid #eee;
  padding-top: 15px;
  max-width: 420px;
}

.about-ceo-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dark);
}

.about-ceo-title,
.about-license {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}

.about-license span {
  margin-left: 20px;
}

@media (max-width: 992px) {
  .about-inner-split {
    flex-direction: column;
  }

  .about-text-side {
    flex: 0 0 auto;
    padding: 60px 30px;
    order: 2;
  }

  .about-image-side {
    flex: 0 0 auto;
    height: 450px;
    order: 1;
  }
}

/* =====================
   PROJECT GALLERIES — Tabbed Layout
   ===================== */
.projects-section {
  background: var(--white);
  padding: 60px 0;
}

.projects-tabs-wrapper {
  max-width: 100%;
}

/* Tab navigation — scrollable row */
.project-tabs-nav {
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-bottom: 2px solid #eee;
  margin-bottom: 30px;
  scrollbar-width: none;
}

.project-tabs-nav::-webkit-scrollbar {
  display: none;
}

.project-tab {
  flex: 0 0 auto;
  padding: 12px 24px;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s;
  margin-bottom: -2px;
}

.project-tab:hover {
  color: var(--text-dark);
}

.project-tab.active {
  color: var(--text-dark);
  border-bottom-color: var(--yellow);
}

/* Tab panels */
.project-panel {
  display: none;
}

.project-panel.active {
  display: block;
}

/* Grid inside each panel */
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.project-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s;
}

.project-grid img:hover {
  transform: scale(1.03);
}

/* Lightbox */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.lightbox-overlay.active { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 6px;
  user-select: none;
}
.lightbox-close {
  position: fixed;
  top: 20px; right: 28px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  z-index: 10000;
}
.lightbox-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 32px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10000;
}
.lightbox-arrow:hover { background: rgba(255,255,255,0.3); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* See More button */
.see-more-wrapper {
  text-align: center;
  margin-top: 20px;
}

.btn-see-more {
  display: inline-block;
  padding: 10px 28px;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  background: none;
  border: 2px solid var(--yellow);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-see-more:hover {
  background: var(--yellow);
  color: var(--black);
}

/* Hidden grid inherits same style */
.project-grid-hidden {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.project-grid-hidden img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s;
}

/* =====================
   SERVICES — Numbered cards, 4-col top + 2-col bottom
   ===================== */
.services-section {
  background: var(--white);
  padding: 80px 0;
}

.services-section h2 {
  text-align: center;
  font-size: 40px;
  color: var(--text-dark);
  margin-bottom: 40px;
}

.services-grid-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}

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

.service-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.services-grid-top .service-card {
  height: 300px;
}

.services-grid-bottom .service-card {
  height: 320px;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

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

.service-card .service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.65) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

.service-number {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--yellow);
}

.service-name {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

/* =====================
   PROCESS
   ===================== */
.process-section {
  background-color: var(--dark);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.process-section h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.process-section>.container>p {
  color: #aaa;
  max-width: 700px;
  margin: 0 auto 50px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid #333;
  border-radius: 12px;
  padding: 30px 20px;
  transition: border-color 0.3s;
}

.process-step:hover {
  border-color: var(--yellow);
}

.step-number {
  font-family: 'Syne', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--yellow);
  margin-bottom: 15px;
}

.process-step h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--white);
}

.process-step p {
  font-size: 14px;
  color: #999;
}

/* =====================
   MAP BANNER + MAP
   ===================== */
.map-banner-section {
  position: relative;
}

.map-banner-bg {
  position: relative;
  padding: 50px 20px 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.map-banner-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.map-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.62);
}

.map-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  margin-bottom: 30px;
}

.map-banner-content h2 {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--white);
}

.map-banner-highlight {
  color: var(--yellow);
}

.map-banner-content p {
  font-size: 16px;
  color: #ddd;
  margin-bottom: 20px;
}

.map-banner-content p strong {
  color: var(--white);
}

.map-banner-info {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.map-banner-info span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--yellow);
}

.map-iframe-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1160px;
  height: 380px;
}

.map-iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  filter: grayscale(1) contrast(0.85);
  display: block;
}

@media (max-width: 768px) {
  .map-banner-content h2 {
    font-size: 22px;
  }

  .map-banner-info {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .map-iframe-wrapper {
    height: 280px;
  }
}

/* =====================
   FOOTER
   ===================== */
.footer-main {
  background: var(--white);
  padding: 60px 0 30px;
  border-top: 1px solid #eee;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-col h4 {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  margin-bottom: 18px;
  color: var(--text-dark);
}

.footer-col p,
.footer-col li {
  font-size: 14px;
  color: var(--text-body);
  margin-bottom: 8px;
  list-style: none;
}

.footer-col a:hover {
  color: var(--yellow);
}

.footer-col .footer-logo-img {
  height: 50px;
  margin-bottom: 20px;
}

.footer-bottom {
  background-color: var(--black);
  text-align: center;
  padding: 15px 20px;
  color: #666;
  font-size: 13px;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 992px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 38px;
  }

  .hero-form-card {
    flex: 0 0 auto;
    width: 100%;
    max-width: 420px;
  }

  .brand-top {
    flex-direction: column;
  }

  .about-inner {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 30px;
  }

  .nav-pill {
    display: none;
  }

  /* Header mobile — compacto */
  .main-header {
    margin-top: 0;
    padding: 10px 0;
    background: rgba(0,0,0,0.92);
    position: fixed;
    top: 0;
  }

  .top-bar {
    font-size: 10px;
    padding: 5px 10px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .logo-img {
    height: 32px !important;
  }

  .header-phone {
    font-size: 13px;
    padding: 7px 14px;
  }

  /* Hero padding ajustado */
  .hero {
    padding-top: 80px;
    padding-bottom: 40px;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Imagem do hero: de background para imagem solta arredondada */
  .hero-bg-img {
    position: static;
    width: 90%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
    opacity: 1;
    border-radius: 12px;
    margin: 0 auto 20px;
    order: -1;
    aspect-ratio: 16/9;
  }

  .hero-inner {
    gap: 24px;
  }

  /* Botão centralizado */
  .btn-yellow {
    display: block;
    text-align: center;
    width: 100%;
  }

  .hero-form-card .btn-yellow,
  .brand-right .btn-yellow {
    width: 100%;
    text-align: center;
  }

  /* Espaçamentos suaves */
  .brand-section,
  .about-section,
  .process-section,
  .trust-section,
  .kb-features-section,
  .adu-law-section,
  .adu-types-section,
  .services-section,
  .silo-section,
  .reviews-section,
  .faq-section,
  .neighborhood-insights-section {
    padding: 20px 0;
  }

  .projects-section {
    padding: 20px 0;
  }

  /* Reduzir margens de títulos e subtítulos */
  h2 {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }

  .brand-section .brand-top {
    gap: 14px;
  }

  .trust-intro,
  .about-section p,
  .process-section p {
    margin-bottom: 16px;
  }

  .trust-grid,
  .process-grid {
    gap: 12px;
  }

  .trust-card,
  .process-step {
    padding: 16px 14px;
  }

  .faq-item {
    padding: 12px 0;
  }

  /* 1. Menos espaço entre menu fixo e imagem hero */
  .hero {
    padding-top: 60px;
  }

  /* 2. Menos espaço interno no topo do form card */
  .hero-form-card {
    padding-top: 20px;
  }

  .hero-form-card h3 {
    margin-bottom: 10px;
  }

  /* 3. Menos espaço no slider de fotos */
  .company-slider-wrapper {
    padding: 8px 0 12px;
  }

  .company-photos {
    padding-top: 5px;
    padding-bottom: 10px;
  }

  /* 4. Menos espaço no topo da seção de reviews */
  .reviews-section {
    padding-top: 12px;
  }

  .reviews-header {
    margin-bottom: 20px;
    padding: 16px 20px;
  }

  .services-grid-top,
  .services-grid-bottom,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .project-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Footer logo maior e centralizada */
  .footer-col:first-child {
    text-align: center;
  }

  .footer-col .footer-logo-img {
    height: 60px;
    margin: 0 auto 16px;
  }

  .company-slider-btn {
    padding: 8px 11px;
    font-size: 1.1rem;
  }

  .company-photos {
    flex-wrap: nowrap;
    padding: 10px 40px 20px;
  }

  .company-photos img {
    width: 140px;
    height: 185px;
    transform: none !important;
  }

  .company-photos img:hover {
    transform: scale(1.03) !important;
  }
}

/* =====================
   TEMPLATE 1 — TRUST SECTION
   ===================== */
.trust-section {
  background: var(--offwhite);
  padding: 80px 0;
}

.trust-section h2 {
  text-align: center;
  font-size: 36px;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.trust-intro {
  text-align: center;
  color: var(--text-body);
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 16px;
  line-height: 1.7;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-card {
  background: var(--white);
  border-radius: 12px;
  padding: 30px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.trust-icon {
  display: block;
  margin-bottom: 15px;
  color: var(--yellow);
}

.trust-card h4 {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.trust-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

/* =====================
   TEMPLATE 2 — KITCHEN & BATH FEATURES
   ===================== */
.kb-features-section {
  background: var(--offwhite);
  padding: 80px 0;
}

.kb-features-section h2 {
  text-align: center;
  font-size: 36px;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.kb-intro {
  text-align: center;
  color: var(--text-body);
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 16px;
  line-height: 1.7;
}

.kb-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.kb-card {
  background: var(--white);
  border-radius: 12px;
  padding: 35px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s;
}

.kb-card:hover {
  transform: translateY(-4px);
}

.kb-card h4 {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.kb-icon {
  display: block;
  margin-bottom: 16px;
  color: var(--yellow);
}

.kb-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

/* ROI Section */
.roi-section {
  background: var(--dark);
  padding: 80px 0;
}

.roi-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.roi-text h2 {
  font-size: 36px;
  color: var(--yellow);
  margin-bottom: 20px;
}

.roi-text p {
  color: #ccc;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.roi-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
}

.roi-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.roi-number {
  font-family: 'Syne', sans-serif;
  font-size: 52px;
  font-weight: 800;
  color: var(--yellow);
}

.roi-label {
  font-size: 14px;
  color: #aaa;
  max-width: 200px;
  margin-top: 8px;
}

/* =====================
   TEMPLATE 3 — ADU LAW SECTION
   ===================== */
.adu-law-section {
  background: var(--offwhite);
  padding: 80px 0;
}

.adu-law-section h2 {
  text-align: center;
  font-size: 36px;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.adu-law-intro {
  text-align: center;
  color: var(--text-body);
  max-width: 750px;
  margin: 0 auto 50px;
  font-size: 16px;
  line-height: 1.7;
}

.adu-law-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.adu-law-card {
  background: var(--white);
  border-radius: 12px;
  padding: 35px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-left: 4px solid var(--yellow);
  transition: transform 0.3s;
}

.adu-law-card:hover {
  transform: translateY(-4px);
}

.adu-law-card h4 {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.adu-law-card h4 svg {
  flex-shrink: 0;
  color: var(--yellow);
}

.adu-law-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

/* ADU Investment Section */
.adu-invest-section {
  background: var(--dark);
  padding: 80px 0;
}

.adu-invest-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.adu-invest-text h2 {
  font-size: 36px;
  color: var(--yellow);
  margin-bottom: 20px;
}

.adu-invest-text p {
  color: #ccc;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.adu-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 40px;
}

.adu-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.adu-stat-number {
  font-family: 'Syne', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--yellow);
}

.adu-stat-label {
  font-size: 14px;
  color: #aaa;
  max-width: 220px;
  margin-top: 8px;
}

/* ADU Types Section */
.adu-types-section {
  background: var(--white);
  padding: 80px 0;
}

.adu-types-section h2 {
  text-align: center;
  font-size: 36px;
  color: var(--text-dark);
  margin-bottom: 50px;
}

.adu-types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.adu-type-card {
  background: var(--offwhite);
  border-radius: 12px;
  padding: 30px 24px;
  transition: transform 0.3s;
  border-top: 3px solid var(--yellow);
}

.adu-type-card:hover {
  transform: translateY(-4px);
}

.adu-type-card h4 {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.adu-type-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

/* =====================
   SILO LINKS SECTION
   ===================== */
.silo-section {
  background: var(--offwhite);
  padding: 50px 0;
}

.silo-section h3 {
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: 20px;
  text-align: center;
}

.silo-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.silo-links a {
  display: inline-block;
  padding: 8px 18px;
  background: var(--white);
  border: 1px solid #ddd;
  border-radius: 50px;
  font-size: 13px;
  color: var(--text-dark);
  transition: all 0.3s;
}

.silo-links a:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}

/* =====================
   RESPONSIVE — New sections
   ===================== */
@media (max-width: 992px) {
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .adu-types-grid {
    grid-template-columns: 1fr 1fr;
  }

  .roi-stats,
  .adu-stats {
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .trust-grid,
  .kb-grid,
  .adu-law-grid,
  .adu-types-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================
   REVIEWS SECTION
   ===================== */
.reviews-section {
  padding: 80px 20px;
  background: var(--offwhite);
}

.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  background: var(--white);
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 24px 32px;
  margin-bottom: 36px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.reviews-header-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reviews-google-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.reviews-rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.reviews-rating-text {
  font-size: 0.9rem;
  color: var(--text-body);
}

.btn-review-google {
  display: inline-block;
  padding: 12px 24px;
  background: #4285F4;
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 6px;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-review-google:hover {
  background: #3367d6;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.review-card {
  background: var(--white);
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
}

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.review-author-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-time {
  font-size: 0.78rem;
  color: #999;
}

.review-google-logo {
  flex-shrink: 0;
  margin-left: auto;
}

.review-stars-row {
  display: flex;
  gap: 2px;
}

.review-text {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* =====================
   FAQ SECTION
   ===================== */
.faq-section {
  padding: 80px 20px;
  background: var(--white);
}

.faq-section h2 {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 48px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--offwhite);
}

.faq-question[aria-expanded="true"] {
  background: var(--dark);
  color: var(--white);
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  stroke: var(--yellow);
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-answer {
  padding: 0 24px 20px;
  background: var(--offwhite);
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
}

.faq-answer p {
  padding-top: 16px;
}

@media (max-width: 768px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================
   NEIGHBORHOOD INSIGHTS
   ===================== */
.neighborhood-insights-section {
  padding: 80px 20px;
  background: var(--dark);
  color: var(--white);
}

.ni-inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.ni-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 12px;
}

.ni-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
  margin-bottom: 10px;
}

.ni-sub {
  font-size: 1rem;
  color: var(--yellow);
  font-weight: 600;
  margin-bottom: 20px;
}

.ni-blurb {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  margin-bottom: 16px;
}

.ni-extra {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.ni-badge {
  display: flex;
  justify-content: center;
}

.ni-badge-inner {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.ni-city-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
}

.ni-county {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* =====================
   LOCAL STATS
   ===================== */
.local-stats-section {
  padding: 80px 20px;
  background: var(--offwhite);
}

.local-stats-section h2 {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}

.local-stats-context {
  text-align: center;
  color: var(--text-body);
  max-width: 680px;
  margin: 0 auto 48px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.local-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.local-stat-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.local-stat-value {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--text-dark);
  line-height: 1;
}

.local-stat-label {
  font-size: 0.82rem;
  color: var(--text-body);
  text-align: center;
  line-height: 1.4;
}

.local-stats-cta {
  text-align: center;
}

@media (max-width: 1024px) {
  .ni-inner {
    grid-template-columns: 1fr;
  }
  .ni-badge {
    display: none;
  }
  .local-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .local-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Brand title yellow variant (template 1) */
.brand-title-yellow {
  color: var(--yellow);
}

/* =====================
   KEYWORD FOOTER BLOCK
   ===================== */
.keyword-footer-block {
  background: #111;
  padding: 14px 20px;
  border-top: 1px solid #222;
}

.keyword-tag-cloud {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.7rem;
  color: #444;
  line-height: 1.8;
  text-align: center;
  word-spacing: 1px;
}

/* ---- Reviews Load More ---- */
.review-card.review-card--hidden,
.review-card--hidden {
  display: none !important;
}

.reviews-load-more-wrap {
  text-align: center;
  margin-top: 32px;
}

.btn-load-more-reviews {
  display: inline-block;
  padding: 12px 36px;
  background: transparent;
  border: 2px solid var(--dark);
  color: var(--dark);
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-load-more-reviews:hover {
  background: var(--dark);
  color: var(--white);
}

/* Shared accessibility and progressive rendering. */
:focus-visible{outline:3px solid #b78606;outline-offset:4px}
.projects-section,.services-section,.about-section,.reviews-section,.faq-section,.silo-section{content-visibility:auto;contain-intrinsic-size:auto 700px}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:768px){.main-header{position:relative;top:auto}.header-inner{flex-wrap:wrap;gap:12px}.header-inner nav{order:3;width:100%}.nav-pill{display:flex;justify-content:center;width:100%}.nav-pill li{flex:1;min-width:0}.nav-pill li a{font-size:10px;padding:12px 5px;letter-spacing:0;text-align:center}.hero{padding-top:28px}}
.project-grid img:focus-visible{outline:4px solid #e3b229;outline-offset:3px}

/* Override legacy inline link decorations. */
a:is([href^="tel:" i], [href="https://www.cslb.ca.gov/1101759"]) {
  text-decoration: none !important;
}

/* Shared Home presentation for the location pages. */
:root {
  --location-gold: #eac263;
  --location-ink: #17191b;
  --location-paper: #f8f6f1;
  --location-radius: 20px;
}

:focus-visible {
  outline: 2px solid #b5801e;
  outline-offset: 3px;
}

.location-skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1100;
  padding: 10px 16px;
  background: white;
  color: var(--location-ink);
  translate: 0 -150%;
}

.location-skip-link:focus { translate: 0; }

body:has(.locations-hero) .main-header,
body:has(.hero) .main-header {
  position: relative;
  margin-top: 0;
  background: var(--location-ink);
}

.nav-pill { border-color: #eac26380; }
.nav-pill li a:is(:hover, :focus-visible) { color: #ffd46e; }
.header-phone, .btn-yellow { background-color: var(--location-gold); color: var(--location-ink); }

.hero {
  min-height: auto;
  padding: clamp(38px, 7vw, 105px) 0;
  isolation: isolate;
}

.hero-bg-img {
  opacity: .65;
  object-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(95deg, #17191bd9, #17191b29 78%);
}

.hero-text h1 { font-size: clamp(30px, 4vw, 52px); color: var(--location-gold); }
.hero-text p { color: #f5f2ec; }
.hero-form-card {
  background: #17191bf2;
  border: 1px solid #eac26352;
  border-radius: 24px;
  backdrop-filter: none;
}

.hero-form-card :is(h2, h3) {
  margin-bottom: 16px;
  color: white;
  font-size: 22px;
  text-align: center;
}

.hero-form-card :is(input, select) { border-color: #77746b; background-color: #24272b; }
.hero-form-card input::placeholder { color: #d0c9bd; }
.hero-form-card .btn-yellow:hover { color: var(--location-ink); }
.hero-form-card .btn-yellow:disabled { animation: none; cursor: wait; }
.hero-form-card .form-error-msg { color: #ffb4a9; text-align: center; margin-top: 8px; }

.company-slider-wrapper { overflow: visible; }
.company-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  overflow: visible;
}

.company-photos figure {
  position: relative;
  min-width: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 16px;
  background: var(--location-ink);
}

.company-photos img,
.company-photos img:nth-child(n),
.company-photos img:hover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none !important;
  border-radius: inherit;
  box-shadow: none;
}

.company-photos img[src*="e55d06de327d48639c59c8f1483e2f9a"] { object-position: center 25%; }
.company-photos figcaption {
  position: absolute;
  bottom: 6px;
  left: 6px;
  max-width: calc(100% - 12px);
  padding: 3px 6px;
  border-radius: 5px;
  background: #17191bef;
  color: white;
  font: 600 12px/1.25 system-ui, sans-serif;
  pointer-events: none;
}

.location-photo {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: zoom-in;
}

.location-photo:focus-visible { outline-offset: -4px; }
.company-photos img, .service-card img { filter: brightness(.84); }
.company-photos figure:is(:hover, :focus-within) img, .service-card:hover img { filter: brightness(1); }
.company-photos figure, .service-card { box-shadow: 0 0 0 1px #c89a4c70; }
.service-card { cursor: default; }

.about-inner-split, .reviews-header, .review-card, .project-grid img,
.service-card, .map-iframe-wrapper, .map-iframe-wrapper iframe, .city-card {
  border-radius: var(--location-radius);
}

.about-text-side, .review-card { background: var(--location-paper); }
.about-image-side img { object-position: center 30%; }
.reviews-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.reviews-header { border-color: #e8e1d4; }
.review-card { overflow-wrap: anywhere; }
.map-iframe-wrapper { overflow: hidden; }
.map-iframe-wrapper iframe { filter: none; }

.location-projects-heading { font-size: clamp(26px, 3vw, 42px); }
.location-projects-intro { margin: 6px 0 20px; color: var(--text-body); }
.project-tabs-nav { flex-wrap: wrap; gap: 6px; overflow: visible; border: 0; }
.project-tab { white-space: normal; padding: 8px 12px; margin: 0; border: 1px solid #e8e1d4; border-radius: 12px; }
.project-tab:is(.active, :hover, :focus-visible) { background: var(--location-paper); border-color: #b5801e; }
.project-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.project-grid .location-photo { border-radius: var(--location-radius); overflow: hidden; }

.location-lightbox {
  margin: auto;
  max-width: 100%;
  max-height: 100%;
  padding: 12px;
  border: 0;
  color: white;
  background: transparent;
  overflow: visible;
}
.location-lightbox::backdrop { background: #101215ed; }
.location-lightbox img {
  width: min(78vw, 820px, var(--photo-width, 0px));
  height: min(70vh, 640px, var(--photo-height, 0px));
  object-fit: contain;
}
.location-lightbox button {
  position: fixed;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #ffffff50;
  border-radius: 50%;
  background: var(--location-ink);
  color: white;
  font: 28px/1 system-ui, sans-serif;
  cursor: pointer;
}
.location-lightbox button:disabled { opacity: .4; cursor: default; }
.location-lightbox [data-gallery-close] { top: 14px; right: 14px; }
.location-lightbox [data-gallery-previous] { top: calc(50% - 22px); left: 10px; }
.location-lightbox [data-gallery-next] { top: calc(50% - 22px); right: 10px; }

.footer-partners {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: 12px;
  width: min(92%, 980px);
  margin: 32px auto 0;
}
.footer-partners > * { display: grid; place-items: center; min-width: 0; min-height: 44px; }
.footer-partners img { width: auto; max-width: min(100%, var(--logo-width, 180px)); max-height: 36px; object-fit: contain; }
.footer-partners .footer-bbb { border-inline-start: 1px solid #e8e1d4; padding-inline-start: 10px; }
.footer-bottom { color: #aaa; }

.location-floating {
  position: fixed;
  z-index: 1001;
  right: 20px;
  bottom: max(16px, env(safe-area-inset-bottom));
  display: grid;
  justify-items: center;
  gap: 10px;
  width: max-content;
  max-width: calc(100vw - 32px);
}
.location-floating[hidden] { display: none; }
.location-floating .btn-yellow { width: auto; min-height: 44px; padding: 12px 18px; font-size: 13px; }
.location-floating-reviews {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: white;
  color: var(--location-ink);
  font-size: 13px;
  box-shadow: 0 4px 14px #17191b22;
}
.location-floating-reviews span { color: #a86314; }

@media (prefers-reduced-motion: no-preference) {
  .location-floating .btn-pulse, .hero-form-card .btn-pulse:not(:disabled) {
    animation: location-consultation-pulse 2s ease-out infinite;
  }
  .company-photos figure, .service-card { animation: location-gold-edge 6s ease-in-out infinite; }
  .company-photos figure, .service-card, .company-photos img, .service-card img, .about-image-side img {
    transition: transform 240ms ease, filter 240ms ease;
  }
}

@keyframes location-consultation-pulse {
  0%, 100% { scale: 1; box-shadow: 0 0 0 0 #eac26300; }
  20% { scale: 1.07; box-shadow: 0 0 0 4px #eac263d9; }
  60% { scale: 1; box-shadow: 0 0 0 14px #eac26300; }
}
@keyframes location-gold-edge {
  0%, 100% { box-shadow: 0 0 0 1px #b98b4360; }
  50% { box-shadow: 0 0 0 1px #eac263c7, 0 0 12px #eac26345; }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero-bg-img { transform: translate(var(--hero-x, 0px), var(--hero-y, 0px)) scale(1.06); transition: transform 360ms ease-out; }
  .company-photos figure:is(:hover, :focus-within), .service-card:hover { transform: translateY(-4px); }
  .about-inner-split:hover .about-image-side img { transform: scale(1.045); }
}

@media (max-width: 768px) {
  .hero { padding: 28px 0 34px; }
  .hero::after { background: linear-gradient(to bottom, #17191b70, #17191bd9 68%, var(--location-ink)); }
  .hero-bg-img { position: absolute; width: 100%; max-width: none; height: 100%; margin: 0; border-radius: 0; object-position: 47% top; }
  .hero-text h1 { font-size: clamp(23px, 5.5vw, 30px); }
  .hero-text .hero-subtitle { font-size: 14px; }
  .hero-text p { font-size: 14px; }
  .hero-form-card :is(h2, h3) { font-size: 18px; }
  .hero-form-card :is(input, select) { font-size: 16px; }
  .brand-section .company-slider-wrapper { margin-top: 18px; }
  .company-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .company-photos figcaption { font-size: 9px; padding: 2px 4px; }
  .about-text-side, .footer-col, .location-projects-heading, .location-projects-intro, .services-section h2 { text-align: center; }
  .about-text-side > * { margin-inline: auto; }
  .about-image-side { height: clamp(230px, 82vw, 360px); }
  .project-tabs-nav { justify-content: center; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .project-grid img { height: clamp(100px, 36vw, 220px); }
  .reviews-section { padding-inline: 0; }
  .reviews-header, .reviews-rating-row { justify-content: center; }
  .reviews-header-left { align-items: center; }
  .footer-partners { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .footer-partners > * { grid-column: span 2; }
  .footer-partners > :nth-child(4) { grid-column: 2 / span 2; }
  .footer-partners > :nth-child(5) { grid-column: 4 / span 2; }
  .footer-partners img { max-height: 28px; }
  .footer-partners .footer-bbb { border: 0; padding: 0; }
  .location-floating { right: auto; left: 50%; translate: -50% 0; }
  body:has(.location-floating:not([hidden])) { padding-bottom: 120px; }
  .cities-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .locations-grid-section .container { padding-inline: 0; }
}

.btn-review-google{background:#1766c1}.review-avatar{color:#242528!important}.about-label{color:#626262!important}.btn-see-more{color:#fff!important}.footer-logo-img{object-fit:contain}
