/* ===================================================================
   RKPINFRA - Responsive Stylesheet (responsive.css)
   100% Responsive for All Devices (Mobile, Tablet, Laptop, Desktop)
   Breakpoints: 1200px, 1024px, 768px, 640px, 480px, 375px, 320px
   Includes: Fixed Mobile Footer Navigation Menu (Bottom App Bar)
   =================================================================== */

/* ===================================================================
   1. GLOBAL RESPONSIVE RESET & MOBILE FOOTER APP BAR
   =================================================================== */

:root {
  --mobile-footer-height: 60px;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

img, svg, video, canvas, audio, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

/* Fixed Mobile Footer Menu (Bottom Navigation Bar) */
.mobile-fixed-footer {
  display: none; /* Hidden by default on desktop/large screens */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 990;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
  padding: 6px 12px calc(6px + env(safe-area-inset-bottom, 0px));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-footer-menu-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  justify-items: center;
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}

.mobile-footer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 6px;
  gap: 3px;
  transition: all 0.2s ease;
  border-radius: 10px;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  width: 100%;
  text-align: center;
}

.mobile-footer-item i {
  font-size: 1.18rem;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}

.mobile-footer-item span {
  line-height: 1.1;
  white-space: nowrap;
}

.mobile-footer-item:active {
  transform: scale(0.94);
}

.mobile-footer-item.active {
  color: var(--charcoal-heading, #0f172a);
}

.mobile-footer-item.active i {
  color: var(--teal, #febb00);
  transform: translateY(-2px);
}

.mobile-footer-item.active span {
  color: var(--charcoal-heading, #0f172a);
  font-weight: 700;
}

/* Center Call Button in Fixed Mobile Footer */
.mobile-footer-call-btn {
  position: relative;
  top: -10px;
  color: var(--charcoal-heading, #0f172a);
}

.mobile-footer-call-btn .call-btn-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #febb00 0%, #e5a800 100%);
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(254, 187, 0, 0.45);
  border: 3px solid #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mobile-footer-call-btn .call-btn-circle i {
  font-size: 1.15rem;
  color: #0f172a !important;
  transform: none !important;
}

.mobile-footer-call-btn:active .call-btn-circle {
  transform: scale(0.92);
}

.mobile-footer-call-btn span {
  font-weight: 700;
  color: #0f172a;
  margin-top: 1px;
}

/* Mobile Drawer Header with Close Button */
.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.mobile-drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-drawer-close:hover,
.mobile-drawer-close:active {
  background: var(--teal, #febb00);
  color: #000000;
}

/* Contact Form 2-Column Responsive Row */
.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* Legal Pages Responsive Card */
.legal-card {
  background: var(--bg-white, #ffffff);
  padding: 3rem 2.5rem;
  border-radius: var(--radius-xl, 26px);
  border: 1px solid var(--border-color, #e2e8f0);
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.05));
  line-height: 1.8;
}

/* Fast Instant Contact Card */
.contact-fast-card {
  background: var(--bg-dark, #070c18);
  color: #ffffff;
  padding: 1.75rem;
  border-radius: var(--radius-lg, 20px);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}


/* ===================================================================
   2. DESKTOP & LARGE SCREENS (<= 1200px)
   =================================================================== */
@media (max-width: 1200px) {
  .hero-grid {
    gap: 4rem !important;
  }

  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2rem;
  }

  .services-ref5-grid {
    gap: 1.35rem !important;
  }

  .service-split-container {
    gap: 3rem !important;
  }
}


/* ===================================================================
   3. TABLETS & SMALL DESKTOPS (<= 1024px)
   =================================================================== */
@media (max-width: 1024px) {
  .nav-menu {
    display: none; /* Hide default desktop nav */
  }

  .mobile-nav-toggle {
    display: flex;
  }

  /* Hero Section & Slider 1024px */
  .hero-ref1,
  .hero-slide {
    padding-top: calc(var(--header-height, 86px) + 2rem) !important;
    padding-bottom: 4.5rem !important;
  }

  .hero-slider-section,
  .hero-slider-track {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 650px;
  }

  .hero-slider-arrows {
    padding: 0 1rem;
  }

  .hero-arrow-btn {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
  }

  .hero-subtext {
    max-width: 100% !important;
  }

  .hero-glass-card {
    max-width: 100% !important;
  }

  .hero-slide .hero-visual-col {
    justify-content: flex-start;
  }

  /* Services Grid / Slider 1024px */
  .services-ref5-grid {
    gap: 1.5rem !important;
  }
  .services-ref5-grid .modern-prop-card {
    flex: 0 0 calc((100% - 1.5rem) / 2) !important;
    min-width: 300px !important;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 1.5rem;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-buttons {
    justify-content: center;
  }

  .intro-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  .contact-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  .feat-props-grid {
    gap: 1.5rem;
  }
  .feat-props-grid .modern-prop-card {
    flex: 0 0 calc((100% - 1.5rem) / 2) !important;
    min-width: 290px;
  }

  #projectCardsGrid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }

  .advantages-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }

  .faq-ref4-grid {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
  }

  /* Spotlight Card 1024px */
  .spotlight-card {
    grid-template-columns: 1fr !important;
  }
  .spotlight-media {
    min-height: 380px !important;
  }
  .spotlight-content {
    padding: 3rem 2.25rem !important;
  }
  .spotlight-title {
    font-size: 1.85rem !important;
  }

  /* About Ref2 Grid 1024px */
  .about-ref2-grid {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
  }
  .about-collage-tall {
    height: 340px !important;
  }
  .about-collage-small {
    height: 160px !important;
  }

  /* About Showcase Section 1024px */
  .about-showcase-grid {
    grid-template-columns: 1fr !important;
    gap: 3.5rem !important;
  }
  .about-showcase-content {
    max-width: 100% !important;
  }
  .about-showcase-visual-wrap {
    padding: 1.5rem 0 !important;
  }
  .about-showcase-img {
    height: 400px !important;
  }

  /* Principles Ref Layout 1024px */
  .principles-ref-layout {
    grid-template-columns: 1fr !important;
    gap: 3.5rem !important;
  }
  .principles-ref-left {
    max-width: 100% !important;
  }
  .principles-cards-backdrop {
    left: 0 !important;
  }

  /* Services Page Split Layout 1024px */
  .service-split-container {
    grid-template-columns: 1fr !important;
    gap: 2.75rem !important;
  }
  .service-split-container .service-split-visual {
    order: 1;
  }
  .service-split-container .service-split-content {
    order: 2;
  }
  .service-visual-frame img {
    height: 380px !important;
  }
  .services-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }
  .workflow-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }
  .services-trust-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }
  .services-cta-box {
    grid-template-columns: 1fr !important;
    padding: 3rem 2.25rem !important;
    text-align: center !important;
  }
  .services-cta-hotline {
    justify-content: center !important;
  }

  /* Property Details 1024px */
  .prop-details-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  /* Contact Page 1024px */
  .contact-cards-strip {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
  }
  .contact-main-grid {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
  }
}


/* ===================================================================
   4. TABLETS & LARGE MOBILE PHONES (<= 768px)
   ACTIVATES FIXED FOOTER MENU & MOBILE APP BAR
   =================================================================== */
@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

  /* SHOW FIXED MOBILE FOOTER MENU */
  .mobile-fixed-footer {
    display: block !important;
  }

  /* Pad bottom of page so content is not obscured by fixed menu */
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* Elevate floating buttons above fixed bottom bar */
  .whatsapp-float {
    position: fixed !important;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
    right: 16px !important;
    width: 52px !important;
    height: 52px !important;
    font-size: 1.75rem !important;
    background-color: #25d366 !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45) !important;
    z-index: 998 !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  }
  .whatsapp-float:active {
    transform: scale(0.92) !important;
  }

  .back-to-top {
    position: fixed !important;
    bottom: calc(134px + env(safe-area-inset-bottom, 0px)) !important;
    right: 18px !important;
    width: 42px !important;
    height: 42px !important;
    z-index: 997 !important;
  }

  /* Prevent iOS Safari auto-zoom on form inputs */
  input, select, textarea {
    font-size: 16px !important;
  }

  /* Header adjustments 768px */
  .top-header {
    display: none;
  }
  .header-phone-info {
    display: none !important;
  }
  .header-phone-badge {
    padding: 0.4rem 0.5rem !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    justify-content: center !important;
  }
  .brand-logo-img {
    height: 44px !important;
    max-width: 180px !important;
  }

  /* General section paddings */
  .section-py {
    padding-top: 3.75rem !important;
    padding-bottom: 3.75rem !important;
  }
  .section-py-sm {
    padding-top: 2.25rem !important;
    padding-bottom: 2.25rem !important;
  }

  /* Hero Section & Slider 768px */
  .hero-slider-section,
  .hero-slider-track {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 580px;
  }
  .hero-ref1,
  .hero-slide {
    padding-top: calc(var(--header-height, 72px) + 1.5rem) !important;
    padding-bottom: 5.5rem !important;
  }
  .hero-slider-arrows {
    display: none !important; /* Hide arrow buttons on mobile for clean touch swipe navigation */
  }
  .hero-slider-dots {
    bottom: 1.5rem !important;
    z-index: 35 !important;
  }
  /* Mobile View: Hide rating section in hero banner */
  .hero-trust-badge {
    display: none !important;
  }
  .hero-title {
    font-size: 2.1rem !important;
    line-height: 1.3 !important;
  }
  .hero-cta-group {
    flex-wrap: wrap;
    gap: 0.85rem;
  }

  /* Remove awkward ornament SVGs in mobile headlines */
  .title-ornament-svg {
    display: none !important;
  }

  /* Mobile Typography Optimizations (<= 768px) */
  h1 { font-size: clamp(1.85rem, 5.2vw, 2.25rem) !important; line-height: 1.25 !important; }
  h2 { font-size: clamp(1.5rem, 4.4vw, 1.85rem) !important; line-height: 1.28 !important; }
  h3 { font-size: clamp(1.18rem, 3.4vw, 1.35rem) !important; line-height: 1.32 !important; }
  h4 { font-size: 1.05rem !important; }
  p { font-size: 0.94rem !important; line-height: 1.65 !important; }
  .section-title, .section-header-title { font-size: clamp(1.55rem, 4.5vw, 1.95rem) !important; }
  .section-subtitle { font-size: 0.92rem !important; }
  .btn { font-size: 0.92rem !important; }

  /* Services Mobile Slider View (Our Core Expertise & Services) */
  .services-ref5-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 1.15rem !important;
    padding: 0.5rem 1rem 1.35rem !important;
    margin-left: -1rem !important;
    margin-right: -1rem !important;
    scrollbar-width: thin !important;
    scrollbar-color: var(--teal) rgba(0, 0, 0, 0.08) !important;
  }
  .services-ref5-grid::-webkit-scrollbar {
    height: 4px !important;
    display: block !important;
  }
  .services-ref5-grid::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.06) !important;
    border-radius: 99px !important;
    margin: 0 1.25rem !important;
  }
  .services-ref5-grid::-webkit-scrollbar-thumb {
    background: var(--teal) !important;
    border-radius: 99px !important;
  }
  .services-ref5-grid .service-clean-card {
    flex: 0 0 84% !important;
    max-width: 84% !important;
    min-width: 265px !important;
    scroll-snap-align: center !important;
    box-sizing: border-box !important;
    padding: 2.25rem 1.75rem !important;
  }
  .services-ref5-grid .modern-prop-card,
  .core-expertise-card {
    flex: 0 0 84% !important;
    max-width: 84% !important;
    min-width: 265px !important;
    scroll-snap-align: center !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  .core-expertise-body {
    padding: 1.75rem 1.35rem 2rem !important;
  }

  /* Services Sticky Filter Bar - Fix Header Collision */
  .services-quicknav-sticky {
    top: var(--header-height, 72px) !important;
    z-index: 99 !important;
    padding: 0.65rem 0 !important;
  }
  .services-quicknav-btn {
    padding: 0.5rem 0.95rem !important;
    font-size: 0.82rem !important;
  }

  /* Services Split Rows 768px */
  .service-split-row {
    padding: 3.75rem 0 !important;
  }
  .service-feature-grid {
    grid-template-columns: 1fr !important;
  }
  .service-visual-frame img {
    height: 300px !important;
  }
  .service-float-metric-card {
    padding: 0.85rem 1rem !important;
    bottom: 12px !important;
    left: 12px !important;
    right: 12px !important;
    gap: 0.75rem !important;
  }
  .metric-icon-wrap {
    width: 38px !important;
    height: 38px !important;
    font-size: 1.05rem !important;
  }
  .metric-text strong {
    font-size: 0.95rem !important;
  }
  .metric-text span {
    font-size: 0.75rem !important;
  }
  .services-stats-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .workflow-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .services-trust-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  /* Featured Properties Slider 768px */
  .feat-props-header {
    text-align: left;
    margin-bottom: 2rem;
  }
  .feat-props-title-wrap {
    align-items: flex-start;
  }
  .feat-props-arrows {
    position: static;
    transform: none;
    margin-top: 1.25rem;
  }
  .feat-props-grid {
    gap: 1.25rem;
  }
  .feat-props-grid .modern-prop-card {
    flex: 0 0 100% !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  /* Projects Grid 768px */
  #projectCardsGrid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .property-filter-tabs {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 0.5rem;
    justify-content: flex-start !important;
    -webkit-overflow-scrolling: touch;
  }
  .filter-btn {
    flex-shrink: 0;
  }

  /* Advantages Mobile Slider View (Discover the Advantages & Exclusive Benefits) */
  .advantages-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 1.15rem !important;
    padding: 0.5rem 1rem 1.35rem !important;
    margin-left: -1rem !important;
    margin-right: -1rem !important;
    scrollbar-width: thin !important;
    scrollbar-color: var(--teal) rgba(255, 255, 255, 0.12) !important;
  }
  .advantages-grid::-webkit-scrollbar {
    height: 4px !important;
    display: block !important;
  }
  .advantages-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 99px !important;
    margin: 0 1.25rem !important;
  }
  .advantages-grid::-webkit-scrollbar-thumb {
    background: var(--teal) !important;
    border-radius: 99px !important;
  }
  .advantages-grid .advantage-item {
    flex: 0 0 84% !important;
    max-width: 84% !important;
    min-width: 265px !important;
    scroll-snap-align: center !important;
    box-sizing: border-box !important;
  }

  /* FAQ 768px */
  .faq-ref4-grid {
    grid-template-columns: 1fr !important;
    gap: 2.25rem !important;
  }

  /* About Ref2 Grid 768px */
  .about-ref2-collage {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .about-collage-tall {
    height: 280px !important;
  }
  .about-collage-small {
    height: 180px !important;
  }

  /* About Showcase Section 768px */
  .about-showcase-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
  .about-showcase-img {
    height: 320px !important;
  }
  .about-float-badge-top {
    right: 0 !important;
    top: 15px !important;
    padding: 0.75rem 1rem !important;
  }
  .about-float-badge-bottom {
    left: 0 !important;
    bottom: -15px !important;
    padding: 0.85rem 1rem !important;
  }
  .about-timeline-item {
    gap: 1.15rem !important;
  }
  .about-timeline-year {
    width: 55px !important;
    font-size: 1.05rem !important;
  }

  /* Principles Ref Layout 768px */
  .principles-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .principles-mini-card {
    padding: 1.75rem 1.5rem !important;
  }
  .principles-ref-section {
    padding: 4rem 0 !important;
  }

  /* Spotlight Card 768px */
  .spotlight-header {
    margin-bottom: 2rem !important;
    text-align: left !important;
  }
  .spotlight-heading-divider {
    justify-content: flex-start !important;
  }
  .spotlight-main-heading {
    font-size: 1.75rem !important;
  }
  .spotlight-media {
    min-height: 260px !important;
  }
  .spotlight-content {
    padding: 2rem 1.5rem !important;
  }
  .spotlight-title {
    font-size: 1.55rem !important;
  }
  .spotlight-title-accent {
    font-size: 1.2rem !important;
  }
  .spotlight-features {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
  .spotlight-stats-row {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }
  .spotlight-actions {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .spotlight-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .collage-tall {
    height: 300px !important;
  }
  .collage-small-1, .collage-small-2 {
    height: 142px !important;
  }
  .faq-exp-badge {
    width: 82px !important;
    height: 82px !important;
  }
  .faq-exp-badge .num {
    font-size: 1.15rem !important;
  }
  .faq-exp-badge .lbl {
    font-size: 0.55rem !important;
  }

  /* Property Details Page Responsive 768px */
  .prop-details-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .prop-detail-header-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1.25rem !important;
  }
  .prop-detail-price-box {
    align-items: flex-start !important;
    width: 100%;
  }
  .prop-features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.85rem !important;
  }
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.85rem !important;
  }
  .landmarks-grid {
    grid-template-columns: 1fr !important;
  }
  .review-score-banner {
    grid-template-columns: 1fr !important;
    text-align: center;
  }
  .score-summary {
    border-right: none !important;
    border-bottom: 1px solid #e2e8f0;
    padding-right: 0 !important;
    padding-bottom: 1.25rem;
  }
  .prop-main-photo {
    height: 280px !important;
  }

  /* Contact Page 768px - Mobile Dotted Slider */
  .contact-main-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    min-width: 0 !important;
  }
  .contact-cards-side {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .contact-cards-slider-wrap {
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    overflow: hidden !important;
    margin-bottom: 0.5rem !important;
  }
  .contact-cards-strip {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-padding: 0 1rem !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-x: contain !important;
    gap: 1rem !important;
    padding: 0.75rem 1rem 1rem !important;
    margin: 0 -1rem !important;
    width: calc(100% + 2rem) !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }
  .contact-cards-strip::-webkit-scrollbar {
    display: none !important;
  }
  .contact-cards-strip .contact-quick-card {
    flex: 0 0 85% !important;
    min-width: 260px !important;
    max-width: 340px !important;
    scroll-snap-align: start !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    transform: none !important;
    user-select: none !important;
    -webkit-user-drag: none !important;
  }
  .contact-cards-strip .contact-quick-card:hover {
    transform: none !important;
  }
  .contact-cards-strip .contact-quick-val {
    font-size: 0.98rem !important;
    word-break: break-word !important;
  }
  .contact-slider-dots {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 0.75rem !important;
    margin-bottom: 2rem !important;
  }
  .contact-slider-dot {
    position: relative !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 9999px !important;
    background: #cbd5e1 !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
  .contact-slider-dot::after {
    content: '' !important;
    position: absolute !important;
    top: -12px !important;
    bottom: -12px !important;
    left: -8px !important;
    right: -8px !important;
  }
  .contact-slider-dot.active {
    width: 26px !important;
    background: var(--teal, #febb00) !important;
    box-shadow: 0 2px 10px var(--teal-glow, rgba(254, 187, 0, 0.45)) !important;
  }
  .contact-form-card {
    padding: 2.25rem 1.5rem !important;
    border-radius: 18px !important;
  }
  .form-row-2col {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .contact-whatsapp-box {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .contact-whatsapp-btn {
    width: 100% !important;
    justify-content: center !important;
  }
  .contact-map-wrap {
    height: 380px !important;
  }
  .contact-map-overlay-card {
    position: static !important;
    max-width: 100% !important;
    margin-bottom: 1.25rem !important;
    border-radius: 18px !important;
  }

  /* Footer 768px */
  .footer-top {
    grid-template-columns: 1fr !important;
    gap: 2.25rem !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    gap: 1rem !important;
    text-align: center !important;
  }
  .footer-bottom-links {
    justify-content: center !important;
  }

  /* CTA Banners */
  .cta-banner {
    padding: 3rem 1.75rem !important;
  }
  .cta-buttons {
    flex-direction: column !important;
    width: 100% !important;
  }
  .cta-buttons .btn {
    width: 100% !important;
  }
}


/* ===================================================================
   5. STANDARD MOBILE SMARTPHONES (<= 480px)
   =================================================================== */
@media (max-width: 480px) {
  .container {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  /* Header 480px */
  .brand-logo-img {
    height: 38px !important;
    max-width: 150px !important;
  }
  .header-actions {
    gap: 0.65rem !important;
  }
  .header-actions .btn-primary {
    display: none !important;
  }
  .header-phone-badge {
    width: 36px !important;
    height: 36px !important;
  }

  /* Mobile Drawer 480px */
  .mobile-drawer {
    max-width: 88vw !important;
    padding: 1.25rem 1.15rem 1.5rem !important;
  }

  /* Mobile Typography 480px */
  h1 { font-size: clamp(1.65rem, 5.2vw, 1.95rem) !important; line-height: 1.25 !important; }
  h2 { font-size: clamp(1.35rem, 4.4vw, 1.65rem) !important; line-height: 1.28 !important; }
  h3 { font-size: clamp(1.1rem, 3.6vw, 1.25rem) !important; line-height: 1.32 !important; }
  p { font-size: 0.91rem !important; line-height: 1.6 !important; }

  /* Slider Card Widths 480px */
  .services-ref5-grid .service-clean-card,
  .services-ref5-grid .modern-prop-card,
  .core-expertise-card,
  .advantages-grid .advantage-item {
    flex: 0 0 86% !important;
    max-width: 86% !important;
    min-width: 250px !important;
  }

  /* Hero Section & Slider 480px */
  .hero-ref1,
  .hero-slide {
    padding-top: calc(var(--header-height, 72px) + 1.25rem) !important;
    padding-bottom: 4.85rem !important;
  }
  .hero-slider-dots {
    bottom: 1.35rem !important;
    gap: 0.45rem !important;
    padding: 0.28rem 0.5rem !important;
    max-width: 92vw !important;
    justify-content: center !important;
    z-index: 35 !important;
  }
  .hero-slider-dot {
    padding: 0.35rem 0.65rem !important;
    font-size: 0.72rem !important;
    gap: 0.4rem !important;
  }
  .hero-slider-dot .dot-label {
    display: none !important; /* Hide long label on small screens for clean aesthetic pills */
  }
  .hero-pill-badge {
    font-size: 0.74rem !important;
    padding: 0.3rem 0.65rem !important;
    margin-bottom: 1rem !important;
  }
  .hero-title {
    font-size: 1.75rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.95rem !important;
  }
  .hero-subtext {
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem !important;
  }
  .hero-cta-group {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.75rem !important;
  }
  .hero-cta-group .btn {
    width: 100% !important;
    justify-content: center !important;
  }
  .hero-glass-card {
    padding: 0.9rem !important;
    gap: 0.85rem !important;
    border-radius: 14px !important;
  }
  .glass-thumb {
    width: 78px !important;
    height: 60px !important;
  }
  .glass-info h4 {
    font-size: 0.9rem !important;
  }
  .glass-info .price {
    font-size: 0.98rem !important;
  }
  .glass-specs {
    font-size: 0.72rem !important;
    gap: 0.65rem !important;
  }

  /* Inner Page Hero 480px */
  .page-hero {
    padding-top: calc(var(--header-height, 72px) + 1.75rem) !important;
    padding-bottom: 2.75rem !important;
  }
  .page-hero-title {
    font-size: 1.7rem !important;
    line-height: 1.3 !important;
  }
  .page-hero-desc {
    font-size: 0.88rem !important;
  }
  .breadcrumb {
    font-size: 0.8rem !important;
    padding: 0.35rem 0.85rem !important;
    flex-wrap: wrap !important;
  }

  /* Services Clean Card 480px */
  .service-clean-card {
    padding: 1.75rem 1.35rem !important;
    border-radius: 16px !important;
  }
  .service-clean-icon {
    width: 52px !important;
    height: 52px !important;
    font-size: 1.35rem !important;
    margin-bottom: 1.25rem !important;
  }

  /* Stats Section 480px */
  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    text-align: center !important;
  }
  .stat-number-wrap {
    justify-content: center !important;
  }
  .stat-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1.35rem;
  }
  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  /* Spotlight Card 480px */
  .spotlight-media {
    min-height: 220px !important;
  }
  .spotlight-content {
    padding: 1.75rem 1.25rem !important;
  }
  .spotlight-title {
    font-size: 1.35rem !important;
  }

  /* FAQ Collage 480px */
  .faq-collage {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  .collage-tall {
    height: 240px !important;
    border-radius: 14px !important;
  }
  .collage-small-1, .collage-small-2 {
    height: 116px !important;
    border-radius: 14px !important;
  }
  .faq-exp-badge {
    width: 68px !important;
    height: 68px !important;
  }
  .faq-exp-badge .num {
    font-size: 1.05rem !important;
  }
  .faq-exp-badge .lbl {
    font-size: 0.5rem !important;
    line-height: 1.1 !important;
  }

  /* Property Card 480px */
  .modern-prop-media {
    height: 190px !important;
  }
  .modern-prop-body {
    padding: 1.35rem 1.15rem !important;
  }
  .modern-prop-specs {
    gap: 0.4rem !important;
    padding: 0.65rem 0.5rem !important;
  }
  .spec-pill {
    font-size: 0.74rem !important;
    gap: 0.3rem !important;
  }

  /* Property Details Page 480px */
  .prop-main-photo {
    height: 230px !important;
  }
  .thumb-btn {
    width: 72px !important;
    height: 52px !important;
  }
  .prop-detail-price-value {
    font-size: 1.55rem !important;
  }
  .prop-features-grid {
    grid-template-columns: 1fr !important;
  }
  .amenities-grid {
    grid-template-columns: 1fr !important;
  }
  .sidebar-dual-buttons {
    grid-template-columns: 1fr !important;
  }

  /* Contact Page 480px */
  .contact-cards-strip .contact-quick-card {
    flex: 0 0 88% !important;
    min-width: 240px !important;
    max-width: 320px !important;
    padding: 1.1rem 1.15rem !important;
    gap: 0.95rem !important;
  }
  .contact-cards-strip .contact-quick-val {
    font-size: 0.94rem !important;
  }
  .contact-cards-strip .contact-quick-icon {
    width: 44px !important;
    height: 44px !important;
    font-size: 1.15rem !important;
    border-radius: 12px !important;
  }
  .contact-cards-strip .contact-quick-action {
    width: 34px !important;
    height: 34px !important;
    font-size: 0.78rem !important;
  }
  .contact-form-card,
  .contact-layout-grid > div:last-child > div {
    padding: 1.85rem 1.25rem !important;
    border-radius: 18px !important;
  }

  /* Legal Card 480px */
  .legal-card {
    padding: 2rem 1.25rem !important;
    border-radius: 18px !important;
  }

  /* Services CTA Box 480px */
  .services-cta-box {
    padding: 2.25rem 1.35rem !important;
    border-radius: 20px !important;
  }
  .services-cta-box h2 {
    font-size: 1.6rem !important;
  }
}


/* ===================================================================
   6. EXTRA SMALL DEVICES & FOLDABLE PHONES (<= 375px)
   =================================================================== */
@media (max-width: 375px) {
  h1 { font-size: 1.7rem !important; }
  h2 { font-size: 1.45rem !important; }

  .hero-title {
    font-size: 1.55rem !important;
  }

  .btn {
    padding: 0.65rem 1rem !important;
    font-size: 0.88rem !important;
  }

  .mobile-footer-item span {
    font-size: 0.62rem !important;
  }
  .mobile-footer-item i {
    font-size: 1.05rem !important;
  }
  .mobile-footer-call-btn .call-btn-circle {
    width: 38px !important;
    height: 38px !important;
    top: -8px !important;
  }
  .mobile-footer-call-btn .call-btn-circle i {
    font-size: 1rem !important;
  }

  .modern-prop-specs {
    grid-template-columns: 1fr !important;
  }
  .spec-pill {
    justify-content: flex-start !important;
  }

  .about-timeline-item {
    gap: 0.85rem !important;
  }
  .about-timeline-year {
    width: 44px !important;
    font-size: 0.92rem !important;
  }

  .about-showcase-title {
    font-size: 1.75rem !important;
  }
  .principles-ref-heading {
    font-size: 1.75rem !important;
  }
}
