/* ============================================
   LOCATION PAGE ENHANCEMENTS — safe, additive only
   ============================================ */

@keyframes oc-fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes oc-fadeSlideRight {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes oc-gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@keyframes oc-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(237,111,35,0.4); }
  50%      { box-shadow: 0 0 0 10px rgba(237,111,35,0); }
}

/* =============================================
   SECTION BACKGROUNDS — alternating colors
   ============================================= */

/* portfolio-cls: keep original Elementor background */

.junk-removal-cls {
  background: #ED6F23 !important;
}

.pickup-cls {
  background: #F4F6F9 !important;
}

/* FAQ section */
.e-con.e-parent:has(.e-n-accordion) {
  background: #FFFAF6 !important;
}

.map-sec-cls {
  background: #F4F6F9 !important;
}

/* =============================================
   HERO entrance (banner-cls)
   ============================================= */
.banner-cls h1.elementor-heading-title {
  animation: oc-fadeSlideUp 0.7s cubic-bezier(0.22,1,0.36,1) both;
}
.banner-cls .elementor-widget-text-editor {
  animation: oc-fadeSlideUp 0.7s 0.12s cubic-bezier(0.22,1,0.36,1) both;
}
.banner-cls .elementor-widget-button {
  animation: oc-fadeSlideRight 0.6s 0.25s cubic-bezier(0.22,1,0.36,1) both;
}

/* =============================================
   PORTFOLIO / Google rating strip
   ============================================= */
/* portfolio cards: no hover effects — Elementor layout is too tight */
/* portfolio border handled by original styles */

/* =============================================
   JUNK REMOVAL — "Rated #1" review logos
   ============================================= */
.junk-removal-cls > .e-con-inner > .elementor-widget-heading .elementor-heading-title {
  color: #fff !important;
}
.junk-removal-cls > .e-con-inner > .elementor-widget-heading .elementor-heading-title span {
  color: #fff !important;
}
.junk-removal-cls .elementor-widget-image img {
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.4s ease;
}
.junk-removal-cls .elementor-widget-image:hover img {
  transform: scale(1.05);
}
.junk-removal-cls {
  border-bottom: none;
}
.junk-removal-cls > .e-con-inner > .elementor-widget-heading .elementor-heading-title {
  position: relative;
  display: inline-block;
}

/* =============================================
   SERVICE CARDS (Appliance, Furniture, Debris, Yard)
   ============================================= */
.e-con.e-parent:has(.oc-trust-badges) .e-grid > .e-grid.e-child {
  background: #fff !important;
  border: none !important;
  border-radius: 16px !important;
  padding: 28px 20px !important;
  box-shadow: 0 3px 15px rgba(0,0,0,0.06);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.35s ease;
  text-align: center;
}
.e-con.e-parent:has(.oc-trust-badges) .e-grid > .e-grid.e-child:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(237,111,35,0.12);
}
.e-con.e-parent:has(.oc-trust-badges) .e-grid > .e-grid.e-child .elementor-widget-image .elementor-widget-container {
  background: #FFF5ED;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px auto;
  transition: background 0.3s ease, transform 0.3s ease;
  overflow: hidden;
}
.e-con.e-parent:has(.oc-trust-badges) .e-grid > .e-grid.e-child .elementor-widget-image .elementor-widget-container img {
  width: auto !important;
  height: 32px !important;
  max-width: 40px !important;
  object-fit: contain;
}
.e-con.e-parent:has(.oc-trust-badges) .e-grid > .e-grid.e-child:hover .elementor-widget-image .elementor-widget-container {
  background: #ED6F23;
  transform: scale(1.08);
}
.e-con.e-parent:has(.oc-trust-badges) .e-grid > .e-grid.e-child .elementor-widget-image img {
  width: 30px !important;
  height: 30px !important;
  transition: filter 0.3s ease;
}
.e-con.e-parent:has(.oc-trust-badges) .e-grid > .e-grid.e-child:hover .elementor-widget-image img {
  filter: brightness(0) invert(1);
}
.e-con.e-parent:has(.oc-trust-badges) .e-grid > .e-grid.e-child .elementor-widget-text-editor p {
  font-size: 14px;
  line-height: 1.5;
  color: #444;
}
.e-con.e-parent:has(.oc-trust-badges) .e-grid > .e-grid.e-child .elementor-widget-text-editor a {
  color: #ED6F23;
  font-weight: 700;
  font-size: 15px;
}
.e-con.e-parent:has(.oc-trust-badges) .e-grid > .e-grid.e-child .elementor-widget-text-editor a:hover {
  color: #d45a10;
}
/* Service cards parent grid background */
.e-con.e-parent:has(.oc-trust-badges) .e-grid.e-child:has(> .e-grid) {
  gap: 16px !important;
}

@media (max-width: 767px) {
  .e-con.e-parent:has(.oc-trust-badges) .e-grid > .e-grid.e-child {
    padding: 20px 14px !important;
  }
  .e-con.e-parent:has(.oc-trust-badges) .e-grid > .e-grid.e-child:hover {
    transform: none;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
  }
}

/* =============================================
   PROCESS STEPS (pickup section)
   ============================================= */
.pickup-cls .process-item-cls {
  background: #fff !important;
  border-radius: 14px;
  padding: 24px 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border: 1px solid rgba(237,111,35,0.08);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.4s ease,
              border-color 0.3s ease;
}
.pickup-cls .process-item-cls:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(237,111,35,0.1);
  border-color: rgba(237,111,35,0.2);
}

/* =============================================
   FAQ accordion
   ============================================= */
.e-n-accordion-item {
  background: #fff !important;
  border-radius: 10px !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  margin-bottom: 8px;
}
.e-n-accordion-item:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  border-color: rgba(237,111,35,0.15) !important;
}
.e-n-accordion-item[open] {
  box-shadow: 0 4px 18px rgba(237,111,35,0.08);
  border-color: rgba(237,111,35,0.2) !important;
}
.e-n-accordion-item[open] > .e-n-accordion-item-title {
  border-left: 4px solid #ED6F23 !important;
  border-radius: 10px 10px 0 0 !important;
}
.e-n-accordion-item > .e-con .elementor-widget-text-editor {
  margin-top: 12px !important;
  margin-bottom: 0 !important;
}
.e-n-accordion-item > .e-con .elementor-widget-text-editor p:last-child {
  margin-bottom: 0 !important;
}
.e-con.e-parent:has(.e-n-accordion) > .e-con-inner > .elementor-widget-heading .elementor-heading-title {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
.e-con.e-parent:has(.e-n-accordion) > .e-con-inner > .elementor-widget-heading .elementor-heading-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: #ED6F23;
  border-radius: 2px;
}

/* =============================================
   BOTTOM CTA — animated gradient + pulse
   ============================================= */
.schedule-cls {
  background-size: 200% 200% !important;
  animation: oc-gradientShift 8s ease infinite;
}
.schedule-cls .elementor-button-link:first-of-type .elementor-button {
  animation: oc-pulse 2.5s ease-in-out infinite;
}

/* =============================================
   MAP SECTION
   ============================================= */
.map-sec-cls {
  padding-top: 30px !important;
  padding-bottom: 40px !important;
}
.map-sec-cls iframe {
  border-radius: 14px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.map-sec-cls .elementor-widget-image-box {
  margin-bottom: 16px !important;
}
.map-sec-cls .elementor-image-box-wrapper {
  background: #fff;
  padding: 22px 20px;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.map-sec-cls .elementor-image-box-wrapper:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(237,111,35,0.1);
  border-color: rgba(237,111,35,0.15);
}
.map-sec-cls .elementor-image-box-img {
  background: #FFF5ED;
  width: 52px !important;
  height: 52px !important;
  min-width: 52px;
  border-radius: 12px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin-right: 16px !important;
  transition: background 0.3s ease;
}
.map-sec-cls .elementor-image-box-wrapper:hover .elementor-image-box-img {
  background: #ED6F23;
}
.map-sec-cls .elementor-image-box-img img {
  width: 22px !important;
  height: 22px !important;
  transition: filter 0.3s ease;
}
.map-sec-cls .elementor-image-box-wrapper:hover .elementor-image-box-img img {
  filter: brightness(0) invert(1);
}
.map-sec-cls .elementor-image-box-title {
  font-size: 18px !important;
  font-weight: 700 !important;
  margin-bottom: 4px !important;
}
.map-sec-cls .elementor-image-box-description {
  font-size: 14px !important;
  color: #000 !important;
}
.map-sec-cls .elementor-image-box-title a {
  color: #1a1a1a !important;
  text-decoration: none;
}
.map-sec-cls .elementor-image-box-wrapper:hover .elementor-image-box-title a {
  color: #ED6F23 !important;
}

/* =============================================
   SECTION HEADING ACCENTS
   ============================================= */
.pickup-cls > .e-con-inner > .elementor-widget-heading .elementor-heading-title {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
.pickup-cls > .e-con-inner > .elementor-widget-heading .elementor-heading-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: #ED6F23;
  border-radius: 2px;
}

/* =============================================
   SECTION DIVIDERS — subtle top borders
   ============================================= */
.junk-removal-cls,
.pickup-cls,
.map-sec-cls {
  border-top: 1px solid rgba(0,0,0,0.04);
}

/* =============================================
   SCROLL REVEAL (JS-driven, visible by default)
   ============================================= */
.oc-reveal {
  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1),
              transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.oc-reveal.oc-hidden {
  opacity: 0;
  transform: translateY(24px);
}
.oc-reveal-left {
  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1),
              transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.oc-reveal-left.oc-hidden {
  opacity: 0;
  transform: translateX(-24px);
}
.oc-reveal-scale {
  transition: opacity 0.5s cubic-bezier(0.22,1,0.36,1),
              transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.oc-reveal-scale.oc-hidden {
  opacity: 0;
  transform: scale(0.93);
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
[data-elementor-type="wp-page"] h1.elementor-heading-title {
  letter-spacing: -0.02em;
}
[data-elementor-type="wp-page"] h2.elementor-heading-title {
  letter-spacing: -0.01em;
}

/* =============================================
   IMAGE ROUNDING
   ============================================= */
.pickup-cls .elementor-image-box-img img,
.pickup-cls .elementor-widget-image img {
  border-radius: 10px;
}

/* =============================================
   REMOVE GAP BEFORE FOOTER
   ============================================= */
.elementor-element-e188848 {
  display: none !important;
}
.map-sec-cls {
  margin-bottom: 0 !important;
}

/* =============================================
   LINKS
   ============================================= */
[data-elementor-type="wp-page"] a {
  transition: color 0.25s ease;
}

/* =============================================
   MOBILE — disable hover-dependent effects
   ============================================= */
@media (max-width: 767px) {
  /* portfolio: no hover effects needed */
  .junk-removal-cls .e-con.e-child {
    padding: 14px;
  }
  .junk-removal-cls .e-con.e-child:hover {
    transform: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  }
  .pickup-cls .process-item-cls {
    padding: 18px 14px;
  }
  .pickup-cls .process-item-cls:hover {
    transform: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  }
  .schedule-cls .elementor-button-link:first-of-type .elementor-button {
    animation: none;
  }
  .map-sec-cls .elementor-image-box-wrapper:hover {
    padding-left: 12px;
  }
}
