/* ==========================================================================
   البيت اللامع لخدمات النظافة والصيانة المنزلية العامة - التصميم الموحد الاحترافي (Mobile First & Zero-Overflow)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Tajawal:wght@400;500;700;800&display=swap');

:root {
  --primary: #c8102e;
  --primary-hover: #a50b23;
  --primary-soft: #fff5f5;
  --primary-border: #fed7d7;
  
  --navy: #071b33;
  --navy-dark: #041021;
  --navy-light: #0d2a4d;
  --navy-surface: #0a223f;
  
  --text: #172538;
  --text-muted: #5e7185;
  --text-light: #8fa0b2;
  --text-white: #ffffff;
  
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --border-light: #edf2f7;
  
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(7, 27, 51, 0.05);
  --shadow-md: 0 8px 24px rgba(7, 27, 51, 0.08);
  --shadow-lg: 0 16px 40px rgba(7, 27, 51, 0.12);
  --shadow-mega: 0 25px 60px -10px rgba(4, 16, 33, 0.35);
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1200px;
}

/* Base Reset & Zero-Overflow Guards */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
  scroll-padding-top: 85px;
}

body {
  font-family: 'Cairo', 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.8;
  direction: rtl;
  text-align: right;
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
  position: relative;
}

/* Ensure any internal section anchor target is not covered by sticky navbar */
[id] {
  scroll-margin-top: 85px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img, picture, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6, p, a, span, li {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Utilities */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.fw-bold { font-weight: 700; }
.fw-black { font-weight: 900; }
.w-100 { width: 100%; }
.mt-1 { margin-top: 6px; }
.mt-2 { margin-top: 12px; }
.mt-3 { margin-top: 18px; }
.mt-4 { margin-top: 24px; }
.mt-5 { margin-top: 36px; }
.mb-2 { margin-bottom: 12px; }
.mb-3 { margin-bottom: 18px; }
.mb-4 { margin-bottom: 24px; }
.mb-5 { margin-bottom: 36px; }
.my-5 { margin-top: 40px; margin-bottom: 40px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  max-width: 100%;
  min-height: 48px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(200, 16, 46, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 16, 46, 0.35);
}

.btn-outline {
  background-color: transparent;
  color: var(--navy);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--navy);
  background-color: var(--bg-alt);
}

.btn-success {
  background-color: #25d366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

.btn-success:hover {
  background-color: #20b858;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 30px;
  font-size: 16.5px;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   TOPBAR
   ========================================================================== */
.topbar {
  background-color: var(--navy-dark);
  color: #c4d3e3;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 50;
  width: 100%;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  padding-top: 4px;
  padding-bottom: 4px;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e2e8f0;
}

.topbar-link:hover {
  color: #ffffff;
}

.phone-link {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.wa-link {
  color: #4ade80 !important;
  font-weight: 700;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 12px;
}

.dot {
  width: 7px;
  height: 7px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
}

/* ==========================================================================
   MAIN SITE HEADER & BRAND
   ========================================================================== */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}


.brand-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(7, 27, 51, 0.12));
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand:hover .brand-logo-img {
  transform: scale(1.08);
}

.footer-logo-img {
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.brand-mark {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, #990b22 100%);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(200, 16, 46, 0.3);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text b {
  font-size: 21px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.3px;
}

.brand-text small {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
}

/* ==========================================================================
   DESKTOP NAVIGATION & MEGA MENU
   ========================================================================== */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item {
  position: relative;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  border-radius: var(--radius-xs);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-item:hover, .nav-item.active {
  color: var(--primary);
  background-color: var(--primary-soft);
}

.mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.caret {
  font-size: 11px;
  transition: transform 0.2s ease;
}

.has-mega:hover .caret,
.has-mega:focus-within .caret {
  transform: rotate(180deg);
}

/* MEGA MENU PANEL (Desktop Only) */
.nav-item.has-mega {
  position: static; /* Allows .mega-menu to anchor to .nav-wrap container instead of the narrow trigger item */
}

.mega-menu {
  position: absolute;
  top: calc(100% - 2px);
  right: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  background-color: var(--navy-dark);
  color: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-mega);
  padding: 24px 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
  z-index: 1050;
}

/* Invisible hover bridge to prevent premature mouseleave during movement */
.mega-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  right: 0;
  left: 0;
  height: 14px;
  background: transparent;
}

.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 20px;
}

.mega-col {
  padding: 8px 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.mega-col:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.mega-col:last-child {
  border-left: none;
}

.mega-col-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #e2e8f0;
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.col-icon {
  font-size: 15px;
}

.mega-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mega-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
  padding: 5px 8px;
  border-radius: var(--radius-xs);
  transition: var(--transition);
}

.dot-bullet {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #64748b;
  transition: var(--transition);
  flex-shrink: 0;
}

.mega-links a:hover {
  color: #ffffff;
  background-color: rgba(200, 16, 46, 0.2);
  transform: translateX(-3px);
}

.mega-links a:hover .dot-bullet {
  background-color: var(--primary);
  transform: scale(1.5);
}

.mega-links a.highlight-link {
  color: #fda4af;
  font-weight: 700;
  border: 1px dashed rgba(244, 63, 94, 0.3);
  background-color: rgba(244, 63, 94, 0.05);
}

.mega-col-accent {
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.mega-banner {
  margin-top: 16px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(200, 16, 46, 0.15) 0%, rgba(7, 27, 51, 0.4) 100%);
  border: 1px solid rgba(200, 16, 46, 0.3);
  border-radius: var(--radius-sm);
}

.mega-banner p {
  font-size: 11.5px;
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* ==========================================================================
   DUAL-PATH MEGA MENU ARCHITECTURE (Desktop & Mobile)
   ========================================================================== */

/* 1. Header Tabs: Appliance Category vs Brand Hub */
.mega-header-tabs {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mega-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.mega-tab-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.mega-tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(200, 16, 46, 0.35);
}

/* Panel Display State */
.mega-tab-panel {
  display: none;
  animation: megaPanelFade 0.22s ease forwards;
}

.mega-tab-panel.active {
  display: block;
}

@keyframes megaPanelFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 2. Path A: Master-Detail Layout */
.mega-dual-layout {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 22px;
}

/* Master Column (RTL Appliance List) */
.mega-appliance-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 14px;
}

.appliance-nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: #cbd5e1;
  cursor: pointer;
  text-align: right;
  font-family: inherit;
  transition: var(--transition);
  width: 100%;
}

.appliance-nav-btn .appliance-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.appliance-nav-btn .appliance-meta {
  flex-grow: 1;
}

.appliance-nav-btn .appliance-meta strong {
  display: block;
  font-size: 13.5px;
  color: #ffffff;
}

.appliance-nav-btn .appliance-meta small {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  margin-top: 1px;
}

.appliance-nav-btn .badge-count {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  color: #cbd5e1;
  flex-shrink: 0;
}

.appliance-nav-btn:hover,
.appliance-nav-btn.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.appliance-nav-btn.active {
  background: rgba(200, 16, 46, 0.18);
  border-color: rgba(200, 16, 46, 0.4);
}

.appliance-nav-btn.active .appliance-meta strong {
  color: #fca5a5;
}

.appliance-nav-btn.active .badge-count {
  background: var(--primary);
  color: #ffffff;
}

.category-direct-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  margin-right: auto;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.category-direct-link:hover {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.1);
}

.appliance-nav-btn.active .category-direct-link {
  background: rgba(200, 16, 46, 0.3);
  color: #fca5a5;
}

.appliance-nav-btn.active .category-direct-link:hover {
  background: var(--primary);
  color: #ffffff;
}

.subpanel-title-link {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

.subpanel-title-link:hover .subpanel-title {
  color: #38bdf8;
  text-decoration: underline;
}

/* Detail Column: Sub-Brands Grid */
.mega-brand-subpanel-wrap {
  min-height: 280px;
}

.mega-subpanel {
  display: none;
}

.mega-subpanel.active {
  display: block;
  animation: megaPanelFade 0.2s ease forwards;
}

.subpanel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}

.subpanel-title {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
}

.subpanel-all-link {
  font-size: 12.5px;
  font-weight: 700;
  color: #f87171;
  transition: var(--transition);
}

.subpanel-all-link:hover {
  color: #fca5a5;
  text-decoration: underline;
}

.subpanel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.subpanel-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 700;
  transition: var(--transition);
}

.brand-chip {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 7px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xs);
  color: #ffffff;
}

.subpanel-item:hover {
  background: rgba(200, 16, 46, 0.15);
  border-color: rgba(200, 16, 46, 0.35);
  color: #ffffff;
  transform: translateX(-3px);
}

/* 3. Path B: Brands Grid Cards */
.mega-brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.brand-hub-card {
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: var(--transition);
}

.brand-hub-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(4, 16, 33, 0.5);
}

.brand-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-title {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
}

.brand-origin-badge {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  background: rgba(200, 16, 46, 0.2);
  color: #fca5a5;
  border-radius: var(--radius-full);
}

.brand-desc {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

.brand-title-link {
  text-decoration: none;
  display: inline-block;
}

.brand-title-link:hover .brand-title {
  color: #fca5a5;
  transition: color 0.2s ease;
}

.brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.brand-tags a,
.brand-tags span,
.brand-tag-link {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.brand-tags a:hover,
.brand-tag-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.brand-link-cta {
  font-size: 12px;
  font-weight: 800;
  color: #f87171;
  margin-top: auto;
  padding-top: 6px;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s ease;
}

.brand-link-cta:hover {
  color: #ffffff;
}

/* ==========================================================================
   STANDALONE COLDAIR NAVBAR ITEM & IMAGE SHOWCASE DROPDOWN
   ========================================================================== */

/* Navbar Trigger & Pill */
.nav-item.has-coldair-dropdown {
  position: static; /* Anchors dropdown cleanly to .nav-wrap container without screen overflow */
  padding: 0;
  background: transparent !important;
}

.coldair-nav-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(2, 132, 199, 0.08);
  border: 1.5px solid rgba(2, 132, 199, 0.35);
  border-radius: 999px;
  padding: 4px 6px 4px 14px;
  gap: 10px;
  transition: all 0.25s ease;
  user-select: none;
  cursor: pointer;
}

.nav-item.has-coldair-dropdown:hover .coldair-nav-pill,
.coldair-nav-pill:focus-within {
  background: rgba(2, 132, 199, 0.15);
  border-color: #0284c7;
  box-shadow: 0 3px 12px rgba(2, 132, 199, 0.2);
}

.coldair-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0284c7 !important;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
}

.coldair-pill-icon {
  font-size: 15px;
}

.coldair-caret {
  font-size: 10px;
  color: #0284c7;
  transition: transform 0.25s ease;
  pointer-events: none;
}

.nav-item.has-coldair-dropdown:hover .coldair-caret {
  transform: rotate(180deg);
}

.coldair-pill-actions {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.coldair-quick-call {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #0284c7;
  color: #ffffff !important;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.3);
  transition: all 0.2s ease;
}

.coldair-quick-call:hover {
  background: #0369a1;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.4);
}

.coldair-quick-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: #22c55e;
  color: #ffffff !important;
  border-radius: 50%;
  font-size: 12px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(34, 197, 94, 0.3);
  transition: all 0.2s ease;
}

.coldair-quick-wa:hover {
  background: #16a34a;
  transform: scale(1.15);
}

/* Coldair styles normalized into appliance categories */

/* Header inside Dropdown */
.coldair-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 24px;
  background: linear-gradient(135deg, #041426 0%, #08284d 100%);
  color: #ffffff;
  border-bottom: 2px solid #0284c7;
}

.coldair-badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(2, 132, 199, 0.25);
  border: 1px solid #0284c7;
  color: #7dd3fc;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  margin-bottom: 4px;
}

.coldair-badge-inline .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
}

.coldair-header-title {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px;
}

.coldair-header-sub {
  font-size: 12.5px;
  color: #94a3b8;
  margin: 0;
}

.coldair-header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-coldair-primary {
  background: #0284c7;
  color: #ffffff !important;
  border: 1px solid #0284c7;
  font-weight: 800;
  padding: 7px 14px;
  font-size: 12.5px;
  border-radius: var(--radius-sm, 8px);
  text-decoration: none;
  transition: all 0.2s;
}

.btn-coldair-primary:hover {
  background: #0369a1;
}

.btn-coldair-whatsapp {
  background: #22c55e;
  color: #ffffff !important;
  border: 1px solid #22c55e;
  font-weight: 800;
  padding: 7px 14px;
  font-size: 12.5px;
  border-radius: var(--radius-sm, 8px);
  text-decoration: none;
  transition: all 0.2s;
}

.btn-coldair-whatsapp:hover {
  background: #16a34a;
}

/* 4 Showcase Appliance Cards with High-Quality Images */
.coldair-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 20px 24px;
  background: #f8fafc;
}

.coldair-showcase-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.coldair-showcase-card:hover {
  transform: translateY(-4px);
  border-color: #0284c7;
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.14);
}

.coldair-showcase-card.highlight {
  border-color: rgba(2, 132, 199, 0.4);
  background: #f0f9ff;
}

.showcase-img-box {
  position: relative;
  width: 100%;
  height: 125px;
  overflow: hidden;
  background: #e2e8f0;
}

.showcase-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.coldair-showcase-card:hover .showcase-thumb {
  transform: scale(1.08);
}

.showcase-pill {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(4, 20, 38, 0.88);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.showcase-pill.highlight-pill {
  background: #0284c7;
}

.showcase-card-content {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.showcase-card-heading {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
}

.showcase-card-text {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 10px;
  flex-grow: 1;
}

.showcase-card-link {
  font-size: 12px;
  font-weight: 800;
  color: #0284c7;
  margin-top: auto;
}

.showcase-card-link.text-highlight {
  color: #0369a1;
}

/* Footer Inside Dropdown */
.coldair-panel-footer {
  padding: 12px 24px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
}

.footer-callout {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #475569;
  font-weight: 600;
}

.footer-full-link {
  color: #0284c7;
  font-weight: 800;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-full-link:hover {
  color: #0369a1;
  text-decoration: underline;
}

/* Mobile Featured Coldair Card in Drawer */
.mob-coldair-card {
  margin: 10px 0 14px;
  padding: 12px 14px;
  background: #f0f9ff;
  border: 1.5px solid #7dd3fc;
  border-radius: 12px;
}

.mob-coldair-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.mob-coldair-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mob-coldair-badge strong {
  font-size: 13.5px;
  color: #0369a1;
  font-weight: 900;
}

.mob-coldair-tag {
  background: #0284c7;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

.mob-coldair-desc {
  font-size: 11.5px;
  color: #475569;
  margin: 0 0 10px;
  line-height: 1.4;
}

.mob-coldair-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-coldair-call-mob {
  background: #0284c7;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
}

.btn-coldair-wa-mob {
  background: #22c55e;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
}

/* ==========================================================================
   4. MOBILE DRAWER DUAL-PATH STYLES
   ========================================================================== */
.mobile-dual-nav-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 6px 0;
  background: #ffffff;
}

.mobile-nav-segment {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  background: #f1f5f9 !important;
  padding: 4px !important;
  border-radius: 10px !important;
  border: 1px solid #e2e8f0 !important;
  gap: 4px !important;
  margin-bottom: 12px !important;
}

.segment-btn {
  padding: 8px 4px !important;
  border-radius: 8px !important;
  border: none !important;
  background: transparent !important;
  font-family: inherit !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  color: #475569 !important;
  cursor: pointer !important;
  text-align: center !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
  -webkit-tap-highlight-color: transparent !important;
}

.segment-btn.active {
  background: #ffffff !important;
  color: #0284c7 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  font-weight: 900 !important;
}

.mobile-panel-section {
  display: none !important;
}

.mobile-panel-section.active {
  display: block !important;
}

/* Mobile Accordions */
.mob-accordion-item {
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 6px;
}

.mob-accordion-item:last-child {
  border-bottom: none;
}

.mob-accordion-header {
  width: 100% !important;
  padding: 13px 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  font-family: inherit !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  cursor: pointer !important;
  text-align: right !important;
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent !important;
  transition: background 0.2s ease, border-color 0.2s ease !important;
}

.mob-accordion-header:active,
.mob-accordion-header[aria-expanded="true"] {
  background: #f1f5f9 !important;
  border-color: #0284c7 !important;
}

.mob-accordion-header .chevron {
  transition: transform 0.25s ease !important;
  font-size: 14px !important;
  display: inline-block !important;
}

.mob-accordion-header[aria-expanded="true"] .chevron {
  transform: rotate(180deg) !important;
}

.mob-accordion-body {
  display: none !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-top: none !important;
  border-radius: 0 0 10px 10px !important;
  padding: 8px 12px !important;
  margin-top: -4px !important;
  margin-bottom: 8px !important;
}

.mob-accordion-body.open {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.mob-sub-link {
  padding: 8px 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius-xs);
  display: block;
}

.mob-sub-link.highlight {
  font-weight: 800;
  color: var(--primary);
  background: rgba(200, 16, 46, 0.08);
}

/* Mobile Brand List */
.mob-brands-list {
  display: flex;
  flex-direction: column;
  padding: 8px;
  gap: 6px;
}

.mob-brand-card-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #ffffff;
  transition: var(--transition);
}

.chip-sm {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 6px;
  background: var(--navy-dark);
  color: #ffffff;
  border-radius: 4px;
}

.mob-brand-info {
  flex-grow: 1;
}

.mob-brand-info strong {
  display: block;
  font-size: 13px;
  color: var(--navy);
}

.mob-brand-info small {
  display: block;
  font-size: 10.5px;
  color: var(--text-muted);
}

.arrow-sym {
  color: var(--primary);
  font-weight: bold;
}

/* ==========================================================================
   5. BRAND HUB LANDING PAGE STYLES
   ========================================================================== */
.brand-hero-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #ffffff;
  padding: 40px 0 60px;
  border-bottom: 3px solid var(--primary);
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 24px;
}

.breadcrumb-nav a {
  color: #cbd5e1;
}

.breadcrumb-nav a:hover {
  color: #ffffff;
}

.breadcrumb-nav .current {
  color: #fca5a5;
  font-weight: 700;
}

.brand-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}

.brand-hero-text h1 {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.3;
  margin: 14px 0 16px;
  color: #ffffff;
}

.brand-hero-text h1 span {
  color: #f87171;
  display: block;
}

.brand-hero-text p {
  font-size: 16px;
  color: #cbd5e1;
  line-height: 1.7;
}

.brand-trust-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #e2e8f0;
}

.trust-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-size: 12px;
}

.brand-badge-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.brand-logo-placeholder {
  display: inline-block;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 4px;
  color: #ffffff;
  padding: 8px 24px;
  background: rgba(200, 16, 46, 0.3);
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.badge-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 700;
  color: #cbd5e1;
}

/* Appliance Hub Grid */
.appliance-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.appliance-hub-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.appliance-hub-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.hub-card-icon {
  font-size: 32px;
}

.appliance-hub-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
}

.appliance-hub-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.hub-faults-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 8px 0 12px;
  padding: 10px 12px;
  background: var(--bg-alt);
  border-radius: var(--radius-xs);
}

.hub-faults-list li {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hub-faults-list li::before {
  content: '•';
  color: var(--primary);
  font-weight: bold;
}

.appliance-hub-card .btn {
  margin-top: auto;
}

@media (max-width: 991px) {
  .brand-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .appliance-hub-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Nav Actions & Mobile Toggle */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta {
  font-size: 14px;
  padding: 10px 18px;
}

.hamburger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 14px !important;
  min-height: 40px !important;
  background: #071b33 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 10px !important;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 3px 10px rgba(7, 27, 51, 0.3) !important;
  z-index: 1001;
  flex-shrink: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  transition: all 0.2s ease;
}

.hamburger-btn:hover,
.hamburger-btn:active {
  background: #0284c7 !important;
  border-color: #0284c7 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.hamburger-btn * {
  pointer-events: none !important;
}

.hamburger-btn svg {
  display: block;
  stroke: #ffffff !important;
  color: #ffffff !important;
  width: 22px !important;
  height: 22px !important;
  flex-shrink: 0;
}

.hamburger-btn span,
.hamburger-btn .hamburger-title {
  color: #ffffff !important;
  font-weight: 800;
  font-size: 13.5px;
  line-height: 1;
}

/* Fallback if spans are rendered without svg */
.hamburger-btn span:empty {
  display: block;
  width: 22px;
  height: 2.5px;
  background: #ffffff !important;
  border-radius: 2px;
  margin: 2px 0;
}

/* ==========================================================================
   MOBILE DRAWER & ACCORDION (Zero-Overflow Guaranteed)
   ========================================================================== */
/* Lock document scrolling cleanly when drawer is open */
html.drawer-open, body.drawer-open {
  overflow: hidden !important;
  height: 100% !important;
  touch-action: none !important;
  overscroll-behavior: none !important;
}

.mobile-drawer {
  position: fixed !important;
  top: 0 !important;
  right: -360px !important;
  left: auto !important;
  width: min(325px, 88vw) !important;
  height: 100% !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  background-color: #ffffff !important;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.4) !important;
  z-index: 99999999 !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.3s ease !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  overscroll-behavior: contain !important;
}

.mobile-drawer.open {
  right: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.drawer-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: rgba(7, 27, 51, 0.72) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  z-index: 99999990 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
  touch-action: none !important;
}

.drawer-backdrop.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.drawer-header {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.close-drawer-btn {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  font-size: 18px;
  font-weight: 700;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.close-drawer-btn * {
  pointer-events: none !important;
}

.close-drawer-btn:hover {
  background-color: var(--primary-soft);
  color: var(--primary);
}

.drawer-content {
  padding: 14px 16px 90px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
  touch-action: pan-y !important;
}

.drawer-link {
  padding: 11px 14px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  border-radius: var(--radius-sm);
  display: block;
}

.drawer-link.active, .drawer-link:hover {
  background-color: var(--primary-soft);
  color: var(--primary);
}

/* Mobile Accordion */
.drawer-accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 4px 0;
}

.drawer-accordion-btn {
  width: 100%;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-alt);
  border: none;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--navy);
  cursor: pointer;
  text-align: right;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.drawer-accordion-btn .chevron {
  display: inline-block;
  font-size: 11px;
  transition: transform 0.25s ease;
  pointer-events: none;
}

.drawer-accordion-panel {
  display: none;
  background: #ffffff;
  padding: 8px 10px;
  overflow: visible;
}

.drawer-accordion-panel.open {
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: drawerAccordionFadeIn 0.2s ease forwards;
}

@keyframes drawerAccordionFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.drawer-link,
.drawer-sublink,
.close-drawer-btn {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}

.drawer-sublink {
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius-xs);
  display: block;
}

.drawer-sublink:hover {
  background-color: var(--primary-soft);
  color: var(--primary);
}

.drawer-sublink.highlight {
  font-weight: 800;
  color: var(--primary);
  background-color: var(--primary-soft);
}

.drawer-subgroup {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  padding: 8px 10px 2px;
  text-transform: uppercase;
}

.drawer-contact-box {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

/* ==========================================================================
   OFFICIAL BRAND LOGOS SECTION
   ========================================================================== */
.brands-section {
  padding: 50px 0;
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  width: 100%;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
}

.kicker {
  display: inline-block;
  padding: 4px 14px;
  background-color: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  border: 1px solid var(--primary-border);
}

.section-title {
  font-size: clamp(23px, 3.5vw, 36px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 10px;
}

.section-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.brand-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  min-height: 95px;
  overflow: hidden;
}

.brand-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.brand-card img {
  max-height: 36px;
  max-width: 110px;
  width: auto;
  object-fit: contain;
  filter: grayscale(10%);
  transition: var(--transition);
}

.brand-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.brand-name-tag {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
}

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */
.hero {
  padding: 50px 0 45px;
  background-color: #f8fafc;
  color: #0f172a;
  position: relative;
  width: 100%;
  border-bottom: 1px solid #e2e8f0;
}

.hero::before {
  display: none !important;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: clamp(26px, 3.8vw, 40px);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 14px;
  color: #0f172a;
}

.hero-content h1 span {
  color: #059669;
  display: inline;
  font-weight: 800;
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
}

.hero-content p {
  font-size: 16px;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
}

.stat-item b {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  display: block;
}

.stat-item span {
  font-size: 12.5px;
  color: #64748b;
  font-weight: 600;
}

.hero-visual img {
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
  background: #ffffff;
  aspect-ratio: 16/11;
  object-fit: cover;
  width: 100%;
}

/* Page Hero (Breadcrumb hero) */
.page-hero {
  padding: 45px 0 40px;
  background: linear-gradient(135deg, #071b33 0%, #0b2947 100%);
  color: #ffffff;
  width: 100%;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  color: #94a3b8;
  margin-bottom: 14px;
}

.breadcrumb a {
  color: #cbd5e1;
}

.breadcrumb a:hover {
  color: #ffffff;
}

.page-hero h1 {
  font-size: clamp(24px, 3.8vw, 38px);
  font-weight: 900;
  margin-bottom: 10px;
}

.page-hero p {
  font-size: 16px;
  color: #cbd5e1;
  max-width: 800px;
  line-height: 1.7;
}

/* ==========================================================================
   CARDS & GRIDS
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  width: 100%;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.service-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.service-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-badge {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.service-card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.4;
}

.service-card-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
  flex-grow: 1;
}

.service-card-footer {
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.link-arrow {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.link-arrow:hover {
  transform: translateX(-4px);
}

/* ==========================================================================
   ARTICLE & SINGLE SERVICE STYLES
   ========================================================================== */
.article-layout {
  padding: 50px 0;
  width: 100%;
}

.article-container {
  width: min(940px, 100%);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.article-featured-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: 32px;
}

.article-body {
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--text);
  width: 100%;
}

.article-body h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin: 32px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-light);
}

.article-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy-light);
  margin: 22px 0 10px;
}

.article-body p {
  margin-bottom: 18px;
}

.article-body ul, .article-body ol {
  margin: 16px 0 20px 20px;
  padding-right: 16px;
}

.article-body li {
  margin-bottom: 8px;
}

/* Callouts */
.callout {
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-alt);
  border-right: 4px solid var(--primary);
  margin: 24px 0;
  width: 100%;
}

.callout.info {
  background-color: #f0f7ff;
  border-right-color: #0284c7;
}

.callout-title {
  font-weight: 800;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 6px;
}

/* Diagnostic & Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 22px 0;
  width: 100%;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  position: relative;
  width: 100%;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 10px;
}

.step-title {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.step-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* FAQ Accordion */
.faq-section {
  margin: 36px 0;
  width: 100%;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
  background: #fff;
  transition: var(--transition);
  width: 100%;
}

.faq-question {
  width: 100%;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: none;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--navy);
  cursor: pointer;
  text-align: right;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: var(--bg-alt);
}

.faq-icon {
  font-size: 18px;
  color: var(--primary);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-right: 8px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.75;
  border-top: 1px solid var(--border-light);
}

.faq-item.open .faq-answer {
  display: block;
}

/* Call to Action Box */
.cta-box {
  background: linear-gradient(135deg, #071b33 0%, #041021 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 36px 24px;
  text-align: center;
  margin: 45px 0;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.cta-box h3 {
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 900;
  margin-bottom: 10px;
}

.cta-box p {
  font-size: 16px;
  color: #cbd5e1;
  max-width: 650px;
  margin: 0 auto 20px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Related Services Section */
.related-services {
  margin-top: 50px;
  padding-top: 36px;
  border-top: 2px solid var(--border);
  width: 100%;
}

.related-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 20px;
}

/* ==========================================================================
   FORMS & BOOKING
   ========================================================================== */
.form-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  box-shadow: var(--shadow-md);
  width: 100%;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 16px;
  min-height: 48px;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.15);
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: start;
  width: 100%;
}

.form-feedback {
  display: none;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  margin-top: 14px;
  font-size: 13.5px;
}

.form-feedback.success {
  display: block;
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--navy-dark);
  color: #cbd5e1;
  padding: 50px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 36px;
  width: 100%;
}

.footer-desc {
  font-size: 13.5px;
  line-height: 1.75;
  color: #94a3b8;
  margin-top: 12px;
  margin-bottom: 14px;
}

.footer-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  color: #cbd5e1;
}

.footer-heading {
  font-size: 15.5px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 6px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 28px;
  height: 2px;
  background-color: var(--primary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  font-size: 13.5px;
  color: #94a3b8;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(-4px);
}

.footer-contact-item {
  margin-bottom: 8px;
  font-size: 13px;
}

.contact-label {
  display: block;
  font-size: 11.5px;
  color: #64748b;
  font-weight: 700;
}

.contact-val {
  color: #ffffff;
  font-weight: 700;
}

.footer-disclaimer {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: #64748b;
  line-height: 1.8;
  margin-bottom: 20px;
}

.copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: #64748b;
  flex-wrap: wrap;
  gap: 8px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries for 100% Mobile & Tablet Precision)
   ========================================================================== */

/* Medium Desktops & Compact Screens (992px - 1180px) */
@media (min-width: 992px) and (max-width: 1180px) {
  .mega-menu {
    padding: 20px 16px;
  }
  .mega-inner {
    grid-template-columns: 1.25fr 1fr 1fr 1.05fr;
    gap: 12px;
  }
  .mega-col {
    padding: 6px 8px;
  }
  .mega-links a {
    font-size: 12.5px;
    gap: 6px;
    padding: 5px 6px;
  }
  .coldair-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px;
  }
  .coldair-dropdown-panel {
    max-width: 760px;
  }
}

/* Tablets & Mobile (Below 992px) */
@media (max-width: 991px) {
  .desktop-nav, .nav-cta {
    display: none !important;
  }
  
  .hamburger-btn {
    display: inline-flex !important;
  }
  
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    direction: rtl !important;
  }
  
  .hero-content {
    order: 1 !important;
  }

  .hero-visual {
    order: 2 !important;
    margin-top: 8px !important;
  }
  
  .topbar-badge {
    display: none;
  }
  
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Phablets & Large Phones */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

/* Small & Standard Mobile Phones (320px, 360px, 375px, 414px) */
@media (max-width: 580px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }
  
  .topbar-inner {
    flex-direction: column;
    gap: 4px;
    padding: 6px 0;
  }
  
  .topbar-contact {
    width: 100%;
    justify-content: space-around;
    gap: 8px;
  }
  
  .nav-wrap {
    height: 60px;
  }
  
  
.brand-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(7, 27, 51, 0.12));
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand:hover .brand-logo-img {
  transform: scale(1.08);
}

.footer-logo-img {
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.brand-mark {
    width: 36px;
    height: 36px;
    font-size: 19px;
  }
  
  .brand-text b {
    font-size: 17.5px;
  }
  
  .brand-text small {
    font-size: 10.5px;
  }
  
  .hero {
    padding: 35px 0 30px;
  }
  
  .hero-content h1 {
    font-size: 23px;
  }
  
  .hero-content p {
    font-size: 14.5px;
    margin-bottom: 20px;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
    padding-top: 16px;
  }
  
  .stat-item b {
    font-size: 20px;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  /* CRITICAL: Services grid becomes 1fr on mobile phones to never cause overflow */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  
  .service-card-body {
    padding: 16px;
  }
  
  .service-card-title {
    font-size: 16.5px;
  }
  
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .brand-card {
    padding: 10px 6px;
    min-height: 80px;
  }
  
  .brand-card img {
    max-height: 28px;
    max-width: 80%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  
  .copyright {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
  
  .cta-box {
    padding: 28px 16px;
    margin: 30px 0;
  }
  
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .cta-buttons .btn {
    width: 100%;
  }
  
  .form-card {
    padding: 22px 14px;
  }
  
  .mobile-drawer {
    width: 85vw;
    max-width: 300px;
  }
}

/* ==========================================================================
   COLDAIR WATER COOLER SHOWCASE & GALLERY SECTION
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px -5px rgba(2, 132, 199, 0.15) !important;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

@media (max-width: 991px) {
  .gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
}

/* ==========================================================================
   MOBILE-FIRST OVERHAUL & RESPONSIVENESS (Zero-Overflow, Fluid Typography & Sticky CTA)
   ========================================================================== */

/* Faults Guide Grid */
.faults-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .faults-guide-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Fluid Typography across mobile viewports */
@media (max-width: 768px) {
  h1, .hero-content h1, .brand-hero-text h1, .page-hero h1 {
    font-size: clamp(21px, 5.8vw, 28px) !important;
    line-height: 1.3;
  }

  h2, .section-title, .article-body h2 {
    font-size: clamp(18px, 4.8vw, 24px) !important;
    line-height: 1.35;
  }

  h3, .service-card-title, .article-body h3 {
    font-size: clamp(16px, 4vw, 20px) !important;
    line-height: 1.4;
  }

  .hero-content p, .brand-hero-text p, .page-hero p, .article-body p {
    font-size: 14.5px;
    line-height: 1.75;
  }
}

/* ==========================================================================
   ALTORATH-INSPIRED PRO FLOATING ACTION BUTTONS (HIGH-CONVERSION CTA)
   ========================================================================== */

/* Hide floating contact buttons when mobile menu drawer is open so it never blocks drawer contents */
html.drawer-open .floating-contact-wrap,
body.drawer-open .floating-contact-wrap {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  display: none !important;
}

.floating-contact-wrap {
  position: fixed !important;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px)) !important;
  left: 14px !important;
  right: 14px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-end !important;
  pointer-events: none !important;
  z-index: 999999 !important;
}

.pro-fab-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 6px !important;
  pointer-events: auto !important;
}

/* Call to action badge above buttons */
.fab-cta-badge {
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  padding: 4px 10px !important;
  border-radius: 20px !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  animation: fabBadgeFloat 3s ease-in-out infinite !important;
  letter-spacing: -0.2px !important;
  text-decoration: none !important;
}

.fab-cta-badge.wa-badge {
  background: #064e3b !important;
  border: 1px solid #10b981 !important;
}

.fab-cta-badge.call-badge {
  background: #0c4a6e !important;
  border: 1px solid #38bdf8 !important;
}

.fab-cta-badge .status-dot {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #22c55e !important;
  display: inline-block !important;
  animation: pulseDot 1.5s infinite !important;
}

.pro-fab-btn {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  -webkit-tap-highlight-color: transparent !important;
  user-select: none !important;
}

.pro-fab-btn:active {
  transform: scale(0.92) !important;
}

.pro-fab-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
  border: 2px solid #ffffff !important;
}

.pro-fab-call {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  border: 2px solid #ffffff !important;
  animation: phoneVibrate 4s infinite ease-in-out !important;
}

.pro-fab-btn svg {
  width: 28px !important;
  height: 28px !important;
  display: block !important;
  fill: currentColor !important;
  flex-shrink: 0 !important;
}

.pro-fab-call svg {
  fill: none !important;
  stroke: #ffffff !important;
}

/* Glowing wave rings */
.pro-fab-pulse {
  position: absolute !important;
  inset: -6px !important;
  border-radius: 50% !important;
  pointer-events: none !important;
  z-index: -1 !important;
  animation: proPulseGlow 2.5s infinite !important;
}

.pro-fab-whatsapp .pro-fab-pulse {
  background: rgba(37, 211, 102, 0.5) !important;
}

.pro-fab-call .pro-fab-pulse {
  background: rgba(2, 132, 199, 0.5) !important;
}

@keyframes proPulseGlow {
  0% { transform: scale(0.92); opacity: 0.9; }
  70% { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(1.3); opacity: 0; }
}

@keyframes phoneVibrate {
  0%, 80%, 100% { transform: rotate(0deg); }
  82% { transform: rotate(12deg); }
  84% { transform: rotate(-12deg); }
  86% { transform: rotate(10deg); }
  88% { transform: rotate(-10deg); }
  90% { transform: rotate(6deg); }
  92% { transform: rotate(0deg); }
}

@keyframes fabBadgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes pulseDot {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}

/* Completely hide legacy sticky bar */
.mobile-sticky-bar {
  display: none !important;
}

@media (max-width: 480px) {
  body {
    padding-bottom: 20px;
  }
}

@media (max-width: 360px) {
  .floating-contact-wrap {
    left: 10px !important;
    right: 10px !important;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .fab-btn {
    padding: 9px 13px !important;
    font-size: 13px !important;
    gap: 6px !important;
  }
  .fab-icon {
    width: 19px !important;
    height: 19px !important;
  }
}

@media (min-width: 992px) {
  .floating-contact-wrap {
    left: auto !important;
    right: 24px !important;
    bottom: 24px !important;
    flex-direction: column !important;
    gap: 12px !important;
  }
  .fab-btn {
    padding: 12px 20px !important;
  }
}

  /* Safe area handling */
  .drawer-accordion-btn {
    min-height: 48px;
  }

  .drawer-link {
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .brand-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    direction: rtl !important;
  }

  .brand-hero-text {
    order: 1 !important;
  }

  .brand-hero-visual {
    order: 2 !important;
    margin-top: 8px !important;
  }

  .service-visual-grid,
  .service-visual-grid.reverse {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    direction: rtl !important;
  }

  .service-visual-info {
    order: 1 !important;
  }

  .service-visual-img-wrap {
    order: 2 !important;
    margin-top: 8px !important;
  }

  .hero-visual img,
  .brand-hero-visual img,
  .service-visual-img-wrap img,
  .service-hero-media img,
  .service-card-img {
    max-height: 260px !important;
    width: 100% !important;
    object-fit: cover !important;
    border-radius: 16px !important;
  }

  .brand-trust-points {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .appliance-hub-grid {
    grid-template-columns: 1fr !important;
    gap: 18px;
  }
}

/* Small Smartphone Viewports (320px - 375px) */
@media (max-width: 375px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .article-container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .sticky-bar-container {
    gap: 6px;
  }

  .sticky-bar-btn {
    padding: 5px 6px;
    gap: 5px;
  }

  .sticky-btn-icon {
    font-size: 15px;
  }

  .sticky-btn-title {
    font-size: 10px;
  }

  .sticky-btn-number {
    font-size: 11.5px;
  }

  .sticky-bar-wa-btn {
    width: 44px;
    height: 44px;
    font-size: 19px;
  }
}

/* Extra Small Screens (<= 320px) */
@media (max-width: 320px) {
  .brand-text b {
    font-size: 15px;
  }

  .brand-text small {
    font-size: 9.5px;
  }

  .brand-logo-img {
    width: 36px;
    height: 36px;
  }

  .sticky-btn-title {
    display: none;
  }

  .sticky-btn-number {
    font-size: 12px;
  }
}

/* ==========================================================================
   WATER HEATERS (صيانة السخانات) & 7-IMAGE SHOWCASE GALLERY
   ========================================================================== */
.heaters-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}

@media (max-width: 991px) {
  .heaters-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .heaters-gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.heater-gallery-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(7, 27, 51, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.heater-gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(7, 27, 51, 0.12);
}

.heater-gallery-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #0f172a;
}

.heater-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.heater-gallery-card:hover .heater-gallery-img {
  transform: scale(1.04);
}

.heater-gallery-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(7, 27, 51, 0.88);
  backdrop-filter: blur(6px);
  color: #38bdf8;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.heater-gallery-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.heater-gallery-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
}

.heater-gallery-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   البيت اللامع - خدمات النظافة العامة ومكافحة الحشرات (Cleaning & Pest Control)
   ========================================================================== */

/* ==========================================================================
   البيت اللامع - خدمات النظافة العامة ومكافحة الحشرات (Cleaning & Pest Control Mega Menu)
   ========================================================================== */

/* 1. Header & Navigation Positioning Context */
.nav-wrap,
.navbar-container {
  position: relative !important; /* Anchor container for mega menus */
}

/* 2. Nav Item Trigger - CRITICAL: Must be position: static so dropdown anchors to .nav-wrap */
.nav-item.has-cleaning-dropdown,
#cleaningNavWrapper {
  position: static !important;
  padding: 0 !important;
  background: transparent !important;
  display: inline-flex !important;
  align-items: center !important;
}

.cleaning-nav-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(16, 185, 129, 0.08);
  border: 1.5px solid rgba(16, 185, 129, 0.4);
  border-radius: 999px;
  padding: 6px 14px;
  gap: 8px;
  transition: all 0.25s ease;
  user-select: none;
  cursor: pointer;
  text-decoration: none;
}

.nav-item.has-cleaning-dropdown:hover .cleaning-nav-pill,
.nav-item.has-cleaning-dropdown.hover-active .cleaning-nav-pill,
.cleaning-nav-pill:focus-within {
  background: rgba(16, 185, 129, 0.16);
  border-color: #10b981;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.cleaning-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #059669 !important;
  font-weight: 800;
  font-size: 14.5px;
  text-decoration: none;
  cursor: pointer;
}

.cleaning-pill-icon {
  font-size: 15px;
}

.cleaning-caret {
  font-size: 10px;
  color: #059669;
  transition: transform 0.25s ease;
  pointer-events: none;
}

.nav-item.has-cleaning-dropdown:hover .cleaning-caret,
.nav-item.has-cleaning-dropdown.hover-active .cleaning-caret {
  transform: rotate(180deg);
}

/* 3. Dropdown Mega Menu Container - Explicit Full Container Width */
.cleaning-dropdown-panel,
.dropdown-mega-menu {
  position: absolute !important;
  top: calc(100% - 2px) !important;
  right: 0 !important;
  left: 0 !important;
  width: 100% !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  background: #ffffff !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 50px rgba(5, 150, 105, 0.16), 0 8px 24px rgba(0, 0, 0, 0.08) !important;
  border: 1.5px solid rgba(16, 185, 129, 0.3) !important;
  z-index: 1050 !important;
  padding: 22px !important;
  box-sizing: border-box !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
  pointer-events: none;
  direction: rtl !important;
  text-align: right !important;
  white-space: normal !important;
}

/* Invisible hover bridge: covers gap between navbar and dropdown */
.cleaning-dropdown-panel::before,
.dropdown-mega-menu::before {
  content: '';
  position: absolute;
  top: -24px;
  right: 0;
  left: 0;
  width: 100%;
  height: 26px;
  background: transparent;
  pointer-events: auto;
  z-index: 1051;
}

/* Open states on hover, focus, or JS active class */
.nav-item.has-cleaning-dropdown:hover .cleaning-dropdown-panel,
.nav-item.has-cleaning-dropdown:focus-within .cleaning-dropdown-panel,
.nav-item.has-cleaning-dropdown.hover-active .cleaning-dropdown-panel,
.nav-item.dropdown:hover .dropdown-mega-menu,
.dropdown-mega-menu:hover,
.cleaning-dropdown-panel.open,
.cleaning-dropdown-panel:hover {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

/* 4. Multi-Column Grid Layout: Standalone Dropdown vs Mega Menu Tab #panelByCleaning */
/* Standalone cleaning dropdown: Sidebar Promo (290px) + 2-Column Services (1fr) */
.cleaning-dropdown-panel .cleaning-panel-inner,
.dropdown-mega-menu .cleaning-panel-inner,
.dropdown-mega-content {
  display: grid !important;
  grid-template-columns: 290px 1fr !important;
  gap: 20px !important;
  align-items: stretch !important;
  direction: rtl !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Full-width block in Mega Menu Tab #panelByCleaning */
#panelByCleaning .cleaning-panel-inner,
.mega-menu .cleaning-panel-inner {
  display: block !important;
  grid-template-columns: none !important;
  width: 100% !important;
  padding: 4px 0 0 !important;
  box-sizing: border-box !important;
}

#panelByCleaning .cleaning-panel-header,
.mega-menu .cleaning-panel-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding-bottom: 14px !important;
  margin-bottom: 18px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

/* Showcase Grid inside Mega Menu Tab: Expansive 3 Columns on Desktop */
#panelByCleaning .cleaning-showcase-grid,
.mega-menu .cleaning-showcase-grid,
.mega-cleaning-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(280px, 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Showcase Grid inside Standalone Dropdown (2 Columns) */
.cleaning-dropdown-panel .cleaning-showcase-grid,
.services-grid-wrap {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 10px !important;
  align-content: start !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Promo Sidebar Column */
.promo-column,
.cleaning-promo-sidebar {
  background: linear-gradient(145deg, #f0fdf4 0%, #ecfdf5 100%) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  border-radius: 12px !important;
  padding: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  text-align: right !important;
  box-sizing: border-box !important;
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #10b981;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  align-self: flex-start;
}

.promo-column h3,
.cleaning-promo-sidebar h3 {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 8px;
  line-height: 1.4;
  white-space: normal !important;
  word-break: normal !important;
}

.promo-column p,
.cleaning-promo-sidebar p {
  font-size: 12px;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 14px;
  white-space: normal !important;
  word-break: normal !important;
}

.promo-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.promo-features-list li {
  font-size: 11.5px;
  font-weight: 700;
  color: #065f46;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.4;
  white-space: normal !important;
}

.promo-features-list li span {
  color: #10b981;
  font-weight: 900;
}

.promo-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.promo-actions .btn {
  width: 100%;
  font-size: 12.5px;
  padding: 8px 12px;
  border-radius: 8px;
  text-align: center;
  font-weight: 800;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-sizing: border-box;
}

/* ==========================================================================
   Service Cards in Dropdowns & Mega-Menu (Explicit Dark Text on White Cards)
   ========================================================================== */
.cleaning-card-item,
.dropdown-service-card,
.mega-cleaning-card,
.mega-menu .cleaning-card-item,
.cleaning-dropdown-panel .cleaning-card-item,
#panelByCleaning .cleaning-card-item,
.cleaning-showcase-grid .cleaning-card-item {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 14px !important;
  padding: 14px 16px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  color: #0f172a !important;
  text-decoration: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: all 0.22s ease !important;
}

.cleaning-card-item:hover,
.dropdown-service-card:hover,
.mega-cleaning-card:hover,
#panelByCleaning .cleaning-card-item:hover,
.mega-menu .cleaning-card-item:hover {
  background: #f0fdf4 !important;
  border-color: #10b981 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.16) !important;
}

.cleaning-card-meta {
  flex: 1 !important;
  min-width: 0 !important;
  text-align: right !important;
}

.cleaning-card-meta strong,
.dropdown-service-card strong,
.mega-cleaning-card h4,
.cleaning-card-item strong,
#panelByCleaning .cleaning-card-item strong,
.mega-menu .cleaning-card-item strong {
  color: #0f172a !important;
  font-weight: 800 !important;
  font-size: 14.5px !important;
  line-height: 1.45 !important;
  margin: 0 0 4px 0 !important;
  white-space: normal !important;
  word-break: normal !important;
  display: block !important;
}

.cleaning-card-meta small,
.dropdown-service-card small,
.mega-cleaning-card p,
.cleaning-card-item small,
#panelByCleaning .cleaning-card-item small,
.mega-menu .cleaning-card-item small {
  color: #475569 !important;
  font-weight: 500 !important;
  font-size: 12.5px !important;
  line-height: 1.55 !important;
  margin: 0 !important;
  white-space: normal !important;
  word-break: normal !important;
  display: block !important;
}

.cleaning-card-meta .card-tag {
  display: inline-block !important;
  margin-top: 5px !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  color: #059669 !important;
  background: #d1fae5 !important;
  padding: 2px 8px !important;
  border-radius: 4px !important;
}

.cleaning-card-icon,
.mega-cleaning-card .card-icon,
.mega-menu .cleaning-card-icon {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  font-size: 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  color: #0f172a !important;
  flex-shrink: 0 !important;
}

/* Fallback for legacy header if present */
.cleaning-panel-header {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.cleaning-panel-title {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.cleaning-panel-sub {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 3px;
}

/* Responsive Breakpoints for Mega-Menu and Dropdown */
@media (max-width: 1100px) {
  #panelByCleaning .cleaning-showcase-grid,
  .mega-menu .cleaning-showcase-grid,
  .mega-cleaning-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr)) !important;
  }
}

@media (max-width: 1024px) {
  .dropdown-mega-content,
  .cleaning-dropdown-panel .cleaning-panel-inner {
    grid-template-columns: 240px 1fr !important;
    gap: 14px !important;
  }
  .cleaning-dropdown-panel .cleaning-showcase-grid,
  .services-grid-wrap {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  .cleaning-dropdown-panel,
  .dropdown-mega-menu {
    display: none !important;
  }
  #panelByCleaning .cleaning-showcase-grid,
  .mega-menu .cleaning-showcase-grid,
  .mega-cleaning-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Guarantee / Trust Badge */
.trust-badge-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 12px;
  padding: 16px 24px;
  margin: 24px 0;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #166534;
}

.trust-badge-icon {
  font-size: 22px;
}

/* ==========================================================================
   VISUAL ENRICHMENT: SERVICE MEDIA & CONTENT SHOWCASE COMPONENTS
   ========================================================================== */

/* 1. Service Hero Media Card with Badge */
.service-hero-media {
  position: relative;
  border-radius: var(--radius-md, 14px);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 28px;
  background: #f1f5f9;
}

.service-hero-media img {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.service-hero-media:hover img {
  transform: scale(1.02);
}

.service-hero-media .media-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(7, 27, 51, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

/* 2. Side-by-Side Visual Showcase Block */
.service-visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: center;
  margin: 32px 0;
  padding: 24px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md, 14px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.service-visual-grid.reverse {
  direction: ltr;
}

.service-visual-grid.reverse > * {
  direction: rtl;
}

.service-visual-img-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.service-visual-img-wrap img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.service-visual-img-wrap:hover img {
  transform: scale(1.03);
}

.service-visual-caption {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
  font-weight: 600;
}

.service-visual-info h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
}

.service-visual-info p {
  font-size: 14.5px;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 14px;
}

.service-visual-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-visual-features li {
  font-size: 13.5px;
  font-weight: 700;
  color: #065f46;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}

/* 3. Dual-Photo Gallery Box */
.service-dual-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 28px 0;
}

.gallery-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.14);
}

.gallery-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.gallery-card-body {
  padding: 16px 18px;
  text-align: right;
}

.gallery-card-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.gallery-card-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 768px) {
  .service-visual-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }
  .service-visual-img-wrap img {
    height: 210px;
  }
  .service-dual-gallery {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .service-hero-media .media-badge {
    position: static;
    display: block;
    border-radius: 0;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }
}


/* ==========================================================================
   HOMEPAGE HERO DUAL-PILLAR SECTOR CARDS
   ========================================================================== */
.hero-dual-sectors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 18px 0 22px;
}

.hero-sector-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 16px;
  transition: all 0.2s ease;
  text-decoration: none;
  display: block;
  text-align: right;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.hero-sector-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.hero-sector-card.cleaning-sector {
  border-right: 4px solid #059669;
}

.hero-sector-card.appliance-sector {
  border-right: 4px solid #0284c7;
}

.hero-sector-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.hero-sector-icon {
  font-size: 20px;
}

.hero-sector-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.hero-sector-desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.hero-sector-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #059669;
}

.hero-sector-card.appliance-sector .hero-sector-link {
  color: #0284c7;
}

@media (max-width: 768px) {
  .hero-dual-sectors {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}


/* ==========================================================================
   HIGH CONTRAST HEADINGS: Force pure white headings inside dark CTA blocks
   ========================================================================== */
.cta-box h1,
.cta-box h2,
.cta-box h3,
.cta-box h4,
.cta-section h1,
.cta-section h2,
.cta-section h3,
.cta-section h4,
.dark-banner h1,
.dark-banner h2,
.dark-banner h3,
.dark-banner h4,
[class*="cta-box"] h1,
[class*="cta-box"] h2,
[class*="cta-box"] h3,
[class*="cta-box"] h4,
[class*="cta"] h2,
[class*="cta"] h3,
.cta-title {
  color: #ffffff !important;
}

.cta-box p,
.cta-section p,
.dark-banner p,
[class*="cta-box"] p {
  color: #cbd5e1 !important;
}

/* ==========================================================================
   SERVICE CARDS: Explicit dark typography and clean contrast on white cards
   ========================================================================== */
.service-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}

.service-card-title,
.service-card-title a,
.service-card h3,
.service-card h3 a,
.service-card h4,
.service-card h4 a {
  color: #0f172a !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.service-card-title a:hover,
.service-card h3 a:hover {
  color: #059669 !important;
}

.service-card-desc,
.service-card p {
  color: #475569 !important;
  line-height: 1.65 !important;
}

/* Mega-Menu & Tabs Contextual Overrides */
.mega-menu .service-card,
.mega-tab-panel .service-card,
#desktopMegaMenu .service-card {
  background: #ffffff !important;
  color: #0f172a !important;
}

.mega-menu .service-card-title,
.mega-menu .service-card-title a,
.mega-tab-panel .service-card-title,
.mega-tab-panel .service-card-title a {
  color: #0f172a !important;
}

.mega-menu .service-card-desc,
.mega-tab-panel .service-card-desc {
  color: #475569 !important;
}

/* ==========================================================================
   MOBILE VIEWPORT ORDERING (Text & CTAs First — Flex Column Enforced)
   ========================================================================== */
@media (max-width: 991px) {
  .hero-grid,
  .brand-hero-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    direction: rtl !important;
  }

  .hero-content,
  .brand-hero-text {
    order: 1 !important;
  }

  .hero-visual,
  .brand-hero-visual {
    order: 2 !important;
    margin-top: 12px !important;
  }

  .service-visual-grid,
  .service-visual-grid.reverse {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    direction: rtl !important;
  }

  .service-visual-info {
    order: 1 !important;
  }

  .service-visual-img-wrap {
    order: 2 !important;
    margin-top: 8px !important;
  }

  .hero-visual img,
  .brand-hero-visual img,
  .service-visual-img-wrap img,
  .service-hero-media img,
  .service-card-img {
    max-height: 260px !important;
    width: 100% !important;
    object-fit: cover !important;
    border-radius: 16px !important;
  }
}


/* ==========================================================================
   MASTER OVERHAUL: CTA BANNERS, 3-COLUMN SERVICES GRID & MEGA-MENU CARDS
   ========================================================================== */

/* 1. Force bright white headings in all dark CTA banners */
.cta-box h1,
.cta-box h2,
.cta-box h3,
.cta-box h4,
.cta-banner h1,
.cta-banner h2,
.cta-banner h3,
.cta-banner h4,
.cta-section h1,
.cta-section h2,
.cta-section h3,
.cta-section h4,
.dark-banner h1,
.dark-banner h2,
.dark-banner h3,
.dark-banner h4,
[class*="cta-box"] h1,
[class*="cta-box"] h2,
[class*="cta-box"] h3,
[class*="cta-box"] h4,
[class*="cta"] h1,
[class*="cta"] h2,
[class*="cta"] h3,
.cta-title {
  color: #ffffff !important;
}

.cta-box p,
.cta-banner p,
.cta-section p,
.dark-banner p,
[class*="cta-box"] p {
  color: #e2e8f0 !important;
}

/* 2. Expansive 3-column Services Grid across full container width */
.services-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(280px, 1fr)) !important;
  gap: 24px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(260px, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr !important;
  }
}

/* 3. Mega-Menu Cleaning Grid 3-Column Width on Desktop */
#panelByCleaning .cleaning-showcase-grid,
.mega-menu .cleaning-showcase-grid,
.mega-cleaning-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(280px, 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
}

@media (max-width: 1100px) {
  #panelByCleaning .cleaning-showcase-grid,
  .mega-menu .cleaning-showcase-grid,
  .mega-cleaning-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  #panelByCleaning .cleaning-showcase-grid,
  .mega-menu .cleaning-showcase-grid,
  .mega-cleaning-grid {
    grid-template-columns: 1fr !important;
  }
}

/* 4. Force dark text inside all service cards and mega-menu cards */
.service-card,
.cleaning-card-item,
.dropdown-service-card,
.mega-cleaning-card,
#panelByCleaning .cleaning-card-item {
  background: #ffffff !important;
  color: #0f172a !important;
}

.service-card h2,
.service-card h2 a,
.service-card h3,
.service-card h3 a,
.service-card h4,
.service-card h4 a,
.service-card-title,
.service-card-title a,
.cleaning-card-meta strong,
.dropdown-service-card strong,
.mega-cleaning-card strong {
  color: #0f172a !important;
  font-weight: 800 !important;
}

.service-card-desc,
.service-card p,
.cleaning-card-meta small,
.dropdown-service-card small,
.mega-cleaning-card p {
  color: #334155 !important;
  font-weight: 500 !important;
}

/* 5. Mobile text-first layout ordering (<= 991px) */
@media (max-width: 991px) {
  .hero-content,
  .brand-hero-text,
  .service-visual-info {
    order: 1 !important;
  }

  .hero-visual,
  .brand-hero-visual,
  .service-visual-img-wrap {
    order: 2 !important;
    margin-top: 14px !important;
  }
}
