/* Layout guarantees for content rebuilt after the original Tailwind bundle. */
img[alt="Guincho Araquari"] {
  content: url("/images/logo-guincho-araquari-final.webp");
  width: 200px !important;
  height: 63px !important;
  max-width: 100% !important;
  object-fit: contain;
}

footer img[alt="Guincho Araquari"] {
  width: 260px !important;
  height: 82px !important;
}

.hero-layout,
.facts-layout,
.home-services-grid,
.paired-grid,
.reviews-layout,
.review-card-grid,
.cta-layout {
  display: grid;
}

.hero-media {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}

.hero-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-frame {
  min-height: 560px;
  overflow: hidden;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 560px;
  border: 0;
}

/* CTA shared by the home, service and local landing pages. */
.content-card:has(> .cta-layout) {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 48%, #f97316 100%) !important;
  color: #020617 !important;
  box-shadow: 0 22px 55px rgba(245, 158, 11, .16);
}

.content-card:has(> .cta-layout) .section-title,
.content-card:has(> .cta-layout) p {
  color: #020617 !important;
}

.cta-layout > div:last-child a {
  display: inline-flex;
  min-width: 168px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0 24px;
  font-size: .875rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
}

.cta-layout > div:last-child a:first-child {
  border: 1px solid #020617;
  background: #020617 !important;
  color: #fff !important;
}

.cta-layout > div:last-child a:last-child {
  border: 1px solid rgba(2, 6, 23, .28) !important;
  background: rgba(255, 255, 255, .12);
  color: #020617 !important;
}

.cta-layout > div:last-child a:hover {
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  img[alt="Guincho Araquari"] {
    width: 170px !important;
    height: 54px !important;
  }

  footer img[alt="Guincho Araquari"] {
    width: 230px !important;
    height: 73px !important;
  }
  .hero-media { min-height: 260px; }
  .map-frame, .map-frame iframe { min-height: 420px; }
}

@media (min-width: 768px) {
  .facts-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .hero-layout { grid-template-columns: 1.02fr .98fr; align-items: center; }
  .paired-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews-layout { grid-template-columns: .7fr 1.3fr; align-items: center; }
  .cta-layout { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
}

@media (min-width: 1280px) {
  .home-services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
