/* ==========================================================================
   Home Solutions Durgapur - Homepage Stylesheet
   Modern, Premium, Trustworthy Home Services & Interior Solutions
   ========================================================================== */

:root {
  --primary-navy: #080F5C;
  --secondary-navy: #172B7A;
  --primary-navy-dark: #050A40;
  --primary-navy-light: #1F38A8;
  
  --accent-gold: #F59E0B;
  --accent-green: #25D366;
  
  --page-bg: #F6F8FC;
  --card-bg: #FFFFFF;
  --white: #FFFFFF;
  
  --body-text: #53627A;
  --text-dark: #080F5C;
  --text-muted: #53627A;
  --text-light: #8492A6;
  
  --border-subtle: rgba(8, 15, 92, 0.08);
  --border-card: rgba(8, 15, 92, 0.06);
  --border-light: #E2E8F0;
  
  --shadow-subtle: 0 4px 16px rgba(8, 15, 92, 0.04);
  --shadow-card: 0 10px 30px rgba(8, 15, 92, 0.06);
  --shadow-hover: 0 18px 40px rgba(8, 15, 92, 0.12);
  --shadow-btn: 0 4px 14px rgba(8, 15, 92, 0.20);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 18px;
  
  --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  --header-height-desktop: 90px;
  --header-height-mobile: 78px;
}

.home-page {
  width: 100%;
  overflow-x: hidden;
  background-color: var(--page-bg);
}

/* ==========================================================================
   1. Hero Section (Full Viewport Cinematic Slideshow)
   ========================================================================== */

.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--primary-navy-dark);
  padding-top: var(--header-height-desktop, 90px);
  padding-bottom: 60px;
  margin: 0;
}

/* Background Carousel Layer */
.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  height: 100%;
  width: 100%;
}

.hero-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Cinematic Dark Translucent Gradient Overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(8, 15, 92, 0.74) 0%,
    rgba(8, 15, 92, 0.48) 50%,
    rgba(8, 15, 92, 0.84) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-section .home-container {
  position: relative;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-title {
  color: var(--white);
  font-family: var(--font-main);
  font-size: 3.25rem; /* ~52px */
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.hero-description {
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-main);
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 2.25rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  max-width: 720px;
}

.hero-btn-group {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* Request a Callback Primary Button */
.btn-hero-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: var(--white);
  color: var(--primary-navy);
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.88rem 1.95rem;
  border-radius: var(--radius-md, 12px);
  border: 1px solid transparent;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
  transition: all 0.28s ease;
}

.btn-hero-action i {
  font-size: 0.95rem;
  transition: transform 0.22s ease;
}

.btn-hero-action:hover {
  background-color: #f8fafc;
  color: var(--secondary-navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.btn-hero-action:hover i {
  transform: translateX(4px);
}

/* Explore Services Secondary Button */
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.88rem 1.85rem;
  border-radius: var(--radius-md, 12px);
  text-decoration: none;
  transition: all 0.28s ease;
}

.btn-hero-secondary:hover {
  background-color: var(--white);
  color: var(--primary-navy);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   2. About Section ("Who Are We?")
   ========================================================================== */

.about-section {
  background-color: var(--white);
  padding: 95px 0 105px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.about-image-wrapper {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background-color: #e2e8f0;
}

.about-image {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg, 16px);
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-wrapper:hover .about-image {
  transform: scale(1.02);
}

.about-content {
  padding-left: 1.85rem;
}

.about-title {
  color: var(--primary-navy);
  font-family: var(--font-main);
  font-size: 2.35rem; /* ~38px */
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  letter-spacing: -0.4px;
}

.about-description {
  color: var(--body-text);
  font-family: var(--font-main);
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.72;
  margin-bottom: 2.25rem;
}

/* Know More About Us Button */
.btn-about-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: var(--primary-navy);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 0.98rem;
  font-weight: 600;
  padding: 0.85rem 1.95rem;
  border-radius: var(--radius-md, 12px);
  border: 1px solid transparent;
  min-width: 220px;
  text-decoration: none;
  box-shadow: var(--shadow-btn);
  transition: all 0.28s ease;
}

.btn-about-action i {
  font-size: 0.92rem;
  transition: transform 0.22s ease;
}

.btn-about-action:hover {
  background-color: var(--secondary-navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-about-action:hover i {
  transform: translateX(4px);
}

/* ==========================================================================
   3. Services Section ("How can we help you?")
   ========================================================================== */

.services-section {
  background-color: var(--page-bg);
  padding: 95px 0 105px;
}

.services-header {
  margin-bottom: 3.5rem;
}

.services-main-title {
  color: var(--primary-navy);
  font-family: var(--font-main);
  font-size: 2.45rem; /* ~39px */
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.85rem;
  letter-spacing: -0.4px;
}

.services-subtitle {
  color: var(--body-text);
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.65;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Service Card Item */
.service-item-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg, 16px);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 22px;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.32s ease, border-color 0.32s ease;
}

.service-item-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(8, 15, 92, 0.12);
}

.service-card-image-wrap {
  width: 100%;
  height: 250px;
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  margin-bottom: 1.4rem;
  background-color: #e2e8f0;
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-item-card:hover .service-card-img {
  transform: scale(1.03);
}

.service-card-title {
  color: var(--primary-navy);
  font-family: var(--font-main);
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.service-card-text {
  color: var(--body-text);
  font-family: var(--font-main);
  font-size: 0.96rem;
  font-weight: 400;
  line-height: 1.68;
  margin-bottom: 0;
  flex-grow: 1;
}

/* View All Services Button */
.btn-services-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: var(--primary-navy);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 0.98rem;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-md, 12px);
  border: 1px solid transparent;
  min-width: 210px;
  text-decoration: none;
  box-shadow: var(--shadow-btn);
  transition: all 0.28s ease;
}

.btn-services-action i {
  font-size: 0.92rem;
  transition: transform 0.22s ease;
}

.btn-services-action:hover {
  background-color: var(--secondary-navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-services-action:hover i {
  transform: translateX(4px);
}

/* ==========================================================================
   4. Emergency Section ("Have an Emergency?")
   ========================================================================== */

.emergency-section {
  background-color: var(--page-bg);
  padding: 20px 0 40px;
  width: 100%;
}

.emergency-wrapper {
  overflow: hidden;
  background-color: var(--primary-navy);
  border-radius: var(--radius-xl, 18px);
  box-shadow: var(--shadow-card);
}

.emergency-left-pane {
  background-color: var(--primary-navy);
  padding: 4.5rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.emergency-title {
  color: var(--white);
  font-family: var(--font-main);
  font-size: 2.35rem; /* ~38px */
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.emergency-text {
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-main);
  font-size: 1.04rem;
  font-weight: 400;
  line-height: 1.68;
  margin-bottom: 2.25rem;
  max-width: 540px;
}

/* Emergency Phone Button */
.btn-emergency-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: var(--white);
  color: var(--primary-navy);
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.85rem 1.95rem;
  border-radius: var(--radius-md, 12px);
  text-decoration: none;
  width: fit-content;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transition: all 0.25s ease;
}

.btn-emergency-phone i {
  font-size: 1.05rem;
  color: var(--primary-navy);
}

.btn-emergency-phone:hover {
  background-color: #f8fafc;
  color: var(--secondary-navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.26);
}

.emergency-right-pane {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 380px;
  background-color: #e2e8f0;
}

.emergency-image {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   5. Our Work Section (Continuous Alternating Vertical Masonry Gallery)
   ========================================================================== */

.work-section {
  background-color: var(--page-bg);
  padding: 60px 0 100px;
}

.work-main-title {
  color: var(--primary-navy);
  font-family: var(--font-main);
  font-size: 2.45rem; /* ~39px */
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.85rem;
  letter-spacing: -0.3px;
}

.work-subtitle {
  color: var(--body-text);
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto 3rem auto;
}

/* Gallery Viewport Container */
.masonry-gallery {
  display: flex;
  gap: 1.25rem;
  width: 100%;
  height: clamp(520px, 68vh, 680px);
  overflow: hidden;
  position: relative;
  touch-action: pan-y;
}

/* Vertical Column Track */
.masonry-column {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
}

/* Visual Feedback on Desktop Hover */
@media (hover: hover) and (pointer: fine) {
  .masonry-column {
    cursor: ns-resize;
  }
}

.masonry-column-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.masonry-item {
  display: block;
  width: 100%;
  flex-shrink: 0;
  border-radius: var(--radius-sm, 8px);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.masonry-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.masonry-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: var(--radius-sm, 8px);
}

/* Mobile Work Gallery Base (Hidden on Desktop/Tablet) */
.mobile-work-gallery {
  display: none;
  width: 100%;
}

/* ==========================================================================
   Our Work Lightbox Overlay
   ========================================================================== */

.our-work-lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
  padding: 1.5rem;
}

.our-work-lightbox.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.our-work-lightbox .lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white, #ffffff);
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100000;
  transition: all 0.22s ease;
  outline: none;
}

.our-work-lightbox .lightbox-close:hover,
.our-work-lightbox .lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.08);
  color: #ffffff;
}

.our-work-lightbox .lightbox-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 90vh;
}

.our-work-lightbox .lightbox-image {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md, 12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  display: block;
}

.our-work-lightbox.active .lightbox-image {
  transform: scale(1);
  opacity: 1;
}

@media (max-width: 767.98px) {
  .our-work-lightbox {
    padding: 1rem;
  }

  .our-work-lightbox .lightbox-close {
    top: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }

  .our-work-lightbox .lightbox-content,
  .our-work-lightbox .lightbox-image {
    max-width: 92vw;
    max-height: 85vh;
  }
}

/* Placeholder box styles with varying aspect ratios for masonry effect */
.masonry-placeholder {
  width: 100%;
  background-color: #e2e8f0;
  border-radius: var(--radius-sm, 8px);
  display: block;
}

.aspect-4-3 {
  aspect-ratio: 4 / 3;
}

.aspect-16-9 {
  aspect-ratio: 16 / 9;
}

.aspect-1-1 {
  aspect-ratio: 1 / 1;
}

.aspect-3-4 {
  aspect-ratio: 3 / 4;
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .masonry-column-inner {
    animation: none !important;
  }
}

/* ==========================================================================
   6. Final CTA Section ("We're here to help! Call Us Today!")
   ========================================================================== */

.final-cta-section {
  background-color: var(--page-bg);
  padding: 20px 0 90px;
}

.final-cta-wrapper {
  overflow: hidden;
  background-color: var(--primary-navy);
  border-radius: var(--radius-xl, 18px);
  box-shadow: var(--shadow-card);
}

.final-cta-left-pane {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 380px;
  background-color: #e2e8f0;
}

.final-cta-image {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  display: block;
}

.final-cta-image:not([src]),
.final-cta-image[src=""] {
  background-color: #e2e8f0;
  min-height: 380px;
}

.final-cta-right-pane {
  background-color: var(--primary-navy);
  padding: 4.5rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
}

.final-cta-title {
  color: var(--white);
  font-family: var(--font-main);
  font-size: 2.35rem; /* ~38px */
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 2rem;
  letter-spacing: -0.3px;
}

/* Phone Button */
.btn-final-cta-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: var(--white);
  color: var(--primary-navy);
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.88rem 1.95rem;
  border-radius: var(--radius-md, 12px);
  border: 1px solid transparent;
  text-decoration: none;
  width: fit-content;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.20);
  transition: all 0.25s ease;
}

.btn-final-cta-phone i {
  font-size: 1.05rem;
  color: var(--primary-navy);
}

.btn-final-cta-phone:hover {
  background-color: #f8fafc;
  color: var(--secondary-navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.26);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 1199.98px) {
  .masonry-gallery {
    gap: 1rem;
    height: clamp(480px, 65vh, 620px);
  }
  
  .masonry-column-inner {
    gap: 1rem;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: calc(var(--header-height-mobile, 78px) + 2rem);
    padding-bottom: 3.5rem;
  }

  .hero-title {
    font-size: 2.35rem;
  }

  .about-section {
    padding: 65px 0;
  }

  .about-content {
    padding-left: 0;
    margin-top: 2rem;
  }

  .about-title {
    font-size: 1.95rem;
  }

  .about-image {
    max-height: 400px;
  }

  .services-section {
    padding: 65px 0 75px;
  }

  .services-main-title {
    font-size: 2.1rem;
  }

  .services-header {
    margin-bottom: 2.75rem;
  }

  .emergency-section {
    padding: 10px 0 30px;
  }

  .emergency-left-pane {
    padding: 3rem 2.25rem;
  }

  .emergency-title {
    font-size: 1.95rem;
  }

  .work-section {
    padding: 40px 0 75px;
  }

  .work-main-title {
    font-size: 2.1rem;
    margin-bottom: 0.5rem;
  }

  .masonry-gallery {
    gap: 1rem;
    height: clamp(450px, 60vh, 560px);
  }

  .masonry-column-inner {
    gap: 1rem;
  }

  .masonry-column.column-4 {
    display: none;
  }

  .final-cta-section {
    padding: 20px 0 75px;
  }

  .final-cta-right-pane {
    padding: 3rem 2.25rem;
  }

  .final-cta-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .final-cta-left-pane,
  .final-cta-image {
    min-height: 320px;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: calc(var(--header-height-mobile, 78px) + 1.25rem);
    padding-bottom: 2.75rem;
  }

  .hero-title {
    font-size: 1.95rem;
    line-height: 1.25;
  }

  .hero-description {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-hero-action,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }

  .about-title {
    font-size: 1.65rem;
    line-height: 1.3;
  }

  .about-description {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .btn-about-action {
    width: 100%;
    justify-content: center;
  }

  .services-main-title {
    font-size: 1.85rem;
  }

  .services-subtitle {
    font-size: 0.98rem;
  }

  .btn-services-action {
    width: 100%;
    justify-content: center;
  }

  .emergency-title {
    font-size: 1.7rem;
  }

  .emergency-text {
    font-size: 0.98rem;
  }

  .btn-emergency-phone {
    width: 100%;
    justify-content: center;
  }

  .emergency-right-pane,
  .emergency-image {
    min-height: 260px;
  }

  /* Single Column Mobile Work Gallery */
  .masonry-gallery {
    display: none !important;
  }

  .mobile-work-gallery {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .mobile-gallery-list {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    width: 100%;
  }

  .mobile-gallery-item {
    display: block;
    width: 100%;
    border-radius: var(--radius-sm, 8px);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .mobile-gallery-item:active {
    transform: scale(0.985);
  }

  .mobile-gallery-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: var(--radius-sm, 8px);
  }

  .mobile-gallery-action {
    display: flex;
    justify-content: center;
    margin-top: 1.75rem;
  }

  .btn-load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--primary-navy);
    color: var(--white);
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.75rem 1.85rem;
    border-radius: var(--radius-md, 12px);
    border: 1px solid transparent;
    box-shadow: var(--shadow-btn);
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    touch-action: manipulation;
  }

  .btn-load-more:hover,
  .btn-load-more:focus-visible {
    background-color: var(--secondary-navy);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
  }

  .btn-load-more:active {
    transform: translateY(0);
  }

  .btn-load-more i {
    font-size: 0.8rem;
  }

  .work-main-title {
    font-size: 1.85rem;
  }

  .work-subtitle {
    font-size: 0.98rem;
    margin-bottom: 2rem;
  }

  .final-cta-right-pane {
    padding: 2.75rem 1.75rem;
  }

  .final-cta-title {
    font-size: 1.85rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
  }

  .btn-final-cta-phone {
    width: 100%;
    justify-content: center;
  }

  .final-cta-left-pane,
  .final-cta-image {
    min-height: 260px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .about-title {
    font-size: 1.45rem;
  }

  .services-main-title {
    font-size: 1.55rem;
  }

  .emergency-title {
    font-size: 1.45rem;
  }

  .work-main-title {
    font-size: 1.55rem;
  }

  .final-cta-title {
    font-size: 1.55rem;
  }

  .final-cta-right-pane {
    padding: 2.25rem 1.35rem;
  }

  .emergency-left-pane {
    padding: 2.25rem 1.35rem;
  }
}
