/* ==========================================================================
   صيانة للتبريد والتكييف | مكيفات • ثلاجات • غسالات
   Authentic Professional Home Appliance Service System
   Direct Contact: 0557215630
   Buttons Border Radius: 10px (Strictly Applied)
   Design: Clean High-Trust Daylight Navy & Ice Blue with Warm Amber & WhatsApp Green
   ========================================================================== */

@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');

/* --- Design Tokens & Color Palette --- */
:root {
  /* Brand Navy & Slate */
  --navy-dark: #07192C;
  --navy-primary: #0A2540;
  --navy-light: #12375C;
  --navy-surface: #1E293B;

  /* Cooling & Accent Blues */
  --blue-primary: #0284C7;
  --blue-light: #38BDF8;
  --blue-soft: #E0F2FE;
  --blue-hover: #0369A1;

  /* Action Amber & Gold */
  --amber-primary: #F59E0B;
  --amber-dark: #D97706;
  --amber-light: #FDE68A;
  --amber-soft: #FEF3C7;
  --amber-text: #92400E;

  /* Authentic WhatsApp */
  --whatsapp-color: #25D366;
  --whatsapp-hover: #1EBE5D;
  --whatsapp-dark: #128C7E;
  --whatsapp-soft: #DCFCE7;

  /* Daylight Neutrals */
  --bg-page: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --bg-alt: #EDF2F7;

  /* Text Colors */
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;
  --text-pure: var(--navy-primary);
  --color-whatsapp-hover: var(--whatsapp-color);

  /* Borders & Dividers */
  --border-light: #E2E8F0;
  --border-medium: #CBD5E1;
  --border-focus: #0284C7;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.1), 0 4px 10px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 40px rgba(15, 23, 42, 0.12);

  /* Border Radii */
  --radius-btn: 10px;      /* Strict user instruction: 10px rounded corners on buttons */
  --radius-card: 14px;
  --radius-sm: 8px;
  --radius-full: 9999px;

  /* Fonts */
  --font-heading: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base Reset & Box Sizing --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  direction: rtl;
  text-align: right;
  background-color: var(--bg-page);
  color: var(--text-primary);
  overflow-x: clip;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-secondary);
  line-height: 1.7;
  overflow-x: clip;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/* --- Containers --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.text-gold {
  color: var(--amber-dark);
}

.text-blue {
  color: var(--blue-primary);
}

.text-muted {
  color: var(--text-muted);
}

/* --- Top Announcement Bar --- */
.top-bar {
  background: var(--navy-dark);
  color: #E2E8F0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.65rem 0;
  font-size: 0.88rem;
  font-family: var(--font-heading);
  font-weight: 600;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.top-notice {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #CBD5E1;
}

.top-notice-bullet {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--whatsapp-color);
  box-shadow: 0 0 8px rgba(37, 211, 102, 0.8);
  animation: pulseDot 2s infinite ease-in-out;
}

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

.top-contacts {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.top-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #FFFFFF;
  direction: ltr;
  font-weight: 700;
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

.top-link:hover {
  color: var(--amber-light);
}

.top-link.whatsapp-link {
  color: #4ADE80;
}

.top-link.whatsapp-link:hover {
  color: #86EFAC;
}

/* --- Header & Navigation Bar --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: #CBD5E1;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  transition: transform var(--transition-fast);
}

.brand-logo:hover {
  transform: translateY(-1px);
}

.brand-logo-img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(10, 37, 64, 0.12);
  background: #ffffff;
  border: 1.5px solid rgba(226, 232, 240, 0.9);
  flex-shrink: 0;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.25;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy-dark);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-sub {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--blue-primary);
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.footer-brand-logo {
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.footer-brand-logo .brand-logo-img {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.footer-brand-name {
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
}

.footer-brand-sub {
  color: var(--amber-primary) !important;
  font-size: 0.75rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.75rem;
}

.nav-link {
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.5rem 0.2rem;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--blue-primary);
  transition: width var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ==========================================================================
   BUTTONS SYSTEM - STRICT 10PX ROUNDED CORNERS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.75rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 10px !important; /* STRICT REQUIREMENT: 10px rounded corners */
  cursor: pointer;
  text-decoration: none;
  line-height: 1.25;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.btn:active {
  transform: translateY(1px);
}

/* Primary Action Amber */
.btn-gold,
.btn-primary {
  background: var(--amber-primary);
  color: #1E1B4B;
  border-color: var(--amber-dark);
  font-weight: 800;
}

.btn-gold:hover,
.btn-primary:hover {
  background: #E59005;
  border-color: #B45309;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
}

/* WhatsApp Button */
.btn-whatsapp {
  background: var(--whatsapp-color);
  color: #FFFFFF;
  border-color: #1EBE5D;
}

.btn-whatsapp:hover {
  background: #1EBE5D;
  border-color: #15803D;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
  color: #FFFFFF;
}

/* Navy Solid Button */
.btn-navy {
  background: var(--navy-primary);
  color: #FFFFFF;
  border-color: var(--navy-dark);
}

.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(10, 37, 64, 0.25);
  color: #FFFFFF;
}

/* Outline Buttons */
.btn-outline-gold {
  background: #FFFFFF;
  color: var(--amber-dark);
  border: 1.5px solid var(--amber-primary);
}

.btn-outline-gold:hover {
  background: var(--amber-soft);
  border-color: var(--amber-dark);
  color: var(--amber-dark);
}

.btn-outline-blue {
  background: #FFFFFF;
  color: var(--blue-primary);
  border: 1.5px solid var(--blue-primary);
}

.btn-outline-blue:hover {
  background: var(--blue-soft);
  color: var(--blue-hover);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  background: #F1F5F9;
  border: 1px solid var(--border-light);
  border-radius: 10px !important;
  color: var(--navy-primary);
  font-size: 1.35rem;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
}

/* Mobile Drawer Menu */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  height: 100dvh;
  background: #FFFFFF;
  border-left: 2px solid var(--blue-primary);
  z-index: 2000;
  padding: 1.5rem 1.25rem;
  box-shadow: -15px 0 40px rgba(10, 37, 64, 0.2);
  transform: translateX(105%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-drawer.active {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.drawer-close {
  background: #F1F5F9;
  border: 1px solid var(--border-light);
  border-radius: 10px !important;
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
}

.drawer-links {
  list-style: none;
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.drawer-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.25rem;
  border-bottom: 1px solid #F1F5F9;
}

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

.drawer-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   HERO SECTION - AUTHENTIC, BRIGHT & TRUSTWORTHY
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 4.5rem 0 5rem;
  background: linear-gradient(135deg, #0A2540 0%, #0F3A63 50%, #154A7E 100%);
  color: #FFFFFF;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 85% 20%, rgba(56, 189, 248, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #FDE68A;
  padding: 0.45rem 1rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.hero-tag i {
  color: var(--amber-primary);
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 900;
  line-height: 1.2;
  color: #FFFFFF;
  margin-bottom: 1.2rem;
}

.hero-title span {
  display: block;
  color: var(--amber-primary);
  font-size: 2rem;
  font-weight: 800;
  margin-top: 0.35rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #E2E8F0;
  margin-bottom: 2.25rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--amber-primary);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.82rem;
  color: #CBD5E1;
  font-weight: 600;
  margin-top: 0.25rem;
}

/* Hero Visual Card */
.hero-visual-card {
  position: relative;
  border-radius: 16px;
  overflow: visible;
}

.hero-visual-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.hero-visual-media img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-floating-card {
  position: absolute;
  bottom: -24px;
  right: 0;
  background: #FFFFFF;
  color: var(--text-primary);
  padding: 1.2rem 1.4rem;
  border-radius: 14px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 320px;
  z-index: 2;
}

.floating-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #DCFCE7;
  color: #16A34A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.floating-card-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--navy-primary);
}

.floating-card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   QUICK BOOKING PANEL
   ========================================================================== */
.booking-section {
  margin-top: -36px;
  position: relative;
  z-index: 10;
}

.booking-panel {
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  padding: 2rem 2.25rem;
}

.booking-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.booking-panel-title {
  font-size: 1.4rem;
  color: var(--navy-primary);
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) auto;
  gap: 1.25rem;
  align-items: flex-end;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.form-control {
  height: 48px;
  background: #F8FAFC;
  border: 1.5px solid var(--border-light);
  border-radius: 10px !important;
  padding: 0 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  background: #FFFFFF;
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

textarea.form-control {
  height: auto;
  padding: 0.8rem 1rem;
}

/* ==========================================================================
   SECTIONS & GRIDS
   ========================================================================== */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.text-center {
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
}

.section-tag {
  display: inline-block;
  background: var(--blue-soft);
  color: var(--blue-hover);
  padding: 0.35rem 0.9rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.25rem;
  color: var(--navy-primary);
  margin-bottom: 0.85rem;
}

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

/* ==========================================================================
   SERVICE CARDS (CLEAN DAYLIGHT CARDS WITH REAL PHOTOS)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #FFFFFF;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #CBD5E1;
}

.service-media {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: #E2E8F0;
}

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

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

.service-category-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(10, 37, 64, 0.85);
  color: #FFFFFF;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  backdrop-filter: blur(4px);
}

.service-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-number {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--blue-primary);
  margin-bottom: 0.4rem;
}

.service-title {
  font-size: 1.35rem;
  color: var(--navy-primary);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.service-list {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.service-list li i {
  color: #16A34A;
  margin-top: 0.3rem;
  flex-shrink: 0;
}

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

.service-call-link {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--amber-dark);
  direction: ltr;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.service-call-link:hover {
  color: #B45309;
}

/* ==========================================================================
   REAL PHOTO GALLERY (FIELD WORK SHOWCASE)
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-card {
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.gallery-image-box {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #E2E8F0;
}

.gallery-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.gallery-badge {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(15, 23, 42, 0.85);
  color: #FFFFFF;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.gallery-info {
  padding: 1.15rem;
}

.gallery-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-primary);
  margin-bottom: 0.35rem;
}

.gallery-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   TROUBLESHOOTER TABS & ISSUES GRID
   ========================================================================== */
.issues-explorer {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  padding: 2rem;
}

.tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.5rem;
}

.tab-btn {
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  border-radius: 10px !important; /* 10px rounded */
  padding: 0.75rem 1.45rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  background: var(--blue-soft);
  color: var(--blue-primary);
  border-color: #BAE6FD;
}

.tab-btn.active {
  background: var(--navy-primary);
  color: #FFFFFF;
  border-color: var(--navy-primary);
  box-shadow: var(--shadow-sm);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.issues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.issue-card {
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.issue-card:hover {
  background: #FFFFFF;
  border-color: #CBD5E1;
  box-shadow: var(--shadow-sm);
}

.issue-title {
  font-size: 1.15rem;
  color: var(--navy-primary);
  margin-bottom: 0.75rem;
}

.issue-cause {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.issue-solution {
  font-size: 0.9rem;
  color: #15803D;
  background: #DCFCE7;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.issue-card .btn {
  margin-top: auto;
}

/* ==========================================================================
   PILLARS (WHY CHOOSE US)
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.pillar-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #CBD5E1;
}

.pillar-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--blue-soft);
  line-height: 1;
  margin-bottom: 1rem;
}

.pillar-title {
  font-size: 1.25rem;
  color: var(--navy-primary);
  margin-bottom: 0.65rem;
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   SUPPORTED BRANDS
   ========================================================================== */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1rem;
}

.brand-cell {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 1.1rem 0.75rem;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy-primary);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.brand-cell span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.2rem;
}

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

/* ==========================================================================
   EMERGENCY BANNER
   ========================================================================== */
.emergency-banner {
  background: linear-gradient(135deg, #0A2540 0%, #0F3A63 100%);
  color: #FFFFFF;
  padding: 3.5rem 0;
  border-top: 3px solid var(--amber-primary);
  border-bottom: 3px solid var(--amber-primary);
}

.emergency-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.emergency-title {
  font-size: 1.75rem;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.emergency-desc {
  font-size: 1.05rem;
  color: #CBD5E1;
}

.emergency-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   REVIEWS & TESTIMONIALS
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.review-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.review-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #CBD5E1;
}

.review-quote-mark {
  font-size: 3rem;
  line-height: 1;
  color: var(--amber-primary);
  margin-bottom: -1rem;
  font-family: Georgia, serif;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.review-author {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.author-name {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--navy-primary);
  font-size: 0.95rem;
}

.author-badge {
  font-size: 0.8rem;
  background: var(--blue-soft);
  color: var(--blue-hover);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-weight: 700;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--blue-primary);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: #FFFFFF;
  border: none;
  border-radius: 0 !important;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: right;
  gap: 1rem;
}

.faq-marker {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #F1F5F9;
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item.active .faq-marker {
  transform: rotate(45deg);
  background: var(--blue-soft);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  border-top: 1px solid #F1F5F9;
}

.faq-item.active .faq-answer {
  display: block;
  padding-top: 1rem;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-info-card,
.contact-form-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 1.75rem 0 2rem;
}

.contact-method-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #F8FAFC;
  border-radius: 10px;
  border: 1px solid var(--border-light);
}

.method-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.method-icon-box.green {
  background: #DCFCE7;
  color: #16A34A;
}

.method-icon-box.amber {
  background: #FEF3C7;
  color: #D97706;
}

/* Location Badge & Map Embed */
.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #FEF3C7;
  color: #92400E;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  border: 1px solid #FDE68A;
  direction: ltr;
}

.location-map-link {
  font-size: 0.85rem;
  color: var(--blue-primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s ease;
  text-decoration: underline;
}

.location-map-link:hover {
  color: var(--navy-primary);
}

.map-embed-wrapper {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  margin-top: 2.5rem;
}

.map-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.map-card-title-group h3 {
  font-family: var(--font-heading);
  font-weight: 800;
}

.map-frame-container {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: #E2E8F0;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.map-frame-container iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

.map-card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

.map-info-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 0.55rem 0.9rem;
  font-size: 0.88rem;
  color: var(--text-primary);
}

.map-info-pill strong {
  color: var(--navy-primary);
}

@media (max-width: 768px) {
  .map-embed-wrapper {
    padding: 1.25rem 1rem !important;
  }
  .map-frame-container iframe {
    height: 300px !important;
  }
  .map-card-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .map-header-actions,
  .map-header-actions .btn {
    width: 100% !important;
  }
  .map-info-pill {
    width: 100% !important;
    font-size: 0.82rem !important;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy-dark);
  color: #CBD5E1;
  padding: 4.5rem 0 2rem;
  border-top: 3px solid var(--blue-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 48px;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: #94A3B8;
  margin-bottom: 1.5rem;
}

.footer-title {
  font-size: 1.15rem;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 32px;
  height: 2px;
  background: var(--amber-primary);
}

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

.footer-links a {
  color: #94A3B8;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #64748B;
}

/* ==========================================================================
   FLOATING ACTION BUTTONS (DESKTOP)
   ========================================================================== */
.floating-actions-desktop {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.float-action-btn {
  width: 54px;
  height: 54px;
  border-radius: 10px !important; /* Strict 10px rounded */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: all var(--transition-normal);
}

.float-action-btn:hover {
  transform: translateY(-3px) scale(1.05);
}

.float-whatsapp {
  background: var(--whatsapp-color);
}

.float-call {
  background: var(--amber-primary);
  color: #1E1B4B;
}

/* ==========================================================================
   MOBILE STICKY BOTTOM CONSOLE
   ========================================================================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1500;
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  padding: 0.65rem 1rem;
}

.mobile-sticky-bar-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.mobile-bar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 0.5rem;
  border-radius: 10px !important; /* Strict 10px rounded */
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
}

.mobile-bar-call {
  background: var(--amber-primary);
  color: #1E1B4B;
}

.mobile-bar-whatsapp {
  background: var(--whatsapp-color);
  color: #FFFFFF;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (PROFESSIONAL MOBILE ARCHITECTURE)
   ========================================================================== */

/* Subpage Heroes and Utility Classes */
.hero-subpage {
  padding: 4rem 0 4.5rem;
}

.brands-section {
  padding: 4rem 0;
}

.contact-page-section {
  padding-top: 4rem;
}

/* --- 1. Large Screens & Tablets Landscape (<= 1024px) --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  .hero-visual-card {
    max-width: 720px;
    margin-inline: auto;
    width: 100%;
  }

  .hero-visual-media img {
    height: 380px;
    width: 100%;
    object-fit: cover;
  }

  .hero-floating-card {
    right: 0;
    bottom: -18px;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }

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

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

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

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

/* --- 2. Tablets Portrait & Mobile Handhelds (<= 868px) --- */
@media (max-width: 868px) {
  /* Navbar & Top Bar */
  .navbar {
    height: 68px;
  }

  .nav-links,
  .header-actions {
    display: none !important;
  }

  .menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }

  .top-bar {
    padding: 0.5rem 0;
  }

  .top-bar-inner {
    justify-content: center;
    text-align: center;
  }

  .top-notice {
    font-size: 0.82rem;
    justify-content: center;
  }

  .top-contacts {
    display: none !important; /* Conceal redundant top contacts; sticky bottom bar provides direct Call/WhatsApp */
  }

  /* Hero Section & Typography */
  .hero-section,
  .hero-subpage {
    padding: 2.75rem 0 3.25rem;
  }

  .hero-tag {
    font-size: 0.82rem;
    padding: 0.35rem 0.85rem;
    margin-bottom: 1rem;
  }

  .hero-title {
    font-size: clamp(1.85rem, 5.5vw, 2.35rem);
    line-height: 1.25;
    margin-bottom: 1rem;
  }

  .hero-title span {
    font-size: clamp(1.35rem, 4.2vw, 1.7rem);
    margin-top: 0.4rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
  }

  .hero-stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding-top: 1.5rem;
  }

  .stat-number {
    font-size: 1.45rem;
  }

  .stat-label {
    font-size: 0.78rem;
  }

  .hero-visual-media img {
    height: 320px;
  }

  .hero-floating-card {
    position: static;
    margin-top: 1.25rem;
    width: 100%;
    max-width: 100%;
    box-shadow: var(--shadow-md);
  }

  /* Booking Panel & Form */
  .booking-section {
    margin-top: 0;
    padding-top: 1.5rem;
  }

  .booking-panel {
    padding: 1.75rem 1.5rem;
  }

  .booking-panel-header {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
  }

  .booking-panel-title {
    font-size: 1.25rem;
  }

  .booking-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .booking-form .btn {
    width: 100%;
    height: 50px;
    font-size: 1.05rem;
    margin-top: 0.25rem;
  }

  /* Section Spacing & Grids */
  .section,
  .brands-section {
    padding: 3.75rem 0;
  }

  .contact-page-section {
    padding-top: 3rem;
  }

  .section-header {
    margin-bottom: 2.25rem;
  }

  .section-title {
    font-size: 1.85rem;
    line-height: 1.3;
  }

  .section-desc {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .services-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .service-media {
    height: 220px;
  }

  .service-body {
    padding: 1.4rem 1.25rem;
  }

  .service-title {
    font-size: 1.25rem;
  }

  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .gallery-image-box {
    height: 220px;
  }

  .pillars-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .pillar-card {
    padding: 1.5rem 1.25rem;
  }

  .reviews-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .review-card {
    padding: 1.5rem 1.25rem;
  }

  /* Troubleshooter Tabs & Issues */
  .issues-explorer {
    padding: 1.5rem 1.25rem;
  }

  .issues-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.25rem;
  }

  /* Grid Item Safety Constraints */
  .contact-grid > *,
  .services-grid > *,
  .gallery-grid > *,
  .pillars-grid > *,
  .reviews-grid > *,
  .issues-grid > *,
  .footer-grid > *,
  .booking-form > * {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Emergency CTA Banner */
  .emergency-banner {
    padding: 2.75rem 0;
  }

  .emergency-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .emergency-title {
    font-size: 1.5rem;
  }

  .emergency-desc {
    font-size: 0.95rem;
  }

  .emergency-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .emergency-actions .btn {
    width: 100%;
    height: 50px;
  }

  /* Contact Section Cards */
  .contact-info-card,
  .contact-form-card {
    padding: 1.5rem 1.25rem;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }

  /* Sticky Bottom Bar */
  .floating-actions-desktop {
    display: none !important;
  }

  .mobile-sticky-bar {
    display: block !important;
    padding-bottom: max(0.65rem, env(safe-area-inset-bottom));
  }

  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom)) !important;
  }

  /* Prevent zoom on mobile form focus */
  input, select, textarea {
    font-size: 16px !important;
  }
}

/* --- 3. Standard Mobile Phones (<= 640px) --- */
@media (max-width: 640px) {
  .container {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .navbar {
    height: 64px;
  }

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

  .brand-name {
    font-size: 1.02rem;
  }

  .brand-sub {
    font-size: 0.68rem;
  }

  .hero-section,
  .hero-subpage {
    padding: 2.25rem 0 2.75rem;
  }

  .hero-title {
    font-size: clamp(1.65rem, 5.2vw, 1.95rem);
  }

  .hero-title span {
    font-size: clamp(1.2rem, 4vw, 1.45rem);
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }

  .hero-actions .btn {
    width: 100%;
    height: 48px;
    font-size: 0.98rem;
  }

  .hero-visual-media img {
    height: 260px;
  }

  .booking-panel {
    padding: 1.35rem 1.1rem;
    border-radius: 12px;
  }

  .booking-panel-title {
    font-size: 1.15rem;
  }

  .section,
  .brands-section {
    padding: 3rem 0;
  }

  .contact-page-section {
    padding-top: 2.5rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-desc {
    font-size: 0.92rem;
  }

  .service-media {
    height: 200px;
  }

  .gallery-image-box {
    height: 195px;
  }

  /* Troubleshooter Tabs Layout */
  .issues-explorer {
    padding: 1.25rem 1rem;
    border-radius: 12px;
  }

  .tabs-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    width: 100%;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .tab-btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 0.75rem;
    font-size: 0.92rem;
  }

  .issue-card {
    padding: 1.25rem 1rem;
  }

  .issue-title {
    font-size: 1.05rem;
  }

  .issue-solution {
    font-size: 0.85rem;
    padding: 0.55rem 0.7rem;
  }

  /* Brands Grid */
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
  }

  .brand-cell {
    padding: 0.85rem 0.35rem;
    font-size: 0.92rem;
  }

  .brand-cell span {
    font-size: 0.7rem;
  }

  /* FAQ Accordion */
  .faq-question {
    padding: 1rem 1.15rem;
    font-size: 0.98rem;
    gap: 0.75rem;
  }

  .faq-marker {
    width: 26px;
    height: 26px;
    font-size: 1.05rem;
  }

  .faq-answer {
    padding: 0 1.15rem 1.15rem;
    font-size: 0.9rem;
    line-height: 1.7;
  }

  /* Contact Info & Forms */
  .contact-info-card,
  .contact-form-card {
    padding: 1.25rem 1rem;
    border-radius: 12px;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }

  .contact-methods {
    gap: 0.85rem;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .contact-method-item {
    padding: 0.85rem;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .btn-lg {
    padding: 0.8rem 1rem !important;
    font-size: 0.95rem !important;
    white-space: normal !important;
    text-align: center;
    line-height: 1.35;
  }

  /* Footer */
  .site-footer {
    padding: 3.5rem 0 1.5rem;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.6rem;
  }
}

/* --- 4. Compact Mobile Devices (<= 400px) --- */
@media (max-width: 400px) {
  .container {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  .brand-logo {
    gap: 0.5rem;
  }

  .brand-logo-img {
    width: 38px;
    height: 38px;
    border-radius: 8px;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .brand-sub {
    display: none; /* Keep header strictly 1 line on narrow screens */
  }

  .hero-stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .stat-number {
    font-size: 1.3rem;
  }

  .stat-label {
    font-size: 0.74rem;
  }

  .hero-visual-media img {
    height: 220px;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 1.15rem 0.75rem !important;
  }

  .contact-method-item {
    padding: 0.75rem 0.55rem !important;
    gap: 0.55rem !important;
  }

  .method-icon-box {
    width: 38px !important;
    height: 38px !important;
    font-size: 1.05rem !important;
  }

  .btn-lg {
    padding: 0.75rem 0.55rem !important;
    font-size: 0.88rem !important;
  }

  .hero-actions .btn {
    font-size: 0.88rem !important;
    padding: 0.7rem 0.5rem !important;
  }

  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .mobile-sticky-bar {
    padding: 0.55rem 0.65rem max(0.55rem, env(safe-area-inset-bottom));
  }

  .mobile-sticky-bar-inner {
    gap: 0.5rem;
  }

  .mobile-bar-btn {
    font-size: 0.84rem;
    padding: 0.65rem 0.35rem;
    white-space: nowrap;
    gap: 0.35rem;
  }

  .mobile-bar-btn i {
    font-size: 0.92rem;
  }
}

/* --- 5. Ultra Compact Mobile Screens (<= 340px) --- */
@media (max-width: 340px) {
  .container {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 1rem 0.5rem !important;
  }

  .contact-method-item {
    padding: 0.65rem 0.45rem !important;
    gap: 0.45rem !important;
  }

  .method-icon-box {
    width: 34px !important;
    height: 34px !important;
    font-size: 0.95rem !important;
  }

  .btn-lg {
    padding: 0.65rem 0.45rem !important;
    font-size: 0.82rem !important;
  }

  .brand-name {
    font-size: 0.88rem !important;
  }

  .mobile-bar-btn {
    font-size: 0.78rem !important;
    padding: 0.55rem 0.25rem !important;
  }
}
