/* ============================================================
   RESPONSIVE.CSS — Mobile-only header/topbar overrides
   Loaded AFTER style.css, so these rules win automatically
   without touching the main stylesheet. Only affects screens
   760px and narrower (phones/small tablets).
   ============================================================ */

@media (max-width:760px){

  /* ---------- Topbar row (Call Us / email / social icons) ---------- */
  .topbar{
    padding:10px 16px !important;
    flex-wrap:wrap !important;
    justify-content:center !important;
    row-gap:8px !important;
  }
  .topbar-left{
    width:100% !important;
    justify-content:center !important;
    text-align:center !important;
    flex-wrap:wrap !important;
    gap:6px 12px !important;
    font-size:10.5px !important;
  }
  .topbar-left span, .topbar-left .phone-toggle{
    white-space:nowrap !important;
    font-size:10.5px !important;
  }

  /* Social icons row (WhatsApp / Facebook / Instagram / LinkedIn / YouTube) */
  .topbar-social{
    width:100% !important;
    justify-content:center !important;
    gap:6px !important;
    margin-top:2px !important;
  }
  .topbar-social a{
    width:22px !important;
    height:22px !important;
    font-size:9.5px !important;
    border-radius:5px !important;
  }

  /* ---------- Main nav row (Phone / WhatsApp / Language / Hamburger) ---------- */
  nav{
    padding:10px 14px !important;
    gap:8px !important;
  }
  .nav-cta-group{
    gap:6px !important;
  }
  .nav-call-toggle, .nav-whatsapp, .lang-toggle, .hamburger{
    width:32px !important;
    height:32px !important;
    font-size:12px !important;
    border-radius:7px !important;
  }
  .lang-toggle{
    padding:0 !important;
    justify-content:center !important;
  }
  .lang-toggle span{ display:none !important; }
  .logo-panel-img{ height:44px !important; }
}

@media (max-width:420px){
  .topbar-social a{ width:20px !important; height:20px !important; font-size:9px !important; }
  .nav-call-toggle, .nav-whatsapp, .lang-toggle, .hamburger{
    width:30px !important; height:30px !important; font-size:11px !important;
  }
  .logo-panel-img{ height:40px !important; }
}

/* ---------- Fix: phone-number dropdown getting clipped ----------
   .topbar has overflow:hidden (needed for the scroll-collapse
   animation), which also clips the phone-number dropdown menu
   whenever it opens on mobile. Allow overflow only while the
   dropdown is actually open, and make sure the menu sits above
   everything with a solid background and full-width number text. */
.topbar:has(.phone-switch.open){
  overflow:visible !important;
}
@media (max-width:760px){
  .phone-menu{
    z-index:250 !important;
    background:var(--ink-card, #201d17) !important;
    left:50% !important;
    right:auto !important;
    transform:translateX(-50%) !important;
    min-width:200px !important;
    box-shadow:0 12px 30px rgba(0,0,0,.5) !important;
  }
  .phone-switch.open .phone-menu{
    transform:translateX(-50%) !important;
  }
  .phone-menu a{
    white-space:nowrap !important;
    font-size:13px !important;
    padding:10px 14px !important;
  }
}
/* ===== Hero Mobile Spacing Fix ===== */
@media (max-width:760px){

  .hero-premium-content{
    padding:90px 24px 260px !important;
    max-width:100% !important;
  }

  .hero-premium h1{
    font-size:42px !important;
    line-height:1.05 !important;
  }

  .hero-premium p.lead{
    font-size:15px !important;
    line-height:1.7 !important;
  }

}
/* Mobile Services Dropdown Fix */
.ph-mobile-services-list{
    display: none;
    position: static !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 8px 0 8px 15px;
}

.ph-mobile-services.open .ph-mobile-services-list{
    display: block;
}

.ph-mobile-services-list a{
    display: block;
    padding: 10px 0;
    font-size: 11px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}