
@media(max-width:768px){
    .top-bar {
    font-size: 11px;
    padding: 6px 0;
    background: var(--brand-dark); /* Added dynamic background */
    color: var(--muted);
  }

  .top-bar-inner {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .top-actions {
    justify-content: center;
    gap: 10px;
  }

  .top-social a {
    font-size: 14px;
  }

  .top-lang {
    padding: 4px 10px;
    font-size: 10px;
  }
  .main-header {
    padding: 10px 10px;
  }

 .main-header-inner{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center; /* center logo */
  }
    /* Mobile menu button – left fixed */
  .mobile-menu-btn{
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    font-size: 22px;
    background: none;
    border: none;
    color: var(--brand); /* Static #000 replaced */
  }
  /* Logo perfectly centered */
  .logo-block{
    margin: 0 auto;
    display: flex;
    justify-content: center;
  }

  .logo-img{
    max-height: 42px;
    display: block;
  }

  /* Hide desktop info */
  .header-info-wrap {
    display: none;
  }
  .nav-bar {
    display: none;
  }
  .mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
   background: var(--brand-dark); /* Dynamic: #000 replaced */
    color: var(--text-on-dark); /* Static #fff replaced */
    transform: translateX(-100%);
    transition: transform .35s ease;
    z-index: 1200;
    padding-bottom: 60px;
  }

  .mobile-drawer.open {
    transform: translateX(0);
  }

  .drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
    border-bottom: 1px solid rgba(var(--text-on-dark-rgb), 0.1); /* Static rgba replaced */
  }

  .drawer-logo {
    max-height: 40px;
  }

  .drawer-header button {
    background: none;
    border: none;
    font-size: 22px;
    color: var(--text-on-dark); /* Static #fff replaced */
  }
  .drawer-nav {
    padding: 12px 0;
  }

  .drawer-nav a {
    display: block;
    padding: 14px 18px;
    text-decoration: none;
    font-size: 14px;
    color: var(--text-on-dark); /* Static #fff replaced */
    border-bottom: 1px solid rgba(var(--text-on-dark-rgb), 0.08); /* Dynamic divider */
  }

  .drawer-nav a:hover {
    background: var(--accent);
    color: #000;
  }
  .drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
    z-index: 1100;
  }

  .drawer-overlay.show {
    opacity: 1;
    pointer-events: all;
  }
  .mobile-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 1300;
    background: var(--brand-dark);
    border-top: 1px solid var(--accent);
  }

  .mobile-cta-bar a {
    flex: 1;
    padding:14px 0;
    text-align:center;
    font-size:12px;
    color: var(--text-on-dark); /* Static #fff replaced */
    text-decoration: none;
    font-weight:700;
    letter-spacing:.18em;
    text-transform:uppercase;
  }

  .cta-call {
    background: var(--brand); /* Brand color linked */
    color: var(--accent);
    border-right: 1px solid var(--accent);
  }

  body {
    padding-bottom: 56px; /* CTA bar height */
  }

  .cta-enquiry{
    background: var(--accent);
   color: var(--brand-dark); /* Replaced #000 for rich contrast */
  }
  .floating-whatsapp{
    bottom:70px;
  }
  .nav-menu li a{
    color:#fff !important;
  }
  .nav-menu li.active a{
    background:var(--accent) !important;
    color:#000 !important;
  }
}



/* =========================================================
   HERO FORM COLLAPSE – MOBILE ONLY
   ========================================================= */
@media (max-width: 768px){

  /* Wrapper */
  .hero-form-card{
    position: relative;
    overflow: hidden;
  }

  /* Toggle Button */
  .hero-form-toggle{
    width: 100%;
    height: 46px;
    background: var(--accent);
    color: var(--brand-dark); /* Replaced #000 */
    border: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    cursor: pointer;
  }

  /* Form Inner */
  .hero-form-inner{
    max-height: 1000px;
    transition: max-height .45s ease, opacity .35s ease;
    opacity: 1;
  }

  /* COLLAPSED STATE */
  .hero-form-card.is-collapsed .hero-form-inner{
    max-height: 0;
    opacity: 0;
    pointer-events: none;
  }

  .hero-form-card.is-collapsed .hero-form-toggle{
    display: block;
  }

  /* EXPANDED STATE */
  .hero-form-card.is-expanded .hero-form-toggle{
    display: none;
  }

  /* Close Button */
  .hero-form-close{
    position: absolute;
    top: 10px;
    right: 2px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: none;
    color: var(--accent);
    border: 1px solid var(--accent);
    cursor: pointer;
    font-size: 14px;
    z-index: 5;
  }

  /* =====================================================
   HERO FORM CLOSE BUTTON – PERFECT ALIGNMENT
===================================================== */

.hero-form-card {
  position: relative;
}

/* Close button */
.pf-close {
  position: absolute;
  top: 10px;
  right: 10px;

  width: 28px;
  height: 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: var(--accent);
  color: var(--brand-dark); /* Replaced #000 */

  font-size: 18px;
  font-weight: 600;
  line-height: 1;

  border: none;
  cursor: pointer;
  z-index: 5;

  box-shadow: 0 6px 16px rgba(0,0,0,.35);
  transition: transform .25s ease, box-shadow .25s ease;
}

/* Hover / tap */
.pf-close:hover,
.pf-close:active {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,.45);
}

/* Mobile fine tuning */
@media (max-width: 768px) {
  .pf-close {
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    font-size: 17px;
  }
}


}


/* =====================================================
   HERO COPY – MOBILE OPTIMIZED (PREMIUM)
===================================================== */
@media (max-width: 768px) {

  /* Container spacing */
  .hero-inner {
    padding: 22px 18px 12px;
  }

  .hero-copy {
    max-width: 100%;
    text-align: left;
  }

  /* Kicker / Tag line */
  .hero-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--brand-dark); /* Replaced #000 */
    background: var(--accent);
    padding: 6px 12px;
    margin-bottom: 14px;
  }

  /* Main heading */
  .hero-copy h1 {
    font-size: 24px;
    line-height: 1.35;
    font-weight: 700;
    margin-bottom: 14px;
    color: #ffffff;
  }

  /* Description text */
  .hero-text {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255,255,255,0.9);
    margin-bottom: 18px;
  }

  /* Chips wrapper */
  .hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin-bottom: 6px;
  }

  /* Individual chip */
  .hero-chips span {
    font-size: 11px;
    line-height: 1;
    padding: 8px 12px;
    border: 1px solid var(--accent);
    color: var(--accent);   
    background: rgba(var(--brand-dark-rgb), 0.6); /* Replaced static 0,0,0 */
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
  }

}

/* =========================================================
   PROJECTS – MOBILE (HORIZONTAL SWIPE)
   ========================================================= */

@media (max-width:768px){

  .section-projects{
    padding:40px 0 50px;
  }

  .projects-grid{
    display:flex;
    gap:16px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    padding:0 16px 10px;
    -webkit-overflow-scrolling:touch;
  }

  .projects-grid::-webkit-scrollbar{
    display:none;
  }

  .project-card{
    min-width:85%;
    max-width:85%;
    scroll-snap-align:start;
    border-radius:16px;
    background: var(--bg-card);
    box-shadow: 0 14px 30px rgba(0,0,0,0.1);
  }

  .project-image-wrap{
    aspect-ratio:1/1;
  }

  .project-image{
    object-fit:contain;
  }

  .project-body{
    padding:14px 14px 16px;
  }

  .project-title{
    font-size:15px;
  }

  .project-location{
    font-size:12px;
    margin-bottom:10px;
  }

  .pc-cta-row{
    flex-direction:column;
    gap:6px;
  }

  .pc-cta-btn{
    width:100%;
    text-align:center;
    padding:11px;
  }

  .pc-cta-note{
    text-align:center;
    font-size:11px;
  }

  /* Mobile View All */
  .projects-view-all{
   margin-top: 22px;
    text-align: center;
  }

  .view-all-btn{
    padding: 12px 28px;
    font-size: 12px;
    letter-spacing: .2em;
    border-radius: 999px;
    background: var(--accent);
    color: #000;
    box-shadow: 0 10px 24px rgba(0,0,0,.25);
  }

  .view-all-btn:hover {
    transform: none;
  }
}


@media (min-width: 769px){

  /* Upper black strip + close button */
  .hero-form-card .pf-header-mobile,
  .hero-form-card .pf-toggle,
  .hero-form-card .pf-close,
  .hero-form-card .mobile-form-bar,
  .hero-form-card .form-collapse-header{
    display:none !important;
  }

}

@media (min-width: 769px){

  .hero-form-card > div:first-child{
    display:none !important;
  }

}
@media (min-width: 769px){

  .hero-form-card{
    margin-top:0;
    padding-top:26px;
  }

}


/* =========================================================
   PROJECT CARDS — MOBILE POSTER STYLE (PREMIUM)
========================================================= */

@media (max-width: 768px) {

  /* Section spacing */
  .section-projects {
    padding: 34px 0 42px;
    background: #fff;
  }

  .section-projects .container {
    padding: 0 16px;
  }

  /* Horizontal swipe */
  .projects-grid {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
  }

  .projects-grid::-webkit-scrollbar {
    display: none;
  }

  /* Card */
  .project-card {
    flex: 0 0 88%;
    max-width: 88%;
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(0,0,0,.10);
    scroll-snap-align: start;
    overflow: hidden;
  }

  /* Poster image */
  .project-image-wrap {
    background: var(--accent);
    padding: 14px;
  }

  .project-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
  }

  /* Badge */
  .project-badge {
    top: 16px;
    left: 16px;
    font-size: 9px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--accent);
    color: #000;
  }

  /* Body */
  .project-body {
    padding: 16px 16px 18px;
  }

  .project-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.35;
  }

  .project-location {
    font-size: 13px;
    color: #666;
    margin-bottom: 14px;
  }

  /* CTA */
  .pc-cta-row {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .pc-cta-btn {
    flex: 1;
    text-align: center;
    padding: 11px 14px;
    font-size: 11px;
    letter-spacing: .15em;
    border-radius: 10px;
    background: #000;
    color: #fff;
  }

  .pc-cta-note {
    font-size: 11px;
    color: #777;
  }

}


@media (max-width:768px){

  .properties-title{
    font-size:24px;
    gap:10px;
    margin-bottom:22px;
  }

  .title-divider{
    height:20px;
  }

  .title-strong{
    padding-left:24px;
  }

  .title-strong::before{
    font-size:18px;
  }

  .properties-title::after{
    width:52px;
    bottom:-8px;
  }
}

/* =========================================
   PROPERTY CARDS – MOBILE SWIPE
========================================= */
@media (max-width:768px){

  .properties-grid{
    display:flex;
    gap:16px;

    overflow-x:auto;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;

    padding-bottom:10px;
  }

  .properties-grid::-webkit-scrollbar{
    display:none;
  }

  .properties-grid{
    scrollbar-width:none;
  }

  .property-card{
    min-width:88%;
    max-width:88%;
    flex-shrink:0;
    scroll-snap-align:start;

    border-radius:16px;
    box-shadow: 0 10px 24px rgba(var(--brand-dark-rgb), 0.12);
  }
}

@media (max-width:768px){

  .pc-overlay{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    opacity:1 !important;
    pointer-events:auto;
    background:var(--accent);
    backdrop-filter:none;
  }

  .pc-overlay-inner{
    padding:14px;
  }

  .pc-overlay-title{
    font-size:14px;
    font-weight:700;
    color: var(--text-on-dark); /* Static #fff replaced */
    margin-bottom:4px;
  }

  .pc-overlay-meta{
    font-size:11px;
    gap:8px;
    color: var(--muted); /* Replaced #ddd */
    margin-bottom:8px;
  }

  .pc-overlay-price{
    font-size:14px;
    font-weight:800;
    color: var(--accent); /* Replaced static #c9a24d */
    margin-bottom:10px;
  }

  .pc-overlay-btn{
    width:100%;
    padding:9px;
    font-size:10px;
    letter-spacing:.14em;
    text-transform:uppercase;

    background: var(--accent);
    color: var(--brand-dark); /* Replaced #000 */
    border-radius:6px;
  }
}
@media (max-width:768px){

  .pc-image::after{
    opacity:1; /* Always visible */
  }

  .pc-overlay-content{
    opacity:1;
    transform:none;
  }

  .property-card:hover .pc-image img{
    transform:none;
  }
}
